Not working with Webpack > 5.11

With the 5.11.1 version of Webpack the importer made it go in an infinite loop if using the watch options, the isse reported from me at Webpack is there https://github.com/webpack/webpack/issues/12340
Fortunately webpack in the new version, thanks to the report, has added warnings in case of incorrect use of the addDependency for non-absolute paths
I created a repo where you can test the bug: https://github.com/thecreazy/webpack-bug-example-repo
the warnings displayed are the following:
Invalid dependencies have been reported by plugins or loaders for this module. All reported dependencies need to be absolute paths.
Invalid dependencies may lead to broken watching and caching.
As best effort we try to convert all invalid values to absolute paths and converting globs into context dependencies, but this is deprecated behavior.
Loaders: Pass absolute paths to this.addDependency (existing files), this.addMissingDependency (not existing files), and this.addContextDependency (directories).
Plugins: Pass absolute paths to fileDependencies (existing files), missingDependencies (not existing files), and contextDependencies (directories).
Globs: They are not supported. Pass absolute path to the directory as context dependencies.
The following invalid values have been reported:
 * "macros/package.json"
 * "../../../conf/json/sass.json"
 @ ./src/neewl/js/client.js 4:0-28

TL;DR: This is an issue with sass-loader, no this package, and has been resolved in<EMAIL_ADDRESS>
The problem is not this package, it has been in sass-loader, which calls addDependency for all files that Sass reportedly included in its rendering process.
However, because custom importers like this package can basically do anything they want with an import source string (see node-magic-sass-importer for a good example of that), Sass is not able to reliably resolve those source strings to absolute paths and instead reports them as-is.
The good news is: This has been resolved in<EMAIL_ADDRESS>(see webpack-contrib/sass-loader#913), which now first checks each item in the included files reported by Sass, and only calls addDependency if it is an absolute path.
Therefore (since it's fixed and it's not the responsibility of this package), this issue should be closed.


⚠ Bofrost.lu has degraded performance

In 5032e99, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1963 ms

Resolved: Bofrost.lu performance has improved in edaf1b1 after 6 minutes.


Support terraform/yarn/podman and other build tool commands that has no specific task

Is your feature request related to a problem? Please describe.
Currently, there are multiple commands without a specific Azure task and it's not possible to run them using JFrog CLI task.
Describe the solution you'd like to see
A possible solution is to support running multiple JFrog CLI command in one task and forward the serverID via an environment variable.
following:

https://github.com/jfrog/jfrog-azure-devops-extension/issues/392
https://github.com/jfrog/jfrog-azure-devops-extension/issues/371
terraform support request by @agrosskurth

should also fix https://github.com/jfrog/jfrog-azure-devops-extension/issues/403

Hi 👋,
I have a suggestion: why not simply create authentication tasks like Microsoft does for NuGet and some other technologies like Python, Maven and NPM ?
That way is more generic:

Handle the authentication to JFrog (via Service Connection, specific to the product)

Login
Insert and do the logout (cleanup) at the end of the pipeline automatically

Allows to use standard Helm/Terraform/NuGet/(...) tasks
Allows to use scripting to run multiple commands in a standard way

I think it's simplier and not required specific tasks linked to a provider.
What do you think ?

+1 on this. You can add Helm CLI to the list.
https://github.com/jfrog/jfrog-azure-devops-extension/issues/332
I like @ChristopheLav suggestion, this should be easier to maintain from @jfrog-ecosystem ends.

Hi @HugoVeillette, @ChristopheLav, @Jan-Pleva @simbo1984, @marcuslopes, and @GProulx,
jfrog-azure-devops-extension 2.6.0 is released and it allows to use JFrog CLI Task to run multiple commands and also it provides the Server ID and Build flags via environment variables.
That way it can now support all JFrog CLI functionalities and new features and improvements that are being constantly updated.
You can use it for example to run a full scenario of JFrog CLI commands.
For example here is a Terraform scenario:
- task: JfrogCliV2@1
  inputs:
    jfrogPlatformConnection: 'JFrog Platform V2'
    command: |
      jf rt ping
      jf terraform-config --repo-deploy=terraform-remote
      jf terraform publish --namespace=example --provider=aws --tag=v0.0.1

Hi @sverdlov93,
Thank you for the multiple commands support, it will help us.
What about my suggestion here? That allow to use each native Helm/Terraform/NuGet/NPM/Yarn/(...) CLI instead of the JFrog one. The JFrog CLI is good but linked to a specific ecosystem and don't compatible with native CLI.
The JFrog CLI should do the authentication in the supported way of each native CLI (and do the cleanup automatically at the end, this is a possibility to inject an "end" step when you write an ADO extension).
I think this way should close a lot of feedbacks and improve the possibilities overall.
For example, my users want to run the Helm or Terraform CLIs natively and when a Chart/Module is referenced, the native CLI will download automatically the requirement without any manual step with the JFrog CLI need to be done before. Currently they need to download each dependency manually to a folder and use the folder.
And for enterprise gouvernance, the user should don't manage manually the authentication token on their side. The administrators provisioned Service Connection (and do the rotation) for the users.
A workflow like that for Terraform would be really good:
- task: TerraformInstaller@0
  displayName: "Install Terraform"
  inputs:
    terraformVersion: '1.3.9'
    terraformDownloadLocation: 'https://releases.hashicorp.com/terraform'

- task: JfrogAuthenticateV2@1
  inputs:
    jfrogPlatformConnection: 'JFrog Platform V2'
    registryType: 'Terraform'

- script: |
    terraform init
    terraform plan -out=terraform.tfplan
  displayName: 'Terraform Plan'

And for Helm, somethings like that:
- task: HelmInstaller@0
  displayName: install helm
  inputs:
    helmVersion: 'latest'
    installKubectl: false

- task: JfrogAuthenticateV2@1
  inputs:
    jfrogPlatformConnection: 'JFrog Platform V2'
    registryType: 'Helm'

- task: HelmDeploy@0
  inputs:
    connectionType: 'Kubernetes Service Connection'
    kubernetesServiceEndpoint: 'My K8S Cluster'
    command: 'upgrade'

- script: |
    helm XXX init
  displayName: 'Helm command(s)'

I don't put an example for each technology, but it is similar for NuGet, NPM, Yarn and more.
What do you thing?

@sverdlov93 , I really like the suggestion proposed by @ChristopheLav .
About your suggestion, from what I read it's limited to "jfrog ..." cli support.
Moreover, after giving a look at existing task, we can see validations put in many places making sure only "jfrog .." commands are execute through the CLi.
We can't use the native CLI (like helm) as show cased by @ChristopheLav  in the above example.
I can understand we want to limit where and how the jfrog token is used for auth, but we also need to securely open the door to use the standards CLI complementary to jt.

Hi, we would like to also have the JfrogAuthenticateV2, we have the same problem with Terraform use.


fix for link error in ark

This is a fix that I have tested and works to fix issue #183. I simply moved up the ark resource to be performed before the directories are created as ark will will link the the unpacked zookeeper archive with version number folder to the install_dir/zookeeper folder. The link step breaks though if the directory is created first before the link due to recursive directory declarations.

@Stromweld thanks for providing the fix for your own issue! I’ll see about testing this myself (really do need to get Travis working for forks) and if it works, I’ll merge it in & cut a patch release.

thanks for taking a look

Tests well, I’m going to merge this in & cut a release.


Copy symbol information when copying text

Not sure if this type of thing has been proposed before, but something I'd love when working with TypeScript if symbol information was retained when copying some text in a TypeScript file. Then on paste into a different file we could use the symbol information to automatically import the exact symbols that were referenced (if safe).

Duplicate of #66236


[New architecture] Emoji picker header keys are non-functional

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

This issue is related to the ongoing new architecture adoption. It was reported on the build with new architecture enabled on the relevant PR.

Version Number: 1.4.42-1
Reproducible in staging?: no
Reproducible in production?: no
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:
Action Performed:

open a report
tap emoji button in the composer
tap on any emoji header in the selector

Expected Result:
The emoji picker should scroll down to the tapped category
Actual Result:
Nothing happens
Workaround:
Unknown, should be fixed by https://github.com/Expensify/App/pull/13767/commits/84b6f6732e215c0e90ac1c9e73d29042d6239040
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

https://github.com/Expensify/App/assets/21055725/e150411e-4a22-4407-93c2-4b8b906b2a33

View all open jobs on GitHub

👋 @j-piasecki - I'm a little unclear on what we're expecting as a next step for this issue? @roryabraham are these held on something?

not able to repro

All good, I think we should still test it once the New Arch is on staging

discussed in this thread https://expensify.slack.com/archives/C02NK2DQWUX/p1710530036461539 going to close this and we should instruct the QA to retest all the New Architecture issues, opened or closed


feat(#294): Implement team clock component.

Add Team Clock Component with Responsive Design
Overview
This PR introduces a new team-clock component, designed to display time information for team members across different time zones.
The component features a responsive layout and interactive elements to enhance user experience.
Screenshots/Videos

https://github.com/user-attachments/assets/a507bbee-028f-4021-a320-f900fb8fa3b9
Key Features

Responsive design that adapts to various screen sizes
Interactive hover effects for improved user feedback
Clean and modern UI using Tailwind CSS classes
Efficient rendering of multiple time zones

Checklist

[x] Code follows project style guidelines
[x] Documentation has been updated
[x] Performance impact has been considered
[x] Accessibility guidelines have been followed

Closes #294
Please review and let me know if any changes or additional information is needed.

@hari Hey please look into this.
I'm sorry if we are not allowed to use GSAP. I shall close this and use Framer Motion.


Update search image (usage)

I don't know what the conflict is, I just wanted to override the image.?

Yes that looks correct 👍


Investigate Scroll Restoration API

Per https://github.com/NicolasParada
There is a new history.scrollRestoration API:
https://developers.google.com/web/updates/2015/09/history-api-scroll-restoration --Specs here
Check it :)

That appears to be out of scope for our current purpose. However we will carefully review this further if you submit a Pull Request demonstrating the problem, sketching in as much of a solution as you feel you comfortable.

Hi @deanius unfortunately, we will no longer be dedicating resources to the development of router-autoscroll. We are using react-router which has auto scroll functionality, so this package will be deprecated. Feel free to fork it and support it.


TODO List

DONE

[x] https://github.com/parnurzeal/gorequest/issues/113 https://github.com/wklken/gorequest/pull/23
[x] https://github.com/parnurzeal/gorequest/issues/217
[x] https://github.com/parnurzeal/gorequest/issues/204
sendfile:

[x] MimeType https://github.com/parnurzeal/gorequest/pull/213/files
[x] enable custom Content-Type for SendFile https://github.com/parnurzeal/gorequest/pull/170 https://github.com/parnurzeal/gorequest/issues/208

[x] timeout detail https://github.com/parnurzeal/gorequest/pull/183/files
[x] gzip support: https://github.com/parnurzeal/gorequest/issues/195   see https://go.dev/src/net/http/transport.go#L190

TODO
high

sendfile:

[ ] filename always be file https://github.com/parnurzeal/gorequest/issues/219 https://github.com/parnurzeal/gorequest/issues/132 https://github.com/parnurzeal/gorequest/issues/245

[ ] support digest https://github.com/parnurzeal/gorequest/issues/247  /  https://github.com/parnurzeal/gorequest/issues/206
[ ] logger, maybe add a better interface https://github.com/parnurzeal/gorequest/issues/232
[ ] https://github.com/parnurzeal/gorequest/issues/251 https://stackoverflow.com/questions/26050380/go-tracking-post-request-progress

new features

[x] use https://github.com/json-iterator/go
[ ] use httpbin.org in docs and examples
[ ] use ginkgo
[ ] enhance debug / print
[ ] otel support
[ ] metrics and slow logs
[ ] return errors(an array), add more functions to get size/firstOne/hasError/error handler
[ ] add metrics support
[ ] add slow log/error log support

others

[ ] Trim the BOM in EndStruct() https://github.com/parnurzeal/gorequest/pull/179
[ ] fasthttp alternative?

https://github.com/parnurzeal/gorequest/issues/153
https://github.com/parnurzeal/gorequest/issues/110
https://github.com/parnurzeal/gorequest/issues/71

[ ] docs and faqs

[ ] https://github.com/parnurzeal/gorequest/issues/152
[ ] https://github.com/parnurzeal/gorequest/issues/145
[ ] https://github.com/parnurzeal/gorequest/issues/125
[ ] https://github.com/parnurzeal/gorequest/issues/117
[ ] https://github.com/parnurzeal/gorequest/issues/112
[ ] https://github.com/parnurzeal/gorequest/pull/171/files

[ ] add examples/*.go

[ ] https://github.com/parnurzeal/gorequest/issues/152
[ ] https://github.com/parnurzeal/gorequest/issues/125
[ ] https://github.com/parnurzeal/gorequest/issues/117
[ ] https://github.com/parnurzeal/gorequest/issues/112
[ ] https://github.com/parnurzeal/gorequest/pull/171/files

[ ] https://github.com/parnurzeal/gorequest/issues/144
[ ] https://github.com/parnurzeal/gorequest/issues/262
[ ] question: https://github.com/parnurzeal/gorequest/issues/142 https://github.com/parnurzeal/gorequest/issues/141 https://github.com/parnurzeal/gorequest/issues/45

gzip
no need to support.

now support: DisableCompression()
if not set, the gzip response will be ungzipped


cmd/eg: embedded fields are mishandled

$GOPATH/src/egbug/x.go:
package egbug

type T struct {
	*E
	E2 *E
}

type E struct {
	Next *T
}

func main() {
	var t *T
	t.Next = new(T)
}

Template:
package p

import "egbug"

func before(t *egbug.T) *egbug.T { return t.Next }
func after(t *egbug.T) *egbug.T  { return t.E2.Next }

eg output:
package egbug

type T struct {
	*E
	E2	*E
}

type E struct {
	Next *T
}

func main() {
	var t *T
	t.E2.E2.Next = new(T)
}

The second statement in main should be t.E2.Next, not t.E2.E2.Next. The output does not compile.

This is not theoretical. I encountered it while working on a follow-up to CL 7360. Note that because the output doesn't typecheck, I can't just use eg to fix it as a workaround.

...and actually, it looks like this has to do with applying the transformation too many times, not with embedded fields. Sorry.

I noticed the same problem each time the "after" matches the "before" pattern, e.g. :
func before(str string) string { return strings.ToLower(str) }
func after(str string) string  { return strings.ToLower("[" + str + "]") }

-> brackets added twice instead of once.


Go To Definition.

Hi,
New to Juno and new to Atom.
Trying to get some sort of Go To Definition.
I have tried to configure the goto package but not sure how to proceed.
Due to performance issues, I'd like to avoid Hydrogen
Thanks.

I use the atom-ctags and have this content my ~/.ctags file.
There are some rough edges, but it does work pretty well

You can also use the Toggle methods command (at least on master), which will display all the method for any given function call with clickable links to their respective definitions.
We should probably use an interface similar to that of atom-ctags though, I like it -- doesn't require a mouse.

Good point!
Could we have a command that gathers the info from Toggle methods, puts it in a modal (like you get from cmd+shift+p on osx) and lets the user select which method they want to visit?

Yeah, shouldn't be too much trouble to implement. I'll have a look.

Oh well, not as easy as I thought. I've made some progress, but haven't quite got this working.
In principle though this is sooo much nicer than my old implementation -- thanks for bringing it up!

Success:

Needs a bit of cleaning up and nicer display (something like the path or at least the file any given method's defined in), but basically works.

Nice, that looks like a great start.
I would also vote that you have the path

This is the UX from atom-ctags.

I think that they do a good job with the line number and file - but I like the way you handled types. Maybe we could implement something similar for method location on top of what you have? Also can we drop the margins on the modal?

Sure, that's just style stuff and shouldn't be too hard.
I'm just a bit conflicted on how to handle the intercommunication from Julia to Atom for things like this where we actually return data instead of DOM nodes. Either I implement it how I think it should be done (construct an array of method-objects in Julia that contains method signature, filename and line number), duplicate quite a lot of effort in Atom.jl´ and do it completly different than what Atom.jl` does otherwise, or I try to hack something together to extract the path from the dom node or something.
Basically I'm not sure if the current apporach of doing most of the rendering in Atom.jl is a good approach -- it's pretty different from what I'd understand as the usual MVC-approach.
/rambling-over

I'm a little confused.
I would imagine something like this:

atom-julia-client asks Atom.jl for method info (e.g. calls methods(func_name) for the func_name under cursor)
Atom.jl then gives atom-julia-client a vector of 3-tuples: (method signature, file, line)
atom-julia-client then throws them into a stylized modal.

This might be what you are already doing, I'm not sure. Does that not seem to work for some reason?

Yeah, that's exactly what I'm doing. It's just different from what the rest of Juno is doing, where we do pretty much all the rendering in Julia and pass the complete dom nodes to Atom. And because of that, most methods deal with those nodes -- setting up file links is annoying because of that for example.

On a modern IDE, people usually expect to ctrl-click on a function/variable to jump to its definition.


Adding a program section

Please assign me under this issue @abhisheks008

For this you need to make changes for all the programs in which this project repository is part of. You need to update the whole thing which is already present in the README file.


external: kernel version from depsolve (COMPOSER-2354)

Provide a (wide) API from the depsolve to query package versions; this is split out from #196 and needs separate discussion; previously:
@mvo5:

This adds a very broad API to this otk external, I personally would start more targeted, we need the kernel name and version and in images the kernel is handled specially only. So maybe we could do the same here? Something like just expose a const.kernel.{name,version}? We will need to adjust fragments/grub2.yam to match the kernel and the string there includes 0-0.noarch right now which also indicates that we need to tweak our tests to make this better testable.

@supakeen:

I chose the broad API to not limit ourselves here also taking some inspiration from osbuild-mpp where it is currently possible to get the version of any package.

The issue I see (beside api surface) is that currently we support changing the kernel name in images easily, so I expect in our otk files we will have something like:
otk.define:
 kernel_pkgname: cloud-kernel

and with that we would need lookup inside usage of defines, yes? I.e. something like
saved_entry: ffffffffffffffffffffffffffffffff-${packages.os.const.versions.${kernel_pkgname}.version}

which iirc we do not support currently.
We could of course but I'm not sure we should for this use-case since we now need to write a new feature and have a much bigger api surface.
If there is a good use-case for exposing all versions and all details for the versions (i.e. version/epoch/release/arch) beside the kernel then of course we should consider this.

cc @achilleas-k and @ondrejbudai

I responded on the previous PR but let me copy my comment here:
The only call to the equivalent function in images that's not for looking up the kernel is to check if dracut-config-rescue exists in the package set, but it doesn't care about version.
https://github.com/osbuild/images/blob/67a2b2f65a2e0969039a3de17bf2c266390d01ab/pkg/manifest/os.go#L651
I can imagine a case where this might be useful.  We've never had to do this but perhaps a stage's options might change depending on the version of a given package (in the build root or in the OS).
I lean towards simplicity for these externals, but I also like the generalisation of being able to "query" for any package's version by name.  It feels useful, so my instinct right now is to generalise it so it's easier to grow in the future.

Have we considered a separate external that consumes the output of the depsolver to look up package info by name?
(widening the API futher...)

Have we considered a separate external that consumes the output of the depsolver to look up package info by name? (widening the API further...)

Kinda, I don't think it particularly adds much unless we want to find a package in multiple package sets (for example). However it does allow us to parametrize the package name more easily.

Storing packages by their names can cause issues with multi-arch images (x86_64 and i686) but I wouldn't worry about this too much.
I agree with Michael that directly exposing dnf-json's output creates a risky depedency, so I suggest exposing just VRA for now. :) We can always go bigger later.
Otherwise this lgtm. ;)

Summarizing (also tagging @mvo5), expose all packages but only their Version-Release-Architecture right?

Storing packages by their names can cause issues with multi-arch images (x86_64 and i686) but I wouldn't worry about this too much.
I agree with Michael that directly exposing dnf-json's output creates a risky depedency, so I suggest exposing just VRA for now. :) We can always go bigger later.
Otherwise this lgtm. ;)

Summarizing (also tagging @mvo5), expose all packages but only their Version-Release-Architecture right?

If we do this we still have the issue that any kernel name like (my-kernel) that is not a valid var in otk could not be represeted AFAICT. So ${packages.os.const.versions.my-kernel.version} does not work, we either need nesting which is a bit of a pain or some other way to access this. The alternative would be to provide a new external like "osbuild-dnf-details" or something that takes a "pkgname" and a resolved tree as input (iirc achilleas idea) - this would not require new "language" features (cc @ondrejbudai )

Storing packages by their names can cause issues with multi-arch images (x86_64 and i686) but I wouldn't worry about this too much.
I agree with Michael that directly exposing dnf-json's output creates a risky depedency, so I suggest exposing just VRA for now. :) We can always go bigger later.
Otherwise this lgtm. ;)

Summarizing (also tagging @mvo5), expose all packages but only their Version-Release-Architecture right?

If we do this we still have the issue that any kernel name like (my-kernel) that is not a valid var in otk could not be represeted AFAICT. So ${packages.os.const.versions.my-kernel.version} does not work, we either need nesting which is a bit of a pain or some other way to access this. The alternative would be to provide a new external like "osbuild-dnf-details" or something that takes a "pkgname" and a resolved tree as input (iirc achilleas idea) - this would not require new "language" features (cc @ondrejbudai )

This is still an option yes. There's also a separate parallel discussion about names in #213 which would alleviate or make that harder :)

I opened https://github.com/osbuild/otk/pull/226 with an alternative idea that uses an external (iirc achilleas suggested this)

We're going #226.


Edge with Button Docs example not working

Describe the Bug
The Docs include an Edge with Button example that does not run due to the import of getEdgeCenter.
Your Example Website or App
https://codesandbox.io/s/cuj7lk?file=%2FApp.js&from-sandpack=true
Steps to Reproduce the Bug or Issue

Visit https://reactflow.dev/docs/examples/edges/edge-with-button/

Expected behavior
Sandbox executes without error message.
Screenshots or Videos

Platform

OS: [Linux]
Browser: [Chromium]

Additional context
No response

thanks @tauling !


WRONGPASS invalid username-password pair

Issue
Hi, I wish I had more time to fill this out but I'm making this for others who are having this issue. Our Node applications started crashing on startup when we updated (without realizing) to 3.1.0. Thankfully this only happened on our stage servers so no harm was done! But hopefully, others find this helpful!
The error is as follows
ReplyError: WRONGPASS invalid username-password pair
    at parseError (redacted.../node_modules/redis/node_modules/redis-parser/lib/parser.js:179:12)
    at parseType (redacted.../node_modules/redis/node_modules/redis-parser/lib/parser.js:302:14) {
  command: 'AUTH',
  args: [ 'redacted', 'redacted' ],
  code: 'WRONGPASS'
}

The username-password pair is correct and works before 3.1.0 to fix this for now we downgraded to 3.0.2

Environment

Node.js Version: 14.15.4

Redis Version: Unkown (I can add once I find out)

Platform: MacOS 11.0.1, Heroku Node, Arch Linux

UP, i can confirm that this issue exists an encountered it just now, trying to connect to my remote redis database

@lebseu @darklight147 are you using the default user or a custom ACL user?
If you're using the default user, make sure the set the username to "default" or just leave it empty.

@leibale resolved issue by reverting to version 3.0.2, although this would work for a higher version expect latest, am using this code to connect to my remote redis db:
export const redisClient = redis.createClient({
	url: redisUri,
});

my redisUri is formated this way: redis://username:password@host-domain:15601

@darklight147 try to change the "username" part to "default"

@leibale that can't be right, because those are the credentials to my database

@darklight147 until version 3.1.0 the username part was ignored, so please try to set it to "default" (or leave it empty) and check if that's help

I have the same issue as @darklight147. Setting the username to redis://default:password@ip or empty string redis://:password@ip does not help.
The only thing that helps is setting the connection string as redis://password@ip, no username: part.
When a username is present, even if named default, the auth command is sent as auth  'default', 'password' and redis 3.0.6 rejects that.

@bamse16 3.0.2 works fine for now, give it a shot

Thanks @darklight147. Forgot to mention that 3.0.2 works for me as well. I'm trying to get the latest version to work.

I tried reproducing it with
redis-server --requirepass password

require('redis').createClient('redis://:password@localhost:6379');

and it fired an AUTH command with only 1 argument (the password).
@leobeosab @darklight147 @bamse16 I would like to debug it with one of you, because I couldn't reproduce it

I've tried redis://:password@localhost:6379 and that works for me as well. Previously, a package that was parsing the URI would not handle empty username, so that was not related to this package.

Heroku deployments are broken at 3.1.0, initializing the client using:
require('redis').createClient(process.env.REDIS_URL)

where REDIS_URL is set automatically by Heroku using the format redis://h:<password>@<host>:<port>
The error is:
Uncaught ReplyError: Ready check failed: NOAUTH Authentication required.
    at parseError (/app/node_modules/redis-parser/lib/parser.js:179:12)
    at parseType (/app/node_modules/redis-parser/lib/parser.js:302:14)

This renders the latest version unusable on Heroku, everything is working fine at 3.0.2 though.

@bamse16 using redis://:password@localhost:6379 should do the trick.
@nbasili you should try without the username h --> redis://:<password>@<host>:<port>

So the 3.1.0 breaking production for many users due to it stopped supporting URL with a username.
Is  this something needed to be mentioned in the changelog or is there a fix to, for example, ignore username in the URL so this won't be a matter? :-)

We're having this issue as well. Like others said, 3.0.2 resolves it for us.
We're reading the redis connection string from whatever the cloud environment gives us, which for right now is rediss://<username>:<password>@<ip>:<port>
The error we got was 'wrong number of arguments for 'auth' command'.

We're also having this issue. And yes, it broke production. I don't want to remove the username because we are hosting with Heroku which automatically manages the Redis connection URL.

We just encountered the same issue, fortunately on the staging server. Shouldn't it have been a major version change? I just ran npm update and boom everything broke.

I encountered the same issue when upgrade to 4.27.1.
4.27.0: the same issue
4.26.0: issue not exists.
Downgrade to  4.26.0 works.
@leibale

For anyone with an old redis installation on Heroku, this will solve the issue (node-redis 3.1.2):
                const url = new URL(process.env.REDIS_URL);
                const client = redis.createClient(Number.parseInt(url.port), url.hostname, {
                    auth_pass: url.password
                });

@darklight147 try to change the "username" to "default"

Maan, thank you so muuuuch

just installed the latest version 4.0.0
using
"URI": "rediss://password@url:port   did not work
"URI": "rediss://default:password@url:port   did not work
"URI": "rediss://admin:password@url:port   did not work
"URI": "rediss://:password@url:port   did work   just putting : before password
is this the new behaviour ?

It’s a new behaviour, now you should use it like this “URI”: @.***:port”
Probably isn’t working cause you misspelled redis in your url, using two s.
Hope it solves your problem =D

De: Guy Huinen @.>
Enviado: Thursday, November 25, 2021 7:24:40 AM
Para: redis/node-redis @.>
Cc: RicardoOliveiraa @.>; Comment @.>
Assunto: Re: [redis/node-redis] WRONGPASS invalid username-password pair (#1591)
just installed the latest version 4.0.0
using
"URI": @.:port did not work
"URI": @.:port did not work
"URI": @.***:port did not work
"URI": @.***:port did work just putting : before password
is this the new behaviour ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fredis%2Fnode-redis%2Fissues%2F1591%23issuecomment-979068049&data=04|01||61297d528c7f4030739e08d9affdcab7|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637734326837982192|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=gBO6APInwG39%2FYQh3KXzryYYswNm9OIxoOfM6uXYer8%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJD27W23HQCPX43X7CWDSWLUNYFGRANCNFSM42F4RDGA&data=04|01||61297d528c7f4030739e08d9affdcab7|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637734326837982192|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=8iWQvAq7ByBnLH9OoqLuARWO%2BmtH%2BjkYYmCQpAeRoNo%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01||61297d528c7f4030739e08d9affdcab7|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637734326837992140|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=svhSSg1GBIhy%2B%2BQwFxY%2BM4ED8Df0Gj2o2v1M%2BjRebqM%3D&reserved=0 or Androidhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01||61297d528c7f4030739e08d9affdcab7|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637734326837992140|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=7P9rKk%2F5zqEDULi3UlDR%2BfuxGS%2B6aMJColi5bfzGhHo%3D&reserved=0.

rediss with 2 ss is for an encrypted connection.  and again it works for me just putting the :

@huineng @RicardoOliveiraa I haven't noticed this breaking change (in v3 if only one parameter was sent it was used as the password, in v4 it'll be used as the username), I'm not too sure if I'll "fix" it or just add it into the change log.

npm i redis - the other js versions don't seem to work correctly

That is so great!!!!!  It saved me~~~~~

why not use 'root:123456' ?

@leibale You're Redis magician ?

@revskill10 I'm trying... :)

just installed the latest version 4.0.0 using
"URI": "rediss://password@url:port did not work "URI": "rediss://default:password@url:port did not work "URI": "rediss://admin:password@url:port did not work
"URI": "rediss://:password@url:port did work just putting : before password
is this the new behaviour ?

In my case:
self.redis_client = Redis(             host=settings.REDIS_HOST, port=settings.REDIS_PORT,             db=settings.REDIS_DB, password=settings.REDIS_PASSWORD,             socket_timeout=5) : worked
while:
self.redis_client = Redis(             host=settings.REDIS_HOST, port=settings.REDIS_PORT,             db=settings.REDIS_DB, password=settings.REDIS_PASSWORD,             username=settings.REDIS_USERNAME, socket_timeout=5) was giving invalid username-password pair

just installed the latest version 4.0.0 using
"URI": "rediss://password@url:port did not work "URI": "rediss://default:password@url:port did not work "URI": "rediss://admin:password@url:port did not work

> "URI": "rediss://:password@url:port did work just putting : before password

Thank you so much. 👍

Interesting; how active this thread is. I have 2 Redis instances on two different boxes. I see this WRONGPASS issue in one but not the other one.
Version info from apt show redis
Package: redis
Version: 5:7.0.15-1build2
Priority: optional
Section: universe/database
Origin: Ubuntu

🫱  One box I use for syncing ActionCable (Rails) that is configured to have noeviction. Here URL with : before the password and blank username work. Example: redis://:password@host:port/1
🫱 Another box is used for caching (with allkeys-lfu), there, a URL with username default works. Example: redis://default:password@host:port/1


Backport PR with its labels

What does this PR do?
Should also take PR labels when creating the backport

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


encapsulate manual cronjob data restore as a function

refers: https://github.com/stolostron/multicluster-global-hub/pull/530

/retest

/lgtm
FYI @hchenxa need QE's effort on it.

/hold until https://github.com/stolostron/multicluster-global-hub/pull/532 get merged.

@clyang82 this was not the doc tasks only, do you mind to trace this in jira?

/unhold

/lgtm

/retest

/test test-e2e

/test test-e2e

/test test-e2e


Fix WebView resize problem

Steps to reproduce:

Add more than one domains.
Load both webviews.
Switching back to the other webview.

Cause:
This bug was introduced from the upstream. It is documented in electron#5110. The bug has not yet been fixed but we have a workaround.
It's weird that I run into this bug for the first time tonight. Have you ever seen this before?

@geeeeeeeeek I have got this bug once. Merging. Thanks!


Feature Request: A save button while in full-screen

A small feature request to be able to save ones work while in full-screen mode.
The feature request would have a save button in top right or a floating button that isn't in the way for the author to focus on writing only.
On saving the document, the full screen will exit and use the save feature already built into Strapi.

#60 There is no official fullscreen plugin for ckeditor5 and the fullscreen plugin that we have is not good enough I'm not planning to develop and maintain it so since v2 of this plugin, the fullscreen plugin isn't included in the build


add a quick try to silence linux warning swift 4

need to test on swift3 and see where it's at for how we should tag this – it's also test section, so less critical

looks like swift 3.2 only.


Add German book C-HowTo for language C

What does this PR do?
Add a resource: Add a German book for language C
For resources
Description
Free online tutorial for learning the C programming language in the German language. This is an online version of the printed form.
The C-HowTo is a manual for a practical introduction to C programming,
Why is this valuable (or not)?
I read it myself when I was a C beginner. It's great and very clearly written. Highly recommended for C beginners or general programming beginners who want to learn their first language.
How do we know it's really free?
First sentence on the website : "This is a free online manual for learning the C programming language." (translate from German in English). The website has been created by the author himself.
For book lists, is it a book? For course lists, is it a course? etc.
It says tutorial, but it is just a free online version of the printed/physical book, which you can buy online if you like.
Type: Book (HTML)
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Thanks, and welcome to free-programming-books!


Support React 15.5

Support for React 15.5 is on the react-image-magnify roadmap!
Tasks

[x] Upgrade react-cursor-position dependency
[x] Upgrade react-hover-observer dependency
[x] Upgrade react-image-magnify

Closing with v1.8 release. Version 1.8 package has been published to NPM.
@damien916 - Thanks for helping to raise the priority of upgrading to React 15.5 by opening https://github.com/ethanselzer/react-cursor-position/issues/5. And thanks for your continued support of the project!

Thank you @ethanselzer !


Web link editor

We should implement the link editor panel

This is more or less done for the view of the panel. We should now implement:

[ ] creating new links and saving them into the file
[ ] having the kernel receive the new link information (using ypywidgets?)

I can take care of this issue

We should now iterate and implement the new version of the mock-ups for identity links

Sure, I can take care of it.
Do we know what to do for advanced links? I can probably include it in place of attributes for now.

Let's focus on identity links for now, we'll iterate on advanced links later if we have time

I can take care of this issue

I haven't your message @trungleduc, you can tackle it if you have time


RGFW_vulkan vulkWin does not have window member.

#ifdef RGFW_WINDOWS
    VkWin32SurfaceCreateInfoKHR win32 = {VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR, 0, 0, GetModuleHandle(NULL),
vulkWin->window};

    vkCreateWin32SurfaceKHR(RGFW_vulkan_info.instance, &win32, NULL, &vulkWin->rSurf);'
#endif

The problem is on line 134 of RGFW_vulkan.h, where if you compile you get an error saying "vulkWin does not have a member named window". A simple fix I have done is as below.
#ifdef RGFW_WINDOWS
    VkWin32SurfaceCreateInfoKHR win32 = {VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR, 0, 0,
GetModuleHandle(NULL), (HWND)win->src.window};

    vkCreateWin32SurfaceKHR(RGFW_vulkan_info.instance, &win32, NULL, &vulkWin->rSurf);
#endif

Atleast it compiles, but not sure whether it works. This problem also is present on the MacOS define.
#if defined(RGFW_MACOS) && !defined(RGFW_MACOS_X11)
    VkMacOSSurfaceCreateFlagsMVK macos = {VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK, 0, 0, vulkWin->display,
vulkWin->window};

    vkCreateMacOSSurfaceMVK(RGFW_vulkan_info.instance, &macos, NULL, &vulkWin->rSurf);
#endif

Hopefully this issue is solved.

If that solves the issue do you mind making a PR?

Sure, I will do it ASAP, but i am still not sure whether it works properly, I will do some testing as well.

I've already submitted a pull request for the change towards RGFW_vulkan.h

@TheLastVoyager Thank you!


x/pkgsite: remove package github.com/gudvinr/monograms

What is the URL of the page with the issue?
https://pkg.go.dev/github.com/gudvinr/monograms
What did you do?

Deleted repository
Opened page in the browser

What did you expect to see?
Nothing, since this package doesn't exist anymore
What did you see instead?
Documentation page for package that doesn't exist

Done.


odo app support for devfile components

/kind user-story
User Story
As a user, I want to group different devfile components to an app similar to what I can do for s2i components.
Background
odo has the odo app command for grouping existing s2i components under an app.
Acceptance Criteria

[ ] It should behave the same as the existing odo app command but allowing devfile components to be added to the app
[ ] It should support --app appname parameter on odo create command for devfile components

We need to figure out where we store the app-component relationship data.
/kind user-story
/area devfile

/assign

Goals
The goal of this issue is to implement the odo app */odo list commands, for devfiles, in such as way as to reproduce the existing non-dev-file/s2i behaviour of these commands.
A non-goal of this issue is to implement app-level linking of components. However, the work done as part of THIS issue should not prevent implementation of app-level linking of components in the future. A description of our initial thoughts on app-level linking can be found here.
Implementation
The implementation for devfiles will thus work the same way as it does for s2i:

All components will, by default, belong to an application named 'app'
Deployments in a namespace on cluster will have the label app.kubernetes.io/part-of=(name of odo app) to indicate which app they are a part of
The env.yaml for the component will contain a new 'Application' entry:

ComponentSettings:
  Application: (name of odo app)

Specific behaviour of commands affected by this issue

odo list command: query the cluster for components of the current application and print them (*)
odo app delete command: delete k8s resources (of matching components) from the cluster, doesn't delete any local files (*)
odo app describe command: describe components that match the application name, based on deployed k8s resources from the cluster (*)
odo app list command: list applications found on the cluster, by scanning deployed k8s resources  (*)
odo component create: Existing create behaviour, but now also sets the Application value in env.yaml
odo component push: Existing push behaviour, but now applies the app.kubernetes.io/part-of label when pushing

(*) = uses 'app.kubernetes.io/part-of' to determine application of deployed k8s resources, eg don't use or check the component's env.yaml (in pwd/context) as part of the execution of this command; this is the same behaviour as S2I.
Application-level component linking
In the near future (but not as part of this issue), we may add application-level awareness of component <-> component links.
To my mind there are at least a couple possible models:

Parent-child linking model: The application is the "parent" of the components, the application describes links between components, and the links between those components are stored in application metadata. Component metadata (either devfile.yaml/env.yaml) does not contain that link information. (This is the model described in the google doc referenced above.)

Peer-to-peer linking model: The components describe links to each other, and the role of the application is only to be a simple grouping of components.  Component metadata (devfile.yaml/env.yaml) DO contain link information.

This is closest to the existing S2I app model.

In either case, my expectation is that the behaviour of the odo app */odo app command, as implemented in this issue, would be roughly the same, depending on which model of linking we go with, and thus I don't feel that the implementation details of this issue would prevent that future work.

@jgwest there is an overlap with https://github.com/openshift/odo/pull/3505

I believe there is still overlap between this issue and https://github.com/openshift/odo/issues/3521

Removing required-for-v2 label as v2.0.0 has been released.


[Bug]: Boosted transfer from savings activity changes to "From Spending (±NaNm)"

Describe the bug
Whilst not wanting to wait for a "Transfer From Savings" activity to confirm due to its low fee rate, I boosted it.  This resulted in the activity changing to 'Transfer From Spending (±NaNm)". Its amount also updated to correctly display the additional amount paid by CPFP.
Reproduce

Have an unconfirmed 'Transfer From Savings" activity (mine was below market rate thanks to its ancestor)
Boost it!
Observe the activity from the list on the main page, it changes to "Transfer From Spending (±NaNm)"

Screenshots / Recording
Before:

After:

The boost tx:

Even after all tx confirm, it remains both: From Spending (activity list) and From Savings (activity header)
fromSpending_fromSavings.webm
Operating system
Android 13 TKQ1.221114.001
Bitkit version
v122 01b96914b84df3a2584c71bd9fb6ca5f143709e0
Log output
No response

Verified in 033edb4a46ff8d407baa25587cd5d86f6fc9c6c3


exclude babel async to generator / regenerator

until bug in rollup is resolved.
the case is that babel some times add it and it is not used. the strange thing is that nor rollup nor uglify removes it even if it is unused declaration...

we removed the build step using @std/esm so we stick as much as possible to node 6 and above. Also we dont create browser bundles.
The only case when we use babel and rollup is for the testing, because @std/esm not work with nyc for the coverage reporting.
Current babel setup only includes the babel-plugin-istanbul so we can get correct reports of missing branches and etc.
We can add in future react/jsx and object-rest-spread and external-helpers, so we can test jsx server-side without problems.
Worth mentioning that all this is after trying of all other "modern" test frameworks and workflows (jest, ava) - none of them worked.

closing since we'll use hela-config-rollup-build preset for the build step (which in turn will be installed and run only on CI's "build" job)


Do not publish unless build is passing.

We'll need to move the code in pythonpublish.yml to circleci. I'll need to add the secret keys to circle

Variables are set as PYPI_USERNAME/PYPI_PASSWORD


Document how to build and run my own copy

I want to "download, build & run your local mongodb and webapp server" as suggested in the readme, but I have no idea how to build C#, and I'm really struggling to find out information about it online. It would be great if you added a summary of the steps needed to build the project on some operating system, and then I can do my best to make it work from there.

@cloudrac3r Hello. You can clone the project, go to repository folder and type these two commands:
docker build -t chess .
docker run -p 9000:9000 -t chess

The first one builds an image from the Dockerfile (-t chess stands for --tag image_name), the second runs this image on port 9000 (-p 9000:9000 binds port 9000 on your machine with port 9000 on "image machine")
Now you should be able to access TrulyQuantumChess start page on localhost:9000
*Of course, your need docker to be installed on your machine (the easiest way is to install Docker App and run it. Then perform the steps mentioned above)

Thank you!

Hmm. I see the start page on localhost:9000, and I managed to disable the captcha, but after I press launch new game it looks like it has problems trying to connect to mongo.
I see this in the browser network logs:
{"statusCode":500,"message":"Something went horribly, horribly wrong while servicing your request.","details":"Nancy.RequestExecutionException: Oh noes! ---\u003e System.TypeInitializationException: The type initializer for \u0027TrulyQuantumChess.WebApp.WebAppManagers\u0027 threw an exception. ---\u003e System.AggregateException: One or more errors occurred. (A timeout occured after 30000ms selecting a server using CompositeServerSelector{ Selectors = ReadPreferenceServerSelector{ ReadPreference = { Mode : Primary } }, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 } }. Client view of cluster state is { ClusterId : \"1\", ConnectionMode : \"Automatic\", Type : \"Unknown\", State : \"Disconnected\", Servers : [{ ServerId: \"{ ClusterId : 1, EndPoint : \"<IP_ADDRESS>:27017\" }\", EndPoint: \"<IP_ADDRESS>:27017\", State: \"Disconnected\", Type: \"Unknown\", HeartbeatException: \"MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server. ---\u003e System.Net.Sockets.SocketException: Connection refused\n  at System.Net.Sockets.SocketAsyncResult.CheckIfThrowDelayedException () [0x00014] in \u003c4d8f95b7df544b3fa1a27dda924b4424\u003e:0 \n  at System.Net.Sockets.Socket.EndConnect (System.IAsyncResult asyncResult) [0x0002c] in \u003c4d8f95b7df544b3fa1a27dda924b4424\u003e:0 \n  at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x00019] in \u003cc453bf849bb84e719dbec0475e99db95\u003e:0 \n--- End of stack trace from previous location where exception was thrown ---\n\n  at MongoDB.Driver.Core.Connections.TcpStreamFactory.ConnectAsync (System.Net.Sockets.Socket socket, System.Net.EndPoint endPoint, System.Threading.CancellationToken cancellationToken) [0x0025a] in \u003c9cc50b9540454405a55b3515e4f48ce9\u003e:0 \n  at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStreamAsync (System.Net.EndPoint endPoint, System.Threading.CancellationToken cancellationToken) [0x00092] in \u003c9cc50b9540454405a55b3515e4f48ce9\u003e:0 \n  at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelperAsync (System.Threading.CancellationToken cancellationToken) [0x000c8] in \u003c9cc50b9540454405a55b3515e4f48ce9\u003e:0 \n   --- End of inner exception stack trace ---\n  at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelperAsync (System.Threading.CancellationToken cancellationToken) [0x001da] in \u003c9cc50b9540454405a55b3515e4f48ce9\u003e:0 \n  at MongoDB.Driver.Core.Servers.ServerMonitor.HeartbeatAsync (System.Threading.CancellationToken cancellationToken) [0x000e7] in \u003c9cc50b9540454405a55b3515e4f48ce9\u003e:0 \" }] }.) ---\u003e System.TimeoutException: A timeout occured after 30000ms selecting a server using CompositeServerSelector{ Selectors = ReadPreferenceServerSelector{ ReadPreference = { Mode : Primary } }, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 } }. Client view of cluster state is { ClusterId : \"1\", ConnectionMode : \"Automatic\", Type : \"Unknown\", State : \"Disconnected\", Servers : [{ ServerId: \"{ ClusterId : 1, EndPoint : \"<IP_ADDRESS>:27017\" }\", EndPoint: \"<IP_ADDRESS>:27017\", State: \"Disconnected\", Type: \"Unknown\", HeartbeatException: \"MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server. ---\u003e System.Net.Sockets.SocketException: Connection refused\n  at System.Net.Sockets.SocketAsyncResult.CheckIfThrowDelayedException () [0x00014] in \u003c4d8f95b7df544b3fa1a27dda924b4424\u003e:0 \n  at System.Net.Sockets.Socket.EndConnect (System.IAsyncResult asyncResult) [0x0002c] in \u003c4d8f95b7df544b3fa1a27dda924b4424\u003e:0 \n  at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x00019] in \u003cc453bf849bb84e719dbec0475e99db95\u003e:0 \n--- End of stack trace from previous location where exception was thrown ---\n\n  at MongoDB.Driver.Core.Connections.TcpStreamFactory.ConnectAsync (System.Net.Sockets.Socket socket, System.Net.EndPoint endPoint, System.Threading.CancellationToken cancellationToken) [0x0025a] in \u003c9cc50b9540454405a55b3515e4f48ce9\u003e:0 \n  at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStreamAsync (System.Net.EndPoint endPoint, System.Threading.CancellationToken cancellationToken) [0x00092] in \u003c9cc50b9540454405a55b3515e4f48ce9\u003e:0 \n  at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelperAsync (System.Threading.CancellationToken cancellationToken) [0x000c8] in \u003c9cc50b9540454405a55b3515e4f48ce9\u003e:0 \n   --- End of inner exception stack trace ---\n  at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelperAsync (System.Threading.CancellationToken cancellationToken) [0x001da] in \u003c9cc50b9540454405a55b3515e4f48ce9\u003e:0 \n  at MongoDB.Driver.Core.Servers.ServerMonitor.HeartbeatAsync (System.Threading.CancellationToken cancellationToken) [0x000e7] in \u003c9cc50b9540454405a55b3515e4f48ce9\u003e:0 \" }] }.\n  at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException (MongoDB.Driver.Core.Clusters.ServerSelectors.IServerSelector selector, MongoDB.Driver.Core.Clusters.ClusterDescription description) [0x00013] in \u003c9cc50b9540454405a55b3515e4f48ce9\u003e:0 \n  at MongoDB.Driver.Core.Clusters.Cluster+WaitForDescriptionChangedHelper.HandleCompletedTask (System.Threading.Tasks.Task completedTask) [0x00009] in \u003c9cc50b9540454405a55b3515e4f48ce9\u003e:0 \n  at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedAsync (MongoDB.Driver.Core.Clusters.ServerSelectors.IServerSelector selector, MongoDB.Driver.Core.Clusters.ClusterDescription description, System.Threading.Tasks.Task descriptionChangedTask, System.TimeSpan timeout, System.Threading.CancellationToken cancellationToken) [0x000b4] in \u003c9cc50b9540454405a55b3515e4f48ce9\u003e:0 \n  at MongoDB.Driver.Core.Clusters.Cluster.SelectServerAsync (MongoDB.Driver.Core.Clusters.ServerSelectors.IServerSelector selector, System.Threading.CancellationToken cancellationToken) [0x00120] in \u003c9cc50b9540454405a55b3515e4f48ce9\u003e:0 \n  at MongoDB.Driver.Core.Bindings.ReadPreferenceBinding.GetReadChannelSourceAsync (System.Threading.CancellationToken cancellationToken) [0x0008b] in \u003c9cc50b9540454405a55b3515e4f48ce9\u003e:0 \n  at MongoDB.Driver.Core.Operations.ReadCommandOperation`1[TCommandResult].ExecuteAsync (MongoDB.Driver.Core.Bindings.IReadBinding binding, System.Threading.CancellationToken cancellationToken) [0x0009e] in \u003c9cc50b9540454405a55b3515e4f48ce9\u003e:0 \n  at MongoDB.Driver.OperationExecutor.ExecuteReadOperationAsync[TResult] (MongoDB.Driver.Core.Bindings.IReadBinding binding, MongoDB.Driver.Core.Operations.IReadOperation`1[TResult] operation, System.Threading.CancellationToken cancellationToken) [0x00075] in \u003cf610437d1b274073afaed44e3908ccaf\u003e:0 \n  at MongoDB.Driver.MongoDatabaseImpl.ExecuteReadOperationAsync[T] (MongoDB.Driver.Core.Operations.IReadOperation`1[TResult] operation, MongoDB.Driver.ReadPreference readPreference, System.Threading.CancellationToken cancellationToken) [0x000a0] in \u003cf610437d1b274073afaed44e3908ccaf\u003e:0 \n   --- End of inner exception stack trace ---\n  at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in \u003cc453bf849bb84e719dbec0475e99db95\u003e:0 \n  at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in \u003cc453bf849bb84e719dbec0475e99db95\u003e:0 \n  at System.Threading.Tasks.Task.Wait () [0x00000] in \u003cc453bf849bb84e719dbec0475e99db95\u003e:0 \n  at TrulyQuantumChess.WebApp.MongoManager..ctor () [0x0006a] in \u003c44c32ca3d4a744afb8256b3fb497e15d\u003e:0 \n  at TrulyQuantumChess.WebApp.WebAppManagers..cctor () [0x00000] in \u003c44c32ca3d4a744afb8256b3fb497e15d\u003e:0 \n   --- End of inner exception stack trace ---\n  at TrulyQuantumChess.WebApp.ApiModule.NewGame (System.Object args, System.Threading.CancellationToken cancellation_token) [0x002f5] in \u003c44c32ca3d4a744afb8256b3fb497e15d\u003e:0 \n   --- End of inner exception stack trace ---\n  at Nancy.NancyEngine.InvokeOnErrorHook (Nancy.NancyContext context, Nancy.ErrorPipeline pipeline, System.Exception ex) [0x000bd] in \u003c63c44d6f8d7e4f339a987bf9eb94d931\u003e:0 "}

My key takeaway is this: A timeout occured after 30000ms selecting a server
I assume that this is caused because mongo isn't running, or because it couldn't detect mongo. Do I need to run mongo on my own, outside of docker? But I thought the point of docker was that things can't get out of their containers...?

@cloudrac3r Well, I do not know how to do it properly, but I came up with a workaround.

Create a file docker-compose.yml with the following contents:

version: '3'
services:
  web:
    image: chess
    build: .
    command: "mono WebApp.exe"
    ports:
      - "9000:9000"
    depends_on:
      - "mongo"
  mongo:
    image: "mongo"
    ports:
      - "27017:27017"

*Be sure to use spaces instead of tabs or you'll probably get a syntax error.

make changes to WebAppConfig_dockerized.json at line 5:
replace mongodb://mongo.storage.hindsight.hindsight.node.intern with mongodb://mongo:27017

Launch like this:

docker-compose build
docker-compose up

Now after every change you make to the project step 3 will be how you build & run it.

Yes, it seems to work now! Thank you so much! I was trying to do something similar but I didn't know docker well enough to pull it off.

You are welcome :)

FYI, if you add the docker-compose.yml file and/or update the README with these instructions, I will happily approve the pull request.

I'm away from home right now. I may be able to do this in a few days.


FFMPEG

https://ffmpeg.org/

A complete, cross-platform solution to record, convert and stream audio and video.

It contains a libraries like libavcodec & libavformat etc.
Source code can be found here https://git.ffmpeg.org/ffmpeg.git.

I'm on it! Link to repository coming later.

I've package FFmpeg, but still needs more testing and automatic addition of optimization flags depending on what's available.


Update TrustedPoint.toml

Description
Previous PRs:
https://github.com/anoma/namada-testnets/pull/1781
https://github.com/anoma/namada-testnets/pull/1038
https://github.com/anoma/namada-testnets/pull/642
https://github.com/anoma/namada-testnets/pull/575
All previous genesis validators should name their PRs "Update {validator_alias}.toml for tesntet-15" and provide links to previous PRs merged.
If this is an UPDATE for a previous genesis validator
Checks are made against your net_address. If this has changed since the previous testnet, make sure you provide links of previous prs merged from your previous git username.
Thanks in advance!
Checklist before merging

[x] Only one toml is added in this PR
[x] The file being added is indeed a .toml file
[x] The toml being added is to the correct folder, and only to the correct folder
[x] The eth_hot_key and eth_cold_key are present
[x] The email, discord, elements telegram, and twitter fields are present and valid

Successfully validated transactions.toml file for commit hash a0da68b


Add search endpoint method

Originally, I was going to try and build a more structured framework that allowed users to pass, for example, a list of keywords or hashtags or cashtags (etc.), and then have the method build the query. However, building something that can capture the entire functionality of the endpoint package seems like serious overkill. Furthermore, I toyed with the idea of providing some sort of simple functionality (like being able to accept a list of keywords), however, I think this makes things more confusing.
Instead, I provided a lot of details in the docstring which should be sufficient for anyone with half an idea.
This way the user can build the query themselves and pass it directly to the method.

Note: the tests.py document now includes a test that utilizes an endpoint that is only available for those with academic track access! You can simply comment out line 130 in the file and run that way to test without this level of access.

Subsequent testing revealed a few bugs in the rate_limit_manager.py script. The temp-mix branch is more up to date. I'm going to close this and the rate limit branch branch because they are behind that one.


Drag and Drop Profile Variables

Originally created by Luis Abdel Aguilar Jurado:
add description

Originally created by Julian Cachua Fruchier:
Applies for Keyword, Test Case, and Test Suite views:
Profile variables, dependent on the project, should be displayed in the left pane (as drop down preferably, since profiles can have hundreds of variables). Those variables should be drag-able to the central pane (keyword, test case, test suite visual editor), as well as to the right pane (arguments).
Translation of dragged variables should convert to robot framework format (${[variable name]}) on the converted keywords, test cases, and test suites.


Editable Children's exported Dictionary property can not be saved to .tscn file via script

Tested versions

Reproducible in v4.4.dev3.official [f4af8201b]

System information
Windows 11, Vulkan API 1.3.280 - Forward+ - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce RTX 3060 Ti
Issue description
I use an @export_tool_button to modify a sub-scene's exported Dictionary property, but it turns out that new value can't be saved in outer scene's .tscn file. It's interesting that the Dictionary's changed value can be show correctly in EditorInspector but not saved in file. If use the EditorInspector to modify sub-scene's exported Dictionary property and save, the new value can correctlly be saved in outer scene's .tscn file.

BTW, sub-scene's exported Int property can be successfully saved in outer scenes's .tscn file by the same way.
Steps to reproduce
In the MRP,

test1.tscn has a property: @export var map: Dictionary = {},
test2.tscn contains a test1.tscn
test3.tscn contains a test2.tscn with a modification of test1.tscn's map and the value is {"fff": 121, "ggg": 666}
test4.tscn contains a test3.tscn, which means the sub-scene test3/test2/test1's maps default value is inherited from test3.tscn's
click the test4's @export_tool_button add element will set a new pair of Key/Value to the test3/test2/test1's map and you can click on the sub-scene test1 to see it's property by EditorInspector to confirm that the map is surly modified.
save scenes and open test4.tscn with other text editor and you will find the value is not saved in file.
If you click on the sub-scene test1 and do some little modifcation by EditorInspector and save, you will find out the new value is saved in test4.tscn.

Minimal reproduction project (MRP)
test_export_dictionary.zip

To be clear, are you in the scene or the sub-scene?
As far as I know, the outer scene saves the changes to the subscene or the outer scene change should be disallowed. The subscene should be bit-exact from a version control point of view.

I think it's somehow a bug in the `export_tool_button, but I am unsure.

To be clear, are you in the scene or the sub-scene?
As far as I know, the outer scene saves the changes to the subscene or the outer scene change should be disallowed. The subscene should be bit-exact from a version control point of view.

In the scene test4.
I doubt the outer scene saves the changes to the subscene or the outer scene change should be disallowed. You can see that in test3.tscn, the modified value of test1's property map and property1 is saved in test3.tscn file:
[node name="test1" parent="test_2" index="0"]
map = {
"fff": 121,
"ggg": 666
}
property1 = 2

and in test4.tscn, you can see that the modified value of test1's property property1 is saved in test4.tscn file:
[node name="test1" parent="test_3/test_2" index="0"]
property1 =<PHONE_NUMBER>

which means outer scene can save it's modification on the sub-scene's exported property because I enabled sub-scene's Editable Children function.

I think it's somehow a bug in the `export_tool_button, but I am unsure.

It's not a bug of export_tool_button because I add this to test4.gd to modify test1's map without using export_tool_button but still the value is not saved in tscn file:
func _ready() -> void:
	await get_tree().create_timer(2).timeout
	test() # add an new key/value to map
	test() # add an new key/value to map
	test() # add an new key/value to map
	test() # add an new key/value to map
	printt("finish and save manually.")


Which font has the necessary glyphs for correct display?

All of these do not have the necessary glyphs:

Anonymous Pro for Powerline
Arimo for Powerline
Cousine for Powerline
Dejavu Sans Mono for Powerline
Droid Sans Mono for Powerline
Fira Mono
Go Mono for Powerline
Hack
Inconsolata for Powerline
JetBrains Mono
Liberation Mono for Powerline
Meslo LG [S..L] for Powerline
Monospace
Noto Mono for Powerline
Roboto Mono for Powerline
Source Code Pro for Powerline
Space Mono for Powerline
Ubuntu Mono derivative Powerline

The program uses nerd fonts to render the glyphs, I use for example the JetBrains Mono Nerd Font and the glyphs render correctly. I'm unsure if the Powerline fonts have support for these icons. The program dosen't use the Powerline fonts because they're not standardised yet and I can't seem to find a way to get icons for these fonts. If you have an idea of how to add these, feel free to open a pull request.

Here you can find a list of nerd fonts and how to install them, I believe that most of the fonts you mentioned are as nerd fonts in that repo.


[zh-cn] sync pod-security-standards security-checklist service-accounts system-traces

# Changes to be committed:
#       modified:   content/zh-cn/docs/concepts/cluster-administration/system-traces.md
#       modified:   content/zh-cn/docs/concepts/security/pod-security-standards.md
#       modified:   content/zh-cn/docs/concepts/security/security-checklist.md
#       modified:   content/zh-cn/docs/concepts/security/service-accounts.md
#

/approve

/lgtm


[WIP] Portal Person MGMT into spaceship

adds support for person mgmt on portal via spaceship.
as requested in

https://github.com/fastlane/fastlane/issues/7903

related:

https://github.com/fastlane/fastlane/pull/7993

todo:

[ ] spec it ❤
[ ] inline doc

API
List all persons:
(returns array of Spaceship::Portal::Person
Spaceship::Portal::Persons.all

Find by email:
person =<EMAIL_ADDRESS>
Create/Invite a person
<EMAIL_ADDRESS>"admin")

Delete a person
person =<EMAIL_ADDRESS>person.remove!

Change role of member.
person =<EMAIL_ADDRESS>person.change_role("member")

Looks cool, what do you want to use this for?

@KrauseFx  added specs and docs, pr is ready for review 👍
one use case could be to disable admins automatically once they don't need to be on team anymore.
overall it think its nice to manage team members via spaceship. (as the tunes member part is already in spaceship, portal is just a logical step? )

@KrauseFx  tests improved, i did it in 2 files as i thought one class per file  - and one spec per class?
you want me to combine the specs? and/or the implemenation itself?
i did the exact same with the tunes PR. (having member_spec, and members_spec)


To modify gradle scripts to a working example

@Jolanrensen please see PR for working sample. For the sake of simplicity I only included sub project gradle-crossbuild-sample-scala

Awesome! Looks really nice :) Atm I'm working on another project, and our current solution for the Kotlin Spark API works well enough for now, but in the future I'm definitely gonna try your crossbuild plugin again. Thanks for the awesome work!


Enabled filter does not work after disabling

@Alex-302 commented on Fri Jun 28 2019
Steps to reproduce

Disable Base filter
Enable it after few seconds and open filtering log
Refresh https://gitjournal.tech/luchshie-legkovesnye-distributivy-linux-2019/

Actual behavior
No requests, blocked by Base filter in the filtering log.
Expected behavior
Google Ads(at least - /adsbygoogle.js) are  blocked by base filter.
Logs: ~20:06:48
20-06-48.zip
AdGuard 7.1.2833

resolved in core/pull-requests/1356


Python 3.13

How do I get this built for Python 3.13?

Ensure the System Environment
Update the System: Before starting the build, update your operating system and the installed packages to avoid potential dependency conflicts. On Debian or Ubuntu-based systems, run:
sudo apt update
sudo apt upgrade
On Fedora systems, execute:、
sudo dnf update
Install Essential Tools: Building Python projects usually requires basic development tools such as compilers (gcc or clang), make, autogen, etc. On Ubuntu:
sudo apt install build-essential autogen
On Fedora:
sudo dnf install @development-tools


Add scroll on top button

instead of this "sroll on top" text, we can add an arrow to it so it looks good. Assign me this issue under gssoc-extd label

@devarsheecodess Thanks for creating the issue in SkillWise!!! The issue has been assigned to you.
Before you start working on your PR, please make sure to:

⭐ Star the repository if you haven't already.
Pull the latest changes to avoid any merge conflicts.
Attach before & after screenshots in your PR for clarity.
Include the issue number in your PR description for better tracking.

I'm excited to see your contribution as part of Hacktoberfest 2024! 🎉
Don't forget to follow me on GitHub for more updates.
Happy open-source contributing! 🚀

https://github.com/user-attachments/assets/22122285-3316-4e63-9293-83335c425d61

Hi @PriyaGhosal  can I be assigned to solve this issue?
This is my first time takin part in an Open Source Contribution and i would love to work on this issue!

I'm interested to solve this issue.Can you please assign this to me?


Freezes in Windows if remote server disconnected

I just observed that when I shutdown a remote server, the FilesRemote program just freezes, instead of showing a dialog to indicate the connection has lost and prompt user to retry connecting. Not sure if that's the expected behavior.

Hey @jerrylususu , thanks for reporting this. Freezing UI's was actually exactly a scenario that bothered me with other solutions, motivating me to write FilesRemote, so I hope to get it right!
I was just trying it out on my Windows boks. Here's what I did:

Connected to a test machine.
Unplugged the test machine.
Pressed F5 for refresh
At this point in my test, the status bar in the bottom shows "Reconnecting...", and when that fails after some seconds (because I unplugged the server), it shows "Reconnecting in X seconds..." and counts down from 5 (see screenshot below). While all this is happening, the window is still what I would classify as non-frozen, as it is resizable, the top menu's are responsive, and the window responds to closing immediately.

Were you seeing a more severe kind of "freeze"? And if so, can you help describe the steps to get to it?
Thanks!

Thanks for your quick response! I updated to version 1.6 (running v1.5 previously) which seems to fix the problem. I tried first connect then shutdown remote machine, and there is no more freezing. I think this issue is solved.
Thanks again for your amazing work!

Only change in 1.6 was ipv6 support, so it may be by chance you are no longer seeing this. In case you see the freeze again at some point, please do let me know if you notice anything special about the steps to make it happen. Thanks!


Could not find class 'com.orhanobut.hawk.SharedPreferencesStorage'

Please try to fill all questions below before submitting an issue.

[ ] On which android versions do you have this issue? :
[ ] On which phones do you have this issue? :
[ ] Which hawk version are you using? :
[ ] Does this issue happen always or is it flaky? :
[ ] Can you write failing test? :
[ ] If it is Hawk.put and Hawk.get issue, can you write down which data you were trying to save and get it back?
[ ] Is the data you are trying to save it huge or small?

I suppose clean/build should solve this issue.


.idea file baseline for Make LPA

Purpose
Brings project run configs into source control for Make LPA  Live
Learning
This will break your current PHPStorm config without appropriate preparation.

Exit PHPStorm
Backup current run folder
mv .idea .idea-bak
Checkout master/branch
Start PHPStorm
Remove backup (optional)
rm -R .idea-bak

Checklist

[x] I have performed a self-review of my own code
[ ] I have added relevant logging with appropriate levels to my code
[ ] I have updated documentation (Confluence/GitHub wiki/tech debt doc) where relevant
[ ] I have added tests to prove my work
[ ] The product team have tested these changes

Looks pretty good. Could be worth adding a 'docker-compose up' config much like the 'use' one

Looks pretty good. Could be worth adding a 'docker-compose up' config much like the 'use' one

Good point - let me fix that.

should be ok @cooperaj  - can you take another look?

Looks good. I'd look at the name of the run configs and remove redundant suffixes. It's ok to call the admin services tests "Admin" for instance.


Single Logout is not working between myaccount and console apps

Describe the issue:

Login to console
SSO for myaccount
Logout from console
Click on a tab open in console
Getting retrieval errors and console app doesnt get logged out

https://user-images.githubusercontent.com/31848014/164408055-6173ba74-ddb3-427b-9840-f6b73f43d9c8.mp4

Environment information (Please complete the following information; remove  any unnecessary fields) :
IS 5.12.0 alpha 20

Could be related https://github.com/wso2-enterprise/asgardeo-product/issues/10167

SLO is working fine with sample apps pickup-dispatch and pickup-manager when enabling session management. Looks like this is a issue with the console and myaccount app

Fixed with https://github.com/wso2/identity-apps/pull/2991


Add Fame Helsinki logo - square and darklogo

The Issue
This one should work, I'm not entirely sure why the other one fails.
Maybe it's some spaces that sneaked in there.
Closes #175

@rfay we forgot the square and darkmode logos in that last PR. I rebased this one.


Language chooser in settings

Yes, add it please, so everyone can chose the language independently of the android language: or automatic or manual selection. Thank you

not sure

I think it would be interesting to read why StreetComplete added language selection after all. https://github.com/streetcomplete/StreetComplete/issues/2643#issuecomment-792952040

All good points, thank you @deevroman.

https://stackoverflow.com/questions/55889889/how-to-change-a-flutter-app-language-without-restarting-the-app

Done in 0.10.


Do not catch Throwable

Throwable is being caught in various places in the code base. This is quite dangerous imo because it stops both exceptions and errors from propagating to callers/thread. For most of the errors, they're beyond our capability of handling it, for instance linkage error or out of memory.
I'd suggest we replace it with Exception unless we're 100% sure JVM errors are properly considered.

Solved in PR #684


rm resolver {{NGINX_RESOLVER}}; in nginx.conf

rm resolver {{NGINX_RESOLVER}}; in /etc/nginx/nginx.conf


dry-run script complains on repo that has dependency files in subdirectories

Trying to locally debug the root cause of https://github.com/dependabot/dependabot-core/issues/4625 using a private repo at my day job.
The dry-run.rb script is bombing out with: DependencyFileNotFound error.
This particular repo is a bit of a mish-mash, with multiple go.mod files in various subdirectories.  I suspect something about the subdirectories is causing the problem.
I verified my local setup is correct by running it against:

another repo which doesn't have subdirectories - works perfectly.
a non-existent repo - throws a RepoNotFound error.

Additionally, the "real" dependabot has no issues finding the subdirectories / go.mod files.
This is either a bug in the dry-run setup, or if I need to execute the dry run script differently, then that could be documented on the readme.
Here's the full traceback:
[dependabot-core-dev] ~/dependabot-core $ bin/dry-run.rb go_modules <redacted>/<redacted>
=> cloning into /home/dependabot/dependabot-core/tmp/<redacted>/<redacted>
Traceback (most recent call last):
	6: from bin/dry-run.rb:508:in `<main>'
	5: from /home/dependabot/dependabot-core/common/lib/dependabot/file_fetchers/base.rb:65:in `files'
	4: from /home/dependabot/dependabot-core/go_modules/lib/dependabot/go_modules/file_fetcher.rb:22:in `fetch_files'
	3: from /home/dependabot/dependabot-core/common/lib/dependabot/shared_helpers.rb:35:in `in_a_temporary_repo_directory'
	2: from /home/dependabot/dependabot-core/common/lib/dependabot/shared_helpers.rb:35:in `chdir'
	1: from /home/dependabot/dependabot-core/common/lib/dependabot/shared_helpers.rb:35:in `block in in_a_temporary_repo_directory'
/home/dependabot/dependabot-core/go_modules/lib/dependabot/go_modules/file_fetcher.rb:27:in `block in fetch_files': Dependabot::DependencyFileNotFound (Dependabot::DependencyFileNotFound)

Looks like this is simply a case of ignorance on my part... I opened https://github.com/dependabot/dependabot-core/pull/4812 to document this better for folks doing drive-by PRs.

It would be nice if the dry-run script grabbed this info from the config file if present, although there could be separate entries for different directories in there, it would work for most cases and we could show a better error otherwise.
Having said that, that script is a quagmire and I hope to find some time to clean it up soon

Def agree--a "look for obvious default, and otherwise emit helpful prompt at runtime" would be way better than "yet another note on the already-too-long-didn't-readme".


Difference in inserting glossary definition

This is a Feature Request
What would you like to be added
Modify the cloud-controller-manager's glossary definition length property from short to all.
Why is this needed
length="short" in cloud-controller-manager makes the glossary tooltip to unmatch the intended blank... is it intended?

/assign

Yes it seems to be out of a paragraph HTML tag in the rendered page

To have a direct link, this issue is about the page Kubernetes Components.
/triage accepted
/kind bug
/priority backlog

Setting aside the issue of the missing paragraph tag, which we should fix separately, let's compare the result of the change in this PR:

Before: https://kubernetes.io/docs/concepts/overview/components/#cloud-controller-manager
After: https://deploy-preview-37048--kubernetes-io-main-staging.netlify.app/docs/concepts/overview/components/#cloud-controller-manager

In effect, this PR adds the following paragraph:
By decoupling the interoperability logic between Kubernetes and the underlying cloud infrastructure, the cloud-controller-manager component enables cloud providers to release features at a different pace compared to the main Kubernetes project.


Re-check dependencies for META6.json and reevaluate its role

Problem or new feature
As part of the route to 2.0 #2983 we have spun off several utilities; eventually p6doc will have to be moved since @softmoth has already created Rakudoc. The META6.json should contain only what's needed for... not clear what, really. Most dependencies are used for testing, but that's mainly for developers.
Suggestions
As long as rakudoc has been spun off, we should rethink the whole META6.json thing. Is this a repo for doccers? Is it for the end user? Should we eventually create a docs-only repo that would be re-used for doccers?
As an immediate step, simply check the dependencies that are no longer used in the repo at all.

p6doc was removed, and by the time it was, it wasn't listed in the META6.json

Two bits of cleanup I can see: move where the dependencies are declared (build/test?/run - if some are xt only, no need to force a user to install them, sure), and we can decide if we want to expose our internally used modules - but as we move things out of the repo, that will naturally get sorted out.

The dependency cleanup has already been done at this point, items are in test-depends or build-depends. there are no runtime deps.
Even if we're not installing the documents from the repo (an open question), we still need META6.json for editors and the build.


bump supervisor3 to 1.1.11 to get live upgrade fix

Fixes issue #381

Pull Request Test Coverage Report for Build 1399

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.04%) to 80.288%

Files with Coverage Reduction
New Missed Lines
%

src/brod_group_subscriber_v2.erl
2
87.18%

Totals

Change from base Build 1398:
-0.04%

Covered Lines:
2228

Relevant Lines:
2775

💛  - Coveralls


Feature request: Session Idle Sensor

Currently there's the LastActive Sensor which directly reports the value returned by GetLastInputInfo
However, as a user, I actually don't care about the timestamp at all.
What I want instead is a boolean that tells me if the session is idle.
Of course this could also be done in HA, however unless excluded from the recorder, using the LastActive sensor like that will quickly fill up the logbook with data that isn't particularly useful
Therefore, I'd propose extending this sensor or adding a new one which takes something like TimeSpan IdleTime  and provides a boolean that becomes true if the last input is older than Now - IdleTime.
If someone wants different states of idle (possibly away, away, very away, probably gone forever??), they could simply add more instances of this sensor with different names and different IdleTime values

I second this.
The LastActive sensor is too spammy, no one cares when, it's just importat if now it's active or idle.
The when can be seen through home assistant on last change time.

{% if (as_timestamp(states.sensor.lastactivenotebook.state).type != NoneType) %}   {{ ((as_timestamp(states.sensor.lastactivenotebook.state) - (as_timestamp(now())))|int|abs > 300 ) }} {% else %}   {{ false }} {% endif %}
That's how I solved the problem for my automation.
I couldn't use states.sensor.lastactivenotebook.state for NOT turning off automatically lights, because when the notebook was turned off, automation was killed (error about NoneType, since the sensor was not available anymore, states.sensor.lastactivenotebook.state could not have now() subctracted anymore, since one was a nonetype and the other was a timestamp).

Thanks for creating an issue! I like the idea of setting a timeout value yourself and then returning a boolean.

Basically, I am using this sensor for NOT turning the light OFF when my girlfriend is actively using her laptop for online courses.
When she is not in front of her PC she usually close it, so the sensor turn "unavailable".
I solved it via a template:
`alias: Spegni luce cucina senza movimento
trigger:

device_id: 611d0841b2f84a1eb7668675313ed277
domain: binary_sensor
entity_id: binary_sensor.lumi_lumi_sensor_motion_aq2_38e3e501_occupancy
for:
hours: 0
minutes: 15
seconds: 0
platform: device
type: not_occupied
condition:
condition: or
conditions:

condition: template
value_template: >-
{% if (as_timestamp(states.sensor.lastactivenotebook.state).type !=
NoneType) %}
{{ ((as_timestamp(states.sensor.lastactivenotebook.state) - (as_timestamp(now())))|int|abs > 300 ) }}
{% else %}
{{ true }}
{% endif %}

condition: state
entity_id: sensor.lastactivenotebook
state: unavailable
action:
entity_id: light.tutte_luci_salone
service: light.turn_off
mode: single
`

I think that the "condition" or is now redundant, I tried it before, I strongly think that the second part of it can be deleted away


License namespace model

I have added the following:

license namespace model
organisation model
updated the navbar to accomodate a new menu
Added the submit license namespace form, and template

There is still work left to be done, leave a comment when you think its ready for review, nice work so far :+1:

@techytushar Thanks,
I pushed this so you all can see my progress and suggest changes which I can implement as I progress.

Looks good so far - I like the dropdown for the license requests - solves some horizontal real estate issues.

@techytushar @goneall

I have added a method to verify whether a license is already present on the spdx license list
added the possibility to create an organisation(via the admin ui)
added namespace id to the model and form
added the publiclyShared boolean to the form

@tjasmith you branch has conflicts with the master branch, please update your branch with master, resolve the conflicts and push again.

Looking good so far - @tjasmith @techytushar Let me know if you want me to merge any code into master

@techytushar I have corrected the code as you mentionned.

@techytushar @goneall Please could you have a look at this?

I noticed that there is a merge conflict with src/app/review - @tjasmith if you could resolve the merge conflict, I'll go ahead and merge.

@goneall Thanks for pointing that out. I have resolved the merge conflict.


Use 'scope' instead of 'resource' parameter on simple-start page.

Issue concerning documentation: in my case to get the teams Tab authentication flow to work I had to replace the 'resource' parameter with 'scope' on the simple-start page.

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

ID: 3b1dcd0d-471b-2d33-54b5-39a93dfba2a8
Version Independent ID: 5bd44149-777e-b449-bd2e-f20b9bd04038
Content: Authentication for tabs using Azure Active Directory - Teams
Content Source: msteams-platform/tabs/how-to/authentication/auth-tab-aad.md
Product: msteams
GitHub Login: @laujan
Microsoft Alias: lajanuar

@Robert1976 Could you please share which particular code needs update? I see simplestart v2 page already uses the scope parameter and simple start page just works fine with resource.


DRAFT CirclrGraph tests

on-going draft to test CircleGraph as unittest.
Signed-off-by: SaeHie Park<EMAIL_ADDRESS>

Now
---------------------------|---------|----------|---------|---------|-----------------------------------------------------
File                       | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
---------------------------|---------|----------|---------|---------|-----------------------------------------------------
All files                  |   39.94 |    25.16 |   32.19 |   39.05 |
 src/CircleGraph           |   51.05 |      3.7 |   44.44 |   51.27 |
  CircleGraph.ts           |   11.11 |        0 |       0 |   11.42 | 27-114
  CircleGraphCtrl.ts       |   51.49 |     2.77 |   33.33 |   51.49 | 97-99,116-144,150-347
  CircleViewer.ts          |   91.17 |       50 |   93.33 |   91.17 | 105-11

 src/CircleGraph           |   64.01 |    16.66 |   64.81 |   63.86 |
  CircleGraph.ts           |   84.21 |    43.75 |   77.77 |   83.78 | 32-42,86
  CircleGraphCtrl.ts       |   53.89 |     2.77 |   46.66 |   53.89 | 97-99,120-131,150-347
  CircleViewer.ts          |   91.17 |       50 |   93.33 |   91.17 | 105-113

 src/CircleGraph           |   78.66 |    31.48 |   85.18 |   78.57 |
  CircleGraph.ts           |   84.21 |    43.75 |   77.77 |   83.78 | 32-42,86
  CircleGraphCtrl.ts       |   74.85 |       25 |   83.33 |   74.85 | 97-99,131,150-168,182-193,222-225,232,257-285,318-321,340-347
  CircleViewer.ts          |   91.17 |       50 |   93.33 |   91.17 | 105-113

 src/CircleGraph           |   89.62 |    55.55 |   89.28 |   89.58 |
  CircleGraph.ts           |   84.21 |    43.75 |   77.77 |   83.78 | 32-42,86
  CircleGraphCtrl.ts       |   90.53 |    61.11 |   90.62 |   90.53 | 97,146,176,193,199,230-233,240,266,326-329,348-355
  CircleViewer.ts          |   91.17 |       50 |   93.33 |   91.17 | 105-113

UI code itself is excluded from the test.
If possible to extract logic codes to separate class the we can add some tests for them.

no need anymore


Relax inline channel style

Fixes hover effect on channels in topics

Well that would be hard to not :+1: that. Merging since it's so minor.


[BUG]: ERROR The total numbers of keys in setup does not match the expected spec: 1!=0. Aborting...

Describe the bug
Run redis-benchmarks-spec-client-runner according to Readme.md failed
Is the step wrong?
To Reproduce
Steps to reproduce the behavior:

Install redis-benchmarks-specification
sudo apt install python3-pip -y
sudo pip3 install --upgrade pip
sudo apt install docker.io -y
sudo apt install supervisor -y
python3 -m pip install redis-benchmarks-specification --ignore-installed PyYAML
Make redis
git clone https://github.com/redis/redis.git
cd redis
make
Run redis-server
./src/redis-server --port 6379 &
18569:M 03 Feb 2023 01:24:08.003 * Ready to accept connections tcp
Run redis-benchmarks-spec-client-runner
redis-benchmarks-spec-client-runner --db_server_host localhost --db_server_port 6379 --client_aggregated_results_folder ./test

Expected behavior
redis-benchmarks-spec-client-runner output:
2023-02-03 01:24:59 INFO redis-benchmarks-spec-client-runner (solely client) 0.1.67
2023-02-03 01:24:59 INFO Using test-suites folder dir /usr/local/lib/python3.9/dist-packages/redis_benchmarks_specification/test-suites
2023-02-03 01:24:59 INFO Acception all test files. If you need further filter specify a regular expression via --tests-regexp
2023-02-03 01:24:59 INFO There are a total of 88 test-suites in folder /usr/local/lib/python3.9/dist-packages/redis_benchmarks_specification/test-suites
2023-02-03 01:24:59 INFO Running the benchmark specs.
2023-02-03 01:24:59 INFO Loading default specifications from file: /usr/local/lib/python3.9/dist-packages/redis_benchmarks_specification/test-suites/defaults.yml
2023-02-03 01:24:59 INFO Found RedisTimeSeries default metrics specification. Will include the following metrics on all benchmarks $."BEST RUN RESULTS".Totals."Ops/sec" $."BEST RUN RESULTS".Totals."Latency" $."BEST RUN RESULTS".Totals."Misses/sec" $."BEST RUN RESULTS".Totals."Percentile Latencies"."p50.00" $."WORST RUN RESULTS".Totals."Ops/sec" $."WORST RUN RESULTS".Totals."Latency" $."WORST RUN RESULTS".Totals."Misses/sec" $."WORST RUN RESULTS".Totals."Percentile Latencies"."p50.00" $."AGGREGATED AVERAGE RESULTS (3 runs)".Totals."Ops/sec" $."AGGREGATED AVERAGE RESULTS (3 runs)".Totals."Latency" $."AGGREGATED AVERAGE RESULTS (3 runs)".Totals."Misses/sec" $."AGGREGATED AVERAGE RESULTS (5 runs)".Totals."Percentile Latencies"."p50.00" $."ALL STATS".Totals."Ops/sec" $."ALL STATS".Totals."Latency" $."ALL STATS".Totals."Misses/sec" $."ALL STATS".Totals."Percentile Latencies"."p50.00"
2023-02-03 01:24:59 INFO Found RedisTimeSeries default time metric specification. Will use the following JSON path to retrieve the test time $."ALL STATS".Runtime."Start time"
2023-02-03 01:24:59 INFO Benchmark required memory:<PHONE_NUMBER> Bytes
2023-02-03 01:24:59 INFO  Using total system memory as max<PHONE_NUMBER>
2023-02-03 01:24:59 INFO Resetting commmandstats for shard 0
2023-02-03 01:24:59 INFO Test memtier_benchmark-1key-pfadd-4KB-values-pipeline-10 priority (61) is within the priority limit [0,100000]
2023-02-03 01:24:59 INFO Benchmark used memory at start of benchmark: 1g
2023-02-03 01:24:59 INFO Checking if there is a keyspace check being enforced
2023-02-03 01:24:59 INFO Ensuring keyspace length requirement = 1 is met.
2023-02-03 01:24:59 ERROR The total numbers of keys in setup does not match the expected spec: 1!=0. Aborting...
2023-02-03 01:24:59 CRITICAL Some unexpected exception was caught during local work. Failing test....
2023-02-03 01:24:59 CRITICAL <class 'Exception'>
Environment (please complete the following information):

OS: [Debian GNU/Linux 11]
PyPi version package [0.1.67]
Platfrom [x86_64]

@zhoujie2022 This issue has been fixed in pull request: https://github.com/redis/redis-benchmarks-specification/pull/213
Try the latest version now.

Thanks for reply.
I have 2 questions.

How can I install latest program form source code(https://github.com/redis/redis-benchmarks-specification.git)?
"python3 -m pip install redis-benchmarks-specification --ignore-installed PyYAML" is in Readme.md section "### Installing Redis benchmarks specification"
But this command seems install redis-benchmarks-specification-0.1.66.

Is following step OK?
I copy source code redis-benchmarks-specification/redis_benchmarks_specification to /usr/local/lib/python3.9/dist-packages/.
no more "expected spec: 1!=0" error.

But still have following errors.
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http+docker://localhost/v1.41/containers/create
docker.errors.APIError: 400 Client Error for http+docker://localhost/v1.41/containers/create: Bad Request ("Requested CPUs are not available - requested 0,1,2,3, available: 0-1")
Maybe this is my docker environment problem.


access: may-start-trybots and go-approvers

Whilst I wouldn't class myself a full-time contributor, I have tried to contribute here and there.
With the Github access I suspect my main contribution initially will be to help garden issues (close them where I currently cannot, e.g. https://github.com/golang/go/issues/24573, relabel etc)
With the Gerrit access I'd be looking to restart trybots (for example in the CL https://go-review.googlesource.com/c/go/+/103415)
Thanks for considering my request.

Just for the avoidance of doubt, the "go-approvers" request (in the title) is a reference to the Github access group: https://github.com/golang/go/wiki/GithubAccess#editors

CC @andybons @bradfitz

SGTM. @andybons, can you add Paul?

Done!

Thanks @andybons and @bradfitz


[Byzantine testing] - Make byzantine integration tests work with tokio

What is this task and why do we need to work on it?
Currently, running byzantine nodes with tokio in integration tests causes timing issues during shutdown. While nodes function correctly, after shutdown consensus tasks get stuck in a loop trying to receive events from a closed channel, causing the test to hang.
What work will need to be done to complete this task?
No response
Are there any other details to include?
No response
What are the acceptance criteria to close this issue?
Byzantine integration tests pass with tokio
Branch work will be merged to (if not the default branch)
No response

Hi @ss-es
I am interested to pickup this task, Could you please assign it to me ?
Thanks

@shamb0 sorry, I didn't see this message at all until just now!
marking closed in #3535

@shamb0 sorry, I didn't see this message at all until just now!

Thanks, @ss-es. No worries at all! I completely understand you're on a tight schedule.


Update werkzeug to 1.0.0

This PR updates Werkzeug from 0.16.1 to 1.0.0.

Running the bot with an API key allows it to query pyup.io's API for changelogs and insecure packages. This is highly recommended for production use. Learn More

Needs django-extensions >= 2.2.7, to be merged after #2441


Feature/3 search autosuggest

Implemented search suggestions.
Packages added:

axios for more convenient API calls
react-query for sync
lodash for parsing the results from API
react-router for routing

Configs:

.env for api url storage (at least for now)
netlify.toml for react-router to work on netlify

Implementation notes:
Some parts of the code are unfinished. For example routing to a specific Term is not done because I still don't have the appropriate page done + not sure about the URL structure. Also components for word disambiguation + search results are not implemented yet as they are a topic of a another issue. Design of 404 page is as basic as it gets, just for now.
Solves #3

Couple of UX remarks:

I suggest limiting the number of autosuggest search results so that there is no scrollbar in the box. If there is more results there may perhaps be some link at the bottom to the full search, or a note that there are X more results.
I suggest not displaying the popup panel when loading is in progress - the circular indicator within the input field is good enough for that.
Clicking on the search icon on the right of the input should redirect to search results.


RTL support for Urdu version

Description
RTL Support for Urdu language #4
Updated the links in README.md
Previews:

@mumairofficial also do you want to adhere to the branching guidelines given here - https://github.com/reactjs/ur.reactjs.org#create-a-branch

Hi @jabranr,
Answer to first question: I have went through all possible pages after RTL conversion and could not found any problem, code snippets are LTR.
In this repository all the content would be Urdu language specific, so there should not be any difficulty while updating the content in .md files
I have noted the branching recommendation and my future contributions would be in feature branch.

@mumairofficial makes sense. Will move it forward.