delay of 3 minutes to turn readytouse=true state for snapshots (tested for 256 snapshots)

Describe the bug
created 256 snapshots against a PVC.
observed that even though all 256 snapshots were created on Scale (mmlssnapshot fs1); it took extra 3 mins to reflect READYTOUSE=true for these snapshots ("kubectl -n ibm-spectrum-scale-csi-driver get volumesnapshot").
Confirmed this 3 minutes delay by retrying the test for another PVC.
I'm not sure whether this 3 mins delay is acceptable. Hence opening the issue.
timeline for various operations
1. Jul 28 01:57:38: "kubectl apply -f snapshot.yaml" command completed to create 256 snapshots
2. Jul 28 02:02:52: 256 snapshots created on Scale
3. Jul 28 02:05:57: "kubectl get volumesnapshot" showed READYTOUSE=true for all 256 snapshots

To Reproduce
Steps to reproduce the behavior:

create 256 snapshots for a pvc

[root@snivels1 2020_07_28-01:53:46 20200728]$ cat > vsN-pvc1-fs1.yaml
apiVersion: snapshot.storage.k8s.io/v1beta1
kind: VolumeSnapshot
metadata:
  name: vsN-pvc1-fs1
spec:
  volumeSnapshotClassName: vsclass1
  source:
    persistentVolumeClaimName: pvc1-fs1
[root@snivels1 2020_07_28-01:55:20 20200728]$
[root@snivels1 2020_07_28-01:55:21 20200728]$ #started creating 256 snapshots like above...
Tue Jul 28 01:56:47 PDT 2020 volumesnapshot.snapshot.storage.k8s.io/vs1-pvc1-fs1 created
Tue Jul 28 01:56:47 PDT 2020 volumesnapshot.snapshot.storage.k8s.io/vs2-pvc1-fs1 created
...
Tue Jul 28 01:57:38 PDT 2020 volumesnapshot.snapshot.storage.k8s.io/vs255-pvc1-fs1 created
Tue Jul 28 01:57:38 PDT 2020 volumesnapshot.snapshot.storage.k8s.io/vs256-pvc1-fs1 created
[root@snivels1 2020_07_28-01:57:38 20200728]$

scale log showing the last snapshot i.e. 256th snapshot was created on "Jul 28 02:02:52"

Jul 28 02:02:51 snivels4 mmfs[12190]: REST-CLI root csiadmin [EXIT, CHANGE] 'mmcrsnapshot fs1 pvc-06fdfd27-246c-4775-b7c1-d26741781f69:snapshot-f2457bfc-0bb8-46dd-a8e8-d354c01cf76e' RC=0
Jul 28 02:02:51 snivels4 systemd: Started Session c1452 of user root.
Jul 28 02:02:51 snivels4 systemd: Started Session c1453 of user root.

Environment
Please run the following an paste your output here:
# Developement
operator-sdk version
go version

# Deployment
[root@snivels1 2020_07_28-08:28:11 20200728]$ kubectl version
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.6", GitCommit:"dff82dc0de47299ab66c83c626e08b245ab19037", GitTreeState:"clean", BuildDate:"2020-07-15T16:58:53Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.6", GitCommit:"dff82dc0de47299ab66c83c626e08b245ab19037", GitTreeState:"clean", BuildDate:"2020-07-15T16:51:04Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
[root@snivels1 2020_07_28-08:28:17 20200728]$

[root@snivels4 2020_07_28-08:28:35 ~]$ rpm -qa | grep gpfs
gpfs.msg.en_US-5.0.5-2.noarch
gpfs.java-5.0.5-2.x86_64
gpfs.license.adv-5.0.5-2.x86_64
gpfs.gss.pmcollector-5.0.5-2.el7.x86_64
gpfs.gpl-5.0.5-2.noarch
gpfs.docs-5.0.5-2.noarch
gpfs.compression-5.0.5-2.x86_64
gpfs.callhome-ecc-client-5.0.5-2.noarch
gpfs.crypto-5.0.5-2.x86_64
gpfs.gss.pmsensors-5.0.5-2.el7.x86_64
gpfs.gui-5.0.5-2.noarch
gpfs.librdkafka-5.0.5-2.x86_64
gpfs.base-5.0.5-2.x86_64
gpfs.gskit-8.0.55-12.x86_64
gpfs.adv-5.0.5-2.x86_64
gpfs.kafka-5.0.5-2.x86_64
[root@snivels4 2020_07_28-08:28:41 ~]$

images:
quay.io/k8scsi/snapshot-controller:v2.2.0-rc1
quay.io/k8scsi/csi-snapshotter:v2.2.0-rc1
quay.io/ibm-spectrum-scale-dev/ibm-spectrum-scale-csi-operator:dev
quay.io/ibm-spectrum-scale-dev/ibm-spectrum-scale-csi-driver:dev

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

With latest build, I can see this issue. Not sure if this is similar to issue #280 (which we closed based on multiple components/APIs involved in reflecting status from Scale to CSI).
Basically, I'm creating 256 snapshots in one go and then checking the time difference between following two:

timestamp of last mmcrsnapshot RC=0 execution (/var/log/messages on Scale node)
timestamp of kubectl get volumesnashot showing last snapshot with readytouse=true (kubernetes node)

I had a freshly installed cluster. No pvc (and hence no snapshot) were created in ibm-spectrum-scale-csi-driver namespace.

created pvc1 and then created 256 snapshots against pvc1. Time difference was 15 seconds only.

Jan 15 01:23:54 - CSI snapshot create command completed for 256 snapshots
Jan 15 01:30:16 - Last mmcrsnapshot with RC=0 in Scale /var/log/messages
Jan 15 01:30:30 - kubectl showing all snapshots with ReadyToUse=true

Tried creating 257th snapshot against same pvc (failed as expected and it remained in readytouse=false). This is optional step. It got executed while verifying another issue.

created pvc2 and then created 256 snapshots against pvc2. Time difference was =~ 2 mins 40 seconds.

Jan 15 02:15:18 - CSI snapshot create command completed for 256 snapshots
Jan 15 02:20:29 - Last mmcrsnapshot with RC=0 in Scale /var/log/messages
Jan 15 02:23:10 - kubectl showing all snapshots with ReadyToUse=true

created pvc3 and then created 256 snapshots against pvc3. Time difference was 2 mins 40 seconds.

Jan 15 02:28:49 - CSI snapshot create command completed for 256 snapshots
Jan 15 02:33:56 - Last mmcrsnapshot with RC=0 in Scale /var/log/messages
Jan 15 02:36:36 - kubectl showing all snapshots with ReadyToUse=true

With latest build, I can see this issue. Not sure if this is similar to issue #280 (which we closed based on multiple components/APIs involved in reflecting status from Scale to CSI).
Basically, I'm creating 256 snapshots in one go and then checking the time difference between following two:

timestamp of last mmcrsnapshot RC=0 execution (/var/log/messages on Scale node)
timestamp of kubectl get volumesnashot showing last snapshot with readytouse=true (kubernetes node)

I had a freshly installed cluster. No pvc (and hence no snapshot) were created in ibm-spectrum-scale-csi-driver namespace.

created pvc1 and then created 256 snapshots against pvc1. Time difference was 15 seconds only.

Jan 15 01:23:54 - CSI snapshot create command completed for 256 snapshots
Jan 15 01:30:16 - Last mmcrsnapshot with RC=0 in Scale /var/log/messages
Jan 15 01:30:30 - kubectl showing all snapshots with ReadyToUse=true

Tried creating 257th snapshot against same pvc (failed as expected and it remained in readytouse=false). This is optional step. It got executed while verifying another issue.

created pvc2 and then created 256 snapshots against pvc2. Time difference was =~ 2 mins 40 seconds.

Jan 15 02:15:18 - CSI snapshot create command completed for 256 snapshots
Jan 15 02:20:29 - Last mmcrsnapshot with RC=0 in Scale /var/log/messages
Jan 15 02:23:10 - kubectl showing all snapshots with ReadyToUse=true

created pvc3 and then created 256 snapshots against pvc3. Time difference was 2 mins 40 seconds.

Jan 15 02:28:49 - CSI snapshot create command completed for 256 snapshots
Jan 15 02:33:56 - Last mmcrsnapshot with RC=0 in Scale /var/log/messages
Jan 15 02:36:36 - kubectl showing all snapshots with ReadyToUse=true

In this issue, I tried to compare timestamps for following two operations.

creating 256 snapshots directly on scale
creating 256 snapshots from csi against scale storage

Referring to issue #280 - various components/APIs are involved in CSI snapshot creation, hence doing one-to-one mapping of above two operations doesn't look logical.
Closing the issue.


offpunk: remove unused argument testVersion

Description of changes
On NixOS x86_64:

error: Function called without required argument "testVersion" at /home/fabian/.cache/nixpkgs-review/pr-180835/nixpkgs/pkgs/applications/networking/browsers/offpunk/default.nix:10

While attempting a nixpkgs-review of a wayland-protocols upgrade.
#179888
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 180871 run on x86_64-linux 1


assert.rejects and assert.doesNotReject

Node.js 10.0.0 added two functions: assert.rejects and assert.doesNotReject.
Does this package have a plan to support those?

No, I don't use this anymore nor have the time to maintain it. Happy to transfer it if you want to. Otherwise, I'm just gonna mark it as deprecated.

It's now deprecated.


lorri services with own build loop

This is an MVP of the lorri services command.
What does it do?
lorri services is a blocking command. It takes a --services argument, which defaults to services.nix. This nix file describes a list of services. lorri services starts them initially. It then watches the services nix file and its dependencies for changes and rebuilds the list of services. Then it starts the newly added services, stops those that were removed, and restarts those whose configuration has changed.
In what sense is this an MVP?

Services that terminate on their own are not restarted. Restarting services is a tricky business - see the large number of service restarting related options in systemd.

Building the services is done by lorri services itself. Down the line, this should be done by the daemon to deduplicate builds. As an example, if shell.nix and services.nix share a dependency and this dependency changes, the environment and the services will be rebuilt separately in the MVP. They could be rebuilt in a single call to nix if the daemon was responsible for building services as well as environment.

Todo

[x] Add unit test
[x] Add integration test
[x] Make this services.nix work:let pkgs = import <nixpkgs> {}; in [
  { name = "httpd"; program = "${pkgs.python3}/bin/python3"; args = [ "-m" "http.server" ]; }
  { name = "notify"; program = "${pkgs.bash}/bin/bash"; args = [ "-c" "ls | ${pkgs.entr}/bin/entr echo \"file changed:\" /_" ]; }
]

Current issue:
"error: in \'toFile\': the file \'lorri-wrapped-project\' cannot refer to derivation outputs, at /home/leo/.cache/lorri/cas/fbe1103295e2a953e7f81ff7b4c5cef7:126:11"

Using
let pkgs = import <nixpkgs> {}; in [
  { name = "httpd"; program = "${pkgs.python3}/bin/python3"; args = [ "-m" "http.server" ]; }
  { name = "notify"; program = "${pkgs.bash}/bin/bash"; args = [ "-c" "ls | ${pkgs.entr}/bin/entr echo \"file changed:\" /_" ]; }
]

I looks like using tokio, or any other threaded futures executor, will not be so easy. The problem is that tokio with the rt-threaded feature [1] as well as futures with the thread-pool feature [2] require num_cpus which requires hermit-abi [3] when the OS is hermit.
hermit-abi itself does not build with Rust stable due to its use of !#[feature].
This is a problem because carnix does not understand conditional dependencies and builds hermit-abi even though we don't care about hermit OS.
[1] https://github.com/tokio-rs/tokio/blob/tokio-0.2.8/tokio/Cargo.toml#L73
[2] https://github.com/rust-lang/futures-rs/blob/0.3.1/futures-executor/Cargo.toml#L20
[3] https://github.com/seanmonstar/num_cpus/blob/v1.11.1/Cargo.toml#L17-L18
[4] https://github.com/hermitcore/rusty-hermit/blob/master/hermit-abi/src/lib.rs#L1

I'm trying to figure out why the new integration test is failing.
strace of a successful run:

[pid 32044] stat("/run/user/1000/.tmpc5Tzy2/touchit", 0x7f589fa10f20) = -1 ENOENT (No such file or directory)
[...]
[pid 32106] execve("/nix/store/j0lhk5xkky410h5v9af98sz6kd8cbp40-coreutils-8.31/bin/touch", ["touch", "/run/user/1000/.tmpc5Tzy2/touchi"...], 0x7ffe743328c8 /* 144 vars */ <unfinished ...>

strace of an unsuccessful run (from CI):

[pid 16166] stat("/run/user/2000/.tmpXcsI2Q/touchit", 0x7fcec22edf20) = -1 ENOENT (No such file or directory)^M
[...]
[pid 16196] execve("/nix/store/v826z0g5maw6hvgm5595jr9x5djx4cfw-lorri-runtime-tools/bin/touch", ["touch", "/nix/store/xvg60fs4xs041mh65dkhz"...], 0x4e3008 /* 30 vars */) = 0^M

It's weird that in the unsuccessful run, touch seems to be called with a path inside /nix/store as an argument instead of "/run/user/2000/.tmpXcsI2Q/touchit", the file in the temporary directory that it is supposed to touch.

Next step: enable logging in the integration test to figure out where things fail.

I think we can close this, since the research money has run out.
Ideally we’d have a tool like lorri services in the future, but it wasn’t meant to be.


Adding Shift modifier for PgUp/PgDn

Adding support for key combination of Shift + PgUp/PgDn for Gnome terminal.
Same Terminfo definition copied to all other terminal implementations which use
the same codes for Shift + Up/Down but since this is tested on Ubuntu 16.04
with Gnome Terminal 3.18.3 it could be that it is not correctly implemented for
some of the other terminals.

It would be good to know if there are conflicts with these other terminals.  I guess the native terminfo library lacks any information we can use (like a capability)?
Also, the alacritty description looks like a full rewrite.  I've not done a line by line comparison on it, but I'm concerned to make sure you have no breaking changes there.

Also, the alacritty description looks like a full rewrite. I've not done a line by line comparison on it, but I'm concerned to make sure you have no breaking changes there.

If you check changes in alacritty you will see these are just formatting changes + 2 new lines (155 and 156). For some reason alacritty/term.go was not formatted "normally" before so my golang. Atom editor used gofmt to format code which should have probably been already done before.
(You can append "w=1" to GitHub change view to remove whitespace changes: https://github.com/gdamore/tcell/pull/317/files?w=1).

It would be good to know if there are conflicts with these other terminals. I guess the native terminfo library lacks any information we can use (like a capability)?
Conflicts should not occur because both new values are used only for newly defined KeyShfPgUp and KeyShfPgDn (and code prefix doesn't match any other key combination in any of those terminals). I believe only problem which could occur is that these keys are not matched in one of non-tested terminals.
I don't know if there is any "nicer" way terminal capabilities could be queried, seems like not but I am not a terminal expert. I didn't realize so many differences exists between different terminals before I started to implement terminal application in go.
Tcell currently seems like a best solution to terminal cross compatibility problems I met. Currently some special keys still don't work in tty1-tty4 (consoles I open using Ctrl+Alt+F1 - F4 in Linux) but that is only problem I found so far :)

Sorry missed this ages ago.


AZURE in Plain english is no more accessible

https://www.expeditedssl.com/azure-in-plain-english

Yikes! Updated the link with an web archive copy of the last snapshot. Thanks!


Fix/move to elastic enterprise search client

Release notes

What does this PR do?

Why is it important/What is the impact to the user?

Checklist

[ ] My code follows the style guidelines of this project
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have made corresponding change to the default configuration files (and/or docker env variables)
[ ] I have added tests that prove my fix is effective or that my feature works

Author's Checklist

[ ]

How to test this PR locally

Related issues

Use cases

Screenshots

Logs

The CI problems:

on 7.x is due to the fact that logstash-core up to version < 7.14 requires elastic-search ~> 5 fixed with https://github.com/elastic/logstash/pull/12874 on 7.x branch
on 8.0 is due to the fact that AppSearch 8.0 is an alias for latest 7.x (currently 7.13) and doesn't yet support Elasticsearch 8.0

The red on CI is related to recent Workplace Search updates on 8.x snapshot versions.
Unrelated to this PR

Red CI is tracked in #14


Correct User Profiles

Who is your user?
There are a lot of users on Open Collective who collectively share a login to one user, this is usually named as admin or the organisations name.
What are they trying to achieve?
I think we should try and make it more intuitive that each person has their own user page with their name and they then can be an admin of what ever page they are managing.
I believe this is really important for understanding who has done certain actions on the platform and provides further transparency.
I think it’s also really nice to have your own individual user page on Open Collective. When you’ve been in this space for a while it’s a lovely place to showcase your contributions not only financial but time helping certain groups etc.
When setting up user profiles, I want to encourage users to create their own individual user profile, so I can ensure OC is set up correctly
How are they currently doing this?
Some groups instinctively do this but I am coming across a lot of groups that have one admin which is called the organisations name which multiple people use to login.
How well understood is this problem?

[ ] Surfacing: if you feel this is a seed of an idea that needs to be researched.
[ ] Understanding: if you've done some research and feel it is already well understood and ready for shaping.
[ ] Shaping:  if you feel a solution is clearly defined and can be made into a pitch (read more about shaping)
[ ] Pitching: if you feel that it is ready to be presented for prioritisation (read more about pitching)

We should understand why they do this. In the few cases I've stumbled upon, the goal was to have emails (mostly receipts and financial reports) sent to a specific address, which we improved with https://github.com/opencollective/opencollective/issues/3112.

Ill start a thread when I find them:
https://opencollective.com/black-women-for-black-lives


Refactored cosmos element serializer to remove v3 serializer dependency

Pull Request Template
Description
The v3 serializer code has public types which get leaked in the query core which is used in the v2 SDK. This removes those dependencies, and prevents the v2 SDK from needing to build the Cosmos Serializer code.
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

No longer relevant since it no longer needs to work in the v2 SDK.


🐞 Editor not visible underneath toolbar, tab bar, breadcrumbs, and status bar

Description
Editor should scroll "underneath" the toolbar, tab bar, breadcrumbs, and status bar. It should have a blurred effect under these elements. It seems like the editor is cut off.
To Reproduce
Open long file and scroll down. Notice it does not influence the background color of the mentioned elements.
Expected behavior
Blurred content in the editor should appear underneath these elements.

I've had a look at it and it seems like there's something broken inside AppKit / SwiftUI which prevents it from working as it should. I've now just removed the background of the toolbar, and drawn my own, which works fine. Does that work for you?
https://user-images.githubusercontent.com/62355975/211714985-3eab63c3-408c-4c2c-8c22-95fe2b2fe88f.mov

That should be fine if you are sure it is broken.

That should be fine if you are sure it is broken. Will we need to do the same for the breadcrumbs, tabs, and statusbar then? That seems like a lot of custom work. Maybe that is what is necessary though.

There might be a way to solve it with pure AppKit, but I'm not experienced enough in it to try that. The main problem seems to lie in the safeAreaInset, which you should be able to control the background from, but it doesn't seem to work. There's also a bug in the toolbar implementation of SwiftUI, which I filed feedback for. However, that hasn't really anything to do with the issue here, as we aren't using SwiftUI toolbars.
Anyway, I'll still need to check in the main app itself if I can find a better way to fix it. If not, this solution seems to be working pretty good and will also apply the same blur everywhere. There's also ne extra work to add things like breadcrumbs


Remove the noreferrer in links

Environment
/
Reproduction
/
Describe the bug
In the footer, links have noopener and noreferrer. Only noopener is important for security purposes but noreferrer is not needed. The the link to the main website, removing noreferrer will help us to know where users come from.
will verify and update links once I have access to my computer
Additional context
No response
Logs
No response

But there is not the website in socials links. Yes 😄


Fix Schema Registry Readme Issues

Fixes https://github.com/Azure/azure-sdk-for-java/issues/34265
@joshfree, @lmazuel and @conniey for notification.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-data-schemaregistry

@alzimmermsft, @joshfree, @lmazuel and @conniey Could you help review this PR? Thanks a lot.

@alzimmermsft If you have permission, can you help merge this PR? Thanks a lot.


Unintended(?) Cage Eating

Mod source
Factorio Mod Portal
Which mod are you having an issue with?

[X] pyalienlife
[ ] pyalternativeenergy
[ ] pycoalprocessing
[ ] pyfusionenergy
[ ] pyhightech
[ ] pyindustry
[ ] pypetroleumhandling
[ ] pypostprocessing
[ ] pyrawores

Operating system

=Windows 10

What kind of issue is this?

[ ] Compatibility
[ ] Locale (names, descriptions, unknown keys)
[ ] Graphical
[ ] Crash
[ ] Progression
[X] Balance
[ ] Pypostprocessing failure
[ ] Other

What is the problem?
My understanding is that Vonix are supposed to eat their meals cage and all, but all other meals-in-cages are meant to return the cage.  If that's wrong, disregard.
  Specifically:
Arthurian tier 2/3/4
Kmaut tier 2/3/4
Xeno tier 2/3/4
Zungror tier 2/3 (tier4 recipe doesn't currently exist in game, but it has the same issue in recipe viewers that can see it)
Numal tier 2/3/4
(Vonix tier 2/3(/4) but this is consistent with their standard behavior)
I think this is exhaustive.
Steps to reproduce
No response
Additional context
No response
Log file
No response

Thanks for the report. Fixed: https://github.com/pyanodon/pyalienlife/pull/235#issuecomment-2053897387


make trade issue for USDC to ETH

I use the following code to make trade,
USDC_value = 0.001
amount = int(USDC_value * 10 ** 6)
tx = uniswap_arb.make_trade(USDC_arb, eth, amount, Web3.toChecksumAddress(address), fee=3000)
then I get the following fault:
File "web3_utils\method_formatters.py", line 576, in raise_solidity_error_on_revert
raise ContractLogicError(response['error']['message'])
web3.exceptions.ContractLogicError: execution reverted: SPL
I change the fee value ,for example 5000, or else, then I get another fault:
File "web3_utils\method_formatters.py", line 564, in raise_solidity_error_on_revert
if data.startswith('Reverted '):
AttributeError: 'NoneType' object has no attribute 'startswith'
Plesae help support it. Thanks!

You have not provided a full code example, can't help you without one.

I  use uniswap_python/examples/arb_uni_operation code. Thanks


ToolBarPanel gaps

Please add 1px or 2px gap between toolbar components.
Test: ToolBar screen of features user
Hover fast with mouse or check the gap between + icon and "Nxt 2"

The server sends a FlowLayout without gaps FlowLayout,1,1,1,1,0,0,0,0,0,3,false, is it possible to send one with gaps? Or should I add an extra condition

server now sends 1 for vgap and hgap.

be sure that it's possible to change the gap via css...


Initial new authentication method implementation

I've implemented the new plex authentication method. This is far from perfect and requires more work. Please excuse the way I have written the code in some areas. I have not used retrofit and rxjava before. You may want to change the way i've done it.
When logging in, you don't have to enter username or password. Just press sign in and in the logs it will show a URL, where the user should open and login through. Currently when nothing is playing in plex, an error appears.
#12

Sound really nice ! I'll have a look a it this weekend. Do yo have any documents or postman collection that could help me understand this new authentication process ?
No problem ! I am very thankful for your interest and substantial contributions 😊

Sound really nice ! I'll have a look a it this weekend. Do yo have any documents or postman collection that could help me understand this new authentication process ?
No problem ! I am very thankful for your interest and substantial contributions 😊

I've created postman collection here:
https://www.postman.com/warped-comet-830856/workspace/plex-authentication-api/overview

I've created postman collection here:
https://www.postman.com/warped-comet-830856/workspace/plex-authentication-api/overview

Hello, that's awesome !
I just tested it, and It's very nice. I just had to add a minor fix because one of the server I have on my plex account was blocking the getSessions call. The login is much more seamless and the tray thing is awesome !
I have started to do some minor cleanup on my end, will merge it when you think your branch is ready.
As for the tray issue on mac, I came across that lib which might be worth to look at regarding tray icon implementation. However, I can't debug this issue myself since I do not own a mac myself.

Hello, that's awesome !
I just tested it, and It's very nice. I just had to add a minor fix because one of the server I have on my plex account was blocking the getSessions call. The login is much more seamless and the tray thing is awesome !
I have started to do some minor cleanup on my end, will merge it when you think your branch is ready.
As for the tray issue on mac, I came across that lib which might be worth to look at regarding tray icon implementation. However, I can't debug this issue myself since I do not own a mac myself.

Can you add your fix to my PR?
I will try and use the library you linked.

Can you add your fix to my PR?
I will try and use the library you linked.

I could not add changes to your branch since it's on your forked repo but I just pushed a "new auth" branch with my fixes which you may merge into your branche.

I could not add changes to your branch since it's on your forked repo but I just pushed a "new auth" branch with my fixes which you may merge into your branche.

ok, everything should be working now. please verify on your end.

ok, everything should be working now. please verify on your end.

Looking into it ; looks great so far.
Just a question : is there a specific reason of why you decided to put the logs in a new window ?

Looking into it ; looks great so far.
Just a question : is there a specific reason of why you decided to put the logs in a new window ?

I felt like it was unnecessary for the user to see the logs. If there is any issue, they can just open the log and go from there.

I felt like it was unnecessary for the user to see the logs. If there is any issue, they can just open the log and go from there.

Okay, I agre with you. I'll just apply the theme's CSS in order to have everything in sync visually.
I'll do the merge & release this week

Okay, I agre with you. I'll just apply the theme's CSS in order to have everything in sync visually.
I'll do the merge & release this week

May I propose changing the application's icon to something else? Sometimes I get confused if it is the plex app or not.

May I propose changing the application's icon to something else? Sometimes I get confused if it is the plex app or not.

I totally agree ! I'll look into it, don't hesistate if you have any input

I totally agree ! I'll look into it, don't hesistate if you have any input

I think this icon should do. What do you think? Direct Link

I think this icon should do. What do you think? Direct Link

I hired one of my friend who has graphic design skills to create  an icon

I hired one of my friend who has graphic design skills to create  an icon


Python installation testing - Mac

Requirements:
python 2.7
pip

Prerequisite steps:
pip install enum34 futures six
pip install --pre protobuf>=3.0.0a3

Note: unfortunately, being on TestPyPI requires that our dependencies be installed separately. This will not be the case once we get on PyPI.
Potential Pitfalls:
The --pre flag may not be necessary (or even available?) for some versions of pip. If pip whines about it, drop the flag.
Requirements:

python 2.7

Steps:
Ensure python 2.7 is the version of python used by running
python -V

Install gRPC
pip install -i https://testpypi.python.org/simple grpcio

Test the installation - launch a python interpreter and run
>> import grpc
>> dir(grpc)
>> Ctrl-D

Next, try the hello world example.
git clone https://github.com/grpc/grpc

Navigate to the "hello, world" Python example:
$ cd grpc/examples/python/helloworld

Run the server
$ python2.7 greeter_server.py &

Run the client
$ python2.7 greeter_client.py

If all goes well, you will receive the message:

Greeter client received: Hello, you!

This issue has done its part.


Set asset properties without requiring updating status, model and name

Currently Set-Asset require update name, status and model. Snipe it api requires only id-field.
Heres fix for that.
With this pull request is possible to update  just one field  of asset without specifying  status, model and name.

Should set-asset use patch  method instead of put? Of maybe we could make -method switch for selecting betweeb put (default) and patch ?
(that will need an other patch)

Should set-asset use patch  method instead of put? Of maybe we could make -method switch for selecting betweeb put (default) and patch ?
(that will need an other patch)

This can be closed without merge


responseBodyTests issue when value = null

Discussed in https://github.com/apideck-libraries/portman/discussions/412

Originally posted by jopucpla October  5, 2022
Hello! :)
I'm currently facing an issue when trying to validate a content on an specific request (using variations).
I added following contentTests on responseBody
          contentTests:
            - responseBodyTests:
                - key: proposals[0].supplier.name
                  value: AAA
                - key: proposals[0].supplier.legalIdentifier
                  value: 123 456 789
                - key: proposals[0].supplier.externalId
                  value: 196893

This is converted into the pm assertion below:
// Response body should have value "196893" for "supplier.externalId"
if (jsonData?.supplier?.externalId) {
pm.test("[GET]::/proposals/:proposalId - Content check if value for 'supplier.externalId' matches '196893'", function() {
  pm.expect(jsonData.supplier.externalId).to.eql("196893");
})};

The problem is when jsonData.supplier.externalId is = null this condition is not met and the validation is skipped.
for example:
"supplier": {
    "name": "AAA",
    "legalIdentifier": "123 456 789",
    "externalId": null,
    "seller": {
        "firstName": "sa",
        "lastName": "ta",
        "email": "XXX"
    },
    "consultant": {
        "firstName": "XX",
        "lastName": "XX"
    }
},

Based on how the API works the field is nullable, therefore I can't force as not nullable by schema and I want specific request to have this field filled.
Did anyone had similar issues? Is there a way to do this?
I tried with assertions but still same issue since the if clause is still injected and therefore the test bypassed, so the assert: not.to.be.null is actually not working at all. Am I doing anything wrong?
Thank you!

thanks!

@jopucpla We have a PR ready, so in the next release, this issue wil be solved.

@jopucpla The improved null support is added for contentTests & assignVariables. It is included in the Portman 1.19 release.


Extension of issue 244: Bypass spawning local browser

Hi,
As part of issue #244, a feature was added to not re-spawn a browser if it’s disappeared. The pref is in Configuration: selenide.reopenBrowserOnFail.
This is great, but we have one last use case :).  In WebDriverThreadLocalContainer, method getWebDriver does not have that check:
log.info("No webdriver is bound to current thread: " + currentThread().getId() + " - let's create new webdriver");
return setWebDriver(createDriver());
We manage our own browser lifecycles (creating our own webdriver instance and using setWebDriver() in a superclass that TestNG tests inherit from) which includes running 20 threads with different browser configurations on a selenium grid. So we’d prefer for the test to fail if a browser goes unresponsive, or there’s a network problem talking to the hub, or the grid crashed, or we failed to properly call setWebDriver() in our own framework. Etc.
In other words, if no webdriver is bound to the current thread, we’d like an option to /not/ spawn a local FF browser. Perhaps throw an exception, like UnsupportedOperationException? Perhaps:
  @Override
  public WebDriver getWebDriver() {
    WebDriver webDriver = THREAD_WEB_DRIVER.get(currentThread().getId());
    if (webDriver != null) {
      return webDriver;
    }

    if (!reopenBrowserOnFail) {
       throw new UnsupportedOperationException("No webdriver is bound to current thread and pref 'reopenBrowserOnFail' is false.");
    }

    log.info("No webdriver is bound to current thread: " + currentThread().getId() + " - let's create new webdriver");
    return setWebDriver(createDriver());
  }

Or perhaps just return null instead? I'm open to any ideas!
Thanks!!
Ken

@ken-p You are right, we have this problem.
I hope I have fixed the problem in Selenide 4.2-SNAPSHOT. Can you check the snapshot version somehow?

Sure, thanks! Is this the right place to grab it from, and which .jar should I use?  https://oss.sonatype.org/content/repositories/snapshots/com/codeborne/selenide/4.2-SNAPSHOT/

Yes, this is the right place. Take the latest jar.
Andrei Solntsev
2016-12-12 23:39 GMT+02:00 Ken P<EMAIL_ADDRESS>
Sure, thanks! Is this the right place to grab it from, and which .jar
should I use? https://oss.sonatype.org/content/repositories/
snapshots/com/codeborne/selenide/4.2-SNAPSHOT/
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/codeborne/selenide/issues/433#issuecomment-266561130,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARE3dUYjshwvTNL0b0O7O97Uy9h5nSaks5rHb8cgaJpZM4LC03z
.

Thanks. Was the change made in WebDriverThreadLocalContainer?  I'm looking in selenide-4.2-20161210.230300-5-sources and I don't see anything different...

Yes, the change was done in WebDriverThreadLocalContainer.getAndCheckWebDriver():
https://github.com/codeborne/selenide/commit/553a26d

Oh, now I see it. Does a similar change need to be done to WebDriverThreadLocalContainer.getWebDriver() ?

Here's the simple test I was trying:
`import static com.codeborne.selenide.Selenide.$;
public class NoBrowser {
@Test
public void test() {
    //for this test we're assuming there's not a browser already on the thread local container
    System.setProperty("selenide.reopenBrowserOnFail", "false");
    $("blah").click();
}

}`
The $() resolves (I think) to WebDriverThreadLocalContainer.getWebDriver() (via WebDriverRunner). So how should that behave? As I said I'm happy with any behavior (exception, return null, etc).
Thanks again!

@ken-p Hi!
Setting name sound like "...OnFail". My idea was that it should open browser for the first time, but avoid re-opening it after a failure.
So, method $("blah").click(); should open a new browser.
But the following code:
$("blah").click();  // opens a browser
// say, browser is unexpectedly closed by the Matrix
$("blah").click();  // does NOT re-open the browser

That makes perfect sense....except some of our edge cases :).  As I said, we're managing our own browser lifecycles and storing them using WebDriverRunner.setWebDriver(). Over a 3 hour test run with 3k tests running through the CI system, it's inevitable that something goes wrong and there's no webdriver on the thread. If we are doing a test run (for example) to verify IE functionality, we'd really rather not have a FF browser spin up at all if one is not bound to the thread (and especially since we want that test to run on a particular VM configuration on a grid). If this sounds too edge case-y for your framework I can fork and manage myself. Thanks again! We've had tremendous success with Selenide  :).

@ken-p Yes, I think Selenide 4.2 works exactly as you described. Your problem should be solved now.

Thanks! I will let you know if I find a case that describes otherwise.


Update timers.js

Adding call stack for message when timeout occurs

You can enable long stack traces and use .stack of the TimeoutError.

Isn't that so "Long stack traces imply a substantial performance penalty, around 4-5x for throughput and 0.5x for latency." ? http://bluebirdjs.com/docs/api/promise.longstacktraces.html
I'm interrested to have error stack trace for timeout not only for debug, but also for runtime.

This would incur same performance penalty for all users regardless of their configuration


[i18n] Double check i18n works as expected with dynamic plugins

With the switch to dynamic plugins in backstage-plugins, does the i18n setup still work?
part of https://github.com/janus-idp/backstage-showcase/issues/502

This can be revisited down the line when i18n comes out of alpha.


How to change css Sourcemap in grunt sass

Grunt Sass Generated:
/*# sourceMappingURL=assets/css/style.css.map */
I want like this:
/*# sourceMappingURL=D:/wamp/www/foldername/foldername/wp-content/plugins/foldername/assets/css/style.css.map */

duplicate of https://github.com/gruntjs/grunt-contrib-sass/issues/209


Issue with $cacheWrite

Another issue I am getting with $cacheWrite
Used as in the example
const flag = await $cacheWrite({ key:'testKey', expire: 60*60*24 }, 'your content')
but not working and gave this error
RedisStore.js?b1a5:101 Uncaught (in promise) TypeError: Cannot read property 'setex' of undefined     at eval (RedisStore.js?b1a5:101)     at new Promise (<anonymous>)     at RedisStore.write (RedisStore.js?b1a5:97)     at Store.eval [as $cacheWrite] (plugin.js?c34d:10)     at _callee3$ (categories.js?d4fe:65)     at tryCatch (runtime.js?96cf:63)     at Generator.invoke [as _invoke] (runtime.js?96cf:293)     at Generator.eval [as next] (runtime.js?96cf:118)     at asyncGeneratorStep (asyncToGenerator.js?1da1:3)     at _next (asyncToGenerator.js?1da1:25)
same with
 const data = await this.$cacheRead({         key: "testKey"       })
error
disconnect not working******** false RedisStore.js?b1a5:75 Uncaught (in promise) TypeError: Cannot read property 'get' of undefined     at eval (RedisStore.js?b1a5:75)     at new Promise (<anonymous>)     at RedisStore.read (RedisStore.js?b1a5:71)     at Store.eval [as $cacheRead] (plugin.js?c34d:10)     at _callee4$ (categories.js?d4fe:65)     at tryCatch (runtime.js?96cf:63)     at Generator.invoke [as _invoke] (runtime.js?96cf:293)     at Generator.eval [as next] (runtime.js?96cf:118)     at asyncGeneratorStep (asyncToGenerator.js?1da1:3)     at _next (asyncToGenerator.js?1da1:25)
what could fix it?
await this.$cacheFetch(......) is working perfectly

did you installed latest version of package?

Yes, of course.

did you installed latest version of package?

@ziaadini anything happened to You like that?

not for this issue, did you check if process is in server?

Nope, I haven't

yes, i just forgot document that. did you slove your problem? can i close this issue?

I see. Unlucky didn't worked for me as You said. Do You have any example in real code of Nuxt project and it's working?

latest version*
i do have the same issue

yes i have used it in a real project, and it works as expected.

latest version*
i do have the same issue

 asyncData() {
    if (process.server) {
    // do wat you want
    }
  }

it should works. the problem is you are trying to write in redis on client side.
it works only on hard reload.


[doc] Wiki update about user custom.

Feature description
Wiki needs updating for user custom suggested in #931.
This will be a large edit, and will be updated after discussion.
We may also need to change the Tutor.

Raw markdown code

Get to know this configuration: `:Tutor dots`!

## Universal settings

All commonly used entries have been implemented in [`[settings.lua](https://github.com/ayamir/nvimdots/blob/main/lua/core/settings.lua)`](https://github.com/ayamir/nvimdots/blob/main/lua/core/settings.lua).

## Structure

`init.lua` is the kernel config file. It requires configuration in `lua`
directory.

- `lua` directory contains 4 parts.

  - `core` directory contains base configuration of neovim.

  - `keymap` directory contains keybindings of plugins.

  - `modules` directory contains three main subfolders.

    - `plugins/{scope}.lua` contains plugins within the scope.

    - `configs/{scope}/ ` directory contains plugin settings according to the scope.

    - `utils/icons.lua` contains icons used for plugin settings. See below for details.

    - `utils/init.lua` contains utility functions used by plugins. See below for details.

    - **{scope} definition**
      - `completion` contains plugins for code completion.

      - `editor` contains plugins that improve the default ability of vanilla `nvim`.

      - `lang` contains plugins related to certain programming languages.

      - `tool` contains plugins using external tools and changing the default layout which provides new abilities to `nvim`.

      - `ui` contains plugins rendering the interface without any actions after the user fires `nvim`.

  - `user` directory contains user custom configs.

    - `plugins/{scope}.lua` contains user-added plugins within the scope.
    - `configs/{plugin-name}.lua` contains default plugin override settings according to the plugin name.
    - `configs/{scope}/` directory contains user-added plugin settings according to the scope.
      - `dap-clients/` directory contains the settings of DAP clients.
      - `lsp-servers/` directory contains the settings of LSP servers.

    - `keymap/` directory contains custom keybindings of plugins.
    - `event.lua` contains custom user events.
    - `options.lua` contains override vanilla `nvim` options.
    - `settings.lua` contains override settings.

- The `modules` directory default file tree is as follows:

```console
init.lua
   └── lua/
       └── modules/
           ├── plugins/
           │   ├── completion.lua
           │   ├── editor.lua
           │   ├── lang.lua
           │   ├── tool.lua
           │   └── ui.lua
           ├── configs/
           │   ├── completion/
           │   ├── editor/
           │   ├── lang/
           │   ├── tool/
           │   └── ui/
           └── utils/
               ├── icons.lua
               └── init.lua
```

## How to customize

### Modify plugin setting

1. Check whether the plugin is written in `lua` or not.

2. Add a new entry in `user/configs/<plugin-name>.lua`

3. If your plugin is written in `lua`, override it with _(See below for an example)_

   - Return a table when replacing some items in `lua/modules/configs/<scope>/<plugin-name>.lua`.

   - Return a function if you want to completely replace the setting in `lua/modules/configs/<scope>/<plugin-name>.lua`.

     **Note** About override settings

     - A custom merge function honors user preferences.
     - Replaces the value if the key exists in the table.
     - Add the key and value if the key does not exist in the table.
     - If the existing table value is a nested table, it behaves as follows:

       - If the user gives a table,
         - Add values if the nested table is a list.
         - Update value or add key and value if nested table is a dictionary
       - If the user gave a function,
         - It completely replaces nested tables.

4. If your plugin is written in `vimscript`, override it with _(See below for an example)_

- Return a function containing `vim.g.<options> = foobar`.

Here is an example (If the plugin is made by `lua`):

- `lua/user/configs/telesccope.lua`

  - Update value or add key and value by `return` a table.

  ```lua
  return {
  	defaults = {
  		mappings = {
  			n = {
  				["q"] = "close",
  			},
  		},
  	},
  }
  ```

  - Full replacement of values by `return` a function

  ```lua
  return {
  	defaults = function()
  		return {
  			mappings = {
  				n = {
  					["q"] = "close",
  				},
  			},
  		}
  	end,
  }
  ```

Here is an example (If the plugin is made by `VimScript`):

- `lua/user/configs/telesccope.lua`

```lua
return function()
	vim.g.go_doc_keywordprg_enabled = 1
end
```

### Add a new plugin

1. Make a sub-directory called `<scope>` under `user/configs` and a file called `<scope>.lua` under `plugins/`. `<scope>.lua` should contain the following initial content:
   **Note** Here we adopt a structure similar to `lua/modules/configs` for user configuration

```lua
local custom = {}

return custom
```

2. Add this new plugin following the format that other plugins are configured in `plugins/` and `configs/`. Specifically:

   - Add a new entry in `user/plugins/<scope>.lua` _(See below for an example)_

   - Create a new `.lua` file with plugin name as the filename under `user/configs/<scope>` _(the filename can be slightly different, as long as it can be understood by you)_.

Here is an example:

- `lua/user/plugins/editor.lua`

```lua
local custom = {}

custom["folke/todo-comments.nvim"] = {
	lazy = true,
	event = "BufRead",
	config = require("user.configs.editor.todo-comments"), -- Require that config
}

return custom
```

- `lua/user/configs/editor/todo-comments.lua`

```lua
return function() -- This file MUST return a function accepting no parameter and has no return value
	require("todo-comments").setup()
end
```

_(If you need help, feel free to open an issue.)_

### Remove a plugin

1. Add `settings["disabled_plugins"]` to `lua/user/settings.lua`.

2. Enter the name of the plugin you want to remove.

Here is an example:

- `lua/settings.lua`

```lua
-- Disable the two plugins
settings["disabled_plugins"] = {
	"karb94/neoscroll.nvim",
	"dstein64/nvim-scrollview",
}
```

### Modify Keymaps

- For vanilla `nvim` keymap

  Modify `lua/user/keymap/core.lua`

- For specific plugin's keymap

  Modify `lua/user/keymap/<scope>.lua`

- Command breakdown

  ```lua
      ┌─ sep     ┌── map_type
   ["n|gb"] = map_cr("BufferLinePick"):with_noremap():with_silent(),
     │  └── map_key          │              └── special     │
     └──── map_mode          └── map_content                └── special (can be chained)
  ```

- Set the value to empty or `false` to remove the default keymap

Here is an example

- `lua/user/keymap/ui.lua`

```lua
local bind = require("keymap.bind")
local map_cr = bind.map_cr
local map_cmd = bind.map_cmd
local map_callback = bind.map_callback

return {
	-- Remove default keymap
	["n|<leader>nf"] = "",
	["n|<leader>nr"] = false,
	-- Plugin: telescope
	["n|<leader><S-cr>"] = map_callback(function()
			_command_panel()
		end)
		:with_noremap()
		:with_silent()
		:with_desc("tool: Toggle command panel"),
}
```

### Modify LSPs, linters and formatters

- Add/remove Language Server Protocol (LSP) servers

  Modify `lua/user/settings` -> `settings[lsp_deps]`, users can find available sources [[here](https://github.com/neovim/nvim-lspconfig/tree/master/lua/lspconfig/server_configurations)](https://github.com/neovim/nvim-lspconfig/tree/master/lua/lspconfig/server_configurations). Then add a server config file in `lua/user/configs/lsp-servers`, see `lua/modules/configs/completions/servers/` for how to configure servers, users can take other server's config file as a reference. Restart `nvim` to install the new LSP servers.

  **Note**: Some LSPs are already being shipped when installing the runtime packages. Like `dartls` is being shipped when installing `dart` runtime, so users won't see those LSPs when calling `:Mason`, see #525.

- Add/remove linters and formatters

  Modify `lua/user/settings` -> `settings[null_ls_deps]`, users can find available sources [[here](https://github.com/jose-elias-alvarez/null-ls.nvim/tree/main/lua/null-ls/builtins)](https://github.com/jose-elias-alvarez/null-ls.nvim/tree/main/lua/null-ls/builtins). If users want to change the behavior of a specific `null-ls` source, set the extra arguments in `lua/user/configs/null-ls.lua` -> `sources` table. _(See below for an example)_ Restart `nvim` to install the new `null-ls` sources.

Here is an example

- `lua/user/configs/null-ls.lua`

```lua
local null_ls = require("null-ls")
local btns = null_ls.builtins

return {
	sources = {
		btns.formatting.black.with({
			filetypes = { "python" },
			extra_args = { "--fast", "-q", "-l", "120", "extend-ignore = E203, E501" },
		}),
	},
}
```

**Note**: Some linters and formatters are already being shipped when installing the runtime packages. For example, `dart_format` is being shipped when installing `dart` runtime, so users won't see those formatters when calling `:Mason`. Just set `dart_format`, for example, in the `settings[null_ls_deps]` table, and `mason-null-ls` will set it up for you, see #525 for more.

- Change Formatter's global behavior

  - Disable formatting on certain filetype

    Modify `lua/user/settings` -> `settings[formatter_block_list]`.

  - Disable formatting ability on certain LSP server

    Modify `lua/user/settings` -> `settings[server_formatting_block_list]`.

- Changes in LSP server and Linter behavior

  - Create and edit `lua/user/configs/lsp-servers/<server-name>.lua`.
  - See `lua/modules/configs/completions/servers/`.

### Modify Dap

- Add/remove Debug Adapter Protocol (DAP) clients
  Modify `lua/user/settings` -> `settings[dap_deps]`, users can find available sources in [[here](https://github.com/jay-babu/mason-nvim-dap.nvim/blob/main/lua/mason-nvim-dap/mappings/source.lua)](https://github.com/jay-babu/mason-nvim-dap.nvim/blob/main/lua/mason-nvim-dap/mappings/source.lua). Then add a client config file in `lua/user/configs/dap-clients`, see `lua/modules/configs/tool/dap/clients/` for how to configure dap clients, users can take other client config files as a reference. Restart `nvim` to install the new DAP clients.

### Modify event defined by `autocmd`

- Modify `lua/user/event.lua`

- See `lua/core/events.lua` for the key.

Here is an example

- `lua/user/events.lua`

```lua
local definitions = {
	-- Example
	bufs = {
		{ "BufWritePre", "COMMIT_EDITMSG", "setlocal noundofile" },
	},
}

return definitions
```

### Modify vanilla `nvim` options

- Modify `lua/user/options.lua`

- Global options are listed directly.

Here is an example

- `lua/user/options.lua`

```lua
vim.g.editorconfig = 0
local options = {
	autoindent = true,
}

return options
```

### Modify settings

- Modify `lua/user/settings.lua`.

- See `lua/core/settings.lua` for the keys and corresponding valid values.

Here is an example

- `lua/user/settings.lua`

```lua
local settings = {}

-- Examples
settings["use_ssh"] = true

settings["colorscheme"] = "catppuccin"

return settings
```

### Switch `colorscheme`

- Modify the value of `colorscheme` in `lua/user/settings.lua`.

```lua
-- Set colorscheme to catppuccin-latte for example
settings["colorscheme"] = "catppuccin-latte"
```

**NOTE**: The `colorscheme` of `lualine` will also be changed according to the current `colorscheme` of `nvim`. Please see the function `custom_theme` in `lua/modules/configs/ui/lualine.lua` if you are interested in it.

All of the modified configs will have effects after you restart `nvim`.

## Global assets

### Palette

This configuration provides a global unified palette. You may use `require("modules.utils").get_palette({ <color_name> = <hex_value> }?)` to get the global color palette. Specific colors may be overwritten in [`[settings.lua](https://github.com/ayamir/nvimdots/blob/6d814aad5455aa8d248ed6af7b56fc4e99e40f48/lua/core/settings.lua#L18-L23)`](https://github.com/ayamir/nvimdots/blob/6d814aad5455aa8d248ed6af7b56fc4e99e40f48/lua/core/settings.lua#L18-L23) or can be passed in as function parameter(s). You will get parameter completion when typing.

The order of priority for modifying the palette is:

```
preset colors < global colors defined in `settings.lua` < incoming function parameters
```

All available colors can be found [[here](https://github.com/ayamir/nvimdots/blob/6d814aad5455aa8d248ed6af7b56fc4e99e40f48/lua/modules/utils/init.lua#L3-L30)](https://github.com/ayamir/nvimdots/blob/6d814aad5455aa8d248ed6af7b56fc4e99e40f48/lua/modules/utils/init.lua#L3-L30). You can also explore implementation details in this file.

### Icons

This configuration also provides a dedicated icon set. It can be accessed via `require("modules.utils.icons").get(category, add_space?)`. You will get parameter completion when typing.

You can find the list of icons [[here](https://github.com/ayamir/nvimdots/blob/main/lua/modules/utils/icons.lua)](https://github.com/ayamir/nvimdots/blob/main/lua/modules/utils/icons.lua).

## Operation manual

- Find word

[![hop to find word](https://s2.loli.net/2022/01/06/WZKjvaF8qGEYP5R.png)](https://youtu.be/Otz09Gdk4NA)

- Region operation

[![region operation](https://s2.loli.net/2022/01/06/PzcmOIksQNbeEpA.png)](https://youtu.be/4esdUMHXNTo)

## Guide on how to use the catppuccin colorscheme

### What is Catppuccin? [[1]](https://www.reddit.com/r/neovim/comments/r9619t/comment/hna3hz8)

> Catppuccin is a community-driven soothing pastel theme that aims to be the middle ground between low and high-contrast themes, providing a warm color palette with 26 eye-candy colors that are bright enough to be visible during the day, yet pale enough to be easy on your eyes throughout the night.

### Basic Usage

Modify [[these lines](https://github.com/ayamir/nvimdots/blob/6d814aad5455aa8d248ed6af7b56fc4e99e40f48/lua/modules/configs/ui/catppuccin.lua#L2-L89)](https://github.com/ayamir/nvimdots/blob/6d814aad5455aa8d248ed6af7b56fc4e99e40f48/lua/modules/configs/ui/catppuccin.lua#L2-L89). _(Note: This link might be slightly different from `HEAD`, but it can be used as a reference.)_ See detailed explanation of each option below.

#### General

These settings are unrelated to any group and are globally independent.

- `flavour`: _(Can be any one of: `latte`, `frappe`, `macchiato`, or `mocha`)_ this is **mandatory**. You **must** set this value in order to make catppuccin work correctly. Note that `latte` is a light colorscheme, and the rest are dark schemes; The `mocha` palette is the only one that has been modified to make catppuccin look like the v0.1 one. Check out [[this PR](https://github.com/ayamir/nvimdots/pull/163)](https://github.com/ayamir/nvimdots/pull/163) for details.
- `transparent_background`: _(Boolean)_ if true, disables setting the background color.
- `term_colors`: _(Boolean)_ if true, sets terminal colors (a.k.a., `g:terminal_color_0`).

#### Dim inactive

This setting manages the ability to dim **inactive** splits/windows/buffers.

- `enabled`: _(Boolean)_ if true, dims the background color of inactive window or buffer or split.
- `shade`: _(string)_ sets the shade to apply to the inactive split or window or buffer.
- `percentage`: _(number from 0 to 1)_ percentage of the shade to apply to the inactive window, split or buffer.

#### Styles

Handles the style of general highlight groups _(see `:h highlight-args` for detailed explanation)_:

- `comments`: _(Table)_ changes the style of comments.
- `functions`: _(Table)_ changes the style of functions _(e.g., [`[button](https://github.com/ayamir/nvimdots/blob/6d814aad5455aa8d248ed6af7b56fc4e99e40f48/lua/modules/configs/ui/alpha.lua#L28)`](https://github.com/ayamir/nvimdots/blob/6d814aad5455aa8d248ed6af7b56fc4e99e40f48/lua/modules/configs/ui/alpha.lua#L28) in config)_.
- `keywords`: _(Table)_ changes the style of keywords _(e.g., `local`)_.
- `strings`: _(Table)_ changes the style of strings.
- `variables`: _(Table)_ changes the style of variables.
- `properties`: _(Table)_ changes the style of a phantom field with only getter and/or setter _(e.g., field access `tbl.field`)_.
- `operators`: _(Table)_ changes the style of operators.
- `conditionals`: _(Table)_ changes the style of conditional check keywords _(e.g., `if`)_.
- `loops`: _(Table)_ changes the style of loop keywords _(e.g., `for`)_.
- `booleans`: _(Table)_ changes the style of booleans.
- `numbers`: _(Table)_ changes the style of numbers.
- `types`: _(Table)_ changes the style of types _(e.g., `int`)_.

#### Integrations

These integrations allow catppuccin to set the theme of various plugins. To enable an integration you need to set it to `true`.

#### Using the auto-compile feature

> Catppuccin is a highly customizable and configurable colorscheme. This does however come at the cost of complexity and execution time.

Catppuccin can pre-compute the results of configuration and store the results in a compiled lua file. These pre-cached values are later used to set highlights. The cached file is stored at `vim.fn.stdpath("cache") .. "/catppuccin"` by default _(use `:lua print(vim.fn.stdpath("cache") .. "/catppuccin")` to see where it locates on your computer)_. You may change this behavior by modifying [[this line](https://github.com/ayamir/nvimdots/blob/6d814aad5455aa8d248ed6af7b56fc4e99e40f48/lua/modules/configs/ui/catppuccin.lua#L17)](https://github.com/ayamir/nvimdots/blob/6d814aad5455aa8d248ed6af7b56fc4e99e40f48/lua/modules/configs/ui/catppuccin.lua#L17).

> **Note**: As of 7/10/2022, catppuccin should be able to automatically recompile when the setup table changed. You cannot disable this feature.

### Advanced Feature

#### Customizing the palette

Not satisfied with the current appearance? You may modify the palette yourself, like `mocha`!

#### Get catppuccin colors

```lua
local latte = require("catppuccin.palettes").get_palette "latte"
local frappe = require("catppuccin.palettes").get_palette "frappe"
local macchiato = require("catppuccin.palettes").get_palette "frappe"
local mocha = require("catppuccin.palettes").get_palette "mocha"

local colors = require("catppuccin.palettes").get_palette() -- current flavour's palette
```

These lines would all return a table respectively, where the key is the name of the color and the value is its hex value.

#### Overwriting highlight groups

Global highlight groups can be overwritten like so:

```lua
custom_highlights = function(cp)
	return {
		<hl_group> = { <fields> }
	}
end
```

Here is an example:

```lua
require("catppuccin").setup({
	custom_highlights = function(cp)
		return {
			Comment = { fg = cp.flamingo },
<EMAIL_ADDRESS>= { fg = cp.peach, style = {} },
			["@comment"] = { fg = cp.surface2, style = { "italic" } },
		}
	end,
})
```

Per flavour highlight groups can be overwritten starting from [[this line](https://github.com/ayamir/nvimdots/blob/6d814aad5455aa8d248ed6af7b56fc4e99e40f48/lua/modules/configs/ui/catppuccin.lua#L121)](https://github.com/ayamir/nvimdots/blob/6d814aad5455aa8d248ed6af7b56fc4e99e40f48/lua/modules/configs/ui/catppuccin.lua#L121) like so:

```lua
highlight_overrides = {
	all = function(cp) -- Global highlight, will be replaced with custom_highlights if exists
		return {
			<hl_group> = { <fields> }
		}
	end, -- Same for each flavour
	latte = function(latte) end,
	frappe = function(frappe) end,
	macchiato = function(macchiato) end,
	mocha = function(mocha) end,
}
```

Here is an example:

```lua
local ucolors = require("catppuccin.utils.colors")
require("catppuccin").setup({
	highlight_overrides = {
		all = function(colors)
			return {
				NvimTreeNormal = { fg = colors.none },
				CmpBorder = { fg = "#3E4145" },
			}
		end,
		latte = function(latte)
			return {
				Normal = { fg = ucolors.darken(latte.base, 0.7, latte.mantle) },
			}
		end,
		frappe = function(frappe)
			return {
				["@comment"] = { fg = frappe.surface2, style = { "italic" } },
			}
		end,
		macchiato = function(macchiato)
			return {
				LineNr = { fg = macchiato.overlay1 },
			}
		end,
		mocha = function(mocha)
			return {
				Comment = { fg = mocha.flamingo },
			}
		end,
	},
})
```

Additionally, if you want to load other custom highlights later, you may use this function:

```lua
require("catppuccin.lib.highlighter").syntax()
```

For example:

```lua
local colors = require("catppuccin.palettes").get_palette() -- fetch colors from palette
require("catppuccin.lib.highlighter").syntax({
	Comment = { fg = colors.surface0 }
})
```

> **Note**: Custom highlights loaded using the `require("catppuccin.lib.highlighter").syntax()` function **won't** be pre-compiled.
>
> Unlike the `:highlight` command which can update a highlight group, this function completely replaces the definition. (`:h nvim_set_hl`)

#### Overwriting colors

Colors can be overwritten using `color_overrides` starting from [[this line](https://github.com/ayamir/nvimdots/blob/6d814aad5455aa8d248ed6af7b56fc4e99e40f48/lua/modules/configs/ui/catppuccin.lua#L90)](https://github.com/ayamir/nvimdots/blob/6d814aad5455aa8d248ed6af7b56fc4e99e40f48/lua/modules/configs/ui/catppuccin.lua#L90), like so:

```lua
require("catppuccin").setup {
	color_overrides = {
		all = {
			text = "#FFFFFF",
		},
		latte = {
			base = "#FF0000",
			mantle = "#242424",
			crust = "#474747",
		},
		frappe = {},
		macchiato = {},
		mocha = {},
	}
}
```

#### Customizing auto-compile Hook

##### Available Compile Commands

```vim
:CatppuccinCompile " Create/update the compile file
```

Catppuccin also provides the following function to work with the catppuccin compiler:

```lua
require('catppuccin').compile() -- Create/update the compile files
```

##### Post-install/update hooks

- You may add `:CatppuccinCompile` to post-install/update hooks [[here](https://github.com/ayamir/nvimdots/blob/bf80e8eb74d8132642fd36dd7e30a4ebec492226/lua/modules/plugins/ui.lua#L13-L17)](https://github.com/ayamir/nvimdots/blob/bf80e8eb74d8132642fd36dd7e30a4ebec492226/lua/modules/plugins/ui.lua#L13-L17), like so:

```lua
ui["catppuccin/nvim"] = {
	lazy = false,
	name = "catppuccin",
	config = require("ui.catppuccin"),
	build = ":CatppuccinCompile"
}
```

#### Want to know more details?

- Visit catppuccin on [[github](https://github.com/catppuccin/nvim)](https://github.com/catppuccin/nvim)!

Get to know this configuration: :Tutor dots!
Universal settings
All commonly used entries have been implemented in settings.lua.

Sorry I'm afraid I can't review this thoroughly either, cause I'll be on vacation starting from tomorrow. Gently ping @ayamir maybe he can have a look at this first :D I will join the discussion once I'm back lol

To make this thread not lengthy, I will add edit advice to @misumisumi 's post directly.

Edited, now it LGTM 👍
Thanks for your great works @misumisumi !

I am happy to be able to contribute !

I just added several practical examples and did some cleanups. It may need a review lol


show links in markdown text, description for schedule section

Also adds an "Events are optional?" to the FAQ section

What if we position this as a "Choose Your Own Adventure" event? That sounds more active and participatory than "Optional" though literally is the same.
FAQ could have...
All events are optional?!
Yes! This is a choose-your-own-adventure event, so please choose the track(s), sessions, arrival and departure dates, and activities that are interesting and relevant for you.
 We want your suggestions, feedback, and additions as Pull Requests & Issues here. Please jump in to help make this thing a thing that helps you.


add linter

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@c154491). Click here to learn what that means.
The diff coverage is 62.50%.

@@            Coverage Diff            @@
##             master       #2   +/-   ##
=========================================
  Coverage          ?   51.63%
=========================================
  Files             ?        1
  Lines             ?      122
  Branches          ?        0
=========================================
  Hits              ?       63
  Misses            ?       51
  Partials          ?        8

Impacted Files
Coverage Δ

writer.go
51.63% <62.50%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Smart card support

Do you intend to support smart card pdf signing, this would be very helpful in Europe where we sign documents with e-signatures essentially smart cards.

Hi @alex4o ,
it's not on our roadmap right now, but it should be quite straightforward, as the underlying DSS framework supports smartcard usage via MS CAPI or PKCS#11. Which smartcard/interface do you have in mind?
Here in Austria, most signing opted for a remote qualified signature via smartphone, which won't be available with this framework to my knowledge.

Which smartcard/interface do you have in mind?

For example SSL.com provides EV certificates only via YubiKey FIPS smartcards. Since SSL.com's CA is in Adobe Approved Trust List Members (AATL) this signs will be valid in Adobe Acrobat reader.
We use jsign opensource java utility to sign binaries using Yubikey:
java -jar /home/signer/jsign/jsign/target/jsign-4.1-SNAPSHOT.jar \
--storetype YUBIKEY \
--alias "X.509 Certificate for PIV Authentication" \
-t http://ts.ssl.com \
--tsmode RFC3161 \
--replace \
--storepass MySmartCardsPassWord \
MyFile.exe

Well, I only avoid the error with the first invocation:

Thank you for this, this was a bug - passphrase prompting originally was only implemented for pem/crt-files, not for keystores. I added the functionality, can you please verify with the latest version from the "dev" branch if it now works as expected? (JAR from https://github.com/open-pdf-sign/open-pdf-sign/actions/runs/9613355213)

I always thought the smart card stored both private keys and a public certificates, but after that they could only be asked for computation (this was the smart part).
About supporting DSS, sorry, but isn't open-pdf-sign using DSS under the hood?

Yes, open-pdf-sign is using DSS under the hood. So if smart card support is available in DSS, it should also be possible to enable it in open-pdf-sign. As I don't have the possibility to verify, I'm open to a PR (still unsure, if in this case the path to the library, or name of the certificate is needed as CLI argument)

The passphrase is displayed as plain text. I wonder whether DSS may supply a way to request it without display (PasswordInputCallback).
The passphrase seems to be prompted until is correctly supplied (press Enter for a while). I think this should be avoided.

Thanks, good feedback! Please try again the latest version from dev, both is fixed. (https://github.com/open-pdf-sign/open-pdf-sign/actions/runs/9614459348)


Simple/Complex boot-cycle tag

Create something that can determine if a boot-cycle is simple or complex. Simple meaning online -> operational -> manageable -> offline or a subset of this sequence and complex meaning anything else

Had a discussion about this a few weeks ago and complex is simply anything that has errors and simple is not having errors. This can be done by combining the different validators together. Therefore, closing this issue.


OAuth for GoLang

Add the OAuth GoLang codes in a separate GoLang directory for the following:

Github
Google
Linkedln
Twitter
FaceBook
Spotify

Each assignee will be allotted one of the following from above mentioned ones at a time. To include any other application feel free to mention them.
Make sure to read the contribution guidelines and follow the flow given in the README.md file.

Hey I am learning GoLang. Would like to attempt this.  Is anyone else working on this?

Sure @prithvijit-dasgupta  go ahead , oauth for google has been completed and the rest are remaining just so you know

@DiptoChakrabarty the expection is to return the auth token to the API invoker, am I correct?

6a9082c822a6d59d9892989dfaf717514275b6ca


Allow priorityClassName in the PodTemplateSpec of the Jobs created by an upgrade plan

Nodes with the CriticalAddonsOnly taint only allow pods to be ran that have a certain priorityClassName.
The PodTemplate created by the upgrade plans, however, does not allow this to be set.
This results in the upgrade pods staying in Pending phase on nodes that have the taint. We now temporarily removed the taint on such nodes to allow the upgrade to succeed.
It would be nice to allow priorityClassName to be set to a value in the upgrade plan manifest.

@fretb
Nodes with the CriticalAddonsOnly taint only allow pods to be ran that have a certain priorityClassName

That is not how taints work. Taints require matching Tolerations, not priorityClassName. As @glennpratt noted, you can already add tolerations to the plan.

Thank you! Sorry for the noise.


Don't lock the tree accross network operations

Motivation
Hiccups in service availability may render the internal state impossible to modify and cause crashes. Let's not lock the tree accross them.
Solution

PR Checklist

[ ] Added Tests
[ ] Added Documentation
[ ] Updated the changelog

Codecov Report

Merging #301 (9c35257) into main (a964942) will not change coverage.
The diff coverage is 10.52%.

@@           Coverage Diff           @@
##             main     #301   +/-   ##
=======================================
  Coverage   41.68%   41.68%
=======================================
  Files          20       20
  Lines        5767     5767
=======================================
  Hits         2404     2404
  Misses       3363     3363

Flag
Coverage Δ

test
41.68% <10.52%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/app.rs
36.60% <10.52%> (ø)

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 a964942...9c35257. Read the comment docs.


SNOW-685279 Add utility scripts for generating documentation

Please answer these questions before submitting your pull requests. Thanks!

What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
Fixes #SNOW-685279

Fill out the following pre-review checklist:

[ ] I am adding a new automated test(s) to verify correctness of my new code
[ ] I am adding new logging messages
[ ] I am adding a new telemetry message
[ ] I am adding new credentials
[ ] I am adding a new dependency

Please describe how your code solves the related issue.
Please write a short description of how your code change solves the related issue.

The change looks good to me. How has it been tested?

For testing, the rst files changed in this PR are all generated by this script. Please let me know if you found a bug :)


python310Packages.jupyterlab: 3.4.3 -> 3.4.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.jupyterlab is: "Jupyter lab environment notebook server extension"
meta.homepage for python310Packages.jupyterlab is: "https://jupyter.org/"
meta.changelog for python310Packages.jupyterlab is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 3.4.4 with grep in /nix/store/nkb3dkjr6cjdqs7ivndvkry7cah1mzk1-python3.10-jupyterlab-3.4.4
found 3.4.4 in filename of file in /nix/store/nkb3dkjr6cjdqs7ivndvkry7cah1mzk1-python3.10-jupyterlab-3.4.4

Rebuild report (if merged into master) (click to expand)

16 total rebuild path(s)

9 package rebuild(s)

9 x86_64-linux rebuild(s)
7 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
manim
python310Packages.jupyterlab
python310Packages.jupyterlab-git
python310Packages.jupyterlab-lsp
python310Packages.jupytext
python39Packages.jupyterlab
python39Packages.jupyterlab-git
python39Packages.jupyterlab-lsp
python39Packages.jupytext

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/nkb3dkjr6cjdqs7ivndvkry7cah1mzk1-python3.10-jupyterlab-3.4.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.jupyterlab https://github.com/r-ryantm/nixpkgs/archive/9c5b8b7562c7b7913b01cb0260f2c8a06e5d8136.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/nkb3dkjr6cjdqs7ivndvkry7cah1mzk1-python3.10-jupyterlab-3.4.4
ls -la /nix/store/nkb3dkjr6cjdqs7ivndvkry7cah1mzk1-python3.10-jupyterlab-3.4.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

9 packages built:

manim
python310Packages.jupyterlab
python310Packages.jupyterlab-git
python310Packages.jupyterlab-lsp
python310Packages.jupytext
python39Packages.jupyterlab
python39Packages.jupyterlab-git
python39Packages.jupyterlab-lsp
python39Packages.jupytext

Maintainer pings
cc @zimbatm @costrouc for testing.

Result of nixpkgs-review pr 182435 run on x86_64-darwin 1

1 package marked as broken and skipped:

manim

6 packages built:

python310Packages.jupyterlab
python310Packages.jupyterlab-lsp
python310Packages.jupytext
python39Packages.jupyterlab
python39Packages.jupyterlab-lsp
python39Packages.jupytext


Spurious error message causing system to not come up in Mac OS on production build

Tested on multiple versions of Mac OS, and same error message below is printed constantly. Strange thing is, it is working fine on other OSes. Does not seem to be an issue on a dev build.
(no logger present) unexpected logger message: {log,error,"~s~n",["beam/beam_load.c(1428): Error loading module 'Elixir.AWS.DataPipeline':\n  module name in object code is Elixir.AWS.Datapipeline\n"],#{error_logger=>#{emulator=>true,tag=>error},gl=><0.0.0>,pid=><0.2049.0>,time=>1630404393472978}}

@pulzzedavid is this specific to this module or the message appears multiple times for other modules?

Specific to this module. Currently using release 0.8.0. Trying to see if same issue occurs on 0.7.0

Thanks!
Bizarre, because this module is small and don't have anything special.
I don't have a Mac OS system to test, but I will ask for help tomorrow if the problem persist.
@pulzzedavid before that, could you try to remove the _build and deps directories and try again?

It's a CI build, so it is a fresh build every time. I do sometimes see this for DataPipeline module even for dev build.
...(40)> AWS.DataPipeline.[error] beam/beam_load.c(1428): Error loading module 'Elixir.AWS.DataPipeline':
  module name in object code is Elixir.AWS.Datapipeline

[error] Loading of /Users/davidjung/Documents/GitHub/api-interactor/_build/dev/lib/aws/ebin/Elixir.AWS.DataPipeline.beam failed: :badfile

13:30:19.377 [error] Loading of /Users/davidjung/Documents/GitHub/api-interactor/_build/dev/lib/aws/ebin/Elixir.AWS.DataPipeline.beam failed: badfile
13:30:19.377 [error] beam/beam_load.c(1428): Error loading module 'Elixir.AWS.DataPipeline':
  module name in object code is Elixir.AWS.Datapipeline

But, the problem goes away when I rebuild it. Have not been able to reproduce it reliably though.

Interesting. Is the build configured to use cache? If so, can you show me the cache config line?

HFS has this weird case insensitivity situation because historically macOS has been case-insensitive

I have tested with versions 0.9.0, 0.8.0, 0.7.0. Looks like the issue does not exist in 0.7.0, but exists in 0.8.0 and 0.9.0. Hope that helps.

I have seen this issue for 0.12.0, but it doesn't exist on 0.11.0. For me the modules with the errors are Elixir.AWS.CloudSearchDomain and Elixir.AWS.ImportExport.

It happens me to with Elixir.AWS.CloudSearchDomain and Elixir.AWS.Cloudsearchdomain.
I'm using m1 macbook.

There are two module in docs of 0.12.0
https://hexdocs.pm/aws/0.12.0/AWS.Cloudsearchdomain.html
https://hexdocs.pm/aws/0.12.0/AWS.CloudSearchDomain.html

It happens on this commit
https://github.com/aws-beam/aws-elixir/commit/58aac5ba6f03396fdb1b84106ca9a03b5fd98e0d

I believe this problem is now fixed after https://github.com/aws-beam/aws-elixir/pull/149
This was a problem in the generator workflow, that was not tracking removed files. Please update to version 0.13.1.


Remove hg and bzr

They are now part of the heroku-16 and heroku-18 build images, so
buildpacks don't need to install them anymore. \o/
I moved the test/fixture for hg from glide to modules.

Hi!
Note that the stack-image deploy of these changes was rolled back, so they aren't in production yet:
https://github.com/heroku/stack-images/pull/141#issuecomment-514307940
https://devcenter.heroku.com/changelog-items/1664
The docker images not being rolled back is due to them not being covered by the current playbook:
https://github.com/heroku/cheverny/blob/master/docs/stack-image-release.md#rollback-manifest
W-6399295 is filed for improving that playbook.

@edmorley Is there any update on the changes ?

Latest update here:
https://heroku.slack.com/archives/CLBUG2PBL/p1567586359007600
W-6504916 is filed for the re-release.

The stack image containing these changes was released to cedar in Sept and deployed to dogwood last week - so fine to proceed with this now :-)

@freeformz Hi! I noticed in a recent deploy that hg/bzr/... were still being pulled in at build time:
https://dashboard.heroku.com/apps/release-dyno-watcher-staging/activity/builds/32266207-2078-499e-9fb2-c1e7e173b208
Could you release this to the buildpack registry, now that master has had time to soak? (The last buildpack registry release was on 2019-10-22)

Hmm. I'm pretty sure I've released since then. :-(

@edmorley I released v135 and confirmed with a new app that it is in fact gone. Sorry.

Thank you :-)


domain for Belarusian-Russian University was added

Please add domain for bru.by

@andrew-klepcha Pull request merged. Thank you!


Possibility to specify the service as well as characteristic UUID for read, write and notify?

It's possible that a device can support multiple services that each expose a different characteristic with the same UUID; in the current API, there's no way to specify which service to use. This edge case shouldn't occur unless a device implements a custom profile, so it might make sense for the service UUID to be optional.

In the next SNAPSHOT release there are added interface functions to use with raw Android BluetoothGattCharacteristic and BluetoothGattDescriptor which can be obtained from RxBleDeviceServices (RxBleConnection.discoverServices())

That'll do it, thanks!


make x86_64 Darwin legacy

prefer aarch64 Darwin now

https://github.com/henry40408/nixos-config/commit/a35fddbfc00033d0eeec4864c79ace074f05f623


Nameless Travel Anchors cannot be found

Again, title :D

Versions
Forge 1.16.3 34.1.25
TravelAnchors-2.1

This is intended. I'll make it clear in the GUI

Is now marked with a red text in the GUI


[Bridge] Order of callbacks on native bridge modules is backwards

The JS (BatchedBridgeFactory & MessageQueue) expects the last two arguments of async bridge methods to be errorCallback, successCallback:
        var onSucc = hasSuccCB ? lastArg : null;
        var onFail = hasErrorCB ? secondLastArg : null;

but the RCTBridgeModules define successCallback:errorCallback:. This isn't causing any issues - pointing it out mostly in case it causes confusion down the road.

Fixed by #1232 / https://github.com/facebook/react-native/commit/90439cec26e5ba86ee4f7f12d5a7591cdd745e62. The callbacks in the bridge code consistently go (successCallback, errorCallback), which now matches most of the built-in native modules. And with promises the callback arguments are entirely hidden.


ontology updates w/ 4.n.0

48d354f5-a5ca-4f35-a3bb-fa3687502252 obs.var_time:P7 - update to 7 day [MmusDv:0000117]
d86517f0-fa7e-4266-b82e-a521350d6d36

obs.Dataset:RomanovDev10x - update to 23 day [MmusDv:0000144]
obs.Dataset: Mickelsen10x - update to 4wk [MmusDv:0000149]
obs.Dataset: Flynn10x - update to 4wk [MmusDv:0000149]
obs.SRA_ID:SRR5164436 - update to juvenile [MmusDv:0000178]
obs.SRA_ID:SRR5164437 - update to juvenile [MmusDv:0000178]
obs.SRA_ID:SRR5164438 - update to 4wk [MmusDv:0000149]

91c8e321-566f-4f9d-b89e-3a164be654d5 - only Dataset

author_cell_type: L4-5IT_RORB_TSHZ2 should be CL:4030062 (L4/5 intratelencephalic projecting glutamatergic neuron)
author_cell_type: L2-4IT_CUX2 should be CL:4030059 (L2/3 intratelencephalic projecting glutamatergic neuron)
author_cell_type: L4-5IT_RORB_LRRK1 should be CL:4030062 (L4/5 intratelencephalic projecting glutamatergic neuron)
author_cell_type: L4-5IT_RORB_ARHGAP15 should be CL:4030062 (L4/5 intratelencephalic projecting glutamatergic neuron)
author_cell_type: L6IT_THEMIS_LINC00343 should be CL:4030065 (L6 intratelencephalic projecting glutamatergic neuron)
author_cell_type: L6IT_THEMIS_CUX1 should be CL:4030065 (L6 intratelencephalic projecting glutamatergic neuron)
author_cell_type: L3-5IT_RORB_PLCH1 should be CL:4030061 (L3 intratelencephalic projecting glutamatergic neuron)

Private Collection: A single-cell transcriptional timelapse of mouse embryonic development, from gastrula to pup

Dataset: Major cell Cluster: CNS neurons

CL:0003001 (bistratified retinal ganglion cell) should be CL:4033053 (small bistratified retinal ganglion cell)

Dataset: Major cell Cluster: Epithelial cells

CL:0000068 (duct epithelial cell) should be CL:4030066 (ureteric bud cell)

Dataset: All Cells

CL:0003001 (bistratified retinal ganglion cell) should be CL:4033053 (small bistratified retinal ganglion cell)
CL:0000068 (duct epithelial cell) should be CL:4030066 (ureteric bud cell)

Private collection: Molecular and cellular evolution of the primate dorsolateral prefrontal cortex
Dataset: All (only one dataset)
cell_type_ontology_term_id: CL:4023040 (L2/3-6 intratelencephalic projecting glutamatergic neuron) should be CL:4030059 (L2/3 intratelencephalic projecting glutamatergic neuron)

4a9fd4d7-d870-4265-89a5-ad51ab811d89
assay_ontology_term_id will need update once this NTR resolves

03608e22-227a-4492-910b-3cb3f16f952e
Dataset: All of them
Need to change disease_ontology_term_id from ‘MONDO:1011336’ for ‘nervous system disorder, non-human animal’ to ‘MONDO:1010239' for ‘peripheral neuropathy, non-human animal’.

Private collection: Multiomic Profiling of Human Clonal Hematopoiesis Reveals Genotype and Cell-Specific Inflammatory Pathway Activation
Dataset: all of them
disease_ontology_term_id: MONDO:0060782 updated when this NTR resolves

Private collection: Dysregulation of brain and choroid plexus cell types in severe COVID-19
Dataset: all
change cell_type_ontology_term_id for:

CL:4023012 (near-projecting glutamatergic cortical neuron) to CL:4030067 for both L5/6 excitatory neuron and L5/6 CC excitatory neuron
CL:4023040 (L2/3-6 intratelencephalic projecting glutamatergic neuron) to CL:4030059 for L2/3 excitatory neuron
CL:4023040 (L2/3-6 intratelencephalic projecting glutamatergic neuron) to CL:4030063 for L4 excitatory neuron

Will need to carry on to a future migration

48d354f5-a5ca-4f35-a3bb-fa3687502252 obs.var_time:P7 - update to 7 day [MmusDv:0000117]
d86517f0-fa7e-4266-b82e-a521350d6d36

obs.Dataset:RomanovDev10x - update to 23 day [MmusDv:0000144]
obs.Dataset: Mickelsen10x - update to 4wk [MmusDv:0000149]
obs.Dataset: Flynn10x - update to 4wk [MmusDv:0000149]
obs.SRA_ID:SRR5164436 - update to juvenile [MmusDv:0000178]
obs.SRA_ID:SRR5164437 - update to juvenile [MmusDv:0000178]
obs.SRA_ID:SRR5164438 - update to 4wk [MmusDv:0000149]

Multiomic Profiling of Human Clonal Hematopoiesis Reveals Genotype and Cell-Specific Inflammatory Pathway Activation

disease_ontology_term_id: MONDO:0060782 updated pending https://github.com/monarch-initiative/mondo/issues/7137

Private collection: Mouse perinatal heart maturation scRNA-seq

obs['age'] = P4 - update to 4 day [MmusDv:0000114]
obs['age'] = P7 - update to 7 day [MmusDv:0000117]

Migration completed. The leftovers carried into #825


PLEASE replace the default icon with NerdFont

See with the nerd font mono fix font, your plugin will work cross all platform.
Whether i'm using my host machine, or i'm ssh to it, there will be no mess text showing.
But now since your icon is not mono space, there is some mess space showing when ssh,
which it's hard to fix and really disturb me.
Thanks for giving this awesome plugin, hope you can update to make it more cool.

sorry for too late.
you can set custom flag by g:NERDTreeIndicatorMapCustom var


Phone number accepts any number as Phone number

Describe the bug
User phone number field accepts any number as a phone number without validation.
To Reproduce
Steps to reproduce the behavior:

Go to personal information page.
Add a single number as phone number
Save the number.

Expected behavior
Should validate as a valid number.
Screenshots

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Add a few lines to the Randomizer text

Just a few silly lil' suggestion-y changes. Feel free to add more!

Woah! Good suggestions for rando text?? Unprecedented!
tyvm :)


Ownership: Permit installing third-party firmware

In line with the idea "When I buy a product, I own every part of it.", I'd suggest adding:

It's permitted, and technically possible, to install a third-party firmware

This overlaps a little with the third-party repair sections:

The company does not use technical, feature-level, or legal means to block a consumer's ability to get a device repaired.

Added to review agenda for May 24th.

Thanks! At the moment, we feel the audience who would care about customizing their firmware is too small / niche. It also feels like an issue we can address in the future once more fundamental concerns are addressed.


Make jvm pause monitor display gc info correctly

What changes are proposed in this pull request?
Make jvm pause monitor to display gc info correctly.
Why are the changes needed?
I found that the jvm pause monitor could not display gc info correctly and always print No GCs detected even after gc. This PR fixes this issue.
Does this PR introduce any user facing changes?
No user facing changes.

Codecov Report

Merging #14138 (2b72341) into master (fc0cc6f) will decrease coverage by 12.80%.
The diff coverage is 63.41%.

@@              Coverage Diff              @@
##             master   #14138       +/-   ##
=============================================
- Coverage     43.25%   30.44%   -12.81%
+ Complexity     9209     6121     -3088
=============================================
  Files          1428     1428
  Lines         82577    82592       +15
  Branches       9987     9987
=============================================
- Hits          35717    25146    -10571
- Misses        43894    55298    +11404
+ Partials       2966     2148      -818

Impacted Files
Coverage Δ

...ster/meta/RetryHandlingMetaMasterMasterClient.java
0.00% <0.00%> (ø)

...luxio/client/job/RetryHandlingJobMasterClient.java
9.52% <0.00%> (ø)

...va/alluxio/master/file/FileSystemMasterClient.java
0.00% <0.00%> (ø)

...luxio/worker/job/RetryHandlingJobMasterClient.java
0.00% <0.00%> (ø)

...o/client/table/RetryHandlingTableMasterClient.java
0.00% <0.00%> (ø)

...on/src/main/java/alluxio/util/JvmPauseMonitor.java
75.47% <57.14%> (-1.46%)
:arrow_down:

...e/common/src/main/java/alluxio/AbstractClient.java
59.86% <66.66%> (-12.50%)
:arrow_down:

...common/src/main/java/alluxio/conf/PropertyKey.java
99.45% <100.00%> (ø)

.../security/authentication/ChannelAuthenticator.java
80.00% <100.00%> (ø)

...src/main/java/alluxio/util/ConfigurationUtils.java
72.47% <100.00%> (ø)

... and 294 more

Continue to review full report at Codecov.

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

Please take a look. @ZacBlanco @ggezer

alluxio-bot, merge this please

@Xenorith cherry-pick?


feat: add jsdoc type for config blocks

🔗 Linked issue
Fixes https://github.com/adonisjs/eslint-config/issues/2
❓ Type of change

[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[x] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
Add JSDoc type information for the configBlocksToMerge parameter of both configPkg and configApp. Doing this greatly improves the autocomplete experience for users who wish to override any part of the base config.
📝 Checklist

[x] I have linked an issue or discussion.
[x] I have updated the documentation accordingly.

Thanks for the PR 👍


Periodically changing 'LastExportTime' item data results in items not matching

A user of one of my plugins (Shopkeepers) reported an issue with items created by this plugin not being accepted in Shopkeeper trades after a while. The issue seems to be caused by this plugin periodically changing the custom items in player inventories to store a new different timestamp in their LastExportTime tag (this might involve a plugin reload, not sure). This difference in item data causes items to no longer match, resulting in the items no longer being accepted in Shopkeeper trades.
Would it be possible to avoid using this mechanism of storing periodically changing data inside of items?
Note that this issue is not limited to the context of Shopkeeper trades: Mismatching items can cause issues in any context in which Minecraft or some other plugin compares items by their NBT data. For instance, in vanilla Minecraft, for stackable types of items, players may encounter item stacking issues when they try to stack an item that had its internal timestamp changed with some items that did not have their timestamp updated (for example because they are stored inside a chest or other type of container, which is one of potentially many cases which the item updater of this plugin does not acocunt for). Another not covered case are custom (non-Shopkeeper) villager trades. And also the item on the cursor of an open inventory is currently ignored.
There are probably countless more cases in which Minecraft stores items which this plugin does not account for currently. I also doubt that a plugin will ever be able to cover all of these possible cases, nor that this periodic scanning could be implemented efficiently.
And even if this plugin would account for all vanilla cases, I doubt that it will be able to account for all cases in which some other plugin might store or reference an item stack and then under some circumstances compare it with item stacks of players that went through this periodic updating.
Hence the suggestion to somehow find a way for this plugin to work without this periodic changing item data (or ideally even without this periodic scanning and replacing of items in player inventories).
I haven't checked in detail why this item updating is even required, or what is stored in this BooleanRepresentation. But maybe it would be enough to store only the CustomItem name and then dynamically lookup any data for the CustomItem with this name, instead of encoding this data inside the items themselves.

Thank you for all the inspiration! I especially like the idea of letting the server admin choose whether he wants automatic item updating and I agree that it would be better if ItemStacks are only updated when the corresponding custom item actually changed.
But, I don't see why it matters whether I compare item version numbers or the timestamp when the item was last modified, since they come down to the same thing (both are numbers that only change when the item is modified).
Keeping track of the history of all custom items solves the BooleanRepresentation problem (like you said, storing it per ItemStack is not optimal), but it causes another problem: the history will grow each time the admin changes items, but it will never shrink (unless the admin does it manually). If many change are made, the history will also remember all the old custom item versions, even if no single ItemStack still uses it. Storing it per ItemStack avoids this problem since the data will be deleted whenever the ItemStack is destroyed. This results in more predictable memory usage: exactly 1 version of each custom item is stored per custom ItemStack. (I guess the history will still use less memory in most cases, but it is much harder to predict.)
Also, I don't believe bytecode modifications are better than periodic updating checks. Profiling data from running servers shows that this takes ~0.01% of the server tick time. And even if it does get out of hand, I could make the updating period longer. And how would iterating over all entities every 5 seconds be expensive? The server has to do this 20 times per second anyway to update them (and these updates are more expensive than just checking their equipment). Inventory updating only happens when the item updater actually changes an item, which is quite rare.
Finally, I respect your choice of not adding special integration (it's not nice indeed and could cause client-sync problems in your case).


Returning Web Response in Azure SWA is not working

Environment
Nuxt: 3.12.3
Node: 20
Reproduction
Deploy a basic Nuxt app with an api that returns a web response like
export default function eventHandler((event) => {
  return new Response(JSON.stringify({ username: 'test' }), { headers: { 'Content-Type': 'application/json' } })
})

Describe the bug
Instead of the actual json, Im getting an empty object returned when deployed to Azure SWA:
// /api/user
{}

Additional context
No response
Logs
No response

I was able to reproduce this. But there are alternative options to construct and send a response that work with SWA and are more the "Nitro like":
Directly returning the object (Nitro automatically sets the headers):
export default defineEventHandler(() => {
  return { username: 'test' }
})

Using the send function:
export default defineEventHandler((event) => {
  return send(event, { username: 'test' }, 'application/json')
  // also possible
  // return send(event, JSON.stringify({ username: 'test' }), 'application/json')
})

Both are tested and confirm to work with Static Web Apps.
Do you want to keep this issue open @pi0 or would you agree not to use the native Response object and instead use the Nitro utilities?

Returning a new Response should be supported in handlers. We should investigate why body (which can be a stream) is not handled, it is a bug.

I verified that this is also a bug in the azure-function preset.
It is definitely cause by Nitro handling the response binding for Azure Functions
  context.res = {
    status,
    cookies: getAzureParsedCookiesFromHeaders(headers),
    headers: normalizeLambdaOutgoingHeaders(headers, true),
    body,
  };

We should address that with the update to Azure Functions runtime 4.

thanks for investigation @itpropro. Does runtime v4 support accept ReadableStream as valid body?

thanks for investigation @itpropro. Does runtime v4 support accept ReadableStream as valid body?

No, we can also release the bug fix beforehand independently of the v4 update.


Feature/semseg binary classification

Supports binary classification in dq for voxel

Codecov Report

Merging #683 (43028dc) into main (7a2dd99) will decrease coverage by 0.07%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #683      +/-   ##
==========================================
- Coverage   83.48%   83.42%   -0.07%
==========================================
  Files         159      159
  Lines       12676    12681       +5
==========================================
- Hits        10583    10579       -4
- Misses       2093     2102       +9

Impacted Files
Coverage Δ

...uality/integrations/torch_semantic_segmentation.py
0.00% <0.00%> (ø)

... and 2 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Keyboard Manager Shortcut to Mouse Click

Description of the new feature / enhancement
It would be extremely extremely helpful if the Keyboard Manager allows keyboard shortcut/ remap to represent mouse click functions.  The newer laptop sadly didn't come with any mouse buttons on the keyboard.
Scenario when this would be used?
My workstatement requires a lot of mouse clicks and I was so used to utilize the mouse button on the keyboard (on my older work laptop).  I used the mouse button on the keyboard (using my left hand) to relieve my right hand from clicking the mouse so many times, that would create an uneasy feel on my wrist (carpal tunnel?).  With the new laptop refresh from my work, the laptop does not come with any mouse button on the keyboard.
Not having the mouse button on the keyboard creates a lot of strain on my right hand/ wrist and it greatly impacts my work productivity.  If the PowerToys allows mouse shortcut from the keyboard, I would map it to the ALT (Left) so I can click with my right hand, and that will allow my right hand to stay in place while doing any other typical keyboard shortcuts such as Copy (CTRL C), Paste (CTRL V), etc...
Please help!
Supporting information
No response

Chrome uses (CTRL + mouse scroll) to zoom in/out and I would like to remap it for example to (CTRL + up/down arrow keys). However mapping the mouse is not available in the Keyboard Manager yet.

/dup #3364