[FEATURE] The topics section in search can be transformed into a dropdown section in mobile view

Is this a unique feature?

[X] I have checked "open" AND "closed" issues and this is not a duplicate

Is your feature request related to a problem/unavailable functionality? Please describe.
The complete 'topics' section looks a little cramped up when in the mobile view. Please find the attached SS for your reference.
Proposed Solution
My suggestion is it can be transformed into a drop down section to improve the UX.
Screenshots
Before

After

Do you want to work on this issue?
Yes
If "yes" to above, please explain how you would technically implement this
Inside ./pages/search.js, the section between line 225-240 has to be passed inside a dropdown input type tag

This would make the experience differ from desktop to mobile by not using tags on mobile.  It will also make multi-search more cumbersome imo. I will open for discussion so others can weigh in as well.
Anohter potential path is to limit the amount of tags shown in a responsive manner so the experience is the same throughout viewports.

Perhaps we can explore a combination of these approaches? We could limit the initial tag display and then offer a "Show More" button that expands into a dropdown menu for full selection. This would balance discoverability with a cleaner interface.


irmin-tezos-utils: Add an history (with buttons)

This PR adds an history of the watched entries to the graphical tool.

The last 50 entries are saved in the history
Each entry has a button to go back to them faster

Codecov Report

Merging #2195 (95d8935) into main (56dab9e) will decrease coverage by 0.02%.
The diff coverage is n/a.

:exclamation: Current head 95d8935 differs from pull request most recent head 5ebcf40. Consider uploading reports for the commit 5ebcf40 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main    #2195      +/-   ##
==========================================
- Coverage   68.14%   68.12%   -0.02%
==========================================
  Files         135      135
  Lines       16255    16255
==========================================
- Hits        11077    11074       -3
- Misses       5178     5181       +3

Impacted Files
Coverage Δ

src/irmin-fs/irmin_fs.ml
81.21% <0.00%> (-1.22%)
:arrow_down:

src/irmin-test/store.ml
94.89% <0.00%> (-0.06%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Just a quick note if it ever becomes relevant: The second commit name has nothing to do with control files, this was a mistake done when creating it (the joys of unseen copy and paste).


agent fails to join masters due to undefined option -disable which isn't given

Environmental Info:
K3s Version:

k3s version v1.25.4+k3s1 (0dc63334)
go version go1.19.3

Node(s) CPU architecture, OS, and Version:

Linux k1-w1 5.15.0-53-generic #59-Ubuntu SMP Mon Oct 17 18:53:30 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Cluster Configuration:

all nodes running Ubuntu 22.04
all nodes passed apt update && apt upgrade && reboot prior to trying installation
3 server/master nodes, basically running just fine
trying to add first agent/worker node
all nodes share private network in addition to public one which is meant to be used for cluster traffic
external firewall exists preventing any traffic but SSH and ICMP on public ports per node

Using custom script for setting up nodes.

First master was set up: ./k3s-install.sh <IP_ADDRESS>
Second master: ./k3s-install.sh <IP_ADDRESS> <IP_ADDRESS> <token>
Third master: ./k3s-install.sh <IP_ADDRESS> <IP_ADDRESS> <token>

Result:
NAME    STATUS   ROLES                       AGE   VERSION
k1-m1   Ready    control-plane,etcd,master   30m   v1.25.4+k3s1
k1-m2   Ready    control-plane,etcd,master   27m   v1.25.4+k3s1
k1-m3   Ready    control-plane,etcd,master   28m   v1.25.4+k3s1

Pinging master node from a worker node is working:
root@k1-w1:~# ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=63 time=1.47 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=63 time=0.471 ms

Describe the bug:

Setting up agent node is failing due to k3s agent complaining use of undefined option -disable which hasn't been given.
Steps To Reproduce:

Agent node is set up with
./k3s-install.sh <IP_ADDRESS> <IP_ADDRESS> <token> $(pwgen 32 -1)

which is eventually invoking
curl -sfL https://get.k3s.io | \
			K3S_TOKEN="<token>" \
			K3S_AGENT_TOKEN="<output-of-pwgen>" \
			sh -s - agent \
			--node-ip="<IP_ADDRESS>" \
			--flannel-iface "enp7s0" \
			--server "https://<IP_ADDRESS>:6443"

Tried omitting options --node-ip and --flannel-iface to no avail.
Tried using no extra agent token on invoking the agent node to no avail, either.
I'm still wondering how this agent token is even meant to work for there is little information in the docs as far as I was able to see.

Expected behavior:

I'd love to see the worker node joining the cluster.
Actual behavior:

k3s agent is complaining about use of undefined option -disable which isn't provided.
Additional context / logs:

journalctl -xeu k3s-agent:
Nov 28 01:34:12 k1-w1 sh[4055]: + /usr/bin/systemctl is-enabled --quiet nm-cloud-setup.service
Nov 28 01:34:12 k1-w1 sh[4056]: Failed to get unit file state for nm-cloud-setup.service: No such file or directory
Nov 28 01:34:12 k1-w1 k3s[4059]: Incorrect Usage: flag provided but not defined: -disable
Nov 28 01:34:12 k1-w1 k3s[4059]: NAME:
Nov 28 01:34:12 k1-w1 k3s[4059]:    k3s agent - Run node agent
Nov 28 01:34:12 k1-w1 k3s[4059]: USAGE:
Nov 28 01:34:12 k1-w1 k3s[4059]:    k3s agent [OPTIONS]
Nov 28 01:34:12 k1-w1 k3s[4059]: OPTIONS:
Nov 28 01:34:12 k1-w1 k3s[4059]:    --config FILE, -c FILE                     (config) Load configuration from FILE (default: "/etc/rancher/k3s/config.yaml") [$K3S_CONFIG_FILE]
Nov 28 01:34:12 k1-w1 k3s[4059]:    --debug                                    (logging) Turn on debug logs [$K3S_DEBUG]
Nov 28 01:34:12 k1-w1 k3s[4059]:    -v value                                   (logging) Number for the log level verbosity (default: 0)
Nov 28 01:34:12 k1-w1 k3s[4059]:    --vmodule value                            (logging) Comma-separated list of FILE_PATTERN=LOG_LEVEL settings for file-filtered logging
Nov 28 01:34:12 k1-w1 k3s[4059]:    --log value, -l value                      (logging) Log to file
Nov 28 01:34:12 k1-w1 k3s[4059]:    --alsologtostderr                          (logging) Log to standard error as well as file (if set)
Nov 28 01:34:12 k1-w1 k3s[4059]:    --token value, -t value                    (cluster) Token to use for authentication [$K3S_TOKEN]
Nov 28 01:34:12 k1-w1 k3s[4059]:    --token-file value                         (cluster) Token file to use for authentication [$K3S_TOKEN_FILE]
Nov 28 01:34:12 k1-w1 k3s[4059]:    --server value, -s value                   (cluster) Server to connect to [$K3S_URL]
Nov 28 01:34:12 k1-w1 k3s[4059]:    --data-dir value, -d value                 (agent/data) Folder to hold state (default: "/var/lib/rancher/k3s")
Nov 28 01:34:12 k1-w1 k3s[4059]:    --node-name value                          (agent/node) Node name [$K3S_NODE_NAME]
Nov 28 01:34:12 k1-w1 k3s[4059]:    --with-node-id                             (agent/node) Append id to node name
Nov 28 01:34:12 k1-w1 k3s[4059]:    --node-label value                         (agent/node) Registering and starting kubelet with set of labels
Nov 28 01:34:12 k1-w1 k3s[4059]:    --node-taint value                         (agent/node) Registering kubelet with set of taints
Nov 28 01:34:12 k1-w1 k3s[4059]:    --image-credential-provider-bin-dir value  (agent/node) The path to the directory where credential provider plugin binaries are located (default: "/var/lib/rancher/credentialprovider/bin")
Nov 28 01:34:12 k1-w1 k3s[4059]:    --image-credential-provider-config value   (agent/node) The path to the credential provider plugin config file (default: "/var/lib/rancher/credentialprovider/config.yaml")
Nov 28 01:34:12 k1-w1 k3s[4059]:    --selinux                                  (agent/node) Enable SELinux in containerd [$K3S_SELINUX]
Nov 28 01:34:12 k1-w1 k3s[4059]:    --lb-server-port value                     (agent/node) Local port for supervisor client load-balancer. If the supervisor and apiserver are not colocated an additional port 1 less than this port will also be used for the apiserver client load-balancer. (default: 6444) [$K3S_LB_SERVER_PORT]
Nov 28 01:34:12 k1-w1 k3s[4059]:    --protect-kernel-defaults                  (agent/node) Kernel tuning behavior. If set, error if kernel tunables are different than kubelet defaults.
Nov 28 01:34:12 k1-w1 k3s[4059]:    --container-runtime-endpoint value         (agent/runtime) Disable embedded containerd and use the CRI socket at the given path; when used with --docker this sets the docker socket path
Nov 28 01:34:12 k1-w1 k3s[4059]:    --pause-image value                        (agent/runtime) Customized pause image for containerd or docker sandbox (default: "rancher/mirrored-pause:3.6")
Nov 28 01:34:12 k1-w1 k3s[4059]:    --snapshotter value                        (agent/runtime) Override default containerd snapshotter (default: "overlayfs")
Nov 28 01:34:12 k1-w1 k3s[4059]:    --private-registry value                   (agent/runtime) Private registry configuration file (default: "/etc/rancher/k3s/registries.yaml")
Nov 28 01:34:12 k1-w1 k3s[4059]:    --node-ip value, -i value                  (agent/networking) IPv4/IPv6 addresses to advertise for node (default: "<IP_ADDRESS>")
Nov 28 01:34:12 k1-w1 k3s[4059]:    --node-external-ip value                   (agent/networking) IPv4/IPv6 external IP addresses to advertise for node
Nov 28 01:34:12 k1-w1 k3s[4059]:    --resolv-conf value                        (agent/networking) Kubelet resolv.conf file [$K3S_RESOLV_CONF]
Nov 28 01:34:12 k1-w1 k3s[4059]:    --flannel-iface value                      (agent/networking) Override default flannel interface
Nov 28 01:34:12 k1-w1 k3s[4059]:    --flannel-conf value                       (agent/networking) Override default flannel config file
Nov 28 01:34:12 k1-w1 k3s[4059]:    --flannel-cni-conf value                   (agent/networking) Override default flannel cni config file
Nov 28 01:34:12 k1-w1 k3s[4059]:    --kubelet-arg value                        (agent/flags) Customized flag for kubelet process
Nov 28 01:34:12 k1-w1 k3s[4059]:    --kube-proxy-arg value                     (agent/flags) Customized flag for kube-proxy process
Nov 28 01:34:12 k1-w1 k3s[4059]:    --rootless                                 (experimental) Run rootless
Nov 28 01:34:12 k1-w1 k3s[4059]:    --docker                                   (agent/runtime) (experimental) Use cri-dockerd instead of containerd
Nov 28 01:34:12 k1-w1 k3s[4059]:
Nov 28 01:34:12 k1-w1 k3s[4059]: time="2022-11-28T01:34:12Z" level=fatal msg="flag provided but not defined: -disable"
Nov 28 01:34:12 k1-w1 systemd[1]: k3s-agent.service: Main process exited, code=exited, status=1/FAILURE

systemd unit looks like this:
[Unit]
Description=Lightweight Kubernetes
Documentation=https://k3s.io
Wants=network-online.target
After=network-online.target

[Install]
WantedBy=multi-user.target

[Service]
Type=notify
EnvironmentFile=-/etc/default/%N
EnvironmentFile=-/etc/sysconfig/%N
EnvironmentFile=-/etc/systemd/system/k3s-agent.service.env
KillMode=process
Delegate=yes
# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
LimitNOFILE=1048576
LimitNPROC=infinity
LimitCORE=infinity
TasksMax=infinity
TimeoutStartSec=0
Restart=always
RestartSec=5s
ExecStartPre=/bin/sh -xc '! /usr/bin/systemctl is-enabled --quiet nm-cloud-setup.service'
ExecStartPre=-/sbin/modprobe br_netfilter
ExecStartPre=-/sbin/modprobe overlay
ExecStart=/usr/local/bin/k3s \
    agent \
        '--node-ip=<IP_ADDRESS>' \
        '--flannel-iface' \
        'enp7s0' \
        '--server' \
        'https://<IP_ADDRESS>:6443' \

its env file looks like this:
K3S_AGENT_TOKEN='<output of pwgen>'
K3S_TOKEN='<token>'

I realized that "disable" option has been given, though this isn't quite that obvious. Agent node is fetching configuration file of master nodes. In my case, it was containing options which don't work on an agent (which is flannel-backend I guess, but maybe also advertise-address). After removing those two from the file for there are CLI arguments used for that, the setup succeeds.
Maybe worth adding, that the error message is misleading though, for having disable option in configuration file isn't an issue.


Uninitialized constant Kaminari

Hi
I have explicitly registered following in my Sinatra app.rb
register Kaminari::Helpers::SinatraHelpers
I am seeing following error
uninitialized constant Kaminari
Removing this line starts my server but i get following error
Undefined method paginate.
Any help is highly appreciated

Have you required it using require 'kaminari' or in Gemfile?

@ozgg  Thanks for your message. I dont remember as its about more then 1 month old. I used will_paginate instead :).


Replace scrollLock with scroll-snap-type

Add .glider-scroll-lock to demo CSS.
Replace scrollLock with glider-scroll-lock in demos.
Deprecation warnings on scrollLock and scrollLockDelay

scroll-snap-type doesn't work well with autoplay


fix flaky tests in the file EntityToSchemaMapperTest.java

This PR aims to fix the following 5 flaky test cases:
io.github.vlsergey.springdatarestutils.EntityToSchemaMapperTest.testLink
io.github.vlsergey.springdatarestutils.EntityToSchemaMapperTest.testMapAsDataItem
io.github.vlsergey.springdatarestutils.EntityToSchemaMapperTest.testMapAsExposed
io.github.vlsergey.springdatarestutils.EntityToSchemaMapperTest.testMapAsLinks
io.github.vlsergey.springdatarestutils.EntityToSchemaMapperTest.testUriTemplate
I found and confirmed the flaky behavior using an open-source research tool NonDex, which shuffles implementations of nondeterminism operations.
Problem:
The writeValueAsString() function is nondeterministic and when it tries to convert a YAML object to a string, it does not account for the ordering of elements of the YAML object.
spring-data-rest-utils/src/main/java/io/github/vlsergey/springdatarestutils/SchemaUtils.java
Line 33 in 8cd30df
return Yaml.pretty().writeValueAsString(obj);
Hence, all the tests mentioned above when they try to call the SchemaUtils.writeValueAsString() function, are prone to flakiness.
Solution:
Since we do not have access to the internal library, I have added a check, that converts the YAML string to Map objects and then compares the objects.
Steps to reproduce
Integrate NonDex:
Add the following snippet to the top of the build.gradle in $PROJ_DIR:
plugins {
    id 'edu.illinois.nondex' version '2.1.1-1'
}

Append to build.gradle in $PROJ_DIR:
apply plugin: 'edu.illinois.nondex'

Execute Test with Gradle:
./gradlew --info test --tests io.github.vlsergey.springdatarestutils.EntityToSchemaMapperTest.testLink
./gradlew --info test --tests io.github.vlsergey.springdatarestutils.EntityToSchemaMapperTest.testMapAsDataItem
./gradlew --info test --tests io.github.vlsergey.springdatarestutils.EntityToSchemaMapperTest.testMapAsExposed
./gradlew --info test --tests io.github.vlsergey.springdatarestutils.EntityToSchemaMapperTest.testMapAsLinks
./gradlew --info test --tests io.github.vlsergey.springdatarestutils.EntityToSchemaMapperTest.testUriTemplate

Run NonDex:
./gradlew --info nondexTest --tests=io.github.vlsergey.springdatarestutils.EntityToSchemaMapperTest.testLink
./gradlew --info nondexTest --tests=io.github.vlsergey.springdatarestutils.EntityToSchemaMapperTest.testMapAsDataItem
./gradlew --info nondexTest --tests=io.github.vlsergey.springdatarestutils.EntityToSchemaMapperTest.testMapAsExposed
./gradlew --info nondexTest --tests=io.github.vlsergey.springdatarestutils.EntityToSchemaMapperTest.testMapAsLinks
./gradlew --info nondexTest --tests=io.github.vlsergey.springdatarestutils.EntityToSchemaMapperTest.testUriTemplate

Test Environment:
Java version "1.8.0_381"
macOS Venture Version 13.4.1 (22F82)
Please let me know if you have any concerns or questions.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Remove coveralls_reborn

See https://github.com/tagliala/coveralls-ruby-reborn#github-actions

remove gem
bundle install
remove all references to gem

Remove coveralls_reborn
To be doubly safe, I:

created this branch
ran it locally, and confirmed that it created .coverage/index.html
pushed it, and confirmed that it created lcov file and submitted it to Coveralls

So now merging it should remove coveralls_reborn in PR #812


link to demo

There was a link to the demo in the slides but I couldn't find it on the repo. Might be cool to post it in url / README for others to discover :sparkles:. Thanks!

Good idea, fixed in 7be1dd732e434a509063f7a82dbefccc837da102! :smile:


I like the old snake icon, Is there an variable that I can customize it?

I know it has been replace by the more standard Python Logo
But I like the old snake icon,
Is there an variable that I can customize it?

@soulomoon you can set the POWERLEVEL9K_PYTHON_ICON variable. =)

@diraol thank you


World spawn has priority

Hello,
The World spawn seems to have priority over beds/sethome.
I do not see anywhere to have the priority as beds then home then spawn anywhere?
This would be a fantastic addition for me as I run a survival server with strictly no teleportation.
Hope to see it fixed/added,
-Sam

Fixed in https://github.com/Bammerbom/UltimateCore/commit/f956cf290f2429a90363a2d168ba681ad5668df6

@Bammerbom Awesome, thank you for the quick fix,
Would it be possible to slide sethome as a priority over spawn also, and maybe let server owners choose the order of priority in the config?
Personally im looking for Spawn, Home, Bed as my priorities from lowest to highest.


Fix re-processing messages that were revoked

Motivation
When re-processing the message it stayed as revoked in our DB.
Change Summary
Mark as no longer revoked.
Merge Checklist

[ ] PR title adheres to the conventional commits standard
[ ] PR has a changeset
[ ] PR has been tagged with a change label(s) (i.e. documentation, feature, bugfix, or chore)
[ ] PR includes documentation if necessary.
[ ] All commits have been signed

PR-Codex overview
This PR focuses on fixing the handling of reprocessed messages in the @farcaster/shuttle package. It ensures that reprocessed messages are no longer marked as revoked.
Detailed summary

Fixed handling of reprocessed messages in messageProcessor.ts
Set deletedAt, prunedAt, and revokedAt to null for merge operation

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Did not read code correctly.


Chronos Issues with Zookeeper

Hi,
Chronos (with the [latest code] (https://github.com/airbnb/chronos/commit/9e69c65ae9508a827667f2ba2c0e7565c76a4f09) at this date) compiles fine, but it throws up following errors while running Tests during mvn package:
...
...

Results :

Failed tests:
   '0' is not equal to '1' expected:<[1]> but was:<[0]>
  JobSchedulerElectionSpec.testElectNewLeaderOnMasterFailure:151 Former master scheduler should not be leader after failure
  JobSchedulerElectionSpec.testJobSchedulerShouldElectOnlyOneLeader:112 One scheduler, but not both, should be running

Tests run: 39, Failures: 3, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:02 min
[INFO] Finished at: 2014-06-26T18:55:23-05:00
[INFO] Final Memory: 16M/65M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test (default-test) on project chronos: There are test failures.
[ERROR]
[ERROR] Please refer to /usr/local/airbnb-chronos-edited/chronos/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

The errors mentioned above appear randomly each time mvn package is executed. 'mvn package' runs successfully 1 in 5 times on an average.
Someone suggested to increase the initLimit in zoo.cfg (link: http://efod.se/blog/archive/2013/02/09/zookeeper-initlimit ). I tried increasing it from 10 to 10000, but still it is throwing up the errors mentioned above.
Build environment: CentOS 64bit (VM instance) with Zookeper service already running.
Anyone having a clue what might be happening here?

I also got the same test error issue.

@wangqunOne  I met the same problem,  the following error appears,
Failed to load native Mesos library from /usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
Do you still remember how to solve this?    Thx so much


Create awesome list incubator

For lists which haven't existed for more than 30 days or ones that are still pretty empty, we could add them to a separate list that people can discover them. This can also be used to help raise initial awareness of the new list.

I honestly don't want to manage that. It's more than enough work to review the current additions. And I don't really see any value in almost empty lists either. However, people can find all Awesome lists here: https://github.com/topics/awesome
https://github.com/sindresorhus/awesome/commit/3d6bc0215721268d2972fd851cfed730057829ab


YouTube-dl was taken off Github

451 error now with installing youtube-dl
Thinking of the best way to approach this, have some ideas we'll see.

Adding it to a package definitely would be a bad idea.
Probably yet another private environment variable with a url string for youtube-dl.

They're just serving it from their site now


Subobject focus an other object, doesn't works properly if parent is rotating

If a sub-object try to focus an other object and while his parent is turning, this break the focus.
Here is a snippet to try
var parent = new DE.GameObject( {
  x: 300, y: 300,
  gameObjects: [
    new DE.GameObject( { name: 'sub' } )
  ]
} );

var toFocus = new DE.GameObject( { x: 0, y: 0 } );

parent.gameObjects[0].focus( toFocus ); // focus the toFocus object

// add a rotate to the parent object, now the object 'sub' isn't at the good position !
parent.addAutomatism("rotate", "rotate", { value1: 0.002 });

fixed in https://github.com/dreamirl/dreamengine/commit/bea4d1a3b789318bd43eb929dbd605a252935650
Tested by adding Game.ship.gameObjects[ 0 ].focus( Game.targetPointer ) to the end of the Game.js in the game_sample repos.


Implement Madry's Protocol as adversarial trainer

Create API for adversarial trainers which train classifiers on adversarial examples and implement Madry's Protocol as a new example (https://arxiv.org/abs/1706.06083)
Fixes #294

@mathsinn I have fixed all requests and added a unittest.


(swedish) Update steam_input_swedish.vdf

So by creating a draft, Ben dosent get 2 million notifications by me?

It still notifies me but it's fine.

It still notifies me but it's fine.

Ah.

All credits done


Can't generate api token

Server responded with error status while trying to generate new token

I think this issue related to dash.treescale.com, live TreeQ service ... please use<EMAIL_ADDRESS>email for getting support related to online services.
This repository mainly contains the core distributed PubSub technology.


Provide Helm Chart for the OneAgent Operator

Won't be merged in here but pushed to another repository


Manga info redirection from random manga doesn't work

When selecting random manga, it appends an additional 'pages/' on the link. Similar bug to the initial version.

fixed


chore: add checkly to community showcase

Closing per the comment above, please send a PR to change https://github.com/microsoft/playwright/blob/master/docs/src/showcase.md instead.


Staging for version increment automation

Description
This is the staging PR for to execute workflows that auto raise the version increment PR's
Example: https://github.com/prudhvigodithi/ml-commons/pull/1
Issues Resolved
Part of: https://github.com/opensearch-project/opensearch-build/issues/1375
From solution: https://github.com/opensearch-project/opensearch-build/issues/1375#issuecomment-1159476686
Related issue: https://github.com/opensearch-project/geospatial/issues/86
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #91 (628fd29) into main (beac5dc) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main      #91   +/-   ##
=========================================
  Coverage     86.50%   86.50%
+ Complexity      248      247    -1
=========================================
  Files            37       37
  Lines           830      830
  Branches         55       55
=========================================
  Hits            718      718
  Misses           87       87
  Partials         25       25

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 beac5dc...628fd29. Read the comment docs.

Renaming to task updateVersion following https://github.com/opensearch-project/opensearch-plugin-template-java/pull/32.

Hey @VijayanB  just checking back, if we are ok with PR, can we merge this?
Thank you

@martin-gaievski Can you take a look at this PR? Thanks.

prudhvigodithi did you test it when build.qualifier is set? At first glance it should work but it would be nice to have a confirmation.

Hey @martin-gaievski can you please elaborate, this task updateVersion will be called from the external workflow from the opensearch-build repo, all it will do is raise a version increment PR and update the required files.
@bbarani

@martin-gaievski Can you please provide your inputs?

I think it should work, let me approve

@prudhvigodithi Shall i merge this PR?

Hey @VijayanB yes please proceed to merge. :)


Change default unordered list bullet marker from '*' to '-'

Fix #424

Whoops. Has been done in https://github.com/mixmark-io/turndown/pull/425, although that probably has failing tests


Parent Objects

When I throw the objects on the unity hierarchy panel to the game screen, the bottom objects appear but not on xenko what is the reason ?
For example, I assign a character model to Unity, the lower parts of the model are visible, but only the object is visible in xenko

Because they are different engine? I'm having a hard time understanding your issue.

I'll close this one as @emre1601 didn't provide us with more information, feel free to open a new one with more information


TUI HUGE ERROR MESSAGE AFTER DEPENDENCIES DOWNLOAD

Describe the bug
After launching on TUI, once dependencies are downloaded, the entire prompt closes and then.. nothing. at all.
on second try, i get a huge error message.
ERRO[0071] unknown error - 33: Unable to create session from {
"desiredCapabilities": {
"browserName": "chrome",
"chromeOptions": {
"binary": ".\lib\chrome-win\chrome.exe",
"args": [
"--incognito",
"--disable-extensions",
"--disable-infobars",
"--disable-dev-shm-usage",
"--no-sandbox",
"--window-size=360,740"

Issue surely related with #18

Closed since this must be related to Java version incompatibility and it was fixed in #18
If you still have issues with the TUI version please open a new issue


Dual number cache for use with ForwardDiff.jl

Is your feature request related to a problem? Please describe.
The problem is described here: https://discourse.julialang.org/t/how-to-use-scimloperators-jl-with-autograd-in-differentialequations-jl/117731
Describe the solution you’d like
I would like to be able to use SciMLOperators in an in-place ODEFunction, with a solver that does autodiff using ForwardDiff.jl. Here is an example:
using SciMLOperators, DifferentialEquations

op = FunctionOperator((du,u,p,t) -> du .= u .* u, rand(10), t=0.0, p=[0.0], batch=true)
op = cache_operator(op, rand(10))

prob = ODEProblem{true}(op, rand(10), (0.0,1.0), [0.0])

solve(prob, Rosenbrock23())

Currently, the above code doesn't work, presumably owing to the operator cache being Float64s rather than dual numbers.

trying calling cache_operator with a dual array

The cache in this case would need to be a PreallocationTools.DualCache object so it could dispatch to different forms on command. That's definitely possible.


Infinite List doesn't have an indicator when using Keyboard Navigation

Bug Report
Description
When a user is scrolling down an infinite list with a keyboard, there is no indication of when the user has reached the end of the list. The list still generates more items, but doesn't tell the user about it. Should the list have an indication of some kind to tell those on Screen Readers more items are being generated?

We've talked about using aria-live to indicate more items have been added to the list. Need to determine what the verbiage for this message should be and on what events it should occur.

PR: https://github.com/cerner/terra-framework/pull/732


[webview] Add option to not trigger navigation on reload();

Use case
We are currently managing an application with 5 separate webviews that are in an IndexStack.
In order to facilitate interaction with the server we have implement a JavaScript-Channel where we send events:

sign_in
sign_out
back

In the channel management we reload mulitple screens depending on the event. Each of these reloads causes an event in the _onNavigation handler. Due to some navigation logic this will trigger a focus of the reloaded webview rather than the normal continued navigation of the current screen.
Proposal
In order to prevent this from happening again I propose adding an option that is configurable on the WebView that allows to control reloads in a different manager or disable navigationDelegate for all reloaded pages.
WebView(
  navigation_on_reload: false,
  reload_navigation_handler: (navigation) =>
     _onNavigation(navigation)
)

I was so far not able to find a solution that would satisfy my requirements without coupling the application together with some very flaky globals.

On iOS we know when a navigation delegate callback is due to a reload, but I don't see any way to get that information on Android. Unless it's available some way I'm missing, it doesn't seem like this can be implemented currently.
(If this were implemented, it would almost certainly be by providing information about the load type in the callback, as WKWebView provides on iOS, rather than by adding new delegates or top-level booleans that don't scale to any other possible ways someone might want to filter callbacks.)


Unstable json in s3 bucket policy

Describe the Bug
Applying this terraform module appears to work fine but the s3 bucket policy json is unstable and terraform wants to update it every run.
Expected Behavior
Subsequent terraform runs should not trigger updates to the provisioned resources
Steps to Reproduce

Provision

module "cloudtrail_s3_bucket" {
  source = "cloudposse/cloudtrail-s3-bucket/aws"
  version = "0.23.1"

  name                     = "cloudtrail_logs"
  stage                    = var.env_name
  namespace                = var.namespace
  standard_transition_days = 30
  glacier_transition_days  = 60
  expiration_days          = 365
  force_destroy = var.force_destroy
}

module "cloudtrail" {
  source = "cloudposse/cloudtrail/aws"
  version = "0.21.0"

  namespace = var.namespace
  stage = var.env_name
  name = "cloudtrail"
  enable_log_file_validation    = true
  include_global_service_events = true
  is_multi_region_trail         = true
  s3_bucket_name                = module.cloudtrail_s3_bucket.bucket_id
}

terraform apply
This correctly creates all resources.

terraform apply

Note: Objects have changed outside of Terraform

Terraform detected the following changes made outside of Terraform since the last "terraform apply":

  # module.cloudtrail.module.cloudtrail_s3_bucket.module.s3_bucket.aws_s3_bucket.default[0] has been changed
  ~ resource "aws_s3_bucket" "default" {
        id                          = "REDACTED-prod-cloudtraillogs"
      ~ policy                      = jsonencode(
          ~ {
              ~ Statement = [
                    {
                        Action    = "s3:GetBucketAcl"
                        Effect    = "Allow"
                        Principal = {
                            Service = "cloudtrail.amazonaws.com"
                        }
                        Resource  = "arn:aws:s3:::REDACTED-prod-cloudtraillogs"
                        Sid       = "AWSCloudTrailAclCheck"
                    },
                  ~ {
                      ~ Principal = {
                          ~ Service = [
                              - "cloudtrail.amazonaws.com",
                                "config.amazonaws.com",
                              + "cloudtrail.amazonaws.com",
                            ]
                        }
                        # (5 unchanged elements hidden)
                    },
                  + {
                      + Action    = "s3:*"
                      + Condition = {
                          + Bool = {
                              + aws:SecureTransport = "false"
                            }
                        }
                      + Effect    = "Deny"
                      + Principal = "*"
                      + Resource  = [
                          + "arn:aws:s3:::REDACTED-prod-cloudtraillogs/*",
                          + "arn:aws:s3:::REDACTED-prod-cloudtraillogs",
                        ]
                      + Sid       = "ForceSSLOnlyAccess"
                    },
                ]
                # (1 unchanged element hidden)
            }
        )
        tags                        = {
            "Name"      = "REDACTED-prod-cloudtraillogs"
            "Namespace" = "REDACTED"
            "Stage"     = "prod"
        }
        # (10 unchanged attributes hidden)

        # (3 unchanged blocks hidden)
    }
  # module.cloudtrail.module.cloudtrail_s3_bucket.module.s3_bucket.aws_s3_bucket_policy.default[0] has been changed
  ~ resource "aws_s3_bucket_policy" "default" {
        id     = "REDACTED-prod-cloudtraillogs"
      ~ policy = jsonencode(
          ~ {
              ~ Statement = [
                    {
                        Action    = "s3:GetBucketAcl"
                        Effect    = "Allow"
                        Principal = {
                            Service = "cloudtrail.amazonaws.com"
                        }
                        Resource  = "arn:aws:s3:::REDACTED-prod-cloudtraillogs"
                        Sid       = "AWSCloudTrailAclCheck"
                    },
                  ~ {
                      ~ Condition = {
                          ~ StringEquals = {
                              ~ s3:x-amz-acl = [
                                  - "bucket-owner-full-control",
                                ] -> "bucket-owner-full-control"
                            }
                        }
                      ~ Principal = {
                          ~ Service = [
                              - "config.amazonaws.com",
                                "cloudtrail.amazonaws.com",
                              + "config.amazonaws.com",
                            ]
                        }
                        # (4 unchanged elements hidden)
                    },
                  ~ {
                      ~ Condition = {
                          ~ Bool = {
                              ~ aws:SecureTransport = [
                                  - "false",
                                ] -> "false"
                            }
                        }
                        # (5 unchanged elements hidden)
                    },
                ]
                # (1 unchanged element hidden)
            }
        )
        # (1 unchanged attribute hidden)
    }

The changes seem to be essentially no-ops but it would be great if they were consistent. It appears that amazon reformats inputted JSON and this collides with what is generated by terraform.

any update pls?

Is this issue actually associated with https://github.com/cloudposse/terraform-aws-cloudtrail-s3-bucket instead ?

This issue relates to terraform-aws-s3-log-storage, not this module, and has been fixed.


[20.09] unbound: 1.11.0 -> 1.13.0

Motivation for this change
fixes https://github.com/NixOS/nixpkgs/issues/109225
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

/rebase-staging-20.09

/rebase-staging-20.09

LGTM, but please rebase onto staging-20.09.

LGTM, but please rebase onto staging-20.09.


Add assume role

Description
PyAthena can "assume role" if role_arn is passed to the connection. This change loads the role_arn value from athenaclirc if it exists.
Checklist

[X] I've added this contribution to the changelog.md.
[X] I've added my name to the AUTHORS file (or it's already there).

LGTM


[RI-475] update constraints when updating shas

Issue: RI-475

Thank you for submitting a pull request to this project!
Once all check jobs have passed and the pull request has received a
sufficient number of reviews, the repository's gate jobs can be triggered by
adding a comment of :shipit: to this pull request.
When the gate jobs have completed successfully, this pull request will get
merged automatically.

recheck_dep_update
this got added to the install list...  doesn't happen locally
-e git+https://github.com/rcbops/rpc-openstack.git@ae76e1af6c596a69701648acad67a439b66aec66#egg=rpc_openstack

recheck_bionic_no_artifacts_swift_deploy

recheck_cit_bionic_no_artifacts_swift_deploy

It's sorted by hash of the package name to help prevent merge conflicts (oslo packages would be grouped otherwise).


Broken Link fixed in the fr docs

Fix: #37718

/approve

/retitle [fr] Fix stale link in “Secrets” concept page

/approve

/lgtm


Python - Get Depth aligned to RGB

Required Info

Camera Model
SR300

Firmware Version
2

Operating System & Version
Windows 10

Kernel Version (Linux Only)

Hi there,
Does the Python wrapper support mapping the depth map to the RGB stream? I can't seem to get it working.
Thanks,
Alan

Hi @dolhasz ,
It seems that we've missed the binding for this object. Thanks for letting us know.
I will add it soon!

Hi again :)
I've opened PR #776  to use the alignment processing block of the SDK.
Also, I've composed a small example which tries to imitate the rs-align example (i.e background removal).

NOTE: I'm not an expert in numpy and I'm probably masking the color image incorrectly

import pyrealsense2 as rs
import numpy as np
import cv2
# Create a pipeline
pipeline = rs.pipeline()
#Create a config and configure the pipeline to stream
#  different resolutions of color and depth streams
config = rs.config()
config.enable_stream(rs.stream.depth, 640, 360, rs.format.z16, 30)
config.enable_stream(rs.stream.color, 640, 480, rs.format.bgr8, 30)
# Start streaming
profile = pipeline.start(config)
# Getting the depth sensor's depth scale (see rs-align example for explanation)
depth_sensor = profile.get_device().first_depth_sensor()
depth_scale = depth_sensor.get_depth_scale()
print "depth_scale : " , depth_scale
# Create an align object
align = rs.align(rs.stream.color)
# Streaming loop
try:
    while True:
        # Get frameset of color and depth
        frames = pipeline.wait_for_frames()
        depth_frame = frames.get_depth_frame()
        print "Depth Resolution: " , depth_frame.get_width() , "x" , depth_frame.get_height()
        # Align the depth frame to color frame
        proccessed = align.proccess(frames)
        # Get aligned frames
        aligned_depth_frame = proccessed.get_depth_frame()
        print "Aligned Depth Resolution: " , aligned_depth_frame.get_width() , "x" , aligned_depth_frame.get_height()
        color_frame = proccessed.get_color_frame()
        if not aligned_depth_frame or not color_frame:
            continue
        depth_image = np.asanyarray(aligned_depth_frame.get_data())
        color_image = np.asanyarray(color_frame.get_data())
        # My lousy attempt to perform background removal
        depth_image_3d = np.repeat(depth_image[:, :, np.newaxis], 3, axis=2)
        depth_image_3d = depth_image_3d * depth_scale
        bg_removed = np.where(depth_image_3d > 1, 0, color_image)
        # Render images
        depth_colormap = cv2.applyColorMap(cv2.convertScaleAbs(depth_image, None, 0.5, 0), cv2.COLORMAP_JET)
        images = np.hstack((bg_removed, color_image, depth_colormap))
        cv2.namedWindow('RealSense', cv2.WINDOW_AUTOSIZE)
        cv2.imshow('RealSense', images)
        cv2.waitKey(1)
finally:
    pipeline.stop()

Closing since PR #776 was merged.


Permissions: Add Default Data roles, Lenses & Metrics

There are default permission capabilities resources available in the REST API, but unavailable in Tableau Server Client (TSC).
For each of Data roles, Lenses & Metrics add similar functionality to that of workbook default permissions (ie projects.populate_workbook_default_permissions, projects.update_workbook_default_permissions and projects.delete_workbook_default_permissions)

I no longer have access to test this easily -- but it should be pretty much copy/paste and rename classes + endpoints. I'm happy to review a PR for anyone who can make one!

this has been added


Updating primary, error and info colors to meet AA accessibility standards for light mode

Description
Currently our primary/default and error/default colors were not passing AA accessibility standards because it was not meeting the contrast ratio of 4.5. This is a problem because it impacts visually impaired users.
This PR updates blue500 and red500 which are used for the primary/default and error/default color tokens respectively. It also updates any related tokens such as info/default, muted, disabled and shadow
Fixes #253
Screenshots
Before

After

Manual testing steps

Go to the latest build of storybook on this PR
Check all colors have been updated correctly
Check out this branch and do a search for #037DD6 there should be no results

@Akatori-Design shadows I don't think are a huge deal but may as well update it everywhere because we don't want to values for blue500 even the opacity versions


feat(rollup): build minified UMD bundle

Before

After

@gmp Totally, I held off on doing it here because renaming might be technically considered a breaking change, so I wanted to run it by the team first. The change in this PR is going to be released to next at first, so we'll have some time to decide what to do.


on_load doesn't mean that the content is ready for display

Trying to manipulate DOM elements via a trial's on_load function fails since they have not yet been mounted to the DOM; how can one await the actual loading of the trial such that it's visible to the browser? This is especially apparent in the context of the external-html plugin, where I've had to put my DOM manipulation code in a setTimeout within on_load.

I think on_load will be reliable for any synchronous code, but async loads of DOM elements will cause this issue. Thanks for pointing this out.
I'm not sure there is an easy fix, but the on_load event could be rewritten to be manually triggered by each plugin, or at least provide the option for plugins that rely on async calls. Another option might be some kind of Promise interface.

Another option would preloading the external HTML pages, a la preloading images or audio; not sure what that would take to implement though...

For now I've solved this by adding an on on_complete_callbacks property to my customized version of the external-html plugin; those functions then get called within the plugin's load function's callback.


keep track of amount of u,v values included in a proof

This PR allows to keep track of amount of u,v values when generate proof. This is important since the verification will need to know the amount.

I disagree with this design. I do not think compute proof should be responsible for counting the elements added to it. Look at all the complex tuple return types and the frequently ignored values. This is not a good design.
I think when we perform a multiplication and push it into the list of multiplications that need to be verified, THAT is the place to increment a counter. In fact, it's only that first stage where we need to perform this count.

@benjaminsavage I would be fine with that too and was thinking about that as well. A reason why I think this PR is more straightforward is that we just count the amount when we actually compute the proof (which will be the same for all three proofs and doesn't need to be sent over the network). Counting the multiplications when they are stored comes with two challenges:

We collect the multiplication in a hash table so we would need to keep track of the number in each element of the hash table
There might be zero fillings that we need to account for.


Unmount all mount points related to an attached database while detachdb

Is your feature request related to a problem? Please describe.
From the alluxio table detachdb output, we can see Successfully detached db xxx. Please unmount and clean up the alluxio location at XXX before attaching another database named xxx.
And we can execute alluxio fs mount to find that there are still lots of mount points belongs to the database.
Describe the solution you'd like
When alluxio table detachdb, alluxio sds should umount the mount points by default, and add an option keepMountPoint
to skip unmount these mount points.
Urgency
High
Additional context
We have to unmount lots of mount points manually.

@apc999 this changes the current default behaviour. How should we plan such a change, and communicate with existing users?

@dbw9580 Or we can keep original logic to keep compatible, and add an option unmount for user?

I think @maobaolong 's suggestion is safer and does not change the default behavior. The reason behind the original design is that the mount might have happened not as part of the attachdb. The user could have manually mounted something, (perhaps at a high level in the tree, to avoid many mount points), before doing the attachdb. In today's code, this would be allowed. It would not make sense to unmount those directories unless user gives explicit direction to do so.

The reason behind the original design is that the mount might have happened not as part of the attachdb.

This issue came up during today's discussion in Presto community sync.
I think as long as the above assumption is still applicable, we won't be able to update the mount points during database sync. So the solution can be to use a special directory (say /managed_catalog/) and assume the user is not allowed to manually mount things under this directory. In other words, this is a "managed" directory of SDS. Then we can safely unmounting tables and databases afterwards.
The proposed "managed catalog" can co-exist with the current catalog, as long as we keep track which database is mounted in the managed catalog, and which is not.


Add logic to inspect metered dimension

Enhance the Plans update process to inspect metered dimension before inserting.
This will fix bug# 152

Tested with old and new Landing Pages, but using the new Admin meter page changes.


Update bn.json

Updated language page for pagination

Please merge the two pull requests into one and request again as they are interconnected commits.


Fix make_sample_data return value

I just did a plugin installation via cookiecutter, but loading the sample data lead to:
TypeError: ViewerModel._add_layer_from_data() takes from 2 to 4 positional arguments but 513 were given
I checked the code here:
https://github.com/napari/napari/blob/main/napari/plugins/_skimage_data.py
and adapted the make_sample_data return values accordingly.

Are those failing tests related to my change?

Looks unrelated. Also visible on main branch.

thanks @mstabrin, LGTM


Sticky Scroll for Workspace Navigation

Hey there,
I would be super happy if sticky-scroll feature was available for the workspace file navigation

I generally open 1 VSCode for everything, and folders go deep depending on the repository.

Given current feature at the top of editor, same functionality would be useful on the navigation side.

/duplicate of #161207

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Add explain subcommand to mayactl

Is this a BUG REPORT or FEATURE REQUEST?
FEATURE REQUEST

What happened:
If the user is using mayactl he should be able to find the types of required parameters of mayactl.
For example: In kubernetes, we have kubectl explain --recursive pod it gives output like:
ubuntu@kubemaster-01:~$ kubectl explain --recursive pod
DESCRIPTION:
Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.

FIELDS:
   spec	<Object>
       nodeName	<string>
       nodeSelector	<object>
       restartPolicy	<string>
       schedulerName	<string>
       securityContext	<Object>
       activeDeadlineSeconds	<integer>
       hostIPC	<boolean>
       initContainers	<[]Object>
       serviceAccountName	<string>
       subdomain	<string>
       tolerations	<[]Object>
       hostname	<string>
       imagePullSecrets	<[]Object>
       affinity	<Object>
       automountServiceAccountToken	<boolean>
       hostNetwork	<boolean>
       dnsPolicy	<string>
       serviceAccount	<string>
       volumes	<[]Object>
       containers	<[]Object>
       hostPID	<boolean>
       terminationGracePeriodSeconds	<integer>
   status	<Object>
       containerStatuses	<[]Object>
       message	<string>
       phase	<string>
       qosClass	<string>
       startTime	<string>
       conditions	<[]Object>
       hostIP	<string>
       initContainerStatuses	<[]Object>
       podIP	<string>
       reason	<string>
   apiVersion	<string>
   kind	<string>
   metadata	<Object>
       namespace	<string>
       ownerReferences	<[]Object>
       generateName	<string>
       resourceVersion	<string>
       generation	<integer>
       name	<string>
       selfLink	<string>
       annotations	<object>
       clusterName	<string>
       creationTimestamp	<string>
       deletionGracePeriodSeconds	<integer>
       finalizers	<[]string>
       uid	<string>
       deletionTimestamp	<string>
       labels	<object>

Another command is kubectl explain pod.spec.containers.env Its output looks like:
ubuntu@kubemaster-01:~$ kubectl explain pod.spec.containers.env
RESOURCE: env <[]Object>

DESCRIPTION:
     List of environment variables to set in the container. Cannot be updated.

    EnvVar represents an environment variable present in a Container.

FIELDS:
   value	<string>
     Variable references $(VAR_NAME) are expanded using the previous defined
     environment variables in the container and any service environment
     variables. If a variable cannot be resolved, the reference in the input
     string will be unchanged. The $(VAR_NAME) syntax can be escaped with a
     double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
     regardless of whether the variable exists or not. Defaults to "".

   valueFrom	<Object>
     Source for the environment variable's value. Cannot be used if value is not
     empty.

   name	<string> -required-
     Name of the environment variable. Must be a C_IDENTIFIER.

What you expected to happen:
mayactl should have above behavior.

I can help with this :D

@keydrevolta Awesome, please go ahead!


Some issue after latest release?

I'm not sure if this in on my end yet, but our pipelines started with this error this morning.
 Unable to resolve actions. Repository not found: datadog/synthetics-ci-github-action.

I notice you have a new release, maybe the releases got messed up somehow? We were on 0.3.0, but switched to 0.4.0 to try and fix but didn't work.
      - name: Run Datadog Synthetics tests (Conformance test UK and US pre-prod)
        uses<EMAIL_ADDRESS>        with:
          api_key: ${{ secrets.DD_API_KEY }}
          app_key: ${{ secrets.DD_APP_KEY }}
          public_ids: 'omitted'

Hi @sjmiller609,
Thanks for the report, we are in the middle of a renaming of the action and unfortunately it did not unfold as our experiments did.
We reverted the renaming and you should not see the error anymore.
Is it fixed on your side?


Update CODE_OF_CONDUCT.md

Good evening sir ,
Sir I have tried my best to improve the content . Please go through .
I will be highly obliged for that.
Thank you

Sir please see to it

We are using the standard CODE_OF_CONDUCT text provided by GitHub as part of the check list. I don;t think, any changes required.


More tutorial improvements re #95

This PR transforms our tutorial into a Jupyter notebook, which we can link to from the README and should render pleasantly from within GitHub. Re #95, this change should (1) provide an example of how to use eyecite with a real document containing thousands of real citations and (2) make clear that all of the tutorial code is run-able by the reader.
The pseudocode about passing a custom resolution to resolve_citations() has been removed entirely, as we already explain the same idea here: https://github.com/freelawproject/eyecite#resolving-citations.

I don't know if you still have energy for this, so just merging since it's another nice improvement, but I had a few questions when reading through this:

We mention that the hyperscan regexes are pre-compiled, but never explain how to do that.

We frequently say something like, "We need to clean the text, so we run clean(text, [html, whitespace]). These kinds of statements would be better if we explain what the arguments are that we're passing to clean(). Something like, "Clean takes two arguments. The first is the text to be cleaned, and the second is an array of cleaning utilities to run. We have several built in utilities, such as...."

The section around resolving citations is a bit unclear. This bit caught me up: "This opinion contains more than 1000 raw citations, but that doesn't mean that this opinion cites 1000 different cases." Maybe say something like, "This opinion contains more than 1000 citations, but these are not all full citations like "123 XYZ 456". In addition to these more obvious citations, eyecite will also find short-form citations such as "id" and "supra". So, while there are 1005 citations total, the count of unique opinions cited is much fewer."

Anyway, my policy on documentation is to merge any form of progress, so this is merged, but those were the spots I got caught. Is it easy to edit a Python notebook?

I still have some energy lol, and I agree that making the second and third change would be good. For the first one, it's my understanding that the pre-compiling happens automatically, right? I.e., the first time the tokenizer is instantiated, it pre-compiles all the regexes and dumps them into the cache folder. Then subsequent calls to get_citations() just use that without having to re-compile anything. I can state this explicitly, but there's nothing the user has to do, right?

Yeah, I think that's right, but I haven't witnessed it myself yet. If so, we should state it though. Maybe @jcushman can confirm.


Use the Storage trait

This is a draft of changes applicable after https://github.com/AleoHQ/snarkVM/pull/97 is merged, most notable of which are:

Node, Consensus and RpcImpl become generic over Storage
snarkos-storage gains 2 new features, mem_storage and rocksdb_storage, the latter being the default
the RpcImpl object is refactored a bit, loses the lock over MerkleTreeStorage (unnecessary) and the new_secondary_storage_instance method (it is somewhat incompatible with the potentially in-memory-only storage options and the RPC instance already runs in secondary storage mode by default)
MemDb and RocksDb objects that implement the Storage trait are introduced in snarkos-storage
rocksdb is now an optional dependency (but still used by default)
storage/tests/mod.rs is removed, as those tests are pretty basic/synthetic and incompatible with generic storage backends

In order to limit the immediate impact of this big set of changes, the RPC implementation, at least the one in snarkos::main, currently expects the RocksDB backend to be used. This limitation can be lifted later on.
The PR is a draft due to its dependency on a branch containing the pending snarkVM changes; once it's merged, the last commit can be dropped, and the snarkvm-X dependencies need to be updated.

Note: I introduced a network feature to snarkos-testing, so that snarkVM can depend on it without having to pull all the network-specific dependencies; it is also the reason why MinerInstance was moved to snarkos-network/consensus, which is a much more fitting right place for it.


Demo code shown for change to Register.cshtml is duplicated

This documentation needs a little tweaking: The demo code shown for the Areas/Identity/Pages/Account/Register.cshtml is repeated.  See the highlighted markup section, and the two DIV elements directly below it.  The Input.Name and Input.DOB sections are present twice.

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

ID: 431df4fc-4168-cc8f-d053-9b264d2971c1
Version Independent ID: cd157d04-d596-83fa-6edb-24d52193eb34
Content: Add, download, and delete custom user data to Identity in an ASP.NET Core project
Content Source: aspnetcore/security/authentication/add-user-data.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

@scraping-infinity  nice catch - thanks for reporting.


refactor project

Refactor entire project Structure
Done:

Moved files into discrete directories
Fixed pathing for all files
Updated LEDManager
Fixed ISO warning about assinging const char * to char*

Needs to be done:

need to fix Statemanager to get rid of the linking error

Currently the code-base compiles but does not link due to a linking error with the template class. I am in the process of fixing this - will be done by today (hopefully).

@lorow what do you think?


Error Switch Between mode Standard / Standalone

Describe the bug
I have manage integrated 2 modes in my app (one instance) (Standard: '@web3modal/html' + Standalone: '@web3modal/standalone').
Each mode independently works fine, but if I launch the standalone mode (one or several times), the standard mode doesn't work anymore (openModal seems to stop working, no display, and no logs in the console).
if I refresh the page, the standard mode works again (I try delete LocalStorage, it has no effect)
import { Web3Modal as Web3ModalHTML } from '@web3modal/html'
import { Web3Modal as Web3ModalStandalone } from '@web3modal/standalone'

Mode standard:

          const ethereumClient = new EthereumClient(wagmiClient, chains)
          this.web3Modal = new Web3ModalHTML(
            {
              projectId: PROJECT_ID,
              themeMode: 'dark',
              themeColor: 'green',
              standaloneChains: undefined
            },
            ethereumClient
          )
          await this.web3Modal.openModal()

Mode standalone:

          const ethereumClient = new EthereumClient(wagmiClient, chains)
          this.web3Modal = new Web3ModalStandalone(
            {
              projectId: PROJECT_ID,
              themeMode: 'dark',
              themeColor: 'green',
              standaloneChains: undefined
            },
            ethereumClient
          )
          await this.web3Modal.openModal()

SDK Version

Version [2.0.0]

Desktop (please complete the following information):

OS: [Mac OS]
Browser [Chrome, Safari]

Using both is almost certain to cause bugs, I don't think we have any plans to support this use case, so a custom fork might be required. Out of curiosity, why do you want to use both? If it is to support WalletConnect v2, that will be coming to react/html packages soon.

We allow the connection of several wallets with different chains of EVM, for example Stellar (WalletConnect V2), and it is unfortunate that we have to reload the page each time we (users) change chainID. The problem is you should have a method of resetting you states. For the moment the only quick and working method is this one:
import { OptionsCtrl } from '@web3modal/core'

OptionsCtrl.setIsStandalone(false)
OptionsCtrl.setIsDataLoaded(false)
OptionsCtrl.setIsUiLoaded(false)
OptionsCtrl.setStandaloneChains([])
OptionsCtrl.setStandaloneUri(undefined)

There is complexity of managing wagmi (managed evm) and reacting to some external events here (in html package) while supporting non evm chains as well. I think best case scenario for you is to just use standalone mode for all your chains, as it will provide most stable experience around multi chain via sign sdk.
There are methods to reset states, but these are for internal use only, hence not documented and using controllers in the way above can be risky as it can lead to unexpected state bugs either now or in future updates. You should only use web3Modal instance as per docs.


[BUG]

Describe the bug
the customization is quite nice but it thuroughly and agressively disables my nvidia gpu card (3060) can u modify the code so it doesnt touch the gpu?
Expected behaviour
optimize network and base system, leave gpu configuration intact
Logs
Linux (please complete the following information):

OS:
ubuntu lts 24.02

Additional context
sudo apt install -f nvidia550firmware
sudo apt install -f nvidia550generic.driver
sudo apt install -f nvidia550kernel
install but do not switch to the proper driver
changing the ubuntu "additional driver" gui back and forth from x.org do not succeed
forcing a system update is not possible as im running the latest version
seriously tho wonderfull optimizations, my only recommendations would be to disable auto tuning and pin it to maximum speed for network and use ctcp congestion control provider, cubic is newer but worse.

sudo su
apt-get remove --purge '^nvidia-.'
apt-get remove --purge '^libnvidia-.'
apt-get remove --purge '^cuda-.'
apt list nv
#//libnvidia-compute-550 was used and isa headless gpu from zan1 package conflicts with all other nvidia components
nvidia-compute hold|dpkg --set-selections
apt upgrade nvidia*
apt install -f nvidia-kernel-common-550
apt install -f nvidia-firmware-550-550.67
apt install -f nvidia-utils-550
sleep 500
reboot

You'll see no GPU optimization commands if you look at the code and optimizations. The script would not touch anything GPU-related.
The congestion control is BBRv3 (if XanMod is installed), as BBRv3 is the latest Google update for BBrv2 and the most stable and low-latency congestion control.

it removes the drivers by changing the kernel itself
On Saturday, June 15, 2024 at 01:51:53 AM MST, Hawshemi<EMAIL_ADDRESS>wrote:

You'll see no GPU optimization commands if you look at the code and optimizations. The script would not touch anything GPU-related.
The congestion control is BBRv3 (if XanMod is installed), as BBRv3 is the latest Google update for BBrv2 and the most stable and low-latency congestion control.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

so to better optimize your script i would simply suggest converting all the other options into the default option 1, then for option 2 install zan kernel also this works fine
sudo su| apt update -q && apt install -y wget|sudo -i|wget "https://raw.githubusercontent.com/hawshemi/Linux-Optimizer/main/linux-optimizer.sh" -O linux-optimizer.sh && chmod +x linux-optimizer.sh && bash linux-optimizer.sh

feel free to purge these comments once the changes have been made o/

Yes. Thanks for the comment. I'll make sure to add it.
But as you may know, this script is intended to run on Linux Servers like VPS, VDS, Dedicated Servers, and ...


Testing Jest Documentation Outdated

Platform: Mac 10.11.6 El Capitan
React Native Version: 0.30.0
The documentation for testing with jest doesn't work as described.
Will result in the following screenshot

cc @cpojer

Please use http://facebook.github.io/jest/docs/tutorial-react-native.html#content
(there is a small issue with 0.31 right now but we are fixing that).


You should add a README file. For better understanding...

Your project could benefit from a README file. It would help explain the game's purpose, installation steps, controls, and features. Clear documentation improves understanding and attracts potential contributors.

done!, if {
suggestions let me know
} else {
close issue #15
}


Can a royalty distributed over all the NFT's of a collection?

For example, if i have a collection with 100 non-fungible token, and each that can be minted only 1 time, i would like to give a royalty to all toher 99 NFT owner whenever a transaction occurs on any of them.
Is it possible?

Easiest way to do this would probably be to direct royalties to a splitter smart contract (e.g., OpenZeppelin) that monitors ownership of your tokens.


Suggest widget: does not allow to resize when limited space

Testing #109394
A bit of a corner case.

Have the suggest widget that it is rendered above the cursor
Hold the up sash to resize it, hold it all the way below the suggest widget. Still holding it try to move it all the way up -> stops resizing at some point

🤦 I filed a duplicate of that: https://github.com/microsoft/vscode/issues/109569. At least I have fixed it...

/duplicate of https://github.com/microsoft/vscode/issues/109569


Question: Anything here bannable?

Hello, was wondering if features like mass-reporting, quick champ buy are bannable? Can I get flagged somehow?

Haven't gotten any bans, everything LAM does is what league & riotclient does already, worst case you get ratelimited and have to wait few seconds. Only way to get banned is if you advertice that you know other peoples usernames in champ select and another player decies to ticket you.


Implement ABI-based codec

Implement an ABI-based codec, similar to the one existing in js-core.
ETA: ~15 July 2023.

See https://github.com/multiversx/mx-sdk-py.


nncp: check status unknown before validate

Short description:
Check unknown status instead of progressing in NNCP.
More details:
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for reviewer:
Bug:

/verified

/approve

/approved


chunk_count error

Started looking into the duckdb_result_chunk_count functions which is giving a memory error. The implementation mirrors the columns_count function so not sure why this one is not working.
run valgrind on the test below shows the error comes from that function but no other clues.
valgrind output

root@0671f8782815:/workspaces/duckdb# fpm test --runner='valgrind --track-origins=yes'
Project is up to date
==8033== Memcheck, a memory error detector
==8033== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==8033== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
==8033== Command: build/gfortran_2A42023B310FA28D/test/duckdb-test
==8033==
# Testing: starting_database
  Starting simple-startup ... (1/2)
       ... simple-startup [PASSED]
  Starting multiple-startup ... (2/2)
       ... multiple-startup [PASSED]
# Testing: test_fortran_api
  Starting basic-api-test ... (1/8)
       ... basic-api-test [PASSED]
  Starting basic-null-test ... (2/8)
       ... basic-null-test [PASSED]
  Starting basic-string-test ... (3/8)
       ... basic-string-test [PASSED]
  Starting basic-bool-test ... (4/8)
       ... basic-bool-test [PASSED]
  Starting basic-insert-test ... (5/8)
       ... basic-insert-test [PASSED]
  Starting basic-errors-test ... (6/8)
       ... basic-errors-test [PASSED]
  Starting parquet-api-test ... (7/8)
       ... parquet-api-test [PASSED]
  Starting data-chunk-test ... (8/8)
==8033== Invalid read of size 8
==8033==    at 0x59C6358: duckdb_result_chunk_count (in /usr/local/lib/libduckdb.so)
==8033==    by 0x1104EB: __duckdb_MOD_duckdb_result_chunk_count (duckdb.f90:1234)
==8033==    by 0x10B9F7: __test_fortran_api_MOD_test_data_chunk (test_fortran_api.f90:476)
==8033==    by 0x11CC17: __testdrive_MOD_run_unittest (testdrive.F90:392)
==8033==    by 0x11D537: __testdrive_MOD_run_testsuite (testdrive.F90:336)
==8033==    by 0x10A95F: MAIN__ (main.f90:19)
==8033==    by 0x10AA47: main (main.f90:3)
==8033==  Address 0x2e is not stack'd, malloc'd or (recently) free'd
==8033==

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0  0x6bad08b in ???
#1  0x6bac047 in ???
#2  0x580b917f in ???
#3  0x59c6358 in ???
#4  0x1104eb in __duckdb_MOD_duckdb_result_chunk_count
        at ./src/duckdb.f90:1234
#5  0x10b9f7 in test_data_chunk
        at test/test_fortran_api.f90:476
#6  0x11cc17 in run_unittest
        at build/dependencies/test-drive/src/testdrive.F90:392
#7  0x11d537 in __testdrive_MOD_run_testsuite
        at build/dependencies/test-drive/src/testdrive.F90:336
#8  0x10a95f in tester
        at test/main.f90:19
#9  0x10aa47 in main
        at test/main.f90:3
==8033==
==8033== Process terminating with default action of signal 11 (SIGSEGV)
==8033==    at 0x6E3F200: __pthread_kill_implementation (pthread_kill.c:44)
==8033==    by 0x6DFA67B: raise (raise.c:26)
==8033==    by 0x580B917F: ??? (in /usr/libexec/valgrind/memcheck-arm64-linux)
==8033==
==8033== HEAP SUMMARY:
==8033==     in use at exit: 1,271,842 bytes in 8,363 blocks
==8033==   total heap usage: 422,242 allocs, 413,879 frees, 62,431,997 bytes allocated
==8033==
==8033== LEAK SUMMARY:
==8033==    definitely lost: 848 bytes in 30 blocks
==8033==    indirectly lost: 13,811 bytes in 188 blocks
==8033==      possibly lost: 125,120 bytes in 44 blocks
==8033==    still reachable: 1,132,063 bytes in 8,101 blocks
==8033==                       of which reachable via heuristic:
==8033==                         newarray           : 31,368 bytes in 1 blocks
==8033==         suppressed: 0 bytes in 0 blocks
==8033== Rerun with --leak-check=full to see details of leaked memory
==8033==
==8033== For lists of detected and suppressed errors, rerun with: -s
==8033== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
Segmentation fault
<ERROR> Execution failed for object " duckdb-test "
<ERROR>*cmd_run*:stopping due to failed executions
STOP 1

@freevryheid would you mind taking a look at the data chunk interface and let me know if you think this looks alright? the test doesn't trigger these yet because of the chunk_count error.


Request: Expose as function

I was hoping to use outdent within a Jasmine Matcher:
 expect(expected).toEqualMultiline(
        `
        Object included invalid value(s)
          – Key '${key1}': Wasn't Array
          – Key '${key2}': Wasn't Boolean`
      )

Then within the matcher I was hoping to do:
export default (received, expected) => {
  const expectedOutdented = outdent(expected)
  const pass = equals(received, expectedOutdented)
...

However it appears that outdent cannot be used as a function.
outdent(expected) // Cannot convert undefined or null to object
        at hasOwnProperty (<anonymous>)
outdent({})(expected) // Returns a function

I also tried:
outdent`${expected}` // Has no effect on the supplied string.

So it would be great if you could expose outdent as a function in the way dedent does.
FWIW the only workaround is to use outdent in every test:
 expect(expected).toEqual(outdent(
        `
        Object included invalid value(s)
          – Key '${key1}': Wasn't Array
          – Key '${key2}': Wasn't Boolean`
      ))

You should invoke your Jasmine matcher as a template tag.
expect(expected).toEqualMultiline `
        Object included invalid value(s)
          – Key '${key1}': Wasn't Array
          – Key '${key2}': Wasn't Boolean`

Let me know if that does the trick.

I can offer some insight on why we don't remove indentation from expected for the following:
outdent`${expected}` // Has no effect on the supplied string.

This behavior is by design.  outdent is meant to mimic a static source code transformation, so that it might be implemented as a compile-time transformation in the future.  Removing indentation from the interpolated values is a runtime behavior; outdent intentionally avoids this.  It's also unreliable and confusing if outdent's behavior is affected by the interpolated values rather than being strictly controlled by template as it is seen in the source code.

That works a treat. Thankyou.

This behavior is by design

Yes. This makes sense now.

Hello,
I would like to outdent any code being pasted into a CodeMirror editor.
It would be like this :
this.cmInstance().on('beforeChange', (cm, change) => {
    if(change.origin === 'paste')
        change.update(null, null, outdent(change.text));
});

But I need this feature to make it work.
Thanks

We already have this.  From the readme:

Outdent can also remove indentation from plain strings via the string method.


Collapsible - add depth indication for nested collapsibles

For nested collapsible, add an HTML attribute which indicates the depth-level of nested Collapsible components, for example:

Codesandbox demo

This ticket should actually move to webrix-docs


GEODE-9735: Do not copy entries that have been updated after the comm…

…and was run

For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[ ] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[ ] Is your initial contribution a single, squashed commit?

[ ] Does gradlew build run cleanly?

[ ] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

If the region has concurrency-checks-enabled=false, the mustDiscardEntry method throws an NPE like:
[error 2022/01/07 13:57:27.095 PST ln-1 <WAN Copy Region Function Execution Processor1> tid=0x87] Exception occurred attempting to wan-copy region
java.lang.NullPointerException
	at org.apache.geode.management.internal.cli.functions.WanCopyRegionFunctionDelegate$EventCreatorImpl.mustDiscardEntry(WanCopyRegionFunctionDelegate.java:440)
	at org.apache.geode.management.internal.cli.functions.WanCopyRegionFunctionDelegate$EventCreatorImpl.createEvent(WanCopyRegionFunctionDelegate.java:387)
	at org.apache.geode.management.internal.cli.functions.WanCopyRegionFunctionDelegate$EventCreatorImpl.createEventForReplicatedRegion(WanCopyRegionFunctionDelegate.java:359)
	at org.apache.geode.management.internal.cli.functions.WanCopyRegionFunctionDelegate$EventCreatorImpl.createGatewaySenderEvent(WanCopyRegionFunctionDelegate.java:341)
	at org.apache.geode.management.internal.cli.functions.WanCopyRegionFunctionDelegate.createBatch(WanCopyRegionFunctionDelegate.java:179)
	at org.apache.geode.management.internal.cli.functions.WanCopyRegionFunctionDelegate.wanCopyRegion(WanCopyRegionFunctionDelegate.java:106)
	at org.apache.geode.management.internal.cli.functions.WanCopyRegionFunction.lambda$executeFunctionInService$0(WanCopyRegionFunction.java:159)

To get that stack in the server log, I added this catch block to WanCopyRegionFunctionDelegate.wanCopyRegion:
} catch (Exception e) {
  logger.error("Exception occurred attempting to wan-copy region", e);
  return new CliFunctionResult(memberName, CliFunctionResult.StatusState.ERROR,
      "Exception occurred attempting to wan-copy region: " + e);

That produced this in the gfsh output:
Member | Status | Message
------ | ------ | --------------------------------------------------------------------------------
ln-2   | OK     | Sender ny-serial is serial and not primary. 0 entries copied.
ln-1   | ERROR  | Exception occurred attempting to wan-copy region: java.lang.NullPointerException

You might want to add something similar to catch any other random exceptions.
In the replicated and partitioned with parallel sender cases, the version stamp is null:
((NonTXEntry) entry).getRegionEntry().getVersionStamp()

In the partitioned with serial sender case, the version tag is null:
((EntrySnapshot) entry).getVersionTag()

I think the mustDiscardEntry method will have to return false in these cases.

If the region has concurrency-checks-enabled=false, the mustDiscardEntry method throws an NPE like:
[error 2022/01/07 13:57:27.095 PST ln-1 <WAN Copy Region Function Execution Processor1> tid=0x87] Exception occurred attempting to wan-copy region
java.lang.NullPointerException
	at org.apache.geode.management.internal.cli.functions.WanCopyRegionFunctionDelegate$EventCreatorImpl.mustDiscardEntry(WanCopyRegionFunctionDelegate.java:440)
	at org.apache.geode.management.internal.cli.functions.WanCopyRegionFunctionDelegate$EventCreatorImpl.createEvent(WanCopyRegionFunctionDelegate.java:387)
	at org.apache.geode.management.internal.cli.functions.WanCopyRegionFunctionDelegate$EventCreatorImpl.createEventForReplicatedRegion(WanCopyRegionFunctionDelegate.java:359)
	at org.apache.geode.management.internal.cli.functions.WanCopyRegionFunctionDelegate$EventCreatorImpl.createGatewaySenderEvent(WanCopyRegionFunctionDelegate.java:341)
	at org.apache.geode.management.internal.cli.functions.WanCopyRegionFunctionDelegate.createBatch(WanCopyRegionFunctionDelegate.java:179)
	at org.apache.geode.management.internal.cli.functions.WanCopyRegionFunctionDelegate.wanCopyRegion(WanCopyRegionFunctionDelegate.java:106)
	at org.apache.geode.management.internal.cli.functions.WanCopyRegionFunction.lambda$executeFunctionInService$0(WanCopyRegionFunction.java:159)

To get that stack in the server log, I added this catch block to WanCopyRegionFunctionDelegate.wanCopyRegion:
} catch (Exception e) {
  logger.error("Exception occurred attempting to wan-copy region", e);
  return new CliFunctionResult(memberName, CliFunctionResult.StatusState.ERROR,
      "Exception occurred attempting to wan-copy region: " + e);

That produced this in the gfsh output:
Member | Status | Message
------ | ------ | --------------------------------------------------------------------------------
ln-2   | OK     | Sender ny-serial is serial and not primary. 0 entries copied.
ln-1   | ERROR  | Exception occurred attempting to wan-copy region: java.lang.NullPointerException

You might want to add something similar to catch any other random exceptions.
In the replicated and partitioned with parallel sender cases, the version stamp is null:
((NonTXEntry) entry).getRegionEntry().getVersionStamp()

In the partitioned with serial sender case, the version tag is null:
((EntrySnapshot) entry).getVersionTag()

I think the mustDiscardEntry method will have to return false in these cases.

Good catch!


feat: add Startify highlighting group

Okay so I added the Startify highlighting group, I feel like I'm the one of the few who still use it, but I added the colors so I thought I might as well make a pull request. Not sure if I'm doing this correctly since this is my first pull request on GitHub.
I think the changes made the theme way easier on the eyes and I feel like it fits Doom well.
Let me know what you think, I provided some screenshots.
Before:

After:

Thank you so much!


Thubmnail modification

I am wondering for a script that will also add a thumbnail file from the local storage in publish modal on same instance.

hmm yes this could be done, it wouldn't even need to be local storage. you can probably modify the "input" component so that it contains the bytes for an image. sadly I don't have much time to work on it right now


Problem handling notifications

I'm trying to implement notification handling using the Adyen server-to-server communication (i.e. not the redirect feedback from the browser at the time of payment - that's working fine). handle_payment_notification is throwing an exception about a missing currency field for every test notification I post from the Adyen CA.
Here're some examples of the notification data being POSTed from Adyen:
{"live":"false","notificationItems":[{"NotificationRequestItem":{"amount":{"currency":"GBP","value":35323},"eventCode":"MANUAL_REVIEW_REJECT","eventDate":"2015-12-12T07:51:56+01:00","merchantAccountCode":"XYZ","merchantReference":"itIDu6_-U0J6xTaK","pspReference":"jJAGY9CPs01Pl","success":"false"}}]}

{"live":"false","notificationItems":[{"NotificationRequestItem":{"additionalData":{"cardSummary":"7777","shopperIP":"<IP_ADDRESS>","totalFraudScore":"10","expiryDate":"12\/2012","billingAddress.street":"Nieuwezijds Voorburgwal","cardBin":"976543","extraCostsValue":"101","billingAddress.city":"Amsterdam","threeDAuthenticated":"false","alias":"H934380689410347","shopperInteraction":null,"paymentMethodVariant":"visa","billingAddress.country":"NL","fraudCheck-6-ShopperIpUsage":"10"," NAME1 ":"VALUE1","authCode":"1234","cardHolderName":"J. De Tester","threeDOffered":"false","billingAddress.houseNumberOrName":"21 - 5","threeDOfferedResponse":"N\/A","NAME2":"  VALUE2  ","billingAddress.postalCode":"1012RC","issuerCountry":"unknown","threeDAuthenticatedResponse":"N\/A","aliasType":"Default","extraCostsCurrency":"EUR"},"amount":{"currency":"EUR","value":10100},"eventCode":"AUTHORISATION","eventDate":"2015-12-15T08:48:56+01:00","merchantAccountCode":"XYZ","merchantReference":"8313842560770001","operations":["CANCEL","CAPTURE","REFUND"],"paymentMethod":"visa","pspReference":"test_AUTHORISATION_1","reason":"1234:7777:12\/2012","success":"true"}}]}

{"live":"false","notificationItems":[{"NotificationRequestItem":{"amount":{"currency":"EUR","value":1100},"eventCode":"PENDING","eventDate":"2015-12-15T09:18:00+01:00","merchantAccountCode":"XYZ","merchantReference":"testMerchantRef1","paymentMethod":"paypal","pspReference":"8313842560770001","success":"true"}}]}

Am I missing something, or is django-oscar-adyen not meant to be handling these notifications? The code mentions something about client code having to handle exceptions about missing fields and so on, but I'm not certain what I'm expected to do at this point...

The code is designed to handle POST notifications by Adyen.
In your examples, I see that the currency is nested within the amout: "amount":{"currency":"GBP","value":35323}. I don't think I've seen that before.
I suspect that you receive a more recent format that what the library currently handles. Or perhaps your account is configured with more notification or different notifications from those we've tested.

Thanks for the feedback, I figured it out... By default, Adyen sets the notification format to JSON, which is a more elegant format for the complex nested notification data they sometimes send. Switching to HTTP POST put the data in the format expected by django-oscar-adyen.


Best parameters for a layperson

Hello - thanks for this repo. I unsuccessfully tried running several SampleRNN forks which were outdated and couldn't work on a modern CUDA toolkit.
I want to run some experiments, train some music. Right now, for example, I'm trying to generate an imitation/fake of the band Periphery. I've downloaded every Periphery song, resampled to 16kHz mono, chunked with the chunk script.
My next step is to follow what's in your README:
python train.py --id periphery_only --data_dir ./experiment-1/periphery-chunks/ --num_epochs 100 --batch_size 64 --sample_rate 16000

Are the default parameters "good enough" for this use case, to generate music in imitation of an artist? Thanks.

Hi there, thanks for your interest in the code, and apologies for the slight delay in responding. Indeed, the other available implementations are all broken, it seems... I was able to get the samplernn-pytorch version working, sort of, but only by installing specific, older versions of most of the required libraries. But even that implementation looks to be unmaintained now, just like the others. This was part of the motivation for 'reviving' SampleRNN.
Training neural networks is, ironically, more of an art than a science, and depends on a lot of trial and error... So I'd say just dive into it with the default settings initially, and then see what results you get. I tend to switch off generation for the first couple of ecperiments, until I know I'm going to get something reasonable, or on the way to 'good enough'... I might train for about 250 epochs, and save checkpoints every 10 epochs. Of course it depends on the size of your dataset... I'm currently training on a Shostakovich symphony, downsampled to 16k with 8 second chunks, and on my RTX Titan card it's going to take about 16 hours (250 epochs). So be prepared to wait a while! Perhaps being with a reduced dataset... although be careful of going too low, a small dataset is typically prone to overfitting (where the network just memorizes the dataset, eventually).
The next big update to the repo is going to add a validations step, which I wasn't able to implement until now... Validation involves reserving a certain number (say, 1%) of input chunks, then at the end of each epoch the network is exposed to this mini-dataset but not trained on them... So it's always seeing fresh data to which it hasnt be exposed before. This can be an important factor in avoiding over/underfitting, and tweaking hyperparameters. This will all be automated, all you'll need to do is specify the train/validate split. I'll be puching that update out next week, keep an eye out for it.
BTW, what card have you got?

I have an RTX 2070 Super. My initial data sets consist of 4 albums of Periphery (~4 hours of music - instrumental metal, downloaded from these playlists):
# youtube playlists for instrumental Periphery albums - Periphery III, I, II, IV, Omega, Juggernaut
periphery_album_1="PLSTnbYVfZR03JGmoJri6Sgvl4f0VAi9st"
periphery_album_2="PL7DVODcLLjFplM5Rw-bNUyrwAECIPRK26"
periphery_album_3="PLuEYu7jyZXdde7ePWV1RUvrpDKB8Gr6ex"
periphery_album_45="PLEFyfJZV-vtKeBedXTv82yxS7gRZkzfWr"
periphery_album_6="PL6FJ2Ri6gSpOWcbdq--P5J0IRcgH-4RVm"

youtube-dl -ci -f "bestaudio" -x --audio-format wav -i ${periphery_album_1}
youtube-dl -ci -f "bestaudio" -x --audio-format wav -i ${periphery_album_2}
youtube-dl -ci -f "bestaudio" -x --audio-format wav -i ${periphery_album_3}
youtube-dl -ci -f "bestaudio" -x --audio-format wav -i ${periphery_album_45}
youtube-dl -ci -f "bestaudio" -x --audio-format wav -i ${periphery_album_6}

All mono, downsampled to 16k, chopped into 8 second chunks (using your chunk_audio.py script with audio silence removal).
The training (100 epochs) has been running for 2 days and counting. My main goal here is to see whether I can recreate other neural network musicians e.g. https://dadabots.com/
I believe that in their workflows, the final step involves generating hours upon hours of music from the trained models, and then hand-curating the generated music; i.e. it's very unrealistic to expect a generated set of samples to sound like a cohesive song.
Thanks for replying - if you're interested I can share my results (if I end up creating any sort of funky music).


[Views] Core library updates

Where could one read more about this Views feature? Unfortunately I could not find it in the language repo. Is that a library-only change?

@shilangyu you can check these two proposals to get the idea:
https://github.com/dart-lang/language/blob/master/working/1426-extension-types/feature-specification-views.md
https://github.com/dart-lang/language/blob/master/working/extension_structs/overview.md
tldr is that views provide a way to define a non-reified type, which only exists as a separate entity during compilation and is erased in runtime. It's a zero-overhead to provide a wrapper (with its own helper methods) around an existing representation type.

Please note that this feature has been renamed: It is now the 'inline class' feature.


AbsHoudini tests need to be enabled and fixed

The tests in Test/AbsHoudini are currently disabled because some of them are broken. This is bad because we aren't tracking regressions introduced for this feature.
UNRESOLVED: Boogie :: AbsHoudini/f1.bpl (1 of 32)
UNRESOLVED: Boogie :: AbsHoudini/imp1.bpl (7 of 32)
UNRESOLVED: Boogie :: AbsHoudini/int1.bpl (8 of 32)
UNRESOLVED: Boogie :: AbsHoudini/multi.bpl (9 of 32)
FAIL: Boogie :: AbsHoudini/quant3.bpl (24 of 32)
FAIL: Boogie :: AbsHoudini/quant5.bpl (25 of 32)

The the lit.local.cfg file needs to removed from the directory and then those tests need to be fixed.

@akashlal : Do you want to continue to maintain AbsHoudini?

I do not. We can let the tests be deprecated (i.e., maintain status quo)

Closing this issue.


live server

,
When I click on live server it shows me first image and when i click on settings to change it, it shows me second image.

/causedByExtension

Please send me steps to fix this issue I am new to this. Sent from Mail for Windows 10 From: VS Code Issue Triage BotSent: 14 February 2021 18:16To: microsoft/vscodeCc: chhabra-consultants; AuthorSubject: Re: [microsoft/vscode] live server (#116632) This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines.Happy Coding!—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

Please send me steps to fix this issue I am new to this.  Sent from Mail for Windows 10 From: VS Code Issue Triage BotSent: 14 February 2021 18:16To: microsoft/vscodeCc: chhabra-consultants; AuthorSubject: Re: [microsoft/vscode] live server (#116632) Closed #116632.—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

Please send me steps to fix this issue I am new to this. Sent from Mail for Windows 10 From: John MurraySent: 14 February 2021 18:15To: microsoft/vscodeCc: chhabra-consultants; AuthorSubject: Re: [microsoft/vscode] live server (#116632) /causedByExtension—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.


[Q] Display changes between artefact versions

Hi, I have two versions of an artifact containing images (added by specifying a folder path to .add_reference() ). The only difference between the two artifact versions is that in the second one contains more files than the first one. When I compare the two artefacts in the wands UI, I can see the list of files from both versions side-by-side, but it doesn't highlight the differences between the two versions. Is there a way to highlight the differences between artifact versions (just like with git code differences) ?

Hello @DavidoF3 !
There isn't a way to highlight the differences between artifacts but I can certainly make a feature request for you to add this in!

Hi @rsanandres-wandb that would be great!


Create Unit / Integration Tests

Description
To ensure default functionality is preserved between new releases, need to create tests on most core functionality. This will also allow for easier contributions in the future.
Required Tests

[x] - EasyRpcProxy -> EasyRpcServer - testing core functionality of proxy methods, generators, method discovery, namespace isolation, authentication.
[x] - EasyRpcServer -> EasyRpcServer - testing server_proxy functionality - extending proxy tests to include:  bidirectional method discovery, clustering & sharing across multiple endpoints,

Completed in #4


Add elasticsearch as opentelemetry receiver

https://www.elastic.co/guide/en/apm/guide/current/open-telemetry.html

Add this as a monitoring stack as described in #78


Command::getMonologBridge()

https://github.com/kamilsk/TinkoffCurrencyAnalyst/commit/e2b3276387aa7416a83502d829062c537c1fd525#diff-15f897c8944546c1af467bd8fd153c45R50

mistake project https://github.com/kamilsk/CilexServiceProviders/issues/102


Add support for stop sandbox

This is the first step to support stop sandbox for realdb. Normally, if a pod is down the operator will try to restart it. However, for the realdb use case we want to be able to stop a standbox and to prevent the operator from restarting it until we decide otherwise.
This adds the logic to stop_db a sandbox when spec.sandboxes[].shutdown is true, a new reconciler has been added to the vdb controller to wake up the sandbox controller. As long as that field is true, the operator will ignore the sandbox's pods. As soon as it is set to false, the operator will restart the sandbox.
Scaling down the sts and adding webhook rules will be done on a follow-up ticket.

Besides this, do we support unsandboxing a sandbox that is stopped? Should we error it out in webhook or we internally restart the sandbox first, then unsandbox it.

No, we are not going to support it. We should restrict what the operator can do when shutdown is true. We will enforce it with  a set of webhook rules.

@cchen-vertica Given that status.sandboxes[].shutdown is confusing too you, I will remove it. After stop_db on sandbox, I will update spec.subclusters[].shutdown to true(. I will add a separate reconciler(stopsubcluster_reconciler) that will iterate over the subclusters and if spec shutdown is true will stop the subcluster(if at least one node is up or the subcluster is not in a sandbox with shutdown == true) and will update status.subclusters[].shutdown to true.
When spec.subclusters[].shutdown is set back to false, the operator will startdb the sandbox and update both spec and status shutdown.
Do you find this reasonable?

I am keeping spec.sandboxes[].shutdown. It provides a straightforward and easy way to trigger sandbox shutdown. Moreover the primary use case realdb and it is easier to update a single field so we don't have to look up the subclusters.


[BUG] Cloud shell is not running the latest version and cannot be upgraded.

To Reproduce
Launch a cloud shell from the azure portal
Observed Behavior
VERBOSE: Authenticating to Azure ...
WARNING: You're using Az version 12.4.0. The latest version of Az is 13.0.0. Upgrade your Az modules using the following commands:
  Update-PSResource Az -WhatIf    -- Simulate updating your Az modules.
  Update-PSResource Az            -- Update your Az modules.
There will be breaking changes from 12.4.0 to 13.0.0. Open https://go.microsoft.com/fwlink/?linkid=2241373 and check the details.
VERBOSE: Building your Azure drive ...
PS /home/protected> update-psresource az
Update-PSResource: No installed packages were found with name 'az' in scope 'CurrentUser'. First install package using 'Install-PSResource'.

Expected behavior
Cloud shell should be using the latest version? Or,
This warning should be suppressed?
Is this specific to Cloud Shell?
Yes, I also can't seem to update the AZ modules from the cloud shell
Interface information
https://portal.azure.com
Edge on Windows 11

Hi @jonwbstr , Cloud Shell will update to the latest az cli and Az PowerShell module in January.  Thank you for reporting the issue self-upgrading, we will look into it for the future.


Add pre-commit hook + run fmt

See #1920
This is a minimal pre-commit config, to run cargo check, clippy and rustfmt.
I also ran pre-commit run -a to add some rustfmt changes.
There are plenty of other checks that we could add, for example shellcheck generates warning for some shell scripts, prettier can autoformat yaml or markdown files, but I wanted to keep minimal for a first addition.

@sylvestre @EdwardBetts regardless of execution speed, I don't think it's a good idea to run these commands on the whole repository. This PR itself is already a demonstration of why, this commit should only be adding the pre-commit hook files, but instead it also carries a bunch of changes in unrelated files due to running fmt on alll files.
I believe the best behavior of a pre-commit hook would be aborting the commit if any of the files in staging fail to satisfy fmt.

This PR itself is already a demonstration of why, this commit should only be adding the pre-commit hook files, but instead it also carries a bunch of changes in unrelated files due to running fmt on everything.

I took the liberty to manually run pre-commit run --all-files (the automated hook did not add thoses changes), because given the very low amount of added changes, it seemed obvious to me that the code adheres to a strict clippy/rustfmt discipline, and that someone just forgot to run rustfmt on its code. If you don't like it I can remove those changes. Again pre-commit by default runs only on files affected by the commit.

I believe the best behavior of a pre-commit hook would be aborting the commit if any of the files in staging fail to satisfy fmt.

That is exactly what the proposed hook does. It does not do changes in your back, it just cancels the commit.

@desbma I guess, I am mistaken, it sounds mostly all good then.


Update layout and add link in Community Contributions section on landing page

The layout of the text/image columns in the Community contributions section of the landing page needs updating according to the Figma mockup. In addition, add the external link to iNaturalist back to the bottom of the text block (see mockup).
Mockup:

Solved in https://github.com/IMERSS/xetthecum-storymap/commit/fb4959de235662e3afdfe2bd09b5cfc17f8ab97d