Possibility to render using slots

Currently the library wraps elements with div tags (Draggable & Container). Could this be changed so that it doesn't render any html and gives developer a scoped slot instead. If I understood the code correctly, it's not possibly to use this with table rows?
Simirlarly as here: https://github.com/adamwathan/vue-shopify-sortable-demo

I'll see if I have time to help you with this in a form of pull request

Would be super nice 🔥

Hello, I have added 'tag' property in 0.2.1.
See https://github.com/kutlugsahin/vue-smooth-dnd#tag
Hope that helps!
Feedbacks appreciated.

Excellent library - really neat! Would be amazing if the Container component could act as a transition-group. Understandably the tag has to be an html tag: tag="transition-group" gives "TypeError: n.removeChild is not a function" on render.

same issue, any solutions?


Adding a Linear Regression based Vehicle Price Predictor [based on R2 score]

💥 Hey! I would like to add a linear regression-based Vehicle Price Predictor, under the machine learning section.
Several input parameters like the model and distance travelled are taken into consideration to predict a final price for the car. The efficiency of the model is calculated using an R2 SCORE.
I want to work on this issue under GSSOC'23. I have previously worked on Machine Learning models for various prediction projects and would thus like to work on this.
Kindly assign this issue to me.

@parridhi Please provide the dataset.

The dataset was taken from "quikr.com"
The one I have attached is a cleaned version of the dataset, which I have used for my model.
cleancar.csv

@parridhi - you can go ahead! We are assigning you 21 days for this project, after which it will be assigned to someone else if not completed. All the best!  Name the file as: algorithm_dataset.ipynb and link it in the readme of the labeled directory as algorithm - dataset.

Sure! Thankyou so much.


Uncaught InvalidCharacterError: Failed to execute 'add' on 'DOMTokenList': The token provided ('highlight-selected light-theme background') contains HTML space characters, which are not valid in tokens.

Steps to reproduce:

highlight a word

Atom Version: 0.183.0
System: Mac OS X 10.10.2
Thrown From: Atom Core
Stack Trace
Uncaught InvalidCharacterError: Failed to execute 'add' on 'DOMTokenList': The token provided ('highlight-selected light-theme background') contains HTML space characters, which are not valid in tokens.
At /Applications/Atom.app/Contents/Resources/app/src/highlights-component.js:63

Error: Failed to execute 'add' on 'DOMTokenList': The token provided ('highlight-selected light-theme background') contains HTML space characters, which are not valid in tokens.
  at Error (native)
  at HighlightsComponent.module.exports.HighlightsComponent.updateHighlightNode (/Applications/Atom.app/Contents/Resources/app/src/highlights-component.js:63:33)
  at HighlightsComponent.module.exports.HighlightsComponent.updateSync (/Applications/Atom.app/Contents/Resources/app/src/highlights-component.js:47:28)
  at LinesComponent.module.exports.LinesComponent.updateSync (/Applications/Atom.app/Contents/Resources/app/src/lines-component.js:118:32)
  at TextEditorComponent.module.exports.TextEditorComponent.updateSync (/Applications/Atom.app/Contents/Resources/app/src/text-editor-component.js:213:27)
  at /Applications/Atom.app/Contents/Resources/app/src/text-editor-component.js:283:28
  at ViewRegistry.module.exports.ViewRegistry.performDocumentUpdate (/Applications/Atom.app/Contents/Resources/app/src/view-registry.js:159:9)
  at /Applications/Atom.app/Contents/Resources/app/src/view-registry.js:3:61

Commands
  3x -1:54.3 editor:move-to-end-of-word (atom-text-editor.editor.is-focused)
     -1:53.3 core:move-right (atom-text-editor.editor.is-focused)
     -1:53.0 editor:select-to-end-of-word (atom-text-editor.editor.is-focused)
  2x -1:49.7 core:save (atom-text-editor.editor.is-focused)
     -1:29.5 core:backspace (atom-text-editor.editor.is-focused)
  2x -1:24.0 core:save (atom-text-editor.editor.is-focused)
     -1:15.1 editor:select-to-end-of-word (atom-text-editor.editor.is-focused)
  2x -1:11.7 core:save (atom-text-editor.editor.is-focused)
     -0:56.6 core:move-right (atom-text-editor.editor.is-focused)
  2x -0:56.0 core:save (atom-text-editor.editor.is-focused)
  3x -0:32.8 find-and-replace:select-next (atom-text-editor.editor.is-focused)
     -0:27.8 core:move-left (atom-text-editor.editor.is-focused)
     -0:26.0 core:save (atom-text-editor.editor.is-focused)
     -0:25.0 core:move-to-top (atom-text-editor.editor.is-focused)
     -0:21.2 core:backspace (atom-text-editor.editor.is-focused)
  2x -0:20.2 core:save (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "ignoredNames": [
      ".git",
      ".svn",
      ".DS_Store"
    ],
    "disabledPackages": [
      "language-perl",
      "language-php",
      "language-python",
      "language-ruby-on-rails",
      "language-ruby",
      "todo-show",
      "glist",
      "omnisharp-atom",
      "minimap",
      "minimap-color-highlight",
      "minimap-find-and-replace",
      "minimap-git-diff",
      "minimap-highlight-selected",
      "minimap-selection",
      "live-archive",
      "styleguide",
      "autocomplete",
      "language-diff"
    ],
    "themes": [
      "one-light-ui",
      "monokai-light"
    ],
    "projectHome": "/Users/daniel/dev/ds"
  },
  "editor": {
    "fontFamily": "Source Code Pro for Powerline",
    "showIndentGuide": true,
    "scrollPastEnd": true,
    "invisibles": {},
    "fontSize": 15
  }
}

Installed Packages
# User
atom-alignment, v0.11.0
atom-beautify, v0.21.3
atom-color-highlight, v3.0.8
autocomplete-paths, v1.0.2
autocomplete-plus, v2.2.0
change-case, v0.5.1
coffee-compile, v0.10.0
color-picker, v1.4.4
file-icons, v1.4.11
filesize, v0.1.1
git-tab-status, v1.5.3
highlight-selected, v0.9.0
language-batch, v0.3.2
language-csharp, v0.5.0
language-fsharp, v0.8.4
last-cursor-position, v0.7.0
linter-less, v0.3.1
monokai-light, v0.3.6
script-runner, v1.7.0
set-syntax, v0.2.1
trailing-spaces, v0.2.4

# Dev
No dev packages

Looks like a duplicate of #5747


Doesn't work with jsx files sadly

It doesn't check jsx files by default. this can easily be fixed though by changing the regex (i'll open a PR in 5 seconds)

Nevermind. i see that prettier actually has a native hook for pre-commit - i'll simply use that instead.


fix tip brackets typo

What does this PR do?
fix typo in docs
Who can review?

Documentation: @muellerzr

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Makefile doesn't quote paths with spaces.

This is causing the build to fail, since it's trying to use a path with a space.
capybara-webkit v0.12.1
Ruby v2.0.0p481
OSX Yosemite 10.10.1
Note the line:  /bin/sh: /Volumes/Macintosh: No such file or directory where the actual path is /Volumes/Macintosh HD/

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    /Users/oshuma/.rbenv/versions/2.0.0-p481/bin/ruby -r ./siteconf20150113-82826-16gud6t.rb extconf.rb
cd src/ && /usr/local/bin/qmake /Users/oshuma/.rbenv/versions/2.0.0-p481/gemsets/audiogon/gems/capybara-webkit-0.12.1/src/webkit_server.pro -spec /usr/local/Cellar/qt/4.8.6/mkspecs/macx-g++ -o Makefile.webkit_server
cd src/ && /Volumes/Macintosh HD/Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.webkit_server
/bin/sh: /Volumes/Macintosh: No such file or directory
make: *** [sub-src-webkit_server-pro-make_default-ordered] Error 127

make "DESTDIR=" clean
cd src/ && /Volumes/Macintosh HD/Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.webkit_server clean
/bin/sh: /Volumes/Macintosh: No such file or directory
make: *** [sub-src-webkit_server-pro-clean-ordered] Error 127

make "DESTDIR="
cd src/ && /Volumes/Macintosh HD/Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.webkit_server
/bin/sh: /Volumes/Macintosh: No such file or directory
make: *** [sub-src-webkit_server-pro-make_default-ordered] Error 127

make failed, exit code 2

Gem files will remain installed in /Users/oshuma/.rbenv/versions/2.0.0-p481/gemsets/audiogon/gems/capybara-webkit-0.12.1 for inspection.
Results logged to /Users/oshuma/.rbenv/versions/2.0.0-p481/gemsets/audiogon/extensions/x86_64-darwin-14/2.0.0-static/capybara-webkit-0.12.1/gem_make.out
An error occurred while installing capybara-webkit (0.12.1), and Bundler cannot continue.
Make sure that `gem install capybara-webkit -v '0.12.1'` succeeds before bundling.

I can go into src/ and run make -f Makefile.webkit_server which compiles the extension just fine.

Looking at CapybaraWebkitBuilder.make_bin, I was able to work around this issue by setting the MAKE env variable (quoting spaces).

I'm not sure why the make path is expanded in your case, as when the MAKE environment variable was introduced, CapybaraWebkitBuilder.make_bin was simplified to make, instead of which make.
Can you confirm that the MAKE environment variable was not set by something else in your environment? Setting MAKE=make should work just as well as a full, quoted path.
I've successfully installed capybara-webkit on many a "Macintosh HD", so I expect something else may be causing this issue. capybara-webkit 0.12.1 is quite old at this point, so I'd recommend trying a newer release if possible.

I'm going to close this, since it's for a very old version and I'd prefer to concentrate on current bugs. If you're able to reproduce this on a recent version of capybara-webkit, please comment again.

I'm having a similar error with a fresh install on ubuntu
$ gem install capybara-webkit -v '1.3.1'
Building native extensions.  This could take a while...
ERROR:  Error installing capybara-webkit:
  ERROR: Failed to build gem native extension.

    /home/me/.rvm/rubies/ruby-2.1.5/bin/ruby -r ./siteconf20150129-17123-11p6l7f.rb extconf.rb
cd src/ && ( test -e Makefile.webkit_server || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/me/.rvm/gems/ruby-2.1.5/gems/capybara-webkit-1.3.1/src/webkit_server.pro -spec linux-g++ -o Makefile.webkit_server ) && make -f Makefile.webkit_server
Project ERROR: Unknown module(s) in QT: webkitwidgets
make: *** [sub-src-webkit_server-pro-make_first-ordered] Error 3
Command 'make' failed

make "DESTDIR=" clean
cd src/ && ( test -e Makefile.webkit_server || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/me/.rvm/gems/ruby-2.1.5/gems/capybara-webkit-1.3.1/src/webkit_server.pro -spec linux-g++ -o Makefile.webkit_server ) && make -f Makefile.webkit_server clean
Project ERROR: Unknown module(s) in QT: webkitwidgets
make: *** [sub-src-webkit_server-pro-clean-ordered] Error 3

make "DESTDIR="
cd src/ && ( test -e Makefile.webkit_server || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/me/.rvm/gems/ruby-2.1.5/gems/capybara-webkit-1.3.1/src/webkit_server.pro -spec linux-g++ -o Makefile.webkit_server ) && make -f Makefile.webkit_server
Project ERROR: Unknown module(s) in QT: webkitwidgets
make: *** [sub-src-webkit_server-pro-make_first-ordered] Error 3

make failed, exit code 2

Gem files will remain installed in /home/me/.rvm/gems/ruby-2.1.5/gems/capybara-webkit-1.3.1 for inspection.
Results logged to /home/me/.rvm/gems/ruby-2.1.5/extensions/x86_64-linux/2.1.0/capybara-webkit-1.3.1/gem_make.out

I have the same problem when I just do gem install capybara-webkit
Fetching: capybara-webkit-1.4.1.gem (100%)

@NullVoxPopuli, it looks like you do not have the required dependencies installed. This is a different issue. Check out the .travis.yml in the project root for an example of how to install the required dependencies on Ubuntu.

Ah ok. running sudo apt-get update && sudo apt-get install libqt5webkit5-dev qtdeclarative5-dev fixed the issue. thanks. :-)


Define documentation methods and locations

Currently, we have 2 separate documentation instances:

Gitlab Wiki
Sphinx Doc

We should make sure that there are solid definitions in place of what they contain and how to reduce confusion by not having stuff documented twice.

We should build the sphinx documentation with a GitHub workflow and then display it using GitHub Pages.


Session & connection timeout properties; Adding CuratorFrameworkCusto…

We currently don't have a simple mechanism to configure CuratorFramework's session and connection timeout. Since Curator 3.x users can affect how Curator handles re-connection, since the meaning of LOST was changed. In 3.x when the "Disconnected" is received Curator starts an internal timer. When the timer passes the negotiated session timeout Curator calls getTestable().injectSessionExpiration()
and posts a LOST state change.
In Curator 4.x the session timeout defaults to 60 seconds and the connection timeout to 15 seconds.
Ref:
private static final int DEFAULT_SESSION_TIMEOUT_MS = Integer.getInteger("curator-default-session-timeout", 60 * 1000);
private static final int DEFAULT_CONNECTION_TIMEOUT_MS = Integer.getInteger("curator-default-connection-timeout", 15 * 1000);

Proposed Solution
Offer a mechanism to configure the session and connection timeout and establish a mechanism to be able to customize the CuratorFramework for future-proofing.
We could avoid having two more properties, the session and connection timeouts, as part of ZookeeperProperties and let users define them on their CuratorFrameworkCustomizer. The current rational is that consolidating this two configuration properties as part of the spring.cloud.zookeeper configuration namespace is valuable and simplifies how they are used.
Additional Context

Curator will set the LOST state when it believes that the ZooKeeper session has expired.
ZooKeeper connections have a session. When the session expires, clients must take appropriate action.
In Curator, this is complicated by the fact that Curator internally manages the ZooKeeper connection.
Curator will set the LOST state when any of the following occurs:
a) ZooKeeper returns a Watcher.Event.KeeperState.Expired or KeeperException.Code.SESSIONEXPIRED;
b) Curator closes the internally managed ZooKeeper instance;
c) The session timeout elapses during a network partition. It is possible to get a RECONNECTED state after
this but you should still consider any locks, etc. as dirty/unstable.
Ref. Curator Errors

Warning: Curator 4.0.1 is affected by CURATOR-460: Timed tolerance for connection suspended leads to simultaneous leaders. This was addressed in 4.1.0.
Additional references:

TN14: ZooKeeper's Session Handling
CURATOR-460
Curator Errors

CuratorFrameworkCustomizer can't inject when I use "@Bean" ,It's sound like a problem about Loading order

@TJYS we have tests that create beans that prove it works.
If you can provide a complete, minimal, verifiable sample that reproduces the problem, please open a new issue. It should be available as a GitHub (or similar) project or attached to the new issue as a zip file.

@spencergibb if only "spring-cloud-starter-zookeeper-discovery" on the classpath, it works. BUT if I use "spring-cloud-starter-zookeeper-config" at the same time OR only use "spring-cloud-starter-zookeeper-config", it doesn't works. CuratorFrameworkCustomizer can't be injected.
I watched that "ZooKeeperAutoConfiguration" was loaded in different order.

Please open a new issue

OK! I had writen it. #249


FIPS: Fix compiler errors when building with -DFIPS_MODE

This commit contains two fixes:
Fix compiler error in rsa_chk.c
This file currently does not compile with -DFIPS_MODE.
~/src/openssl$ CFLAGS=-DFIPS_MODE perl ./Configure debug-linux-x86_64 enable-crypto-mdebug shared --strict-warnings --prefix=/opt/openssl-dev
~/src/openssl$ make

...

crypto/rsa/rsa_chk.c: In function 'RSA_check_key_ex':
crypto/rsa/rsa_chk.c:30:73: error: expected ')' before 'return'
             && rsa_sp800_56b_check_keypair(key, NULL, -1, RSA_bits(key))
                                                                         ^
                                                                         )
         return 0;
         ~~~~~~
crypto/rsa/rsa_chk.c:28:10: note: to match this '('
     if (!(rsa_sp800_56b_check_public(key)
          ^
crypto/rsa/rsa_chk.c:31:18: error: expected ')' before '}' token
         return 0;
                  ^
                  )
crypto/rsa/rsa_chk.c:242:1:
 }
 ~
crypto/rsa/rsa_chk.c:28:8: note: to match this '('
     if (!(rsa_sp800_56b_check_public(key)
        ^
crypto/rsa/rsa_chk.c:242:1: error: expected expression before '}' token
 }
 ^
crypto/rsa/rsa_chk.c:242:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1: all warnings being treated as errors
make[1]: *** [Makefile:10742: crypto/rsa/libcrypto-lib-rsa_chk.o] Error 1
make[1]: Leaving directory '/home/msp/openssl/openssl'
make: *** [Makefile:165: all] Error 2

Note: To my surprise it seems like it is broken since  July 5, 2018 (commit 8240d5fa653). But maybe it's because I configured it in a non-standard fashion by adding the -DFIPS_MODE flag explicitly?
I did this in order to take a look at the CRNG test (#8790), because I was unsure whether the FIPS provider implementation is already in a usable state and how it is configured properly.
Temporarily disable bignum tests in FIPS mode
This is only a temporary workaround until the todo from 9efa0ae0b60 is fixed.
To make the change more easily revertible, I used a separate #ifndef FIPS_DISABLE_BIGNUM_TESTS instead of #ifndef FIPS_MODE.

To make the change more easily revertible, I used a separate #ifndef FIPS_DISABLE_BIGNUM_TESTS instead of #ifndef FIPS_MODE.

Thinking once more about it, I think it's even better to have two separate commits. Hang on a minute...

These have been known for a while.  I created a PR that added a Travis build that included -DFIPS_MODE but it was rejected: #8659

I am aware that setting -DFIPS_MODE explicitly is a hack. But independently of that, shouldn't the compiler errors be fixed anyway? At least fix 2b4a470a65283bfe2336003d6eb7f6b229f30588 should be justified. The temporary fix for the tests 65c2dcdb73b2ffdc21c49d90c5eaafc77fe838aa might be arguable.

Returning to my original problem: Since the temporary -DFIPS_MODE hack was rejected in #8659,  is there any officially supported alternative way to end up with a binary where I can live debug the RNG test (#8790)?  For example, by running
util/shlib_wrap.sh gdb --args apps/openssl rand -hex 10

I add a #define to the file in question.

I am aware that setting -DFIPS_MODE explicitly is a hack. But independently of that, shouldn't the compiler errors be fixed anyway? At least fix 2b4a470 should be justified. The temporary fix for the tests 65c2dcd might be arguable.

@mattcaswell what's your opinion? I can drop 65c2dcd  If you think it is unnecessary, but obviously 2b4a470 needs to be fixed.

I'm not keen on the 65c2dcd change. I'm obviously ok with the other one.

I'm not keen on the 65c2dcd change. I'm obviously ok with the other one.

I almost anticipated you would say that. So I dropped 65c2dcd and adjusted the pr title accordingly.

Merged, thanks!
96384e613a FIPS: Fix compiler errors in rsa_chk.c when building with -DFIPS_MODE


feat: support mini.icons

https://github.com/echasnovski/mini.icons

mini.icons has both "glyph" and "ascii" style.
faster then nvim-web-devicons.

changes

default use mini.icons, config provider in require("alpha.themes.startify").file_icons.provider
backward compatibility, require("alpha.themes.startify").nvim_web_devicons mark deprecated
fix get_extension when path has '.', ex: a/b.c/makefile
use vim.notify warning instead of stacktrace error

could you also update the README and helpdoc

could you also update the README and helpdoc

done.

thank you for your contribution


Set Up Integration Suite Trial

Tutorials: https://developers.sap.com/tutorials/cp-starter-isuite-onboard-subscribe.html
Step 1: Enter your trial account : substep 5 : The UI has changed for the global account page. Need to update the screenshot.
Expected :

Actual:

Step 2: Subscribe to the service : The Subscription tab is not seen anymore. Update the screenshot
Expected:

Actual:

Note : Please update the same screenshot in Tut-3 Step 2 : https://developers.sap.com/tutorials/cp-starter-isuite-api-management.html

Hi @NidhiMurkute - both issues are fixed. will be published soon.


Startup probe failed: HTTP probe failed with statuscode: 500

Hello everyone
Recently i installed kubernetes(v.1.26.4) 9nodes with RKE version: v1.4.6. Then we decided to use rancher for our k8s platform management.we brought up rancher v2.7.5 on signle docker container and imported our existing cluster on it.everything seems perfect without problem...but after a while we were noticed we can not create any resources with kubectl due to rancher webhook...we checked the webhook pod in cattle-system by kubectl describe :
-Warning  Unhealthy  18m (x3 over 18m)  kubelet            Startup probe failed: HTTP probe failed with statuscode: 500
the kubernetes cni is calico installed by operator..there is no ufw enabled on nodes and all nodes and rancher servers are in same VLAN without any restriction.

Same issue here on EKS v1.27, rancher is running OK, but webhook is unhealthy with message  "Startup probe failed: HTTP probe failed with statuscode: 500". I wish there was a way to debug this.

Logs don't give much info about it.
time="2023-08-01T19:26:26Z" level=info msg="Rancher-webhook version v0.3.5 (2e89c65) is starting"
time="2023-08-01T19:26:26Z" level=info msg="Active TLS secret cattle-system/cattle-webhook-tls (ver=345209625) (count 1): map[listener.cattle.io/cn-rancher-webhook.cattle-system.svc:rancher-webhook.cattle-system.svc listener.cattle.io/fingerprint:SHA1=F0AD9B71BCDDEB8B3BC9E00015BE84BC80D7B558]"
time="2023-08-01T19:26:26Z" level=info msg="Listening on :9443"
time="2023-08-01T19:26:27Z" level=info msg="Starting apiextensions.k8s.io/v1, Kind=CustomResourceDefinition controller"
time="2023-08-01T19:26:27Z" level=info msg="Starting rbac.authorization.k8s.io/v1, Kind=Role controller"
time="2023-08-01T19:26:27Z" level=info msg="Starting management.cattle.io/v3, Kind=PodSecurityAdmissionConfigurationTemplate controller"
time="2023-08-01T19:26:27Z" level=info msg="Starting management.cattle.io/v3, Kind=ProjectRoleTemplateBinding controller"
time="2023-08-01T19:26:27Z" level=info msg="Starting rbac.authorization.k8s.io/v1, Kind=RoleBinding controller"
time="2023-08-01T19:26:27Z" level=info msg="Starting /v1, Kind=Secret controller"
time="2023-08-01T19:26:27Z" level=info msg="Sleeping for 15 seconds then applying webhook config"
time="2023-08-01T19:26:27Z" level=info msg="Starting management.cattle.io/v3, Kind=GlobalRole controller"
time="2023-08-01T19:26:27Z" level=info msg="Starting rbac.authorization.k8s.io/v1, Kind=ClusterRoleBinding controller"
time="2023-08-01T19:26:27Z" level=info msg="Starting management.cattle.io/v3, Kind=RoleTemplate controller"
time="2023-08-01T19:26:27Z" level=info msg="Starting provisioning.cattle.io/v1, Kind=Cluster controller"
time="2023-08-01T19:26:27Z" level=info msg="Starting rbac.authorization.k8s.io/v1, Kind=ClusterRole controller"
time="2023-08-01T19:26:27Z" level=info msg="Starting management.cattle.io/v3, Kind=Cluster controller"
time="2023-08-01T19:26:27Z" level=info msg="Starting apiregistration.k8s.io/v1, Kind=APIService controller"
time="2023-08-01T19:26:27Z" level=info msg="Starting management.cattle.io/v3, Kind=ClusterRoleTemplateBinding controller"
time="2023-08-01T19:26:27Z" level=info msg="Updating TLS secret for cattle-system/cattle-webhook-tls (count: 1): map[listener.cattle.io/cn-rancher-webhook.cattle-system.svc:rancher-webhook.cattle-system.svc listener.cattle.io/fingerprint:SHA1=F0AD9B71BCDDEB8B3BC9E00015BE84BC80D7B558]"
time="2023-08-01T19:26:27Z" level=info msg="Active TLS secret cattle-system/cattle-webhook-tls (ver=351408238) (count 1): map[listener.cattle.io/cn-rancher-webhook.cattle-system.svc:rancher-webhook.cattle-system.svc listener.cattle.io/fingerprint:SHA1=F0AD9B71BCDDEB8B3BC9E00015BE84BC80D7B558]"
time="2023-08-01T19:26:27Z" level=info msg="Updating TLS secret for cattle-system/cattle-webhook-tls (count: 1): map[listener.cattle.io/cn-rancher-webhook.cattle-system.svc:rancher-webhook.cattle-system.svc listener.cattle.io/fingerprint:SHA1=F0AD9B71BCDDEB8B3BC9E00015BE84BC80D7B558]"

@carlosmds after a long time researching i found there is something wrong with my CNI configuration..my CNI overlay network was set to VXLAN and i read if the mtu of network interfaces is low you'd face this problem...i switched to IPIP and everything solved...please consider i had some other problems as well and everything was solved with this change..

@carlosmds after a long time researching i found there is something wrong with my CNI configuration..my CNI overlay network was set to VXLAN and i read if the mtu of network interfaces is low you'd face this problem...i switched to IPIP and everything solved...please consider i had some other problems as well and everything was solved with this change..

@carlosmds Yeah, we should update the logs to help with this use case for now
you can check the response message of the startup probe /healthz to see why it hasn't started.

@mak241265 - please could you provide a little more information as to how you solved this?
We are seeing this issue in our GKE Rancher install and in our downstream clusters (some cloud, some on prem).
Thanks!

@mak241265 - please could you provide a little more information as to how you solved this? We are seeing this issue in our GKE Rancher install and in our downstream clusters (some cloud, some on prem).
Thanks!

@robcharlwood actually i just changed my calico CNI to IPinIP mode...to be honest i think i had some network problems as well.in addition i found a link which mentions when you network MTU is not sufficient you might face these kind of problems.


⚠ Bofrost.at has degraded performance

In 3674f1c, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2673 ms

Resolved: Bofrost.at performance has improved in 8dec145.


Next js App - Deploy failed to complete successfully.

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
d318zybdqun45x
Region
us-east-1
Amplify Console feature
Custom builds, Manual deploys
Describe the bug
The deployment are failing with the following error:
2022-01-28T00:03:59 [INFO]: Beginning deployment for application d318zybdqun45x, branch:feat/pdfReport, buildId<PHONE_NUMBER>
2022-01-28T00:03:59 [INFO]: Cannot find any generated SSR resources to deploy. If you intend for your app to be SSR, please check your app Service Role permissions. Otherwise, please check out our docs on how to setup your app to be detected as SSG (https://docs.aws.amazon.com/amplify/latest/userguide/server-side-rendering-amplify.html#deploy-nextjs-app)
2022-01-28T00:03:59 [ERROR]: {"code":"7","message":"No ssrResources.json file"}
Expected behavior
Deployment not fail - all green
Reproduction steps
1.- Commit to github
2.- Start Automatic deployment
3.- Provision - OK
4.- Build - OK
5.- Deploy - FAIL
Build Settings
version: 1
frontend:
  phases:
    preBuild:
      commands:
        - npm ci
    build:
      commands:
        - npm run build
  artifacts:
    baseDirectory: .next
    files:
      - '**/*'
  cache:
    paths:
      - node_modules/**/*

Additional information
Last week it was working fine, I just made a few changes to the frontend.
Additional data: The master branch passes the deploy, but it does not update the changes in the frontend, it continues to show the previous version of the frontend, it is something very strange.
Clear browsers cache and have tried on other computers.

Hi @iqaldebaran thanks for reporting, this issue has been resolved. Duplicate ticket: https://github.com/aws-amplify/amplify-console/issues/2545


Load lib_lightgbm.so in Python or R

When I using OpenMPI to build LightGBM, I cannot load the lib_lightgbm.so in R or Python:
import ctypes
lib = ctypes.cdll.LoadLibrary('lib_lightgbm.so')

OSError: lib_lightgbm.so: undefined symbol: ompi_mpi_comm_world
library(Rcpp)
dyn.load("~/git/LightGBM/lib_lightgbm.so")

...lib_lightgbm.so: undefined symbol: ompi_mpi_comm_world
However when I build lightGBM without openMPI, these methods can load the lib_lightgbm.so as normal.
Python 2.7.6
R 3.2.5
Unbuntu 14.04 x64
mpirun (Open MPI) 2.0.1

@Lchiffon I forget to link to openmpi when building .so.
Have updated cmake. can you try it again?


chore: replace byte-unit with bytesize

Description
replace byte-unit crate with bytesize crate
How was this PR tested?
tests in changes creates have been adjusted and executed to ensure the working state;
Related issues
https://github.com/quickwit-oss/quickwit/issues/4051

Hello Adrien, François,
At the moment 2 backward_compatibility tests are failing:

quickwit-metastore backward_compatibility_tests::test_file_backed_index_backward_compatibility
quickwit-metastore backward_compatibility_tests::test_index_metadata_backward_compatibility

The naive fix that make tests to pass:
        "resources": {
-         "heap_size":  3
+         "heap_size": "3 B"
        }

in the file-backed-index v0.6.json and index-metadata v0.6.json but I'm not sure if that's a correct way.
Could you please let me know what do you think?


ofs.uio add mailbox json input command to write multiple mailbox values.

-add mailbox-json input command , json file contains array of mailbox reg  name, address, and value
Example: msix.json
[
{
"reg-name": "pf0",
"address": "0x20000",
"value": "0x22"
},
{
"reg-name": "pf1",
"address": "0x20004",
"value": "0x23"
},
{
"reg-name": "pf2",
"address": "0x20008",
"value": "0x24"
}
]

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 65.537%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
13173

Relevant Lines:
20100

💛  - Coveralls


Feature Request: Support small form factor devices

Feature Idea
The UI is currently designed for use on desktop devices, and is rendered appropriately for that use-case.
For non-desktop devices such as tablets or other mobile devices, the UI is not rendered in a user-friendly way. Some support for at least basic text-to-image generation on small form factors would be greatly appreciated.

Yep, mobile support on the Generate tab is definitely a major feature requirement.
I have a rough idea of how it'd work:
The main screen should be just the prompt box and image result area,
and a button on the left to pull up the parameters list, which pops up to cover the screen and you can edit then swipe it back away
similarly you can pull up the other menus (image history / model browser / etc) and they also temporarily take over the full screen while you use them.
Basically take all the current UI features that are placed into cells, and swap them to being sub-screens to swap between, with the 'main prompt + result' area as the centerpoint

Yeah, I'm a backend dev by trade, so UI work isn't something I'm even remotely qualified to speak to, other than it's a lot more difficult than it looks to get things to display nicely across different form factors. And I think you sort of alluded to it, but it may actually end up making the desktop render better by making things a bit more modular anyway.
Separately, I had made a feature request here: https://github.com/ShiftHackZ/Stable-Diffusion-Android/issues/204
to potentially add support for SwarmUI's API to their native Android application, but I have no clue how active the development is there, etc.

While this is not properly addressed, I did some (not so) quick hack in the simple tab to at least do some gens on mobile. Here are the changes if anyone is interested:
https://github.com/mcmonkeyprojects/SwarmUI/compare/mcmonkeyprojects:SwarmUI:master...jonathan-f-silva:SwarmUI:feat/simple-mobile?expand=1

Demo GIF

If you get it clean and it doesn't break on desktop sized usage, I'd love a PR for that!


GEOPY-1855: Peak finder app crashes due to wild card

GEOPY-1855 - Peak finder app crashes due to wild card

haha the UI does not like it... ok, happy you caught it.
In that case, also change in pylintrc, under [DESIGN], value for max-args, and add entry max-positional-arguments
# crazy list or parameters for the UI elements
max-args=15
max-positional-arguments=15

or better than changing the global pylint config, disable the checks at the few problematic places with:
# pylint: disable=too-many-positional-arguments, too-many-arguments
peak_finder/application.py:623:4: R0917: Too many positional arguments (14/5) (too-many-positional-arguments)
peak_finder/application.py:757:4: R0917: Too many positional arguments (11/5) (too-many-positional-arguments)
peak_finder/application.py:941:4: R0917: Too many positional arguments (17/5) (too-many-positional-arguments)
peak_finder/application.py:1038:4: R0917: Too many positional arguments (10/5) (too-many-positional-arguments)
peak_finder/application.py:1293:4: R0917: Too many positional arguments (10/5) (too-many-positional-arguments)
peak_finder/application.py:1437:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments)
peak_finder/application.py:1504:4: R0917: Too many positional arguments (9/5) (too-many-positional-arguments)
peak_finder/application.py:1740:4: R0917: Too many positional arguments (7/5) (too-many-positional-arguments)
peak_finder/application.py:1911:4: R0917: Too many positional arguments (15/5) (too-many-positional-arguments)

Somehow pylint doesn't know what too-many-positional-arguments is. Trying with the R0917 code instead

Somehow pylint doesn't know what too-many-positional-arguments is. Trying with the R0917 code instead

it seemed it passed...


cNtfsPermissionEntry.psm1

Do not use "APPLICATION PACKAGE AUTHORITY\ALL RESTRICTED APPLICATION PACKAGES " but  "ALL RESTRICTED APPLICATION PACKAGES " only as Principal and I have done few modifications to support that cNtfsPermissionEntry DscResource.

@SNikalaichyk  Could you review it and merge it .Please do let me know if you have any queries

Hi @shubhamgupta514, first of all thanks for submitting this PR!
This is quite a big change, and thus will require a thorough review and testing.
I would also want to get more details about the issue(s) this PR is meant to address.
After a quick look:

The code needs to match the overall formatting style, look, and feel of the module.
The Convert-FileSystemRightsInteger function needs to have tests and follow the style as it's very messy (aliases, lots of comments etc).

@SNikalaichyk Thanks for your comments.
I am not the original author of Convert-FileSystemRightsInteger. I copied the source code from Technet and already mentioned the link for the same as comment above the function.

About the PR, I am getting an error  "Some or all identity references could not be translated" I am trying modifying the permissions for APPLICATION PACKAGE AUTHORITY\ALL RESTRICTED APPLICATION PACKAGES  on a particular file or folder.
What I found after some debugging if we only use "ALL RESTRICTED APPLICATION PACKAGES" without the domain and use of the sid of the same in access rule as an argument in modifyaccessrule. Everything is working fine.


Remove operator++ and operator-- for floating point representations?

Should  operator++ and operator-- be disabled for floating point representations? Also, as for operator%, how should these operations be disabled?

I agree that  ++ and --  do not have much sense for floating-point representations but those operations are defined for a floating-point number. So if the following works:
double length = 3;
++length;

I think it should work as well for a safe type:
quantity<metre, double> length(3);
++length;   // should also work

Also it has benefits from a generic point of view:
Quantity foo(Quantity auto q)
{
  return ++q;
}

The user should not be forced to check what is the Rep there.
Basically, if we do not provide those operators users will have to use += 1 in a generic code which basically is the same wrong for a floating-point number and we probably do not want to ban it too ;-)

I think generic programming is a fine argument for why these operator should be left.
Maybe we should add this to the paper in a section titled: Supported Operations and Representations?

Sure, this a good idea. Do you volunteer to write one? ;-)

More on this subject in #29


Fix Flux precision

Dear god, why.
Fixes https://github.com/SciML/SciMLDocs/issues/143

I doubt it will pass unless you also do the BNN one.

#143 seems to be talking about showcase/pinngpu, but you only edited showcase/bayesian_neural_ode
This fixes #142 instead. The buildkite will probably not pass until both are solved.


CUDAStreams only supported for TensorRT backend?

Is it true that concurrent model execution (eg via CUDAStreams) is only supported for TensorRT executable engines? Specifically, that tensorflow and caffe2 backends do not support concurrent model execution?

All the framework backends support concurrent model execution. This session describes some details on how it works.

There was also a talk at GTC 2019 that described how this works: "Maximizing Utilization for Data Center Inference with TensorRT Inference Server".
It will be publicly available at GTC On-Demand in about 30 days: https://on-demand-gtc.gputechconf.com/gtcnew/on-demand-gtc.php
We'll post a link to it in the README once it become available.
Closing, reopen if you have further questions.


SMPL parameters thetas and betas are in which coordinate system?

Could you please provide more detailed information about the coordinate system in which the SMPL model's parameters, specifically the thetas and betas, are defined?

The camera-based coordinate system.

@biansy000 Do you have the code available to convert them into a camera-based coordinate system? I don't see anywhere.


Payment Bot , contact your payment provider error on web page.

Hi,
i am using payment bot with Microsoft bot framework that uses stripe account. after publishing it to all live, in web chat i am testing the payment, clicking on buy button will open a web page with error Contact your payment provider  They couldn't approve your payment.  let me know what is the cause of it.

@pramodkn - Questions can be posted at Stack Overflow (https://stackoverflow.com/questions/tagged/botframework) using the botframework tag. Please note that Stack Overflow has guidelines such as requiring a descriptive title, a complete and concise problem statement, and sufficient details to reproduce your issue.


removed some useless code in onTimedMetadata

some legacy code was included by accident, I removed it.

Thanks for putting this together. GitHub won't allow me to resolve the merge conflict for this via the web interface, so I had to create a new PR :/


multiple layouts in router

Hi,
I'm trying to build multiple layouts in router but no success so far :
return (
    <Route component={ Layout }>
        <Route component={ HomeLayout }>
            <Route path="/services" component={ Services }/>
        </Route>
        <Route component={ PlusLayout }>
            <Route path="/blog" component={ Blog }/>
        </Route>
    </Route>
)

/services render properly but /blog doesnt render the blog component. What's the problem ?

@Baira In your routes, first Layout is always matched then HomeLayout is matched, so the PlusLayout never gets matched.
Try the following?
return (
    <Route component={ Layout }>
        <Route path="/services" component={ HomeLayout }>
            <Route path="/services" component={ Services }/>
            <Route path="/services/something" component={ ServicesSomething }/>
        </Route>
        <Route path="/blog" component={ PlusLayout }>
            <Route path="/blog" component={ Blog }/>
            <Route path="/blog/something" component={ BlogSomething }/>
        </Route>
    </Route>
)

Thank you @nightwolfz . I understand the logic now. Just disappointed that the inferno router documentation doesn't mention this nested routes behavior at all.


How to test chrome extension API?

In a function changeExtensionTooltip I have a line of code like this:
chrome.browserAction.setTitle({title: text});

And I want to assert that method chrome.browserAction.setTitle has been called once and that it has received {title: 'WakaTime'}.
Can someone   help with this? @Stephn-R

Hey @mabasic, its very easy to do exactly that. Since Jest is a descendant of Jasmine, you can use the Spy tool to do this
spyOn(chrome.browserAction.setTitle);
// do some stuff
expect(chrome.browserAction.setTitle).toHaveBeenCalled();
// or
expect(chrome.browserAction.setTitle).toHaveBeenCalledWith({ title: text });

I'm still not testing components using Jest. I was wondering for helpers using Mocha and Chai?

Gotcha. Try looking at Sinon-Chai http://chaijs.com/plugins/sinon-chai
On Tue, Jun 30, 2015 at 2:47 PM Mario Bašić<EMAIL_ADDRESS>wrote:

I'm still not testing components using Jest. I was wondering for helpers
using Mocha and Chai?
—
Reply to this email directly or view it on GitHub
https://github.com/wakatime/chrome-wakatime/issues/31#issuecomment-117299239
.

I am looking at it but nothing is happening ... going to try it out and let you know the results :)

Would you mind if I put one together for you in the tests?

That would be great.

Check out d6b9ccf for the example

@Stephn-R I have tried writing a test for changeExtensionTooltip but failed:
I have tried reading the documentation for Sinon but they keep talking about some spies. Then I have tried reading the sinon-chrome documentation but they keep talking about creating a new page with phantomJS and injecting scripts in it. I think that that is an overkill?
http://chaijs.com/plugins/sinon-chai
http://sinonjs.org/
https://github.com/vitalets/sinon-chrome
Also I have found a topic on StackOverflow where they talk about running a method in a new context.
Is there a simple way of doing this? I am willing to change the code to support dependency injection or make it easier for testing/mocking somehow.

Yes yes, that is over kill. Link me to where your code is and I can get a simple test running for you.

Here is the test I wrote: https://github.com/wakatime/chrome-wakatime/blob/master/tests/helpers/changeExtensionTooltip.spec.js
And here is the helper which I want to test: https://github.com/wakatime/chrome-wakatime/blob/master/assets/js/helpers/changeExtensionTooltip.js


I am getting this Exception  IllegalArgumentException:Multiple entries with same key: supportsRtl=false and supportsRtl=true

When  i am registering (or doing anything) user with android app. user is register in devstack successfully. but it is giving me error : Unknown Error please try again. on mobile app.

Have you done some changes in any of the build.gradlefiles in the project?

@miankhalid  no. i just build and run app .

Ok, share the log cat output and screenshots (if any).
Your current info provided isn't enough to judge whats the problem.

@miankhalid

I am not talking about Event Log (lets ignore that for now).
Seems like you are facing some issues with server communication through app when you are trying to register. So, you should be getting some error logs in Android Monitor window's logcat tab of your Android Studio. Check that if you can figure out the issue from there and share it here too.

Also, it would be better if you disable Instant Run for this project. We are better off without it.


Modified pathtools to python-pathtools

The name of the package has to be changed according to this and this discussion.

Lets give it a shot.


POL-170 - Azure Delete Unattached Volumes

Description
This Policy Template scans all volumes in the given account and identifies any unattached volumes that have been unattached for at least the number of user-specified days. If any are found, an incident report will show the volumes, and related information and an email will be sent to the user-specified email address.
Issues Resolved
New Check-in
Contribution Check List

[x] All tests pass.
[x] New functionality includes testing.
[x] New functionality has been documented in the README if applicable
[x] New functionality has been documented in CHANGELOG.MD

Running Template Link:
https://governance.rightscale.com/org/1105/projects/60073/policy-incidents/5e5ca595e69f030001276702

          1 Error

:no_entry_sign:
The URL is not valid: https://github.com/flexera/policy_templates/tree/POL-170-azure_delete_unattached_volumes/cost/azure/unattached_volumes in cost/azure/delete_unattached_volumes/azure_delete_unattached_volumes.pt Status: 404

  Generated by :no_entry_sign: Danger

          1 Error

:no_entry_sign:
README.md:83: MD012 Multiple consecutive blank lines
A detailed description of the rules is available at https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md

  Generated by :no_entry_sign: Danger


add normal test for CI

This should be the last thing before transitioning to the OO version

I'm still trying to wrap my mind around using GitHub Actions for CI. What's the purpose of having tests triggered by both pull requests and commit pushes? And something I'm still slightly unclear about is which version of the code is being tested for each GitHub Action workflow.

The other test only runs when a push happens and one of those two specific files changes: the GH action itself or the Dockerfile.
This test only runs on a pull request when any file changes.  We could, technically, NOT run this test when those two files change.


hosts: add DigitalOcean

I'm not entirely sure about this change, I don't think we should add host files for such special cases like digitalOcean. I liked the digital ocean image itself, as thats more generic and can work for all hosts.
But adding a host file for it wouldn't really fit with the goals of a "lean" core branch since we'd be adding a host file just for one use case. Most of this stuff a user can figure out with the digital ocean documentation from nixos and devos's deploy-rs docs.
I would be happy to see a documentation addition to doc/start maybe doc/start/digital-ocean.md that goes over digital ocean setup like how the iso docs go over creating an image and installing it. More documentation on devos special use cases would be great.

Maybe we can think of ways to integrate with nixos-generator project, instead.


Trouble installing arrow in R

Describe the bug, including details regarding any error messages, version, and platform.
I use conda for package management, actually micromamba. I have the most current version of r-arrow installed.
However, I'm finding some crashy behavior with large files: creating/loading datasets, queries, etc.
I noticed in an issue someone installed from source through R and that fixed the problem. I'm doing it as here, but it is failing.
> Sys.setenv("NOT_CRAN" = "true", "LIBARROW_BUILD" = FALSE, "ARROW_R_DEV" = TRUE)
> install.packages("arrow")
trying URL 'https://cran.rstudio.com/src/contrib/arrow_<IP_ADDRESS>.tar.gz'
Content type 'application/x-gzip' length 3921484 bytes (3.7 MB)
==================================================
downloaded 3.7 MB

* installing *source* package ‘arrow’ ...
** package ‘arrow’ successfully unpacked and MD5 sums checked
** using staged installation
**** pkg-config not installed, setting ARROW_DEPENDENCY_SOURCE=BUNDLED
*** Unable to find libcurl and openssl
*** Proceeding without libarrow (build not authorized)
------------------------- NOTE ---------------------------
There was an issue preparing the Arrow C++ libraries.
See https://arrow.apache.org/docs/r/articles/install.html
---------------------------------------------------------
ERROR: configuration failed for package ‘arrow’
* removing ‘/home/users/balter/micromamba/lib/R/library/arrow’
* restoring previous ‘/home/users/balter/micromamba/lib/R/library/arrow’
Warning in install.packages :
  installation of package ‘arrow’ had non-zero exit status

The downloaded source packages are in
	‘/tmp/RtmpsZ0yFA/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done

I also tried installing using this file as suggested here
But, R can't see that I have conda for some reason:
> source("install-arrow.R")
> install_arrow(nightly=T)
sh: 1: conda: not found
Warning message:
In system("conda install -y -c arrow-nightlies -c conda-forge --strict-channel-priority r-arrow") :
  error in running command
> system('which conda', intern=T)
character(0)
attr(,"status")
[1] 1
Warning message:
In system("which conda", intern = T) :
  running command 'which conda' had status 1
> system('which micromamba', intern=T)
character(0)
attr(,"status")
[1] 1
Warning message:
In system("which micromamba", intern = T) :
  running command 'which micromamba' had status 1
> system('which R', intern=T)
[1] "/usr/local/bin/R"

(base) balter@exahead1:~$ which conda
alias conda='micromamba'
(base) balter@exahead1:~$ which R
~/micromamba/bin/R

Component(s)
R

Building from source fails because you explicitly forbid it: Sys.setenv("NOT_CRAN" = "true", "LIBARROW_BUILD" = FALSE, "ARROW_R_DEV" = TRUE). Removing "LIBARROW_BUILD" = FALSE should get you further!
For the second issue it looks like system is not picking up the alias, you could try creating a conda symlink? (or manually run conda install -y -c arrow-nightlies -c conda-forge --strict-channel-priority r-arrow).

I'm afraid none of that was it. Neither removing "LIBARROW_BUILD" = FALSE or setting it to TRUE helped.
And the problem isn't with the alias. micromamba is the actual name of the executable, and as I showed above,
> system('which micromamba', intern=T)
character(0)
attr(,"status")
[1] 1
Warning message:
In system("which micromamba", intern = T) :
  running command 'which micromamba' had status 1

I tried creating a symlink, and R still can't see it, even though I made sure to put the symlink in my path;
> system('which conda', intern=T)
character(0)
attr(,"status")
[1] 1
Warning message:
In system("which conda", intern = T) :
  running command 'which conda' had status 1
> Sys.readlink("~/usr/bin/conda")
[1] "/home/users/balter/.local/bin/micromamba"

(base) balter@exahead1:~$ which conda
~/usr/bin/conda
(base) balter@exahead1:~$ ls -l usr/bin
total 20
-rw-rw-r-- 1 balter balter 2240 Feb 22 17:07 acc_rocker.sh
lrwxrwxrwx 1 balter balter   40 Mar 29 18:14 conda -> /home/users/balter/.local/bin/micromamba
-rw-rw-r-- 1 balter balter 2219 Feb 23 12:33 f
-rwxr-xr-x 1 balter balter 4399 Jan 17 11:27 qsbatch
-rw-rw-r-- 1 balter balter 2133 Feb 23 12:31 rocker_template
-rw-rw-r-- 1 balter balter   59 Feb 23 12:28 rsstunnel
-rwxr-xr-x 1 balter balter 2757 Feb 21 12:45 sinteract
-rw-rw-r-- 1 balter balter  794 Feb 23 12:33 slurm-21914665.out
-rwxr-xr-x 1 balter balter 3078 Feb 23 12:34 _startrss

I'm afraid none of that was it. Neither removing "LIBARROW_BUILD" = FALSE or setting it to TRUE helped.
And what was the result/error?

And what was the result/error?
Just the same non-zero exit.

Actually, it still has system("conda install -y -c arrow-nightlies -c conda-forge --strict-channel-priority r-arrow") which won't work.
The code should do this instead:
  conda <- isTRUE(grepl("conda", R.Version()$platform))

  if (conda) {
    conda_prefix = Sys.getenv("CONDA_PREFIX")
    if (nightly) {
      system(str_glue("{conda_prefix} install -y -c arrow-nightlies -c conda-forge --strict-channel-priority r-arrow"))
    } else {
      system("str_glue("{conda_prefix} install -y -c conda-forge --strict-channel-priority r-arrow"))
    }

I already have the nightly install from conda anyway. But I'm still having some crashy arrow stuff. So I wanted to try installing from source. That's what started all of this.
Seems like a bug that install.packages('arrow') give an error no matter what.

For everyone still having trouble with arrow installation and needing parquet functionality in the short term, try the nanoparquet package :)

@ahcyip Could you stop commenting the same thing under several unrelated and stale issues? It's creating notification spam and is a bit rude tbh.


Grammar spelling and minor fixes, change FHIR version reference to V3

…ver (#2)

Minor grammar fixes.


[Casting] RuntimeError: Found dtype Float but expected BFloat16 on a CPU

Issue
When I run the following (on CPUs) using the from-source installation of accelerate:
accelerate launch --config_file default_config.yml examples/unconditional_image_generation/train_unconditional.py \
    --dataset_name hf-internal-testing/dummy_image_class_data \
    --model_config_name_or_path diffusers/ddpm_dummy \
    --resolution 64 \
    --output_dir /temp \
    --train_batch_size 2 \
    --num_epochs 1 \
    --gradient_accumulation_steps 1 \
    --ddpm_num_inference_steps 2 \
    --learning_rate 1e-3 \
    --lr_warmup_steps 5

it throws:
Epoch 0:   0%|                                                                                | 0/3 [00:00<?, ?it/s]Traceback (most recent call last):
  File "examples/unconditional_image_generation/train_unconditional.py", line 692, in <module>
    main(args)
  File "examples/unconditional_image_generation/train_unconditional.py", line 594, in main
    accelerator.backward(loss)
  File "/opt/venv/lib/python3.8/site-packages/accelerate/accelerator.py", line 1761, in backward
    loss.backward(**kwargs)
  File "/opt/venv/lib/python3.8/site-packages/torch/_tensor.py", line 487, in backward
    torch.autograd.backward(
  File "/opt/venv/lib/python3.8/site-packages/torch/autograd/__init__.py", line 200, in backward
    Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
RuntimeError: Found dtype Float but expected BFloat16
Epoch 0:   0%|                                                                                | 0/3 [00:04<?, ?it/s]
Traceback (most recent call last):
  File "/opt/venv/bin/accelerate", line 8, in <module>
    sys.exit(main())
  File "/opt/venv/lib/python3.8/site-packages/accelerate/commands/accelerate_cli.py", line 45, in main
    args.func(args)
  File "/opt/venv/lib/python3.8/site-packages/accelerate/commands/launch.py", line 928, in launch_command
    simple_launcher(args)
  File "/opt/venv/lib/python3.8/site-packages/accelerate/commands/launch.py", line 588, in simple_launcher
    raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['/opt/venv/bin/python', 'examples/unconditional_image_generation/train_unconditional.py', '--dataset_name', 'hf-internal-testing/dummy_image_class_data', '--model_config_name_or_path', 'diffusers/ddpm_dummy', '--resolution', '64', '--output_dir', '/temp', '--train_batch_size', '2', '--num_epochs', '1', '--gradient_accumulation_steps', '1', '--ddpm_num_inference_steps', '2', '--learning_rate', '1e-3', '--lr_warmup_steps', '5']' returned non-zero exit status 1.

But with the latest stable installation, it doesn't happen.
Setup
- `diffusers` version: 0.17.0.dev0
- Platform: Linux-4.19.0-24-cloud-amd64-x86_64-with-glibc2.29
- Python version: 3.8.10
- PyTorch version (GPU?): 2.0.1+cpu (False)
- Huggingface_hub version: 0.14.1
- Transformers version: 4.30.0.dev0
- Accelerate version: 0.20.0.dev0
- xFormers version: not installed
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No

To run
Clone diffusers:
git clone https://github.com/huggingface/diffusers

And then fire:
accelerate launch --config_file default_config.yml examples/unconditional_image_generation/train_unconditional.py \
    --dataset_name hf-internal-testing/dummy_image_class_data \
    --model_config_name_or_path diffusers/ddpm_dummy \
    --resolution 64 \
    --output_dir /temp \
    --train_batch_size 2 \
    --num_epochs 1 \
    --gradient_accumulation_steps 1 \
    --ddpm_num_inference_steps 2 \
    --learning_rate 1e-3 \
    --lr_warmup_steps 5

default_config.yml was obtained using:
from accelerate.utils import write_basic_config

write_basic_config(save_location="default_config.yml")

This issue popped up in our broken CI: https://github.com/huggingface/diffusers/actions/runs/4955138459/jobs/8864271403?pr=3397.
Cc: @patrickvonplaten

@sayakpaul can you tell us what accelerate env is too? Thanks :D

There you go:
- `Accelerate` version: 0.20.0.dev0
- Platform: Linux-4.19.0-24-cloud-amd64-x86_64-with-glibc2.29
- Python version: 3.8.10
- Numpy version: 1.24.3
- PyTorch version (GPU?): 2.0.1+cpu (False)
- PyTorch XPU available: False
- System RAM: 29.45 GB
- `Accelerate` default config:
        Not found

Ah sorry, what default_config.yml contains :)

{
  "compute_environment": "LOCAL_MACHINE",
  "distributed_type": "NO",
  "downcast_bf16": false,
  "machine_rank": 0,
  "main_training_function": "main",
  "mixed_precision": "no",
  "num_machines": 1,
  "num_processes": 1,
  "rdzv_backend": "static",
  "same_network": false,
  "tpu_use_cluster": false,
  "tpu_use_sudo": false,
  "use_cpu": true
}

@sayakpaul what specific CPU do you guys use for this if you know? I have a hunch the PR that broke it was this one https://github.com/huggingface/accelerate/pull/1118

I don't have gory details about the CPU, but I am using n1-standard-8 on GCP:
https://cloud.google.com/compute/docs/general-purpose-machines#n1_machines

Can reproduce, it does indeed stem from #1118, for now please build off pypi while we investigate

@sayakpaul @muellerzr   would it be possible to share a complete stack trace  (not just till accelerator.launch) or an example notebook/script to reproduce? Thanks

@abhilash1910 this also is another issue like it, that has a clear repr you can see: https://github.com/huggingface/diffusers/issues/3411


Constant occupancy workload

This workload tries to keep the system some percent full.  The new class is a pretty trivial extension of CoreWorkload but is useful for setting up disk fragmentation experiments.

It looks like I'm supposed to create a branch each time I want to create a pull request.  Oops.
Anyway, I missed another patch: 9958eab0da4fb8a9942d5fa09e85398cd0ed912c is a fix for some problems with 5655c24.


Fix the color bar can't show in jupyter notebook problem

Hi, I'm newbie here. And I found the colorbars doesn't show in my jupyter notebook. I made some small change and they shows normally now in work. I'm not very sure if it helps. Thanks for your work!

Thanks! This is interesting, it must have come from some change in a new version of matplotlib. Sorry for the slow review, been out for a while after paternity leave. Will merge this after the new CI tests finish.


Test Not Working On Cluster

The setup is a cluser of machines with docker and nextflow installed. Each machine runs a nextflow node process and a docker daemon.
I am trying to run your workflow on the cluster by executing the following command on one node.
nextflow run nf-core/viralrecon -profile test,docker -process.executor ignite
The cluster starts to process the test pipeline, but get stuck in the following error.

Caused by:
  java.nio.file.NoSuchFileException: /work/3f/4b5b5e80605434963098c246e097b7/.command.run

Command executed:

  bowtie2-build \
      --seed 1 \
      --threads 2 \
      GCF_009858895.2_ASM985889v3_genomic.200409.fna \
      GCF_009858895.2_ASM985889v3_genomic.200409
  mkdir Bowtie2Index && mv GCF_009858895.2_ASM985889v3_genomic.200409* Bowtie2Index

Command exit status:
  -

Command output:
  (empty)

Work dir:
  /work/3f/4b5b5e80605434963098c246e097b7

Tip: when you have fixed the problem you can continue the execution adding the option `-resume` to the run command line
-[nf-core/viralrecon] Pipeline completed with errors-

Each node of the cluster seems to do some work until the error appears.

I was missing a shared /work directory among the cluster members.

Hi @rmoczalla ! I am glad you found a solution because Im not sure I would have been much help :)


remove the nav bar from the login/ signup page

Related Issue
[Cite any related issue(s) this pull request addresses. If none, simply state “None”]
Fixes:  #3047
Description
Remove the nav bar from the login/singup page for the better user experience. Little changes had done to make the ui looks clean

Type of PR

[x] Bug fix
[x] Feature enhancement
[ ] Documentation update
[x] Other (specify): _______________

Screenshots / videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes. Make sure to attach before & after screenshots in your PR.]
Checklist:

[x] I have made this change from my own.
[ ] I have taken help from some online resources.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[ ] I have provided relevant issue numbers and screenshots after making the changes.

@tusharmishra069 it will be fine with navbar and footer try to workk on new issue
try to allign footer in login/sign up page like in home page


feat: Add tasks for upload NDK symbol files to Datadog

What does this PR do?
This adds tasks for each variant, uploadNdkSymbolFiles{Variant} to upload symbols from native artifacts to Datadog. It utilizes similar logic from DdMappingFileUpload but encapsulates it into DdFileUploadTask. This logic is duplicated for now but we should probably refactor DdMappingFileUpload to use the DdFileUploadTask base class at some point.
NDK Symbol files have the key ndk_symbol_file, type ndk_symbol_file, and retain their original file name when uploading. The architecture of the symbol file is encoded into the "additional info" map when uploading.
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

Merging #220 (8acb769) into develop (5895876) will increase coverage by 5.04%.
The diff coverage is 85.40%.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop     #220      +/-   ##
=============================================
+ Coverage      78.05%   83.09%   +5.04%
- Complexity       186      239      +53
=============================================
  Files             22       25       +3
  Lines            665      881     +216
  Branches          85      115      +30
=============================================
+ Hits             519      732     +213
+ Misses           116      103      -13
- Partials          30       46      +16

Files
Coverage Δ

...m/datadog/gradle/plugin/DdMappingFileUploadTask.kt
89.47% <100.00%> (+0.43%)
:arrow_up:

...m/datadog/gradle/plugin/internal/OkHttpUploader.kt
84.17% <100.00%> (-0.13%)
:arrow_down:

...lin/com/datadog/gradle/plugin/internal/Uploader.kt
100.00% <100.00%> (ø)

...com/datadog/gradle/plugin/DdAndroidGradlePlugin.kt
67.57% <94.12%> (+13.18%)
:arrow_up:

...tlin/com/datadog/gradle/plugin/DdFileUploadTask.kt
86.09% <86.09%> (ø)

...om/datadog/gradle/plugin/DdSymbolFileUploadTask.kt
78.38% <78.38%> (ø)

... and 1 file with indirect coverage changes

Resolved most of the comments -- I still need to do the functional tests so I'll jump on that next.

@0xnm Fixed and amended the previous commit


Add examples for container escape to host in the documentation

This will be done by Ved. Basically add to the examples.


refresh content_style without full tinymce:refresh?

Hey,
Not an issue as such, but some help i require.  I'm creating a drag and drop html editor using your angular directive for tinymce.  I have a scenario where  i need to apply and change the content_style dynamically.  The reason for this is the user can setup different heading styles and we would like these to be reflected in the editor.
I can make it work by setting the required CSS in the content_style property and then forcing a refresh by doing:
$rootScope.$broadcast('$tinymce:refresh');
However, this seems to have quite a drastic performance impact.     I'm looking to try find a way to refresh the CSS but without forcing the whole editor to refresh.  Is this possible at all?
Any thoughts or ideas are greatly appreciated.
  Change it to $scope not $rootScope and it works much better now.  Turns out just writing down your problem can fix it .. who knew!

Hi @piercy,
you're right it's not an issue.
In the future, in you search any help, please post a question on stackoverflow instead of posting an issue here.

http://stackoverflow.com

You could use the following tags:

angularjs
tinymce
angular-ui
angular-ui-tinymce


Unix Domain Sockets support

Send data to a Unix Domain Socket instead of a UDP port.
If a host is compound by one element it will check if it exists and it is a socket and then set the protocol to be unixgram
Default behaviour is not changed.

Hi @bdunavant , do you have in mind to create a new release to include this change?


clang-format supported with nvcc (cuda files)

Added support for clang-format to be used with nvcc (cuda files). Issue #2318
Just as ale-cpp-clangformat uses ale-c-clangformat for options. Similarly the ale-cuda-clangformat uses ale-c-clangformat for options.

Cheers! :beers:


Use sys.argv for output of merge script

Can we have a fallback value? ^^

Sure, not a bad idea. It also outputs the filename it is writing to now.

Thank you for the quick follow-up. Will look into the whole setting the next days...


<select :multiple="multiple">: if multiple value is undefined, the attribute is enabled

Hello, I think that undefined values should be handled as falsy values in attributes.
https://jsfiddle.net/0yzf8wgf/
Thanks.

Thanks for pointing it out!

Thank you for fixing!


Configurable swipe "aggressiveness"?

Hi!
I have Ionic list items with option buttons in app using this directive.
E.g. like in this CodePen:
https://codepen.io/flavordaaave/pen/emZdwN
When sliding an item left, two option buttons appear.
When doing this in my app with this directive, the tab page switch seems to start almost immediately, making it difficult to show the option buttons without switching tab page.
Could it be possible to configure kind of "aggressiveness level" of tab swipe? Or maybe the area, e.g. tab swiping works only on left / right edges of screen?
Cheers
-jo

I am a bit busy right now, i might be able to get it running in a couple of days.


Masthead and footer do not work as expected when Javascript is disabled

Detailed description
There are two separate issues when Javascript is disabled:

The masthead search is unusable, clicking on the magnifying glass will not expand the searchbox, so no text can be entered manually

The footer is missing all links

For the masthead search, it would be nice to have the option to post to a custom URL when pressing enter or clicking on the magnifying glass
For the footer, it would be nice to have the links render as usual, and the locale selector work do a navigation to the appropriate localized page.

What browser are you working in?
Chrome

What version of the IBM.com Library are you using?
ibmdotcom-react version "1.1.0-rc.0"

What offering/product do you work on? Any pressing ship or release dates we
should be aware of?
IBM.com search
You can see the beta for ibm dotcom library migration here and try out with Javascript disabled:  https://ibm-com-search-beta.mybluemix.net/search?lang=en&cc=us&q=search probe

Steps to reproduce the issue
1 Disable Javascript in your browser.
2. Got to https://ibm-com-search-beta.mybluemix.net/search?lang=en&cc=us&q=search probe
3. Try to enter a search term
4. Look at the footer and see no links
Additional information

Screenshots or code
Notes

@ncheaz for the Masthead, as we discussed there are newer features address in the v1.1.0 release that may resolve your problems there. This includes the searchOpenOnload prop, and the SEARCH_REDIRECT_ENDPOINT environment variable that exposes the updating of the redirect url for the form post.
For the footer, we spoke internally about it and think that there is an SSR issue with the footer, and created this story: https://github.com/carbon-design-system/ibm-dotcom-library/issues/616
cc: @ljcarot @wonilsuhibm @andysherman2121 @ScottBokma

SSR fix in Issue 616 is included in ibm.com Library v1.1.1 patch
Closing this issue.  Will create a new issue if Nixon has any issues related to the recommendations provided by Jeff.


"@type" for Elements is "@vocab" where it should be "@id" in the context file

Attached is the output of the spec-parser run against the current SPDX 3 model:
spdx-context.jsonld.txt
It looks like this may have been introduced with commit https://github.com/spdx/spec-parser/commit/bbe267d950dc3e1dd9694797b6eda8e2d1dd4794

Ping @JPEWdev - I'll do some more debugging, but if you happen to see the issue, please comment.

This is intentional so that it picks up global named individuals. AFAIK, @vocab is a superset of @id

@JPEWdev - never mind - went back and read the pull request and I now understand the change.  Closing this issue.


Added support for custom config in ckeditor

Nicely done. Elegant, small and sweet.

Thanks. Sorry I don't have time to update the docs.


Add sample distribution

This PR is the updated Rmd script for the sample_distribution_analysis for the PBTA cohort (based on suggestions from the pbta-tumor-evolution-old repo).
Please review the script logic and output file for clarity.

@AntoniaChroni can you add a gitignore which will remove (ignore) these .DS_store files? They are just hidden computer files we don't want in the repo

@jharenza I have updated the sample distribution script:

not saved plots
change layout
added script to answer with more specific questions about paired assays, #patients, cancer_types
added low survival cohorts

I made updates on the add-sample-distribution.
Issues so far:

Join function for original df and filtered df results to additional samples in the table. I did a workaround for this, but I don't know why this happens.
Paired assays results to no pairs between any combination of different time of points. This doesn't seem right.

This is updated based on @rjcorb suggestions. I also added/edited to create a file needed for the next module. It is now ready for review @jharenza


Add possibility to not show diff on $::hostcrl

(#MODULES-5981)  In larger environment the crl changes frequently and generates a lot of output. This PR adds the possibility to disable the diff without changing the default behaviour.

 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.


Handle stream 404

This PR is for fixing https://github.com/channelcat/sanic/issues/759
The root cause is that it calls self.router.is_stream_handler(self.request) in on_headers_complete, inside is_stream_handler, it tries to get the handler again (https://github.com/channelcat/sanic/blob/master/sanic/router.py#L354), which will raise another exception during handling the NotFound exception, because it cannot find matched handler and will raise NotFound again, and errors out in https://github.com/channelcat/sanic/blob/master/sanic/router.py#L354.
if the exception is NotFound, we should make is_stream_handler returns False directly, instead of raising another NotFound.

seems test_gunicorn worker is failing, but i didn't make any change around that

rebuild fixes the test_gunicorn_work test. looks like test_gunicorn_worker test flaky


Cannot associate Project with resources

When trying to create a project and associate it with some of the created resources (droplet and domain) I get an error about the format of the URN.
Error creating project: Error assigning resources: POST https://api.digitalocean.com/v2/projects/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resources: 400 resource objects must have an urn in the following format: do:resource_type:resource_id
Code
const droplet = new DigitalOcean.Droplet('example-web', {
  size: DigitalOcean.DropletSlugs.DropletS1VCPU1GB,
  region: DigitalOcean.Regions.SFO2,
  image: 'ubuntu-18-04-x64',
});

const domain = new DigitalOcean.Domain('example.live', {
  name: 'example.live',
  ipAddress: droplet.ipv4Address,
});

new DigitalOcean.Project('example', {
  name: 'example',
  resources: [droplet.urn, domain.urn],
});

Full output:
❯ pulumi up
Previewing update (prod):
     Type                           Name                Plan
 +   pulumi:pulumi:Stack            example-prod        create
 +   ├─ digitalocean:index:SshKey   example             create
 +   ├─ digitalocean:index:Droplet  example-web         create
 +   ├─ digitalocean:index:Domain   example.live        create
 +   └─ digitalocean:index:Project  example             create

Resources:
    + 5 to create

Do you want to perform this update? yes
Updating (prod):
     Type                           Name                Status                  Info
 +   pulumi:pulumi:Stack            example-prod        **creating failed**     1 error
 +   ├─ digitalocean:index:SshKey   example             created
 +   ├─ digitalocean:index:Droplet  example-web         created
 +   ├─ digitalocean:index:Domain   example.live        created
 +   └─ digitalocean:index:Project  example             **creating failed**     1 error

Diagnostics:
  digitalocean:index:Project (example):
    error: Error creating project: Error assigning resources: POST https://api.digitalocean.com/v2/projects/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resources: 400 resource objects must have an urn in the following format: do:resource_type:resource_id

  pulumi:pulumi:Stack (example-prod):
    error: update failed

Outputs:
    ip  : "xxx.xxx.xxx.xxx"
    ipv6: "xxxx:xxxx:x:xx::xx:xxxx"

Resources:
    + 4 created

Duration: 37s

The project still gets created, but with nothing associated to it, and is never deleted when I run pulumi destroy
Am I doing something wrong?

Here's what I found and how I worked around the issue:

The urn for droplets and domains is, like the error says in the format of do:resource_type:resource_id, hitting the API directly has confirmed that:

I logged the droplet.urn that pulumi exposes and got something quite odd:

new DigitalOcean.Project(projectName, {
  name: domainName,
  resources: [
    droplet.urn.apply(urn => {
      console.log('urn..............', urn);
      return urn;
    }),
  ],
});

OUTPUT:
  pulumi:pulumi:Stack (example-prod):
    urn.............. urn:pulumi:prod::example::digitalocean:index/droplet:Droplet::example-web

I was able to use droplet.id.apply and domain.id.apply to workaround this issue, but it feels like a bug in the DigitalOcean Pulumi plugin.

WORKAROUND:
new DigitalOcean.Project(projectName, {
  name: domainName,
  resources: [
    droplet.id.apply(id => `do:droplet:${id}`),
    domain.id.apply(id => `do:domain:${id}`),
  ],
});

The urn you're seeing is the Pulumi-specific urn https://www.pulumi.com/docs/intro/concepts/programming-model/#urns that pulumi uses to track resources and state.
I think the pulumi-specific one might be overriding the one that should be present on the provider, unfortunately.

I'm still facing this issue (using Python - even though I guess that's irrelevant)

@ronnyhaase Could you please provide some example code and what's not working?

It's basically really the same as in the original issue, just written in Python. The error is the same, too (see attachment)
import pulumi
import pulumi_digitalocean as do

conf = pulumi.Config()

web = do.Droplet('web',
    # ...
)

domain = do.Domain('domain',
    # ...
)

project = do.Project('project',
    environment='production',
    name='...',
    purpose='Web Application',
    resources=[web.urn, domain.urn],
)

pulumi.export('IP', web.ipv4_address)

Thanks!

Error code says:

resource objects must have an urn in the following format: do:resource_type:resource_id

Here's working Python code for this issue.
import pulumi
import pulumi_digitalocean as do

conf = pulumi.Config()

web = do.Droplet('web',
    # ...
)

It's confusing that a URN essentially needs to be provided with an ID but it works as such.
domain = do.Domain('domain',
    # ...
)

project = do.Project('project',
    environment='production',
    name='...',
    purpose='Web Application',
    resources=[web.id.apply(lambda droplet_id: "do:droplet:" + droplet_id), domain.id.apply(lambda domain_id: "do:domain:" + domain_id)],
)


[DRDS] Adding Aliyun DRDS(PolarDB-X 1.0) CDC Support

We are now trying using flink cdc in our business, which are backed with DRDS.
We did some survey recently and willing to contributing cdc support for drds.
But there are little information in previous issues.
As far as I know, drds is a middle-ware layer top on aliyun rds instances, and there is no general binlog collection layer on top of rds.(Added after PolarDB 2.0).
Inspire by DTS(which works for drds by using distribute binlog collector), should we just using mysql-cdc for individual RDS instance which behind DRDS and then collect them together?

DTS is using separate subscribe binlog collector for drds, and then collection them together by using "DistributeDTSConsumer".
Are there any other blockers for implement this feature?

 分布式订阅使用说明 #8


Add support for automatically executing wasm-opt

This commit adds support for automatically executing the wasm-opt
binary from the Binaryen project. By default wasm-pack
will now, in release and profiling modes, execute wasm-opt -O over the
final binary. The goal here is to enable optimizations that further
reduce binary size or improve runtime. In the long run it's expected
that wasm-opt's optimizations may mostly make their way into LLVM, but
it's empirically true today that wasm-opt plus LLVM is the best
combination for size and speed today.
A configuration section for wasm-opt has been added as previously
proposed, namely:
[package.metadata.wasm-pack.profile.release]
wasm-opt = ['-Os']

The wasm-opt binary is downloaded from Binaryen's own
releases. They're
available for the same platforms that we download predownloaded binaries
for wasm-bindgen on. We'll also opportunistically use wasm-opt in
PATH if it's available. If we're untable to run wasm-opt, though, a
warning diagnostic is printed informing such.
Closes #159

i'd like to merge this with the refactor in #623, so gonna wait til that lands (which should be early next week, if not earlier)

Ping for review on this? I'm not sure if there's anything still blocking this?

i was blocking this on #623, but i think we can land this and i'll rebase #623 and add the updates that let this use the new more generic logic for binstall.

taking on the merge for this- gonna rewrite a bit to use the general logic in #623

gonna merge this and then refactor

this is failing on a cargo fmt, since i'm about to do #685 i think it's fine and gonna merge

@alexcrichton @ashleygwilliams
So i was working on a PR, and I think this is breaking functionality for the current master? I get the following error:

Is there a way to skip the step? Or will this be fixed by #685 ?
Thanks! :smile:

@torch2424 you should be able to cofnigure:
[package.metadata.wasm-pack.profile.dev]
wasm-opt = false
[package.metadata.wasm-pack.profile.release]
wasm-opt = false

to turn off wasm-opt support. Mind also opening an issue for that bug you're running into? It's an upstream issue with wasm-opt, but newer releases of wasm-opt may have fixed the issue.

@alexcrichton Awesome, will try that later tonight, and update here 😄
I'll open the issue then too, since a newer version may have fixed this like you said (and I assume we will consume this newer version 👍 )

Oh after looking at: src/wasm_opt.rs I now realize the version we are using is hardcoded? Opening an issue now :smile:

@alexcrichton  -O3 is not supported?
It works wrong with this configuration:
[profile.release]
opt-level = 3

[package.metadata.wasm-pack.profile.release]
wasm-opt = ["-O3"]


Add classifications to aspire-empty template

Fix #1096 by adding a few more classifications. These are missing and thus this template doesn't show in IDE filters that key off this info. These are in the aspire-starter one (in addition to Blazor but omitting that here)

This was intentional when I authored it as the empty template doesn't have an API or web app, but if it feels strange not having it show up for those classifications then it's good to add them.

This was intentional when I authored it as the empty template doesn't have an API or web app, but if it feels strange not having it show up for those classifications then it's good to add them.

Thanks @DamianEdwards I figured as much, but I think consistency is better here where these are showing up. Even though they don't have them, the intent is the next step you'll be adding them and it's primary use case for Aspire...but yeah main reason is I wasn't seeing it (maybe I'm a rare bird for using filters 🤪).  Thanks for the willingness to the small change here.

ok to merge @DamianEdwards ?


added runAsNonRoot to securityContext

Signed-off-by: Henry Li<EMAIL_ADDRESS>What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Release note:

Hi @bitscuit
Could you please also help to add runAsNonRoot: true to the deployment template in cs-operator repo?
I think we directly apply the deployment of secretshare from there.
Thank you!

/retest


Language learning quiz card generator

This is largely a separate project from the wordsearch generator, but given their topical similarity (and web hosting savings potential) I plan to include it's source code as a sub module.

Input
Document of written example material (ex. movie script, book excerpt, short story, news article, essay). This is the source document.
Output
Create word frequency/probability distribution from occurrences in the source document.
The frequency distribution, ordered least to most, approximates relative difficulty of vocabulary.
A word spelling similarity graph, implemented as edit distance.
Sentences or some other form of excerpt are converted into vocabulary exercises:

Fill in the blank. The sentence is provided with a target word omitted. The user must input the missing word.
Multiple choice fill in the blank. Functions the same as fill in the blank, but the user must choose from a list of options. The different options can be decided by word spelling similarity for added difficulty.
Isolated definition/translation. This is equivalent to creating a vocabulary word flash card. The user must recall the word given its translation, or vice versa.

Every output element can be edited. This helps correct errors, change priorities and difficulties of different words, and customize.
Whenever possible, exercises should be linked to a location in the source document for reference/context.
Anki
If the outputs are formatted for compatibility with Anki (ex. all outputs embedded as an Anki deck), then I can leverage the existing Anki GUI and spaced repetition algorithm implementation for using the generated exercises.
Anki does introduce some constraints for compatibility. Within Anki there exist constructs like notes, tags, cards, and decks. A note has source information (fields), which can be memorized by testing the user in a presented/formatted form. The formatted test question is a card, and a deck is a collection of cards.
The generator creates a list of notes written to a plain text file that can be imported by Anki.
In order to use the notes, a compatible card template must be created as well, which bridges the gap between the imported notes (of a given note type) and generated cards. Try https://ankiweb.net/shared/info/712027367 for an Anki extension to export and import card templates. Once the notes are generated, the Anki import GUI dialogue is used to assign a note type to parse the fields. The note type will then be assigned the card template.

Once the quiz card generator is ready, I the wordsearch generator server can run it on the back end, and handle input and output through a separate webpage.

[ ] use delimiter separated values parser in quizgen webpage to load note preview

https://www.npmjs.com/package/d3-dsv

[ ] Enable source text editor before file upload

[ ] create shared header navigation between the two pages


Add new translation in README.zh-CN.md

add "Always name your boolean value a flag" Chinese translation.

LGTM


azure_rm_aks_version should be azure_rm_aks_facts

In the example playbook for creating an AKS cluster, there's a task using the module azure_rm_aks_version. That module doesn't exist, but azure_rm_aksversion_facts does: https://docs.ansible.com/ansible/latest/modules/azure_rm_aksversion_facts_module.html#azure-rm-aksversion-facts-module

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

ID: 7af95292-9157-52bf-09b6-569e3d05debc
Version Independent ID: a46cb08d-415a-2922-19b9-97a1bb20b9ae
Content: Tutorial - Configure role-based access control (RBAC) roles in Azure Kubernetes Service (AKS) using Ansible
Content Source: articles/ansible/ansible-aks-configure-rbac.md
Service: ansible
GitHub Login: @TomArcherMsft
Microsoft Alias: tarcher

I pasted the wrong name of the correct, existing, module: It should be azure_rm_aksversion_facts.
https://docs.ansible.com/ansible/latest/modules/azure_rm_aksversion_facts_module.html#azure-rm-aksversion-facts-module

Hi @mrManner Thank you for your feedback! We will review and provide an update as appropriate.

@mrManner Thanks for reporting.
@TomArcherMsft I created a PR. Please validate it

@mrManner Changes merged with the actual doc.
I will close this out for now. If you need additional help please let me know and we can reopen and continue.


should not have to update gitignore

febs init should update / create gitignore

./node_modules
./.babelcache
./nyc_output
./esm
./dist

or
Configure cache directories should be placed under node_modules and out of the users way

No longer issue, init has been removed from febs.


Create a timeline

Add a list of all activities, achievements, work experience. Add as much info as I can remember.

Add a list of all activities, achievements, work experience. Add as much info as I can remember.


AVA hangs when test is used incorrectly

Did some preliminary testing and would seem that code like this causes AVA to hang:
import test from 'ava'

test()

Incorrect invocations like these should have better user feedback too.

I'd like to work on this—would this just require a check on test()'s arguments and an appropriate error message?

@sotojuan Seems like, try and see :)

I'd like to work on this

@sotojuan yes that'd be great!

would this just require a check on test()'s arguments and an appropriate error message?

Yea I think so. It's pretty weird right now, using the mini reporter it just hung, and using --verbose it got stuck in a loop complaining about the test() call causing an error to be thrown. Besides adding some assertions around required usage and communicating that back to the user I'm rather curious why it got stuck.

All right, I'll take a look at it later today or Monday. I have an algorithms exam to study for!

@sotojuan good luck with your exam!
Also note that https://github.com/sindresorhus/ava/pull/565 is already adding some of these messages.


[input] Use custom expand-or-complete in zsh < 5.3

as expand-or-complete-with-redisplay was added to fix an issue reported with zsh 5.2 when completing with . See #85.
Fixes #134

LGTM. Might also be worth making a follow-up PR to implement the is-at-least check in other places (like here)


Improvements to build watcher

Some tiny improvements to the code

@ijjk @Timer we should add a test for this new feature to prevent future regressions.

Thank you @rafaelalmeidatk!


How to specify the shape and the data_type of the output tensor of custom layer?

I imported Conv1d in my model, and quantized it. But when I compile, error occurs. I understand this error, but how to specify the shape and the data_type of the output tensor of this layer?
W0926 02:28:52.653378  2392 tool_function.cpp:171] [UNILOG][WARNING] The operator named conv1d_4, type: Conv1D, is not defined in XIR. XIR creates the definition of this operator automatically. You should specify the shape and the data_type of the output tensor of this operation by set_attr("shape", std::vector) and set_attr("data_type", std::string)
F0926 02:28:52.653432  2392 wrapper.cpp:111] [UNILOG][FATAL][PYXIR_INVALID_DATA_TYPE][] Unsupported data type!
*** Check failure stack trace: ***
Aborted (core dumped)
environment: Vitis-AI 2.5, tensorflow 2.

same problem

Hi @kayky233 and @yjtlab,
Based on your problem description, it is highly likely that you did not add 'add_shape_info=True' during the quantization stage. Here's a reference example:
`
from tensorflow_model_optimization.quantization.keras import vitis_quantize
quantizer = vitis_quantize.VitisQuantizer(model)
quantized_model = quantizer.quantize_model(
calib_dataset=train_images[0:10],
include_cle=True,
cle_steps=10,
add_shape_info=True,
include_fast_ft=True
)
`

@kayky233
Could you provide code and model files?

Closing this for now. Please re-open if there are any other concerns. Thanks.


Add support for LSPSignatureActiveParameter

Currently when calling vim.lsp.buf.signature_help on a given
function/method nord does not highlight or differentiate the active parameter.
This PR adds an accent color (nord8) and an underline to the current
active parameter making it stand out.
Highlight group docs: https://github.com/neovim/neovim/blob/70db972e5fbcab39946ad8ac05472a693cf65b68/runtime/doc/lsp.txt#L456-L459
See it in action:
Before:

After:

Live:

Hi @cmoscofian :wave:, thanks for your contribution :+1:
I'll review and test the changes within the next week(s).

The style looks good to me, but please move the code line into the already existing Neovim LSP block which is guarded for “vanilla” Vim users.

Yeap, no problem. Since you mentioned it I noticed that there are a few neovim specific definitions outside of that if statement, that were all introduced on version 0.5 (Diagnostics, NativeLSP and Treesitter).

LSPReference*
Diagnostic*
LspCodeLens
TreeSitter

Should I give a whirl at a minor refactor and just subject them all under the same specific condition checking for 0.5?

Release Note Assets

Before

After


Remove the map_type

WIP

Closing this as some implementation details make this too intricate for a quick removal.


Opto

This PR adds an optogenetic interface for ogen stim data.
Example session: https://drive.google.com/file/d/13XCaSJrC_Tr9TSMHJXKA4X8lZVs2Ee0w/view?usp=drive_link

Hey Paul, sorry for taking so long for this. I think I erased this notification by mistake and I found it today looking for one of your comments.

No, worries.  I didn't request your review until yesterday bc I was waiting on some things from the Schneider lab.

Hey Paul, sorry for taking so long for this. I think I erased this notification by mistake and I found it today looking for one of your comments.

No, worries. I didn't request your review until yesterday bc I was waiting on some things from the Schneider lab.

Ah, good.


Add test case proving possibility for non-unique feed version IDs

Checklist

[x] Appropriate branch selected (all PRs must first be merged to dev before they can be merged to master)
[x] Any modified or new methods or classes have helpful JavaDoc and code is thoroughly commented
[x] The description lists all applicable issues this PR seeks to resolve
[x] The description lists any configuration setting(s) that differ from the default settings
[ ] All tests and CI builds passing

Description
Proves the bug described in #251.

@evansiroky, I'm not sure what action (if any) you're looking for me to take here. Let's continue the discussion on #251 (or offline) about the preferred approach to address this.

Sorry for being mysterious. I wasn't sure about the best way to resolve this, so this PR was meant to aid discussion of a potential solution. I think a solution may involve inserting a hash into the generated ID.

:tada: This PR is included in version 3.6.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Truncated axis for histogram

this PR is a kind of restructuring the previous PR, #186, with the recent changes by Bob and his suggestions. The overall structure is simplified and organized better, than before.
It may be still be complex mainly because the nature of the dependent axis (Y-axis): dependent axis is correlated with independent axis' range control while the opposite case is not. That is, in many cases, the change of independent axis range (via plot control) also makes changes for the data range of dependent axis: min/max of Y-axis data changes. While, the change of dependent axis range via its plot control changes nothing in data aspect, i.e., just changing display only, not data.
The storybook screenshot shows its changes but dependent axis control does not reflect the behavior correctly (because y-axis min/max do not change with respect to x-axis control). But other two screenshots (number and date variables in the independent axis) taken from histogram filter shows more correct behaviors.
Clean-up is not done yet.

Hi @moontrip  Functionally, why does this have a lower truncation warning?

Hi @moontrip Functionally, why does this have a lower truncation warning?

@bobular First of all, thank you for your detailed review and comments 👍 I will reply them one by one.
For this one, actually it works correctly. Note that I have added 0 value data at story for better tests (like this lower truncation), so the min/max of the data becomes [0, 99]. The display range of dependent axis corresponding independent axis range control is [7, 99], thus it should have lower truncation warning - perhaps the 0 tick label at the Y-axis confused you, which is the tick in between [-4.95, 7]

Hi @moontrip Functionally, why does this have a lower truncation warning?

@bobular First of all, thank you for your detailed review and comments 👍 I will reply them one by one.
For this one, actually it works correctly. Note that I have added 0 value data at story for better tests (like this lower truncation), so the min/max of the data becomes [0, 99]. The display range of dependent axis corresponding independent axis range control is [7, 99], thus it should have lower truncation warning - perhaps the 0 tick label at the Y-axis confused you, which is the tick in between [-4.95, 7]

I don't think that's how it works.  If I provide x-axis range 4 to 10, the displayed values go from 7 to 23 but the default behaviour of Plotly is still to automatically set the y-axis from 0 to whatever (in this case the max is still 100 because the whole of data is passed to Histogram - really I guess we should pass xFilteredBins to the component from the story).  If the user doesn't touch the y-axis range controls, there is no way that the data can be truncated - because we are sending an dependentAxisRange: undefined to the Histogram on purpose - to let Plotly figure out the y-axis range.

So, again - there's no need to pass a dependentAxisRange if the user hasn't specified one.

Hi @moontrip Functionally, why does this have a lower truncation warning?

@bobular First of all, thank you for your detailed review and comments 👍 I will reply them one by one.
For this one, actually it works correctly. Note that I have added 0 value data at story for better tests (like this lower truncation), so the min/max of the data becomes [0, 99]. The display range of dependent axis corresponding independent axis range control is [7, 99], thus it should have lower truncation warning - perhaps the 0 tick label at the Y-axis confused you, which is the tick in between [-4.95, 7]

I don't think that's how it works. If I provide x-axis range 4 to 10, the displayed values go from 7 to 23 but the default behaviour of Plotly is still to automatically set the y-axis from 0 to whatever (in this case the max is still 100 because the whole of data is passed to Histogram - really I guess we should pass xFilteredBins to the component from the story). If the user doesn't touch the y-axis range controls, there is no way that the data can be truncated - because we are sending an dependentAxisRange: undefined to the Histogram on purpose - to let Plotly figure out the y-axis range.

So, again - there's no need to pass a dependentAxisRange if the user hasn't specified one.

@bobular Thank you for your detailed explanation. I think that we firstly need to clarify the scope of dependent axis truncation. Will we handle the dependent axis truncation irrelevant to independent axis range control ? As I said in my previous comment,  there is a case that independent axis range control make changes the min/max of dependent axis to original data's min/max of dependent axis without independent axis range control. I thought we would consider this case, but your speaking sounds like no and let them be mutually independent each other.

@bobular Thank you for your detailed explanation. I think that we firstly need to clarify the scope of dependent axis truncation. Will we handle the dependent axis truncation irrelevant to independent axis range control ? As I said in my previous comment, there is a case that independent axis range control make changes the min/max of dependent axis to original data's min/max of dependent axis without independent axis range control. I thought we would consider this case, but your speaking sounds like no and let them be mutually independent each other.

As I said above, don't worry about the logic of when the truncation is detected.
The incoming truncationConfig props will say whether or not to draw a rectangle.  If the range for that axis is not explicitly provided (as dependentAxisRange or independentAxisRange) then do not draw the rectangle (but maybe log something to the console to say that the component was unable to extend the axis with a truncation graphic because the explicit range was not given).
But, again, we never expect axis truncation to occur without the user specifying the axis ranges explicitly.