USE_PLYMOUTH=1 environment to control plymouth activation

It'd be nice to have something like this for non-interactive runs so they just get the "normal" system and I can still get plymouth without having to modify numerous test files each time I want to use plymouth.

Is this reasonable? https://github.com/banister/plymouth/commit/bbca2109430d43e03b49a1183b37cdf538596698

I think that will still cause problems with CI systems because it's on by default.

No ideas -- maybe a text file they can put in .gitignore?
Not yet -- I'll give it a shot when I work on projects this weekend.

ah good point about travis and friends, i hadnt thought of that hmmm

what about if they turn it off/on in their projects local .pryrc ? Plymouth.disable!

works for me

@erikh actually i just spoke to a dude and he said, regarding the travis issue, you could simply set env: RUN_PLYMOUTH="no" inside .travis.yml is this enough?

Sounds awesome.


Cannot create zero-length ComponentArray

I cannot manage to create a zero length ComponentArray. Instead I get an Array back:
julia> ComponentArray(zeros(0), Axis(()))
Float64[]

This seems to be due to this line, that if deleted several things stop working in the package. I wonder what was the rationale behind that line?
I found this to affect type stability.

Hm. Yeah, it seems that we should make FlatAxis be a real type instead of a type alias. I don’t remember the rationale for making it a type alias. I won’t be able to get to this for the next few days, unfortunately, but I’d be happy to review a PR.

Somewhat related: https://github.com/jonniedie/ComponentArrays.jl/issues/116#issuecomment-1016069072

Thanks for the reply, I am happy to give a go at opening a PR for this, but I would prefer that the open PRs get reviewed first, to minimise potentially duplicated work.

Not a solution, but it seems possible to create a zero-length array as:

ComponentVector(Vector{Float64}(), (Axis(),))


personal key binding doesn't work

VSCode Version: windows
OS Version: 1.5.1

Steps to Reproduce:
the personal key binding doesn't work.
this is my personalization
[{
"key": "ctrl+t",
"command": "workbench.action.terminal.focus",
"when": "editorTextFocus"
}]
In the previous versions works correctly

OS linux 64, v.1.5.1 does not work also

@markDem25 Are you having issues while setting key bindings to other commands as well or only with workbench.action.terminal.focus ?

This is now: workbench.action.focusPanel


Support ts-expect-error for specific version ranges

This enables writing:
// @ts-expect-error >=5.5

Which means "only expect an error in 5.5 and above".

My test isn't yet right; having a hard time getting an error that appears in 5.5 but not 5.4.


Provide Kotlin translations for the Java code in the master branch

The Kotlin code mirroring the Java code in the master branch should be placed in a new branch called master-kotlin.

Closed by https://github.com/vestrel00/android-dagger-butterknife-mvp/pull/67


[Feature-Request] Support Mono Global Shutter cameras in all three ports

Start with the why:
It would be beneficial to have the camera interfaces be modular so that a mono camera could be used in all three ports of the system, or that RGB cameras could be used in all three ports for instance.
Move to the what:
Support Mono cameras in any port, with the ability to run all three pipelines fully, trigger frames syncronously etc.
Move to the how:
on Discord it was mentioned there needed to be some abstraction of the camera driver code to support this feature to remove the hardcoded notion of Left, Right and RGB for the camera ports.

Thanks. Will prepare. If you're not already in our Discord, please join and we can share the temporary branch there. @alex-luxonis is likely who will make it.

any updates on getting a branch out for this?

Yes actually it just now went live:
https://github.com/luxonis/depthai-python/pull/365
Good timing!

@asa You could try installing the depthai from the above PR / branch multi_cam_support:
python3 examples/install_requirements.py
And then to run for example 3x OV9282:
python3 tests/cam_test.py -cams rgb,m left,m right,m

Cosmic timing!  Yes, this works great.  You all are amazing!


Replaced $cipher->key_size with $cipher->key_length

$cipher->key_size does not exist in phpseclib\Crypt\Rijndael.php but $cipher->key_length does.

(Either my comment got eaten or I'm blind.)
To clarify: phpseclib 2.0 changed the variable name:
https://github.com/phpseclib/phpseclib/blob/2.0/phpseclib/Crypt/Rijndael.php#L136
I don't know what version Travis/Composer is loading. Or maybe I'm wrong...

Travis is pulling 2.0.0 (composer says a74aa9efbe61430fcb60157c8e025a48ec8ff604) -- I this change maybe in a later version of phpseclib?

This variables were renamed on October 5, 2015 (d91158f6ef741f7f548091b0ee32ecac33f0207f).
The Changelog states "2.0.0 - 2015-08-04" and "2.0.1 - 2016-01-18", so I guess it was introduced after 2.0.0. :-)

Also got a notice related to this.

@DanielRuf If someone wants to add support for 2.0.1 without breaking support for 2.0.0, I'd merge it, but want to remain compatible with the current major version number at least.

Sticking on phpseclib 2.0.0 may not be the best solution.
phpseclib 2.0.1 fixes some regressions and other issues. Here is my PR: https://github.com/singpolyma/openpgp-php/pull/28
Possibly this can be further improved. But I would not check the phpseclib version for doing this as the project could change the variable again any time.
But why not just use getKeyLength and getBlockLength() from the phpseclib API?

If you want to amend your pull request to use getKeyLength and getBlockLength when available, I'll accept that, otherwise I looks good.
If you want to patch. travis.yml to use different php versions, I'll accept that too.

If you want to amend your pull request to use getKeyLength and getBlockLength when available, I'll accept that, otherwise I looks good.

I would suggest using this code for now, because the composer file is still locked to phpseclib 2.0.0 (not 2.* or stable) where these functions are not available and the return format of getKeyLength might not be the right one (keylength in bits).


Scrollbars always created, even if they don't yet exist

Before typing:

During typing:

Same issue here, Windows 7, hyper v1.3.1

Will you give v1.0.1 a try and let me know if that fixes it for you?


Setting BasicEnemy prop "FallOffCliff" to true prevents the enemy from moving

This enemy is called "Enemy6", it becomes active when the player enters the trigger called "Activate Enemies" under triggers node.

Note that if the following code is commented out, the enemy will not move regardless if the prop FallOffCliff is set to true or not.

BasicEnemy.cs does extend from Entity.cs so there might be something in there from preventing the enemy from moving.

Commenting out Commands[EntityCommandType.Movement] = new EntityCommandMovement(this); in BasicEnemy fixes this. I'm not sure why though.

Solved
By creating a new EntityCommandType.Movement in BasicEnemy, UpdateAir(float delta) is being called every frame in BasicEnemy. AirAcceleration is hard coded to a value of 30, this works well for the player, but it was too low for BasicEnemy preventing it from moving. For some really weird reason I guess UpdateAir(float delta) was only being called when the enemy cliff raycasts existed and were enabled. Setting AirAcceleration to a value of 300 allows the enemy to move (quite fast too). I'm not even sure if BasicEnemy should have this ClampAndDampen(...) functionality because it's causing this issue. Perhaps AirAcceleration should be moved to the interface so it forces the coder to give a value for it. If AirAcceleration stays where it is now, it can be defined through creating the command but if the coder forgets to define it, this issue will happen again. Or maybe it should stay there and the default value should be much higher and the value for the player should be manually defined to be lower. I'm not sure which is the best solution here. I'm also thinking debug tools should be put in place to prevent stuff like this from happening in the future because this was very time consuming to figure out.

This UpdateAir(float delta) function is also causing 2 new issues on top of this issue.

Enemy starts walking right when it should start walking left
Enemy gets stuck when touching a wall (will not move from wall / keeps walking continuously into the wall)

https://github.com/Valks-Games/sankari/pull/190 solves this


u256: log, log2 and sqrt impl (#5329)

Description
simple changes that uses newton's method for sqrt and decomposition to u64 for log2 - log builds up on log2 for u256
This should fix #5329
Ping @SwayStar123
Checklist

[x] I have linked to any relevant issues.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] I have updated the documentation where relevant (API docs, the reference, and the Sway book).
[x] I have added tests that prove my fix is effective or that my feature works.
[ ] I have added (or requested a maintainer to add) the necessary Breaking* or New Feature labels where relevant.
[x] I have done my best to ensure that my PR adheres to the Fuel Labs Code Review Standards.
[x] I have requested a review from the relevant team or maintainers.

Sorry for closing the old PR - it closed when I rolled back the 2 commits automatically.


[Pasteboard] Copy pasting an image file on macOS has incorrect image bytes.

If you copy an image file and paste it, Pasteboard.image is not null but the bytes are rendered in Flutter, it's not the actual image. Instead, it looks like this:

When the actual image looks like this:

Code:
final Uint8List? imageBytes = await Pasteboard.image;

Note that it works just fine on web.

Sorry for delay, can you give me  a simple reproducable code here? and what platform and flutter version are you using?
I just run the package/pasteboard/example on macOS with flutter 3.3. The image paste seems works fine.

@BirjuVachhani can you provide more information on how you got it to work on the web?
Such as the flutter version and the reproducible steps?
@boyan01 In order to reproduce the issue, copy a local image file, instead of copying the image data directly from Preview or similar.
For reference, Google Docs (even on web) supports copying an imagine file (as file) and upon pasting it it correctly displays the full inline image content which is expected behaviour for images at the very least.
Flutter (Channel stable, 3.3.0, on macOS 13.0 22A380 darwin-arm
https://user-images.githubusercontent.com/64651636/204139197-fcc1ebdd-068e-4034-bdfc-080890251134.mov

@borjandev Thank you for providing a demo for this.
For web, Pasteboard is not working in this case. So I am using html.document.onPaste stream to listen to paste events on a browser get image from the event data.
html.document.onPaste.listen((event) {
  final html.DataTransferItemList? items = event.clipboardData?.items;
  if (items != null) {
    for (int i = 0; i < items.length!; i++) {
      final String? type = items[i].type?.toString();
      final html.File? file = items[i].getAsFile();
    }
  }
});

Thanks for the detailed description @borjandev
in this situation, should use await Pasteboard.files() to get the file instead of Pasteboard.image


fix feature labels in pilot and allowlist

Various moves of tests broke the allowlist for feature labels. We need to get the analyze job required so we can block unlabeled tests from making it into master. This PR should make master pass the analyzer.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[X] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[X] Does not have any changes that may affect Istio users.

/test analyze-tests_istio

@stevenctl: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
7ad892d3a2b2e306fa60e94e845c5647152ec143
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@stevenctl: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
7ad892d3a2b2e306fa60e94e845c5647152ec143
link
/test gencheck_istio

lint_istio
7ad892d3a2b2e306fa60e94e845c5647152ec143
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test analyze-tests_istio

/test analyze-tests_istio

@stevenctl: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
ea73578efbdf30c780ff3ae414712878ca0885c8
link
/test integ-multicluster-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


[FLINK-20727][connector] pulsar SourceFunction

What is the purpose of the change
Add the SourceFunction implementation of Pulsar to the connector.
Brief change log

Add Pulsar SourceFunction implementation
Supports exactly-one
Support dynamic discovery of Topic
Implementation is similar to kafka

Verifying this change
This change added tests and can be verified as follows:

Adding basic tests for Source (start, stop, snapshot, checkpoint)
Pulsar service based on testcontainers
Unit tests for Pulsar authentication functionality
Topic dynamic discovery tests
Pulsar client cache tests
Watermark function testing

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Sorry for coming back so late to this PR. Code-wise, it looks mostly fine. I would add a complete code review later.
However, I'd like to clarify first, why we want to have the old implementation in Flink master at all. From my perspective, this is instant legacy. So there needs to be a strong reason to have it compared to merge only the new interfaces.
Possible reasons could include features that cannot be supported with the new PulsarSource. In general, when would a user choose the old implementation over the new implementation given that the new source interface is quite stable in Flink 1.13?
I'm duplicating the reply to the Sink PR as the answer may be different.

Sorry for coming back so late to this PR. Code-wise, it looks mostly fine. I would add a complete code review later.
However, I'd like to clarify first, why we want to have the old implementation in Flink master at all. From my perspective, this is instant legacy. So there needs to be a strong reason to have it compared to merge only the new interfaces.
Possible reasons could include features that cannot be supported with the new PulsarSource. In general, when would a user choose the old implementation over the new implementation given that the new source interface is quite stable in Flink 1.13?
I'm duplicating the reply to the Sink PR as the answer may be different.

Because the older version of Source has been verified in production and is stable for users to use. The implementation in the new version has yet to be verified.
This is the reason why I want to keep the old version of Source.

If you only need the new version of the source implementation, I can just submit the new version of the implementation and make the Table based on the new Source.

Because the older version of Source has been verified in production and is stable for users to use. The implementation in the new version has yet to be verified.
This is the reason why I want to keep the old version of Source.

That's certainly a good argument, but why wouldn't the users simply take the streamnative version if they want to have the stable version?
I'm mostly concerned that if we reach a stable version in the process of bugfixing Flink 1.13, we will add (for all practical purposes) dead code in this PR. Even worse, it may confuse users and they may accidentally choose the old version instead of the new version. Then, the user may experience all the downsides of the old source architecture without even realizing it (there are a few implications regarding checkpointing). To solve it, I guess we would mark the PulsarSourceFunction as deprecated, which would mean that we would add code now for 1.13.0 and deprecate it in 1.13.X or latest in 1.14.0. So we are adding code now where we immediately need to think about how to get rid of.
I think the best argument for merging the PR is that the user may actually use the stable PulsarSourceFunction in 1.13.0 and then switch to the new PulsarSource in 1.13.X without changing dependencies. Another important consideration is if the user can use the old function for use cases where the new PulsarSource does not suffice (yet).
Another option is that we prepare this PR (1-2 review cycles) and leave it unmerged until we know that the new PulsarSource misses critical feature for 1.13 and merge it then. Until then, I'd prefer to bet on a good first PulsarSource (I have no doubts that you will make a good job in porting it) and solve any actual issues with fast bugfix releases.

We discussed it and we started by merging the new Source, which allows Flink to not carry the old baggage, the old version is supported and we maintain it in the streamnative/pulsar-flink repository. I'm submitting the new Source implementation today.

Okay sounds good. Then let's close this PR for the time being. If we still see a need for it after having the new source in, we can still reopen.

@jianyun8023 Sorry I have probably missed the new PRs and can't find them through PR search, could you please link them to me (or add me as a reviewer?).

@jianyun8023 Sorry I have probably missed the new PRs and can't find them through PR search, could you please link them to me (or add me as a reviewer?).
@AHeise Sorry it took so long to push up the Pulsar implementation based on the Source interface. I'm sorry for making you wait so long.

new Pulsar Source: #15304


Can't combine outline with rounded

Clear and concise description of the problem
Not sure how this would affect other iconset, but Material Symbols has both outline (sharp) and outline-rounded variant.
Currently, it's impossible to combine both filters, which results in lots of duplicated icons when viewing:

Suggested solution
Either we could allow to select both outline and rounded, or maybe we need to add combined options: outline-sharp, outline-rounded.
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Google Fonts allows this by using a toggle to switch between outlined and filled.

Added. It will be included in Iconify icon sets data on next update run, so should be available on Icones after that.

@cyberalien Damn, that was quick 🙌

@cyberalien We should probably allow the same for Sharp variant

It is there: 6 suffixes for all variations.

@cyberalien Oh, my bad. I see the new Outlin-rounded, but not Sharp-rounded. I'll wait a while for the next update

Icones website is currently running previous version of icon sets data (Icones was updated about 2 hours ago, but icon sets package 1 hour ago), so it should be fixed on next dependencies update.

@cyberalien Yeah just curious since I expected both to be available at the same time since the changes are in the same commit 🤔


When using flutter Canvas, there is no API similar to clearing Canvas. Is there any way to fix it?

Use case
The clearRect() function can specify the x, y position and width and height of the starting point to clear the canvas；
context.clearRect(0, 0, w, h);
Proposal
Hope to have related API

Flutter framework is developed in a different repo: github.com/flutter/flutter
That being said: clearRect is just filling the given rectangle with rgba(0,0,0,0) so you can achieve the same with drawColor.

Flutter framework is developed in a different repo: github.com/flutter/flutter
That being said: clearRect is just filling the given rectangle with rgba(0,0,0,0) so you can achieve the same with drawColor.

好的我试试！


Alerts should not be shown for host that are in "Draining"/"Drained" state.

Rancher versions: Build from master
Steps to Reproduce:
Create a cluster.
Deploy few workloads.
Drain a node.
On the cluster dashboard page, we see alerts for this node.
Expected Behavior:
Alerts should not be shown for host that are in "Draining"/"Drained" state.

@loganhz this looks like ui issue, similar to https://github.com/rancher/rancher/issues/14659, could you confirm?

Version - 2.1 master 9/4
Verified fixed.


Startup delay/blocking when missing credentials

On startup, the service attempts to create a device client for each registered device. This causes it to lookup the camera credentials secrets. When the secrets do not exist, it waits up to 2 minutes for them, for each device. This all happens serially and delays the starting of the service.
level=INFO ts=2022-03-29T00:39:55.184382784Z app=device-onvif-camera source=driver.go:86 msg="Initializing device client for '3fa1fe68-b915-4053-a3e1-1027f5ea88f4' camera"
level=WARN ts=2022-03-29T00:39:55.184402418Z app=device-onvif-camera source=driver.go:283 msg="Unable to retrieve camera credentials from SecretProvider at path '3fa1fe68-b915-4053-a3e1-1027f5ea88f4': Error, path (3fa1fe68-b915-4053-a3e1-1027f5ea88f4) doesn't exist in secret store. Retrying for 1m59.999998509s"
level=WARN ts=2022-03-29T00:39:56.184607352Z app=device-onvif-camera source=driver.go:283 msg="Unable to retrieve camera credentials from SecretProvider at path '3fa1fe68-b915-4053-a3e1-1027f5ea88f4': Error, path (3fa1fe68-b915-4053-a3e1-1027f5ea88f4) doesn't exist in secret store. Retrying for 1m58.999817495s"
...
level=ERROR ts=2022-03-29T00:41:55.234543205Z app=device-onvif-camera source=driver.go:90 msg="failed to initial device client for '3fa1fe68-b915-4053-a3e1-1027f5ea88f4' camera, skipping this device."

https://github.com/edgexfoundry-holding/device-onvif-camera/blob/27426708967fb713f3ef9396d946112ad1b0b7a6/internal/driver/driver.go#L80-L91

The device service tries to get the credential if the camera required authentication.
Here's the function to get the credential
https://github.com/edgexfoundry-holding/device-onvif-camera/blob/c64c8ceb32d9e245c546dc7983f6cd9184b271bd/internal/driver/driver.go#L265-L274
The user can decrease CredentialsRetryTime by overriding the env DRIVER_CREDENTIALSRETRYTIME.

@weichou1229 I think the problem is that on startup this is not done asynchronously. Thus one camera with missing credentials will hold up the N number of cameras with valid credentials.


update versioning

added versioning with setuptools_scm

Is this ready to be merged?

Yes, this includes some clean up, i'll merge it!


[Release] Stage to Main 11/14

https://github.com/adobecom/cc/pull/450

Creative cloud:

Before: https://main--cc--adobecom.hlx.live/?martech=off
After: https://stage--cc--adobecom.hlx.live/?martech=off

Closing this PR as it is no longer required.


Make test insensitive to param order

TestBuildContainerConfig checks for the existence of a certain label,
but it was sensitive to the order of the parameters in the value of the
label. This makes it insensitive to the order

LGTM


Enable plugins for dependencies listed in the top-level package.json in monorepos.

In a monorepo using yarn or npm workspaces, a shared dependency can be listed in the top level package.json.
When that is the case, knip currently doesn't detect it and doesn't enable the plugin associated to it in the monorepo packages.
Knip only enable plugins if the associated dependencies are listed in the given package's package.json.
It would be nice if knip could enable plugins for packages when the dependency is listed in the top level package.json.
Example: In my monorepo, I have 3 packages that are all using the same Cypress version. This is best for me to have the cypress dependency in the root package.json so I can easily upgrade it for all packages and ensure all packages stay on the same version. I would love for knip to enable the cypress plugin for all my packages but that's currently not the case.

Knip is supposed to work as you expected: it enable plugins in descendant workspaces if an ancestor workspace has it enabled.
Coincidentally, one of the fixtures even uses cypress as an example.
When I run Knip in this fixture folder in debug mode (-d) I see:
[knip] Enabled plugins (.)
[ 'Cypress', 'TypeScript' ]

And then in the other workspaces (that does not have cypress listed in package.json) I see Cypress as well:
[knip] Enabled plugins (apps/backend)
[ 'Cypress', 'Next.js', 'PostCSS', 'TypeScript' ]

So now I wonder whether Knip has a bug or why the plugin is not enabled in your root workspace. Any chance you could share more details or even your repository?

Hi @webpro,
Thanks for your answer. I am able to reproduce what you are seeing.
As an example, Cypress plugin is properly enabled for the apps/frontend package when I run npx knip --debug from the fixtures/workspaces folder:

That being said, if I run knip on a specific workspace with npx knip --debug --workspace apps/frontend, then the plugin is not enable for the specified workspace, and this is the issue.

:rocket: This issue has been resolved in v2.21.1. See Release 2.21.1 for release notes.

Thanks for the report @yvan33, now I saw the issue was that when using --workspace [dir ancestor workspaces were no longer included since a refactoring a few minors ago (probably v2.17.2).

Thank you for fixing it so fast @webpro ! Highly appreciated!


npm install i2c fails on BeagleBone

An install of i2c on a Beaglebone Green, with relatively new/updated Nodejs and NPM, is failing?  Any clues?
verbose stack Error<EMAIL_ADDRESS>install: node-gyp rebuild
verbose stack spawn ENOENT
verbose stack     at ChildProcess. (/root/nodejs/lib/node_modules/npm/lib/utils/spawn.js:33:16)
verbose stack     at emitTwo (events.js:106:13)
verbose stack     at ChildProcess.emit (events.js:194:7)
verbose stack     at maybeClose (internal/child_process.js:899:16)
verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
verbose pkgid<EMAIL_ADDRESS>verbose cwd /home/examples.i2c
error Linux 4.4.9-ti-r25
error argv "/root/nodejs/bin/node" "/usr/local/bin/npm" "install" "i2c"
error node v7.8.0
error npm  v4.2.0
error file sh
error code ELIFECYCLE
error errno ENOENT
error syscall spawn
error<EMAIL_ADDRESS>install: node-gyp rebuild
error spawn ENOENT
error Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
2017-04-07T19_39_40_305Z-debug.txt

I'm getting similar errors with "npm install i2c" on both my mac and raspberry pi:
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is most likely a problem with the i2c package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls i2c
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 4.9.41+
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "piglow"
npm ERR! cwd /home/pi
npm ERR! node -v v4.8.2
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/pi/npm-debug.log`

Did you solve the problem? Because I have the same happening right now. My node version is 8.11.2 and my     "body-parser": "^1.18.3",
"express": "^4.16.3",
"mongodb": "^3.1.1",
"mqtt": "^2.18.3",
"npm": "^6.2.0",
"server": "^1.0.18"


Create License.txt

Hello!  I'd like to use this plugin in my place of employment and a license is required.  I've added the MIT license, as that seems to be what most Flow Launcher plugins use.  Feel free to choose another if something else suits your desires.
https://choosealicense.com/
Thanks!

Hey thanks for the add. I do need to make a couple tiny adjustments, are you ok for me to commit them to this PR also?

Of course. Go for it!On Apr 29, 2024, at 7:00 PM, Jeremy Wu @.***> wrote:
Hey thanks for the add. I do need to make a couple tiny adjustments, are you ok for me to commit them to this PR also?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


Inefficiencies in publisher

https://github.com/lbryio/lbry/blob/master/lbrynet/lbrynet_daemon/Publisher.py#L45
load_file_attributes() calls wallet.get_claimid() which is a lbryum sever call , but it could just fill in claim id from the output of make_claim() function

fixed in https://github.com/lbryio/lbry/pull/592


Have the plugin manager reload on fail

1. Why is this change necessary?
When a plugin update fails the local plugin listing is not reloaded. The plugin will therefore still be listed under activated even though it gets disabled due to the failed update.
This can leave users confused since the plugin is listed as active but is not.
2. What does this change do, exactly?
It reloads the local plugin listing once a plugin update fails. Furthermore, it reloads the menu to remove disabled menu items.
3. Describe each step to reproduce the issue or behaviour.
Create a plugin which fails during the update process. Click update in the plugin manager's local plugin listing.
4. Please link to the relevant issues (if any).
None exists.
5. Which documentation changes (if any) need to be made because of this PR?
None.
6. Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

By the way, I am a new Pickware team member.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-20233
Please use this issue to track the state of your pull request.

Hey @niklasbuechner,
thank you for your contribution, your changes were merged with a6580070136ac4594.
We're sorry it took so long! 😭


Configuration instructions has dead link to MacAppBundlePluginExtension

The Configuration section of the Intro page has a link to MacAppBundlePluginExtension at https://github.com/crotwell/gradle-macappbundle/source/browse/src/main/groovy/edu/sc/seis/gradle/macAppBundle/MacAppBundlePluginExtension.groovy . However, this results in a 404 error.
I believe that it is intending to point to https://github.com/crotwell/gradle-macappbundle/blob/master/src/main/groovy/edu/sc/seis/macAppBundle/MacAppBundlePluginExtension.groovy

Fixed, thanks.


HDFS-16342. Improve code in KMS

There are duplicated code in KMS, we can do a little improve

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 54s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
34m 57s

trunk passed

+1 :green_heart:
compile
23m 39s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
20m  9s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
0m 30s

trunk passed

+1 :green_heart:
mvnsite
0m 38s

trunk passed

+1 :green_heart:
javadoc
0m 33s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
0m 31s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
0m 50s

trunk passed

+1 :green_heart:
shadedclient
23m 22s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 20s

the patch passed

+1 :green_heart:
compile
22m 55s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
22m 55s

the patch passed

+1 :green_heart:
compile
20m 14s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
20m 14s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 28s

the patch passed

+1 :green_heart:
mvnsite
0m 37s

the patch passed

+1 :green_heart:
javadoc
0m 32s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
0m 30s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
0m 58s

the patch passed

+1 :green_heart:
shadedclient
23m 25s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
3m 34s

hadoop-kms in the patch passed.

+1 :green_heart:
asflicense
0m 49s

The patch does not generate ASF License warnings.

183m  8s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3693/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3693

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux aa64e71ecd79 4.15.0-143-generic #147-Ubuntu SMP Wed Apr 14 16:10:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 6254553f2fa697318420467b15d2845fba176a47

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3693/1/testReport/

Max. process+thread count
523 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-kms U: hadoop-common-project/hadoop-kms

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3693/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.


Sharing Team Knowledge using Azure Project Wikis

Hi @Cii-Cing
If it is the beginning of any issue, please provide more information.
Thanks


dts: nrf: dts.fixup cleanup for nRF series

All dts defines for nRF series are now extracted through aliases instead of dts.fixup files.
I left NAME defines for compatibility with examples and other drivers.
I moved WNCM14A2A dts.fixups to board level, but they should also be replaced with aliases and overlay files at example level.

Codecov Report

Merging #10377 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #10377   +/-   ##
=======================================
  Coverage    52.9%    52.9%
=======================================
  Files         210      210
  Lines       25732    25732
  Branches     5672     5672
=======================================
  Hits        13614    13614
  Misses       9802     9802
  Partials     2316     2316

Continue to review full report at Codecov.

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

Should I use for example DT_NRF_I2C or DT_I2C ?

@Mierunski DT_ is sufficient IMO. We'll have then:
IRQ_CONNECT(DT_I2C_0_IRQ, DT_I2C_0_IRQ_PRIORITY, ...

gpio0 = get_device_binding(DT_GPIO_0_LABEL);

Should work.

@Mierunski DT_ is sufficient IMO. We'll have then:
IRQ_CONNECT(DT_I2C_0_IRQ, DT_I2C_0_IRQ_PRIORITY, ...

gpio0 = get_device_binding(DT_GPIO_0_LABEL);

Should work.

As I think about this more, I worry about this since we are using a convention based on aliases, I guess I'd rather us focus our efforts on using code generation to remove dts.fixup and not introduce a new convention related to aliases (I know we do this some already for GPIOs w/LEDs & BUTTONs).

Using code generation will be next step

@galak @anangl I changed prefix do DT_

@Mierunski boards/arm/nrf52840_pca10056/dts.fixup should be also renamed to dts_fixup.h

@anangl Fixed

@galak can you revisit please?

@galak @anangl I changed prefix to DT_

As I mentioned before, I'd rather us stick with the dts fixup file for now and not introduce this style of DT_ usage.  Lets focus on the code generation solution.

@galak Merging this PR will not preclude switching to code generation in the future. And these changes would help us a lot since maintaining the fixups in their current form is a real pain. We don't introduce any new mechanism, we just want to use the functionality already present and used in Zephyr to save some time that we would otherwise need to waste on these fixups.

@galak Merging this PR will not preclude switching to code generation in the future. And these changes would help us a lot since maintaining the fixups in their current form is a real pain. We don't introduce any new mechanism, we just want to use the functionality already present and used in Zephyr to save some time that we would otherwise need to waste on these fixups.

@galak I agree with @anangl here. This PR is mostly about cleaning up the fixup files in order to save time on their maintenance. Is there something we can do in order to reduce this maintenance burden while at the same time deferring the tough decisions until the code generation changes are merged? This might take a while and in the meantime it would be beneficial that we did not have to spend so much time on those.

Additionally, what happens if I have a GPIO expander over I2C, should I give it an alias of dt-i2c-3? What happens when a new nordic SoC has a 3rd I2C controller, now the defines we generate using this method aren't unique.

I don't understand why someone would want to name GPIO expander dt-i2c-3? But if someone really wanted to do such a thing, same could be done with dts_fixup:
#define CONFIG_I2C_3_DEV_NAME		NORDIC_NRF_I2C_40003000_SEMTECH_SX1509B_3E_LABEL
#define CONFIG_I2C_3_ADDR		NORDIC_NRF_I2C_40003000_SEMTECH_SX1509B_3E_BASE_ADDRESS
#define CONFIG_I2C_3_MASTER_DEV_NAME	NORDIC_NRF_I2C_40003000_SEMTECH_SX1509B_3E_BUS_NAME

I really don't see any point in doing it. It's a gpio expander, more suited alias would be something like dt-gpio-sx1509b-0
I don't really think it would be possible to get a gpio expander with alias name dt-i2c through PR.

With this PR nordic platforms are different from all the others in how dts_fixups.h are used and defined vs all other SoC/boards.

It is not a new concept, See PR: #7012 especially files in boards:     zephyr/boards/arm/frdm_k64f/frdm_k64f.dts
It is easier for us to have defines straight from dts to code, instead of longer path dts->dts_fixup.h->code and I don't see how it has any negative effect on the whole project. It is already used and it's time-saving.

It is not a new concept, See PR: #7012 especially files in boards:  zephyr/boards/arm/frdm_k64f/frdm_k64f.dts
It is easier for us to have defines straight from dts to code, instead of longer path dts->dts_fixup.h->code and I don't see how it has any negative effect on the whole project. It is already used and it's time-saving.

Setting aliases like the frdm_k64f.dts and using them beyond the convention we have for LED & BUTTONs is a completely different thing.  I've got no issue if you want to add aliases for your devices into the .dts files.  We don't have any other cases I'm aware of that we directly use aliased defines in the generated file for things like address/irq/irq priority.

I don't understand why someone would want to name GPIO expander dt-i2c-3? But if someone really wanted to do such a thing, same could be done with dts_fixup:
#define CONFIG_I2C_3_DEV_NAME		NORDIC_NRF_I2C_40003000_SEMTECH_SX1509B_3E_LABEL
#define CONFIG_I2C_3_ADDR		NORDIC_NRF_I2C_40003000_SEMTECH_SX1509B_3E_BASE_ADDRESS
#define CONFIG_I2C_3_MASTER_DEV_NAME	NORDIC_NRF_I2C_40003000_SEMTECH_SX1509B_3E_BUS_NAME

I really don't see any point in doing it. It's a gpio expander, more suited alias would be something like dt-gpio-sx1509b-0
I don't really think it would be possible to get a gpio expander with alias name dt-i2c through PR.

This isn't the greatest example, but one of the issues that dts_fixup.h is dealing with is how to map a given device to an instance id.  That mapping needs to working across SoC instances where the same driver ends up being used.  So using something like aliases as the means to do this mapping is fragile in my opinion.  I was trying to provide a psuedo-real example to show that fragility.

This isn't the greatest example, but one of the issues that dts_fixup.h is dealing with is how to map a given device to an instance id. That mapping needs to working across SoC instances where the same driver ends up being used. So using something like aliases as the means to do this mapping is fragile in my opinion. I was trying to provide a psuedo-real example to show that fragility.

I don't see how using dts_fixup is less fragile than using aliases. If you put a wrong alias name it stops working, and if you put wrong define in dts_fixup it also stops working.

@galak

I don't see how maintaining the fixups is that much of a pain. Once the fixup is set for a given set of peripherals I doesnt change much. So the maintenance burden seems pretty low. You are introducing a new convention of how drivers and dts naming is expected to be handled.

The thing is that we are still lacking dts entries for several peripherals, thus when writing "maintaining the fixups in their current form" I actually meant adding new items to the fixup files. For instance, I need to add nodes for our PWM peripheral. We have got 4 instances of this peripheral, each instance has 4 channels and for every channel I need to provide the possibility of assigning a pin (all are optional). So I will end up with a bunch of such constructs as these for UART optional pins. But it doesn't end there, things get even worse when the access to the peripherals can be made from secure and non secure domain in Armv8-m:  in this case for each peripheral I need to double the fixups since there are two base addresses. Any update of such structure (during the PR review for instance) becomes complicated and error-prone. This I consider a pain. And actually a waste of time as the fixups are supposed to disappear at some point (but that point might still be quite far away in the future). By using aliases we could make the process of moving drivers' configuration to dts simpler, and therefore faster.
I think I see your point regarding introducing a new convention. Although it was not our intention, I agree, by using DT_ prefixes we would differ too much from the others. And people might get confused because of this. What about getting back to CONFIG_ prefixes? This way the code in drivers would look the same as presently. The only difference would be the fixups being generated automatically via aliases instead of written down in the dts_fixup.h file. We could provide a comment in this file instead of the actual fixups to help people understand this. The content of the generated_dts_board.h file would be almost the same. Could such solution appear acceptable to you?

@galak See also #10658. We would not have got into this trouble if we used aliases to generate fixups automatically. This is a similar problem as the one with secure and non secure accesses I mentioned before - fixups are strictly dependent on the peripheral base addresses. With the current form of the fixup file we will need another #if to fix this issue.

You can also add "Fixes #10658" in the PR description.

@galak @anangl All changes should be fixed now


Error fetching values from variables - queue behavior semantics needs clarification

I am generating the following traceback when I try to feed data to the queue.
Have I written custom code : NO
OS Platform and Distribution : Ubuntu 16.04
TensorFlow installed from : pip
TensorFlow version: 1.4.1
Bazel version : N/A
CUDA/cuDNN version : CUDA Version 8.0.61
GPU model and memory : GTX 680 - 4 gb memory
Exact command to reproduce : detaliled in description
The error message is very long so let me try to break it down
The variable is declared as follows
a = tf.placeholder(tf.float32, shape=[1,2], name='a')

The variable is fed using a feed_dict as follows
 _,X_hat_val,loss_val = sess.run([train,X_hat,loss],
                        feed_dict={X : np.array([[ x_ord[0,0],y_ord[0,0]]]),
                                  a : np.array([[ x_acc[0,0], y_acc[0,0] ]]),
                                  a_prev : np.array([[ out_xacc[0,0], out_yacc[0,0] ]]) })

The variable is printed before feeding to the queue:
[[ 0.  0.]] # the value of the variable
(1, 2) # the shape of the variable
float32 # the data type of the variable

The error is generated at
tensorflow.python.framework.errors_impl.InvalidArgumentError:
You must feed a value for placeholder tensor 'a' with dtype float and shape [1,2]

However, when I remove an operation to fetch the variable value it works perfectly
print(sess.run(a))
I am not sure if the queue mechanism is seeking out a new value when I run the operation, or if the semantics of the operation is not what I think it is
==========      Training Model  ==========

/home/kiran/projects/Kalman/data/S10_05_19_2017_train_mouse_subjects.tfrecords
Running Model

**********Running Graph with a session**********

2018-04-15 09:07:11.227273: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX
2018-04-15 09:07:11.263222: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:892] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning
 NUMA node zero
2018-04-15 09:07:11.263499: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 0 with properties:
name: GeForce GTX 680 major: 3 minor: 0 memoryClockRate(GHz): 1.0845
pciBusID: 0000:02:00.0
totalMemory: 3.93GiB freeMemory: 3.49GiB
2018-04-15 09:07:11.263522: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GeForce GTX 680, pci bus id: 0000:02:00.0, compute capa
bility: 3.0)
19999
[[ 0.  0.]]
(1, 2)
float32
Processing record :  0

2018-04-15 09:07:11.871973: W tensorflow/core/kernels/queue_base.cc:295] _0_input_producer: Skipping cancelled enqueue attempt with queue not closed
Traceback (most recent call last):
  File "/home/kiran/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1323, in _do_call
    return fn(*args)
  File "/home/kiran/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1302, in _run_fn
    status, run_metadata)
  File "/home/kiran/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/errors_impl.py", line 473, in __exit__
    c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.InvalidArgumentError: You must feed a value for placeholder tensor 'a' with dtype float and shape [1,2]
         [[Node: a = Placeholder[dtype=DT_FLOAT, shape=[1,2], _device="/job:localhost/replica:0/task:0/device:GPU:0"]()]]
         [[Node: a/_69 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_4_a", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"]()]]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "KalmanModel.py", line 378, in <module>
    training(subject)
  File "KalmanModel.py", line 242, in training
    print(sess.run(a))
  File "/home/kiran/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 889, in run
    run_metadata_ptr)
  File "/home/kiran/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1120, in _run
    feed_dict_tensor, options, run_metadata)
  File "/home/kiran/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1317, in _do_run
    options, run_metadata)
  File "/home/kiran/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1336, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: You must feed a value for placeholder tensor 'a' with dtype float and shape [1,2]
         [[Node: a = Placeholder[dtype=DT_FLOAT, shape=[1,2], _device="/job:localhost/replica:0/task:0/device:GPU:0"]()]]
         [[Node: a/_69 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_4_a", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"]()]]

Caused by op 'a', defined at:
  File "KalmanModel.py", line 378, in <module>
    training(subject)
  File "KalmanModel.py", line 159, in training
    a = tf.placeholder(tf.float32, shape=[1,2], name='a')
  File "/home/kiran/anaconda3/lib/python3.6/site-packages/tensorflow/python/ops/array_ops.py", line 1599, in placeholder
    return gen_array_ops._placeholder(dtype=dtype, shape=shape, name=name)
  File "/home/kiran/anaconda3/lib/python3.6/site-packages/tensorflow/python/ops/gen_array_ops.py", line 3091, in _placeholder
    "Placeholder", dtype=dtype, shape=shape, name=name)
  File "/home/kiran/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
    op_def=op_def)
  File "/home/kiran/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 2956, in create_op
    op_def=op_def)
  File "/home/kiran/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1470, in __init__
    self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access

InvalidArgumentError (see above for traceback): You must feed a value for placeholder tensor 'a' with dtype float and shape [1,2]
         [[Node: a = Placeholder[dtype=DT_FLOAT, shape=[1,2], _device="/job:localhost/replica:0/task:0/device:GPU:0"]()]]
         [[Node: a/_69 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_4_a", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"]()]]

In your post above I don't see the actual TF program where the queue is defined and used, so it's hard to say what might be going on.

Hi, thanks for your reply. I am not sure what aspects define the queue internally but let me try to highlight the aspects
        # create a string input producer to read the tfrecords
        filename_queue = tf.train.string_input_producer([filenames_train], shuffle=False)
       ...decoded vars... = read_and_decode(filename_queue)

    # create a batch to train the model
    batch = tf.train.batch([...decoded vars... ],
                           batch_size=1, capacity=2000, num_threads=1)

Can you post a simple reproducible example?

Hi, I will post a reproducible example soon. I have been busy dealing with other commitments. Sorry for the delay.

Nagging Assignee @poxvoculi: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

I'm going to close this for now.  If it continues to be a problem and you can show a small reproducible example that suggests a bug, please reopen.


Slash comamnd 401 Unauthorized  - slack_bolt_receiver_authenticity_error

Description
Was trying to add slash command to the bot using /slack/events as request url in the app config
But bolt-js response 401 for the ssl_check
It seems its doing verify signature first before response to ssl
But the POST request from Slack doesn't have signature in the header
So, How can I add slash command and what should its request url be?
What type of issue is this? (place an x in one of the [ ])

[x] bug
[ ] enhancement (feature request)
[x] question
[ ] documentation related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version:
node version:
OS version(s):
Steps to reproduce:

Add a new slash command with url /slack/events
App returns 401 unauthorized

Expected result:
Should pass the ssl_check
Actual result:
Not pass the ssl_check instead it's trying to verify the signature
Attachments:
App output

The request

Hey @vitohuang,
Are you using ngrok to run your bolt app locally or are you hosting it somewhere? Once you have a bolt app started, it will create a endpoint on slack/events which is what you would use in the request url field when creating a command. If you are using ngrok, it should look something like https://3cb89939.ngrok.io/slack/events

@stevengill Yes, I'm using ngrok and have the slash command with request url to something like https://3cb89939.ngrok.io/slack/events
But when I clicked save on creating a command, that's the post Slack sent me and the bolt app returns 401
I did a bit track and saw its failed at verifySignatureAndParseRawBody which is trying to get the signature from the header, but as you can see from the screenshot there is no x-slack-signature in that post request
How can I fix it?

This answer may be too late but it might help others.  The SLACK_SIGNING_SECRET environment variable is not set correctly for your app.  See section 'Adding your app credentials' at https://api.slack.com/start/building/bolt-python for an example.

@dhinson919 Thank you, this is exactly what I was looking for.

@dhinson919 I did have the SLACK_SIGNING_SECRET setup and in both the .env and also did export SLACK_SIGNING_SECRET=123213
Here is how I initialize the app
const app = new App({
  token: process.env.SLACK_BOT_TOKEN,
  signingSecret: process.env.SLACK_SIGNING_SECRET
});

Any idea about why it doesn't work?

@vitohuang The common cause is that you might load the signing secret for a different app.

Hi all I had the same problem, then I went into Settings -> Basic information and checked the signing secret - noticed that it had changed! (As my app was working normally the previous day). Can anyone tell me why the signing secret would suddenly change? Is this a security thing?
If this changes every so often randomly once my app is production, this will have a huge impact on my users, and is quite hard to debug. I hope you can appreciate why this a major cause for concern for me, many thanks in advance!

noticed that it had changed! (As my app was working normally the previous day). Can anyone tell me why the signing secret would suddenly change? Is this a security thing?

hmm, this never happens unless you or your collaborators of the app click the "Regenerate" button in the section.

noticed that it had changed! (As my app was working normally the previous day). Can anyone tell me why the signing secret would suddenly change? Is this a security thing?

hmm, this never happens unless you or your collaborators of the app click the "Regenerate" button in the section.

Hey thanks for the reply. When you say "regenerate", do you mean the "reinstall to workspace" button? If so, this would make sense, but I've already done this tons of times in local development and it never resulted in any issues with the signing secret.

@daneasterman I meant this button in your Slack app configuration page (Basic Information > App Credentials)

@daneasterman I meant this button in your Slack app configuration page (Basic Information > App Credentials)

Ahh i see. Nope, I don't remember every clicking that. Strange, anyway the main thing it's working now!

Hi all in this conversation, I've revisited this issue and it seems that we, the SDK maintainers, have provided answers to each question. Thus, let us close this one for now.
If you have a question similar to this topic, please feel free to create a new one with detailed information. We are happy to help you out 👋


train shows an unexpected exception in best_download no explanation given

hey I am trying to run this repo on a big linux computer that has 8 h100 and is just sitting idol so timely help would be very appreciated.
as a test I am ruining things on my ubuntu mostly to see it runs but I got this weird error that seems like it is potentially a bug since it is an uncaught exception with no explanation
so this is probably me not setting up the environment correctly I tried pip installing it and it didn't work so I went and used anaconda for some and pip for the rest.
tokenizer worked fine then I ran the train and got:

(neox_toolkit) user@user-System-Product-Name:~/Desktop/coder reaserch/gpt-neox$ python train.py tester_config.yml tester_setup.yml
Setting ds_accelerator to cuda (auto detect)
Traceback (most recent call last):
  File "train.py", line 20, in <module>
    from megatron.training import pretrain
  File "/home/user/Desktop/coder reaserch/gpt-neox/megatron/training.py", line 58, in <module>
    from eval_tasks import run_eval_harness
  File "/home/user/Desktop/coder reaserch/gpt-neox/eval_tasks/__init__.py", line 15, in <module>
    from .eval_adapter import EvalHarnessAdapter, run_eval_harness
  File "/home/user/Desktop/coder reaserch/gpt-neox/eval_tasks/eval_adapter.py", line 16, in <module>
    import best_download
  File "/home/user/anaconda3/envs/neox_toolkit/lib/python3.8/site-packages/best_download/__init__.py", line 35, in <module>
    retry_strategy = Retry(
TypeError: __init__() got an unexpected keyword argument 'method_whitelist'
(neox_toolkit) user@user-System-Product-Name:~/Desktop/coder reaserch/gpt-neox$

note that I did went ahead and tried literally all the available best_download version and got the same error, tokenizer itself was from hugging face polycoder and I pased it like this
python tools/preprocess_data.py --input ./tester.jsonl --tokenizer-type GPT2BPETokenizer --vocab-file ./vocab.json --merge-file ./merges.txt --output-prefix ./output

environment was made haphazardly and its just a mockup to see I can run things. if this is a known environment bug I would love for an explanation of whats wrong so when I set it up on the real machine it would stick

apparently urllib3 needs to be a specific version and thats not shown in the requirments

apparently urllib3 needs to be a specific version and thats not shown in the requirments

Thanks for catching this! Feel free to fork the repo and open a PR with the change :)

This PR  in the best_downloads repo would fix this issue by updating the deprecated argument to its successor but it hasn't been merged yet.  Specifying a backdated version of urllib3 in requirements.txt is not an ideal fix because a newer version of urllib3 is required by wandb.

The above PR has been merged. @nevakrien can you confirm that this solves your problem?

The update hasn't been pushed to PyPl but if you reinstall best_download via
pip install git+https://github.com/EleutherAI/best-download
it should work

I am no longer working with the repo (my research group changed hardware to intel xpus)
what I can confirm is that I got it working by installing best downloads back when I tried to use this repo.
its a pretty cut-and-dry case since the dependency can be tracked back to the deepspeed fork.

The above PR has been merged. @nevakrien can you confirm that this solves your problem?

I am no longer working with the repo (my research group changed hardware to intel xpus)
what I can confirm is that I got it working by installing best downloads back when I tried to use this repo.
just like @mariebiscuit suggested.
its a pretty cut-and-dry case since the dependency can be tracked back to the deepspeed fork.


Invalid UTF-8 meta tag

Hi there,
ronn generates an invalid <meta> tag on specifying the charset. Currently, the <meta> tag looks like this:
<meta http-equiv='content-type' value='text/html;charset=utf8'>

The value should read content:
<meta http-equiv='content-type' content='text/html;charset=utf-8'>

Vale,
Quintus

Easier yet: <meta charset='utf-8'>

Heya! If you're still interested in this, I've forked Ronn as Ronn-NG and there's a fix for this at https://github.com/apjanke/ronn-ng/commit/d645829cd4156e555789999eb5da7561f8753c07.


Avoid crashes on malformed RSA keys

This PR fixes #87.
The OpenSSL C APIs can return null pointers if PEM_read_bio_PUBKEY and co. fail to parse the provided input. Only the certificate parsing code path was properly guarded, which lead to fatal errors.

Hey @vzsg, you just merged a pull request, have a coin!
You now have 2062 coins.

And this is why importing Unsafe[Mutable][Raw]Pointers from C APIs as implicitly-unwrapped optionals is Bad™. 🎺


Confusing behavior of macro: dbt_expectations.expect_row_values_to_have_recent_data

these 2 tests:
https://github.com/calogica/dbt-expectations/blob/main/macros/schema_tests/table_shape/expect_row_values_to_have_recent_data.sql
https://github.com/calogica/dbt-expectations/blob/main/macros/schema_tests/table_shape/expect_grouped_row_values_to_have_recent_data.sql
have unexpected behavior when testing against fields that are date only. For example, in many use cases, these tests may check against a field such as batch_date which would be a date-only field that indicates the batch of data that the batch load corresponds to. This test will compare that date to a timestamp. So for example, if you had a test that runs on t-1 lookback that is orchestrated at 10-27 21:00 UTC, you would be comparing 10-26 21:00 UTC vs 10-26 00:00 UTC, and the test would always fail.
My suggestion is to have some type of behavior that checks if the column_name provided is a date field vs a timestamp and perform the check accordingly.

Hi @chasemeadows, thanks for opening this issue. Could you please add which platform (Postgres, BigQuery, Snowflake) you're on and which version of dbt-expectations you're using? Thanks!

I also see this issue with Postgres, dbt-expectations version "0.10.4" and dbt version "1.8.2".
@clausherther  any solution to check for the date column will be helpful as I am running into the same issue as @chasemeadows


Image Picker crash on iOS

Steps to Reproduce

Integrate image picker with your app.
Put 2 buttons into your app, one to pick from camera, another to pick from photo library.
Tap on 1st button, and tap to 2nd button immediately.

Expected results:
It should open camera or image picker after permission given
Actual results:
Application crashed
Exception has occurred.
PlatformException (PlatformException(multiple_request, Cancelled by a second request, null))

Hi @Rahul-Chandera
can you please provide your flutter doctor -v ,
your flutter run --verbose and
your pubspec.yaml;
the issue you are describing might be caused by
how the async call to the native side is implemented
could you please provide a reproducible minimal code sample.
Thank you

Thanks for your quick response.
flutter doctor -v
[✓] Flutter (Channel stable, v1.17.0, on Mac OS X 10.15.3 19D76, locale en-IN)
• Flutter version 1.17.0 at /Users/rahulchandera/flutter
• Framework revision e6b34c2b5c (11 days ago), 2020-05-02 11:39:18 -0700
• Engine revision 540786dd51
• Dart version 2.8.1
Basically this crash happens when system tries to open two permission dialogue one after another immediately (camera & photo library access dialogue).

Hi @Rahul-Chandera
Running the official example with both buttons for photo library and camera, tapping them one by one has no issue with permissions
It could be your code that causing this issue, to better address the issue, would be helpful if you could post a minimal code sample to reproduce the problem
Thank you

Without additional information we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


Verify  with test stabilization

wait for @rocketb to see if we merge this or update his PR

@true3HAK Only the bump dependencies tox target that runs pip tools is in python3, the whole tool is still tested with
[tox]
envlist = py27,py34,py35,py36,lint

But thanks for the reminder i think i'll clean and merge this


[Bug]: shopify theme pull error

Please confirm that you have:

[X] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
[X] Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?
Theme
Expected behavior
When running $ shopify theme pull -l --verbose should pull live theme
Actual behavior
I get the error - The option --development-theme-id is not supported.
➜  ******* shopify theme info
THEME CONFIGURATION
Store                  ****.myshopify.com
Development Theme ID   #***theme-id***

TOOLING AND SYSTEM
Shopify CLI    3.48.2
OS             linux-amd64
Shell          /usr/bin/zsh
Node version   v19.6.0
Ruby version   3.2.2
➜  ******* shopify theme pull -l --verbose
2023-08-17T17:34:08.644Z: Running command theme pull
  shopify:theme:pull init version<EMAIL_ADDRESS>argv: [ '-l', '--verbose' ] +0ms
2023-08-17T17:34:08.672Z: Ensuring that the user is authenticated with the Theme API with the following scopes:
[]

2023-08-17T17:34:08.672Z: Ensuring that the user is authenticated with the Admin API with the following scopes for the store ****.myshopify.com:
[]

2023-08-17T17:34:08.672Z: Getting session store...
2023-08-17T17:34:08.674Z: Validating existing session against the scopes:
[
  "openid",
  "https://api.shopify.com/auth/shop.admin.graphql",
  "https://api.shopify.com/auth/shop.admin.themes",
  "https://api.shopify.com/auth/partners.collaborator-relationships.readonly",
  "https://api.shopify.com/auth/shop.storefront-renderer.devtools",
  "https://api.shopify.com/auth/partners.app.cli.access",
  "https://api.shopify.com/auth/destinations.readonly"
]
For applications:
{
  "adminApi": {
    "scopes": [],
    "storeFqdn": "****.myshopify.com"
  }
}

2023-08-17T17:34:08.675Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection
2023-08-17T17:34:08.675Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection
With request headers:
 - User-Agent: Shopify CLI; v=3.48.2
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: linux
 - Content-Type: application/json

2023-08-17T17:34:08.901Z: Request to https://accounts.shopify.com/oauth/introspection completed in 221 ms
With response headers:
 - cache-control: no-cache, no-store, private, must-revalidate, max-age=0
 - content-type: application/json; charset=utf-8
 - etag: W/"33afc8116bfb190ab7b49cf64aee7bb2"
 - x-request-id: c0b51e86-e622-41e0-b288-f95c61bcbbad

2023-08-17T17:34:08.903Z: The identity token is valid: true
2023-08-17T17:34:08.903Z:
The validation of the token for application/identity completed with the following results:
- It's expired: false
- It's invalid in identity: false

2023-08-17T17:34:08.904Z: Getting development theme...
2023-08-17T17:34:09.264Z: Request to https://****.myshopify.com/admin/api/unstable/themes/***theme-id***.json?fields=id%2Cprocessing completed in 357 ms
With response headers:
 - content-type: application/json; charset=utf-8
 - x-request-id: cebb2fd6-996c-48d9-8004-4fcf0c3d8d58

2023-08-17T17:34:09.279Z:
Running system process:
  · Command: ruby -v
  · Working directory: /home/shawn/****/*******

2023-08-17T17:34:10.407Z:
Running system process:
  · Command: bundle -v
  · Working directory: /home/shawn/****/*******

2023-08-17T17:34:11.490Z: Creating directory at ../../.cache/shopify-cli-nodejs/vendor/ruby-cli/2.35.0...
2023-08-17T17:34:11.492Z: Reading the content of file at ../../.cache/shopify-cli-nodejs/vendor/ruby-cli/2.35.0/Gemfile...
2023-08-17T17:34:11.497Z:
Running system process:
  · Command: bundle config set --local path /home/shawn/.cache/shopify-gems-nodejs
  · Working directory: /home/shawn/.cache/shopify-cli-nodejs/vendor/ruby-cli/2.35.0

2023-08-17T17:34:12.574Z:
Running system process:
  · Command: bundle config set --local without development:test
  · Working directory: /home/shawn/.cache/shopify-cli-nodejs/vendor/ruby-cli/2.35.0

2023-08-17T17:34:13.642Z:
Running system process:
  · Command: bundle install
  · Working directory: /home/shawn/.cache/shopify-cli-nodejs/vendor/ruby-cli/2.35.0

2023-08-17T17:34:14.801Z:
Running system process:
  · Command: bundle exec shopify theme pull /home/shawn/****/******* --live --development-theme-id ***theme-id***
  · Working directory: /home/shawn/****/*******

Reproduction steps
Run $ shopify theme pull -l --verbose
Operating System
Windows 11 (WSL 2)
Shopify CLI version (check your project's package.json if you're not sure)
3.48.2
Shell
zsh
Node version (run node -v if you're not sure)
v19.6.0
What language and version are you using in your application?
3.2.2

Hi @shawnsan-apollo! Thanks for reporting this issue, unfortunately i'm not able to reproduce it :(
Is the verbose log complete? I don't see any error there, what happened after that last line?

I have same issue, process is stuck after last command in the log.

We've had the same issue on a new starters box, we were experiencing some issues getting the CLI setup initially and resorted to using SHOPIFY_CLI_BUNDLED_THEME_CLI set to true (#1425, Shopify-3.38.0 Shopify Theme Dev --Store ERROR)  . In the process of trying to resolve this issue we also downgraded to an older version of the CLI, however we still experienced issues.
Removing SHOPIFY_CLI_BUNDLED_THEME_CLI = true in the environment resolved the issue.

We are investigating this internally, hopefully we'll have a fix soon.

👋 Hey everyone,
Thank you for reporting this issue and for providing such detailed information.

Please note that the SHOPIFY_CLI_BUNDLED_THEME_CLI should not be used. It's currently intended for debugging purposes only. However, if you find it absolutely necessary, kindly create a new issue detailing the specific scenario you're encountering without the SHOPIFY_CLI_BUNDLED_THEME_CLI. In this particular case, please open a new issue instead of commenting on an existing one.
We understand that migrations can take time, and to address this, we've created a PR to fix the following error:
┏━━ Error ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
┃ The option --development-theme-id is not supported.
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

@jdlich, regarding the error you're experiencing when you unset SHOPIFY_CLI_BUNDLED_THEME_CLI:
<internal:/opt/homebrew/Cellar/ruby/3.2.2_1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require': cannot load such file -- ubygems (LoadError)
Did you mean?  rubygems
	from <internal:/opt/homebrew/Cellar/ruby/3.2.2_1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'

It appears that your Ruby installation might be corrupted. I was able to artificially reproduce this issue by manually updating my Ruby installation, and subsequently resolved it with the following commands:
brew uninstall ruby --ignore-dependencies
brew install ruby

Thank you once again for bringing this to our attention.


Small suggestions for CompareSpectra

About CompareSpectra, a few suggestions:

[x] It would be great if one could have contours of constant (intrinsic) bolometric luminosity Lbol of the atmosphere!

[x] The tutorial is impressively helpful despite not containing prose yet—this speaks to the logic of the code and the quality of the documentation! Just to confirm: for every (log g, Teff) combination, it picks the best model amongst varying all the other parameter values (using also the interpolated models), in every case fitting for the radius as a scaling factor, yes? This kind of brief description could be added to the documentation.

[x] scale_spec talks about matching spectral templates but that is not relevant when comparing to atmospheric models, right?

[x] The extra_param option of plot_grid_statistic() is great! Maybe provide an option to move the legend in the plot (in one example, it was where contours pile up, while another corner was empty) or even—caveat emptor—turn it off?

~- Maybe there could be a way of including a second component (a blackbody), but maybe it would get too complicated, so I am just mentioning this.~
Thanks again for one more great tool in the toolbox.

This has all been implemented so I am closing this issue. The last point would indeed add to much complexity to the function.

Thank you very much!

I agree that the possibility of a second component would be too much trouble (for the programmer and possibly for the user :wink:)
Thanks a lot for adding the log_lum contours! One thing about that (sorry): use by default two decimal places and/or add an option to specify that number (or in general the format of the contour)? A precision of a few times 0.01 dex is typical, and currently I get -3.8, -3.8, -3.8, -3.9, -3.9, etc.. Thanks!


"Picture too dark" warning when uploading an OGG file

I uploaded this fine, https://commons.wikimedia.org/wiki/File%3A台灣台中東勢畫眉.ogg
But during the process I got a warning that my "picture was too dark". It's not a picture at all. It's an OGG file!

Oh, I will create an issue for this. Thanks a lot for your feedback.
Bests,
Neslihan Turan
積丹尼 Dan Jacobson @.***>, 12 Nis 2021 Pzt, 11:52
tarihinde şunu yazdı:

I uploaded this fine,
https://commons.wikimedia.org/wiki/File%3A台灣台中東勢畫眉.ogg
But during the process I got a warning that my "picture was too dark".
It's not a picture at all it's an OGG file!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/commons-app/apps-android-commons/issues/4352, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAX3USL5WFDLN5R666GVTE3TIKYEDANCNFSM42Y2SYUA
.


Prismic toolbar "Documents on this Page" showing wrong document

The Documents on this Page section of the Prismic Toolbar is not showing the correct document on my site.
I have two types in my schema, call them:

Company
Person (links to a Company)

I can successfully view a Person page in preview mode via Prismic's preview button (link resolving works correctly to take me from /preview to the correct url). However, the Documents on this Page section of the toolbar displays the linked
Company instead of the Person.
Any suggestions?

I'm not clear on the inner workings of how Documents on this Page works, but I assume it has a way of listening in on the API calls being made to the Prismic API.
If the preview system comes across a document relation field, it fetches the document with a one-off request. It makes a new API client each time it needs to do this, so it's possible the toolbar isn't able to persist it's checking across clients.
This can be seen here: https://github.com/angeloashmore/gatsby-source-prismic/blob/d31fa47d229718902d03bbf74950ffb5e88c5699/src/environment.browser.ts#L75-L76
The other issue re: previews and access tokens (#264) takes precedence over this for now but I'd be happy to review a PR if this is a pressing issue.


convertsubtitles problem

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
  ydl_opts = {
            'writesubtitles': True,
            'subtitleslangs': [lang],
            'skip_download': True,
            'writeautomaticsub': autosub,
            'outtmpl': 'uploads/%(title)s.%(ext)s',
            'subtitlesformat': 'ttml',
            'convertsubtitles':'vtt'

        }

With these settings, I'm running my code, but it's downloading the TTML file instead of converting it to VTT. What could be the reason?
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

I don't think
'convertsubtitles':'vtt'

is valid. Use devscript/cli_to_api.py which returns:
{'postprocessors': [{'format': 'vtt',
                     'key': 'FFmpegSubtitlesConvertor',
                     'when': 'before_dl'}]}

This code worked, thank you


Latest King Phisher unable to connect to Gmail SMTP:587

Issue Description
I am able to launch KP fine.  Tried to connect to smtp.gmail.com:587 with my gmail username and App password.
All i see on the KP terminal window is:  Warning:  received a socket error while connecting to the smtp server...   The strange thing is that I have another Kali VM in the same subnet running another GoPhish and that can connect to smtp.gmail.com:587 with no issues.
Reproduction Steps

Start King Phisher
Tried to send test email to smtp.gmail.com:587 with my gmail account name and App password.

Environment Details

Host OS: Kali 18.04
King Phisher Version: 1.13.0
Error Details / Stack Trace
Where do I get the stack traces?

Well you're using port 587 and according to my notes in the docs you need to use 465 with SSL turned on. Can you give that a shot and see if it fixes it?
If it does not, please include all of the relevant settings in the SMTP configuration tab. Can you also include the verbose output from when you try to connect too?

Ok, looks like problem is solved using port 465.  My bad and Thank you.  The verbose logs looks normal.  However, please see one error towards the bottom.   Something wrong with my install?  I am missing a module?
ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'
====================================
root@kali2:/opt/king-phisher# ./KingPhisherServer -f -L DEBUG server_config.yml
DEBUG    target diretory: /opt/king-phisher
INFO     checking for the pipenv environment
DEBUG    pipenv path: '/usr/local/bin/pipenv'
DEBUG    pipenv Pipfile: /opt/king-phisher/Pipfile
Loading .env environment variables…
DEBUG    king phisher version: 1.13.0-beta3 (rev: f5a9c80c6157) python version: 3.7.2
DEBUG    plugin dependency path: /root/.local/lib/king-phisher/python3.7/site-packages
INFO     listening on <IP_ADDRESS>:80
INFO     serving files has been enabled
INFO     initializing database connection with driver postgresql
DEBUG    postgresql-setup was not found
DEBUG    postgresql service is already running via systemctl
DEBUG    current database schema version: 9 (latest)
DEBUG    connected to postgresql database: king_phisher
INFO     restored 0 valid sessions and skipped 0 expired sessions from the database
DEBUG    use pam service 'sshd' for authentication
DEBUG    forked an authenticating process with pid: 6335
INFO     the job manager has been started
INFO     adding new job with id: dfcf2d77-59b0-4140-b534-53796e50368a and callback function: _maintenance
INFO     adding new job with id: 7e3e1e37-802c-439e-8f84-53e9ab3e33a3 and callback function: ping_all
DEBUG    web socket manager worker running in tid: 0x7ff6ed136700
DEBUG    initialized the table api dataset (schema version: 8)
WARNING  the geoip database is older than 90 days
INFO     including 4 custom http headers
INFO     server running in process: 6296 main tid: 0x7ff6f1405740
INFO     dropped privileges to the nobody account
DEBUG    executing job with id: dfcf2d77-59b0-4140-b534-53796e50368a and callback function: maintenance
DEBUG    running periodic maintenance tasks
DEBUG    executing job with id: 7e3e1e37-802c-439e-8f84-53e9ab3e33a3 and callback function: ping_all
DEBUG    executing job with id: 7e3e1e37-802c-439e-8f84-53e9ab3e33a3 and callback function: ping_all
DEBUG    <IP_ADDRESS>:35708 tid: 0x7ff6ec935700 running http request handler
DEBUG    calling RPC method rpc_version()
INFO     <IP_ADDRESS> "RPC /version HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35712 tid: 0x7ff6ec935700 running http request handler
DEBUG    sent request with sequence number 0 and action 'authenticate'
DEBUG    received request with sequence number 0 and action 'authenticate'
DEBUG    pam returned code: 7 reason: 'Authentication failure' for user root after 2.31 seconds
WARNING  authentication failed for user: root reason: bad username or password
DEBUG    sent response with sequence number 0
DEBUG    received response with sequence number 0
WARNING  failed login request from <IP_ADDRESS> for user root, (authentication failed)
INFO     <IP_ADDRESS> "RPC /login HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35716 tid: 0x7ff6ec935700 running http request handler
DEBUG    calling RPC method rpc_version()
INFO     <IP_ADDRESS> "RPC /version HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35720 tid: 0x7ff6ec935700 running http request handler
DEBUG    sent request with sequence number 1 and action 'authenticate'
DEBUG    received request with sequence number 1 and action 'authenticate'
DEBUG    pam returned code: 0 reason: 'Success' for user root after 0.01 seconds
DEBUG    sent response with sequence number 1
DEBUG    received response with sequence number 1
INFO     user root has successfully authenticated
INFO     successful login request from <IP_ADDRESS> for user root
INFO     <IP_ADDRESS> "RPC /login HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35724 tid: 0x7ff6ec935700 running http request handler
INFO     <IP_ADDRESS> "GET //ws/events/json HTTP/1.1" 101 -
INFO     web socket has been connected
DEBUG    <IP_ADDRESS>:35728 tid: 0x7ff6dbfff700 running http request handler
INFO     <IP_ADDRESS> "RPC /graphql HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35732 tid: 0x7ff6dbfff700 running http request handler
INFO     <IP_ADDRESS> "RPC /config/get HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35736 tid: 0x7ff6dbfff700 running http request handler
INFO     <IP_ADDRESS> "RPC /graphql HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35740 tid: 0x7ff6dbfff700 running http request handler
INFO     <IP_ADDRESS> "RPC /graphql HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35744 tid: 0x7ff6dbfff700 running http request handler
INFO     <IP_ADDRESS> "RPC /graphql HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35748 tid: 0x7ff6dbfff700 running http request handler
DEBUG    calling RPC method rpc_events_subscribe('db-messages', attributes=['id', 'campaign_id'], event_types=['deleted', 'inserted', 'updated'])
INFO     <IP_ADDRESS> "RPC /events/subscribe HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35752 tid: 0x7ff6dbfff700 running http request handler
INFO     <IP_ADDRESS> "RPC /graphql HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35756 tid: 0x7ff6dbfff700 running http request handler
DEBUG    calling RPC method rpc_events_subscribe('db-visits', attributes=['id', 'campaign_id'], event_types=['deleted', 'inserted', 'updated'])
INFO     <IP_ADDRESS> "RPC /events/subscribe HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35760 tid: 0x7ff6dbfff700 running http request handler
DEBUG    calling RPC method rpc_events_subscribe('db-credentials', attributes=['id', 'campaign_id'], event_types=['deleted', 'inserted', 'updated'])
INFO     <IP_ADDRESS> "RPC /events/subscribe HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35764 tid: 0x7ff6dbfff700 running http request handler
INFO     <IP_ADDRESS> "RPC /graphql HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35768 tid: 0x7ff6dbfff700 running http request handler
INFO     <IP_ADDRESS> "RPC /graphql HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35772 tid: 0x7ff6dbfff700 running http request handler
INFO     <IP_ADDRESS> "RPC /graphql HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35776 tid: 0x7ff6dbfff700 running http request handler
INFO     <IP_ADDRESS> "RPC /graphql HTTP/1.1" 200 -
DEBUG    executing job with id: 7e3e1e37-802c-439e-8f84-53e9ab3e33a3 and callback function: ping_all
DEBUG    received message (len: 16 opcode: 0x0a fin: True)
DEBUG    processing pong (opcode: 0x0a) message
DEBUG    <IP_ADDRESS>:35780 tid: 0x7ff6dbfff700 running http request handler
INFO     <IP_ADDRESS> "RPC /graphql HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:43220 tid: 0x7ff6dbfff700 running http request handler
DEBUG    request received with the correct secret id
INFO     <IP_ADDRESS> "GET /register.html?id=ytWUD56y7TD6jMoP6l3woJHd HTTP/1.1" 200 -
DEBUG    executing job with id: 7e3e1e37-802c-439e-8f84-53e9ab3e33a3 and callback function: ping_all
DEBUG    received message (len: 16 opcode: 0x0a fin: True)
DEBUG    processing pong (opcode: 0x0a) message
DEBUG    <IP_ADDRESS>:35788 tid: 0x7ff6dbfff700 running http request handler
DEBUG    calling RPC method rpc_campaign_landing_page_new('1', 'kali2', 'register.html')
INFO     <IP_ADDRESS> "RPC /campaign/landing_page/new HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35792 tid: 0x7ff6dbfff700 running http request handler
DEBUG    calling RPC method rpc_campaign_message_new('1', 'VcxDDkga50NqlgIV'<EMAIL_ADDRESS>'Jerry', '', None)
DEBUG    publishing event db-messages (type: inserted) with 1 objects
INFO     <IP_ADDRESS> "RPC /campaign/message/new/deferred HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35796 tid: 0x7ff6dbfff700 running http request handler
INFO     <IP_ADDRESS> "RPC /graphql HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35800 tid: 0x7ff6dbfff700 running http request handler
DEBUG    publishing event db-messages (type: updated) with 1 objects
INFO     <IP_ADDRESS> "RPC /db/table/set HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35804 tid: 0x7ff6dbfff700 running http request handler
INFO     <IP_ADDRESS> "RPC /graphql HTTP/1.1" 200 -
DEBUG    executing job with id: 7e3e1e37-802c-439e-8f84-53e9ab3e33a3 and callback function: ping_all
DEBUG    received message (len: 16 opcode: 0x0a fin: True)
DEBUG    processing pong (opcode: 0x0a) message
DEBUG    <IP_ADDRESS>:35808 tid: 0x7ff6dbfff700 running http request handler
INFO     <IP_ADDRESS> "RPC /graphql HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:43248 tid: 0x7ff6dbfff700 running http request handler
DEBUG    request received with the correct secret id
INFO     <IP_ADDRESS> "GET /register.html?id=ytWUD56y7TD6jMoP6l3woJHd HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35816 tid: 0x7ff6dbfff700 running http request handler
DEBUG    calling RPC method rpc_campaign_landing_page_new('1', 'kali2', 'register.html')
INFO     <IP_ADDRESS> "RPC /campaign/landing_page/new HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35820 tid: 0x7ff6dbfff700 running http request handler
DEBUG    calling RPC method rpc_campaign_message_new('1', 'NE25LDkDgM2d91qT'<EMAIL_ADDRESS>'Jerry', '', None)
DEBUG    publishing event db-messages (type: inserted) with 1 objects
INFO     <IP_ADDRESS> "RPC /campaign/message/new/deferred HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35824 tid: 0x7ff6dbfff700 running http request handler
INFO     <IP_ADDRESS> "RPC /graphql HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35828 tid: 0x7ff6dbfff700 running http request handler
DEBUG    publishing event db-messages (type: updated) with 1 objects
INFO     <IP_ADDRESS> "RPC /db/table/set HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35832 tid: 0x7ff6dbfff700 running http request handler
INFO     <IP_ADDRESS> "RPC /graphql HTTP/1.1" 200 -
DEBUG    executing job with id: 7e3e1e37-802c-439e-8f84-53e9ab3e33a3 and callback function: ping_all
DEBUG    received message (len: 16 opcode: 0x0a fin: True)
DEBUG    processing pong (opcode: 0x0a) message
DEBUG    <IP_ADDRESS>:35840 tid: 0x7ff6dbfff700 running http request handler
INFO     <IP_ADDRESS> "RPC /graphql HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:43280 tid: 0x7ff6dbfff700 running http request handler
DEBUG    request received with the correct secret id
INFO     <IP_ADDRESS> "GET /register.html?id=ytWUD56y7TD6jMoP6l3woJHd HTTP/1.1" 200 -
DEBUG    executing job with id: 7e3e1e37-802c-439e-8f84-53e9ab3e33a3 and callback function: ping_all
DEBUG    received message (len: 16 opcode: 0x0a fin: True)
DEBUG    processing pong (opcode: 0x0a) message
DEBUG    <IP_ADDRESS>:35848 tid: 0x7ff6dbfff700 running http request handler
DEBUG    calling RPC method rpc_campaign_landing_page_new('1', 'kali2', 'register.html')
INFO     <IP_ADDRESS> "RPC /campaign/landing_page/new HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35852 tid: 0x7ff6dbfff700 running http request handler
DEBUG    calling RPC method rpc_campaign_message_new('1', 'n8A3J2lwYI0iqMiF'<EMAIL_ADDRESS>'Jerry', '', None)
DEBUG    publishing event db-messages (type: inserted) with 1 objects
INFO     <IP_ADDRESS> "RPC /campaign/message/new/deferred HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35856 tid: 0x7ff6dbfff700 running http request handler
INFO     <IP_ADDRESS> "RPC /graphql HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35860 tid: 0x7ff6dbfff700 running http request handler
DEBUG    publishing event db-messages (type: updated) with 1 objects
INFO     <IP_ADDRESS> "RPC /db/table/set HTTP/1.1" 200 -
DEBUG    <IP_ADDRESS>:35864 tid: 0x7ff6dbfff700 running http request handler
INFO     <IP_ADDRESS> "RPC /graphql HTTP/1.1" 200 -
DEBUG    executing job with id: 7e3e1e37-802c-439e-8f84-53e9ab3e33a3 and callback function: ping_all
DEBUG    received message (len: 16 opcode: 0x0a fin: True)
DEBUG    processing pong (opcode: 0x0a) message
DEBUG    executing job with id: 7e3e1e37-802c-439e-8f84-53e9ab3e33a3 and callback function: ping_all
DEBUG    received message (len: 16 opcode: 0x0a fin: True)
DEBUG    processing pong (opcode: 0x0a) message
DEBUG    executing job with id: 7e3e1e37-802c-439e-8f84-53e9ab3e33a3 and callback function: ping_all
DEBUG    received message (len: 16 opcode: 0x0a fin: True)
DEBUG    processing pong (opcode: 0x0a) message
DEBUG    executing job with id: 7e3e1e37-802c-439e-8f84-53e9ab3e33a3 and callback function: ping_all
DEBUG    received message (len: 16 opcode: 0x0a fin: True)
DEBUG    processing pong (opcode: 0x0a) message
==============================================
root@kali2:/opt/king-phisher# ./KingPhisher
Loading .env environment variables…
ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'
WARNING  it is not necessary to run the king phisher client as root
WARNING  /opt/king-phisher/king_phisher/client/main.py:101: PyGIDeprecationWarning: Since version 3.11, calling threads_init is no longer needed. See: https://wiki.gnome.org/PyGObject/Threading
GObject.threads_init()
WARNING  failed to authenticate to the remote king phisher service, reason: invalid credentials
Memory pressure relief: Total: res = 13680640/13729792/49152, res+swap = 9539584/9539584/0
========================================

Well it's not clear what's throwing the exception. It doesn't appear to be uncaught because there's no stack trace. Matplotlib is the only component that uses numpy to my knowledge, we don't use it directly. If you can load the client and view graphs, you're probably just fine.

All the graphs appear to be loading fine.  Thanks again for the quick help!  Case closed.


Admission Controllers 101 Docs

Related issue
Admission Controllers is a part of Introduction section of the Docs. Closes #857

Proposed Changes

Checklist

[x] I have read the contributing guidelines.
[x] I have inspected the website preview for accuracy.
[x] I have signed off my issue.

Created this new PR and closed previous one since commits were not signed there. @anushkamittal2001 and @chipzoller please give it a review

I will review this again today.

Hey @chipzoller, I have added use cases you outlined in your presentation. Also use cases like "Fined-grained RBAC" and "ops automation", I found them to be more specific to Kyverno than admission controllers in general so haven't added them. Please give it a review.

@chipzoller, please have a look.

Hey @chipzoller, I have added use cases you outlined in your presentation. Also use cases like "Fined-grained RBAC" and "ops automation", I found them to be more specific to Kyverno than admission controllers in general so haven't added them. Please give it a review.

"ops automation", yes, is more Kyverno specific, but fine-grained RBAC is not. All validating admission controllers for the most part have this capability and is a major use case.

"ops automation", yes, is more Kyverno specific, but fine-grained RBAC is not. All validating admission controllers for the most part have this capability and is a major use case.

yes, I agree "fine grained RBAC" is a major use, now that I studied about it. I misunderstood it to be something else. added it as well.


Feature/t-SNE addition plus fixes

Is there a colab or something to look at for this?  I don't have a workflow set up to get this kind of data to test the plot.

I created a colab for you to try out  There's a few other function in there with code that exists in another branch, but you can ignore that
https://drive.google.com/file/d/1v2RTu1vBDsBQer1qZXoXlhjMlRTeXke_/view?usp=sharing

so I'm looking at the Colab; I don't see any import endaq.plot or anything, so how does it demonstrate that the endaq-plot changes in this PR work correctly?

TSNE plot looks good, poked around a bit and it seems to be working right.  @CrepeGoat endaq.plot gets imported in one of the functions.

@CrepeGoat  like @CFlaniganMide mentioned endaq.plot functions get imported on line 82 and 84 of the second code block, at the top of the cloud_correlation_script  function.
The reason it's done there rather than with the imports at the start of the code block (where they should be normally) is that the cloud_correlation_script function is trying to conform to the template for building/modifying custom cloud report scripts I had came up with:
def function_name(files, file_download_url):
   # Entire cloud script goes here, meaning you could literally copy/paste the default script here

    return output

The reason for this format is that at any point you could copy an existing script into there and start debugging/editing it in a way that your dev environment of choice will actually reference the proper code giving you an error, and it's super easy to take a finished script and copy/paste it into cloud.endaq.com which is why the imports need to be there.
I'm gonna write a Confluence doc about this, because it needs some explaining.


chore: update dev dependencies

This PR was automatically generated to update versions of dev dependencies to their latest versions. This helps ensure we get fixes and improvements in a timely fashion and reduces the impact of updating the versions that can arise if versions are allowed to become stale for an extended period.
What did you change?
This action ran yarn upgrade:automatic to update package.json files to request the latest versions of each package. Certain critical packages are intentionally excluded.
This action also deleted the yarn.lock file in order to recreate it with the latest matching versions of secondary dependencies.
This PR includes the various package.json that pull our dependencies forward to the latest versions, the yarn.lock update that maps required versions to the actual versions to be used, and updates the offline mirror.
How did you test and verify your work?
This PR should not normally significantly affect the build outputs or runtime packages. Ensure that yarn ci-check runs cleanly and all tests pass (done automatically as part of the PR checks).

@lee-chase "CI / test-security (pull_request)" check is failed.

I can take a look at fixing the conflict and the security issues


fix(build): remove redundant imports

Current dependencies on/for this PR:

main

PR #55   👈

This comment was auto-generated by Graphite.


Update assignment_3.md

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Include the answers to the questions
What did you learn from the changes you have made?
How to identify if a graph is accessible, reproducible, equitable
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
no
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
no
How were these changes tested?
comparison with the notes and materials given for this course
A reference to a related issue in your repository (if applicable)
none
Checklist

[-] I can confirm that my changes are working as intended

A3 complete


refactor(site): add guidelines for error messages to voice & tone page

Added guidelines and examples for writing error messages to the Voice & Tone page.

Maybe one way to break it up and to put the dos/donts closers to the description would be to interleave the 1 set of dos/donts under each of the numbered paragraphs.