Add sleep timer for dns-01 challenges

This adds an optional sleep timer when there are pending challenges and the challenge type is dns-01.  It allows time for DNS to propagate for some slower providers if needed.
To use it, enable SLEEPTIME=X in your config, where X is a positive integer value in seconds.  This will pause the script just after deploying the challenges (only if there were challenges) before continuing to the validation phase.  This works especially well when coupled with lexicon in a hook script.

Typically, I would expect the hook script to verify that all records have propagated before returning to dehydrated.

That may not always be possible.  Lexicon, for example, does not provide any real means to do this, and adding a sleep timer in the deployment hook can create an exponential timeout due to being called once per domain being validated.  This PR offers a simple workaround that doesn't interrupt the overall flow of dehydrated and is backwards-compatible for configs that don't have the SLEEPTIME variable defined.
One alternative could also be adding a whole new hook function that's called where I currently have the Bash sleep defined.  This could be used to do a ready-check to verify if all challenges are finished and ready for validation.  Would you prefer that option instead?

I don’t understand why it might not be possible for a hook script to verify the result is live and fully propagated to all authoritative servers. If the hook script as written by another package does not implement this, it should be modified to do so (or a wrapper hook written to fill in the missing functionality).
Where multiple records are being deployed at once (with HOOK_CHAIN=yes), it makes sense to deploy all records and then enter a testing loop to verify all records are propagated before returning. Where a single record must be deployed and verified at a time (due to DNS provider limitations), it makes even more sense to test propagation and return when ready, rather than hard-coding a fixed time delay for each cycle of deploy-wait-verify.
One example of this can be seen in the https://github.com/bennettp123/dehydrated-email-notify-hook script. The has_propagated function is called from within the deploy hook and does not return until every challenge is fully propagated to all authoritative servers for the relevant domain. No new hook function was required.

Hmm.. Interesting approach, thanks for the info.  I suppose I had previously overlooked HOOK_CHAIN.  I'll try that out and see if it fits my use case, then close this issue if it does.

As @txr13 suggested this should happen inside the hook-script, ideally doing actual checks. Adding a simple sleep is a quick'n'dirty solution, but especially with larger number of certificates this might actually slow things down quite a lot.


Corporate Support activity areas vs GSBPM Overarching processes

In the draft version of GAMSO, we have the following activities under Corporate Support activity area :

Manage Quality and
Manage Information and Knowledge. These include:

Manage documents and records, including archiving and destruction
Manage knowledge
Manage information standards and access rights
Manage metadata and data

They are the same as the GSBPM over arching processes: quality management and metadata management, but at different levels in GAMSO.

The over-arching processes, both those that have a statistical component, and those that are more general, and could apply to any sort of organisation, that are mentioned in the GSBPM are not included in Production as they relate to other parts of the GAMSO.
-- GAMSO

I guess this answers Flavio's question about the level of GSBPM addressed in the Production Activity Area of GAMSO: it is level 1.

Interestingly, the above quote from GAMSO related to over-aching processes is from version 1.1 and has been deleted from 1.2 29 (January 2019). A note has been added:

The GAMSO includes information and knowledge management activities at an organisational level. Metadata management activities that are more directly related to the statistical production are included in the GSBPM (for further information, see Section VI. Cross-cutting process of the GSBPM).

Which seems to be a change of direction from version 1.1.

In other words, it seems that Production should include not only GSBPM level 0, a.k.a. the statistical business process (together with level 1 and 2), but also the overarching processes.

Notes from March 7 meeting:

OK to add the class Overarching Process.
There is another issue related to the confusion between the GSBPM overarching processes and the GAMSO corporate support activities. We should check whether or not the new GAMSO version solves this.
If the overarching processes are in the corporate support, then the production activity is GSBPM level 0, 1, 2; if not, it is the whole GSBPM.

Comments on the March 7 meeting notes:

Could also be named OverarchingActity. Do we agree that it is a sub-class of StatisticalProductionActivity

Indeed there has been change in GAMSO (and in GSBPM also) to differentiate, e.g., "manage quality" in GAMSO which will be at corporate level (e.g. establishment of corporate quality framework) and "quality management" in GSBPM which will be at process level (e.g. monitoring quality of process using corporate framework). So GSBPM overarching process should be included in Production.
Also, maybe name "overarching process" and descriptions should be changed, this creates so much confusion...

Comments on the March 7 meeting notes:
* Could also be named OverarchingActity. Do we agree that it is a sub-class of StatisticalProductionActivity

I think it is indeed a sub-class of StatisticalProductionActivity. I also like the name of OverarchingActity to that class.

Closed as decided at the May 7 meeting. See issue #11 for remaining question.


chore: upgrade charts

updated chart jx3/jx-test from 0.0.40 to 0.0.41
updated chart jxgh/jx-preview from 0.0.170 to 0.0.171

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign cagiti
You can assign the PR to them by writing /assign @cagiti in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jenkins-x-bot-test: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
401e42e003096064b078753ee9ab4b6e1105635a
link
/test vault

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

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
401e42e003096064b078753ee9ab4b6e1105635a
link
/test vault

gsm-kapp
401e42e003096064b078753ee9ab4b6e1105635a
link
/test gsm-kapp

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

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
401e42e003096064b078753ee9ab4b6e1105635a
link
/test vault

gsm-kapp
401e42e003096064b078753ee9ab4b6e1105635a
link
/test gsm-kapp

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

/retest

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gsm-kapp
401e42e003096064b078753ee9ab4b6e1105635a
link
/test gsm-kapp

vault
401e42e003096064b078753ee9ab4b6e1105635a
link
/test vault

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

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
401e42e003096064b078753ee9ab4b6e1105635a
link
/test vault

gsm-kapp
401e42e003096064b078753ee9ab4b6e1105635a
link
/test gsm-kapp

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

/retest


add support for Standard arabic [rtl]

Is your feature request related to a problem? Please describe.
the component should be in standard arabic.
يجب أن يتكلم العربية
Describe the solution you'd like
manage right to left layout
Status
in progress
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

in firefox ✅ 👍

in Chrome ✅ 👍

in EdgeHTML 💀 👎 💩

https://bugs.webkit.org/show_bug.cgi?id=148695
https://caniuse.com/#feat=shadowdomv1 see Notes

Step n°1: resolve mostly in #54 .
Step n°2: now waiting for a review of the messages
Begin: testing on Mobile Mac and PC

small inconsistency on the buttons on very small screens (eg. iphone 5):

resolved in #55


pipx install erroneously exposing binaries of dependencies despite no --include-deps switch

This might already be possible, I couldn't find out how however.
How would this feature be useful?
Currently when installing a package all of it's included apps (dependencies?) are exposed to $PATH, even though when I for instance want to install organize using pipx install organize-tool I really only want the organize binary to be exposed. I assume (with my limited knowledge of python packages) that these apps are actually required for the main app but could also be contained to the venv and don't need to be exposed to $PATH.
What is actually installed is the following:
   package organize-tool 1.9.1, Python 3.8.5
    - EXIF.py
    - activate-global-python-argcomplete
    - docx2txt
    - dumppdf.py
    - latin2ascii.py
    - organize
    - pdf2txt.py
    - python-argcomplete-check-easy-install-script
    - python-argcomplete-tcsh
    - register-python-argcomplete
    - textract

I looked for a way to do this and thought I might be able to do so by editing the pipx_metadata.json but unfortunately that doesn't seem to be the case.
Describe the solution you'd like
Given that it's probably not practical to determine which of the apps included is the main one it'd probably be better to make this configurable by the user themselves in for instance the pipx_metadata.json

Could you post the entire text of what happens after pipx install organize-tool --verbose?
I can't reproduce your report, when I try on my system I only have organize globally available on my system.  (What you would like to happen this is pipx's default behavior):
> pipx install organize-tool
  installed package organize-tool 1.9.1, Python 3.9.0
  These apps are now globally available
    - organize
done! ✨ 🌟 ✨

Also the output you paste looks like it may be from an old version of pipx.  Could you also report what is printed when executing the following:
pipx --version

Also, could you make sure the command you're using is:
pipx install organize-tool

Do NOT use the --include-deps option, which would give the behavior you don't want.

I was indeed running an older version of pipx, unfortunately simply upgrading doesn't seem to fix it.
Here's a pastebin with the output of pipx install organize-tool --verbose:
https://pastebin.com/WMvYhcL0
This is the output after using pipx uninstall organize-tool
And:
~> pipx --version
<IP_ADDRESS>

Just to be sure, I didn't find any weird alias or function in my shell which wrapped pipx either.

Hm.  I really don't understand how this is happening.  pipx by default only links apps from the main package.
Your output looks similar to what would result from pipx install organize-tool --include-deps.  But strangely, when I execute that command on my own system I also get apps runxlrd.py and vba_extract.py which you do not.  So it's not exactly the same.
I can't reproduce the behavior you're showing on my own system using the regular pipx install organize-tool.  I'm stumped.
Do you have another system that you could try this with and see if you get the same results?  Otherwise right now I'm at a loss.

Also, what operating system and OS version are you using?

Another possible thing to check: Do you have a local directory called organize-tool that pipx is possibly finding instead of fetching from PyPI?

Also, what operating system and OS version are you using?

I'm using Linux openSuSE Tumbleweed.

Another possible thing to check: Do you have a local directory called organize-tool that pipx is possibly finding instead of fetching from PyPI?

I had one from installing from source which was in my downloads directory, however deleting that directory and reinstalling organize-tool didn't make a difference. But I don't assume pipx actually traverses my whole home directory is that right?

OK, here's one more thing I can think of to try.  Execute this:
pip cache purge

And then try pipx install organize-tool --verbose again. 🤞

Another possible way to disable pip's cache--Install using:
pipx install organize-tool --pip-args='--no-cache-dir'

@sandersantema did any of those work?  Can we close this issue?

Sorry I didn't see these comments earlier, I did however try out both of them just now. These didn't work either however. I still get the following binaries exposed:
    - EXIF.py
    - activate-global-python-argcomplete
    - docx2txt
    - dumppdf.py
    - latin2ascii.py
    - organize
    - pdf2txt.py
    - python-argcomplete-check-easy-install-script
    - python-argcomplete-tcsh
    - register-python-argcomplete
    - textract

The last thing (that we should've done in the beginning) is to include the entire text of what is output (including the input command you typed) when your run
pipx install organize-tool --verbose

The --verbose switch is important, as is including the entire command + output.

Sorry for the delay, I seem to regularly miss these github notifications. But anyways here is the output: https://pastebin.com/raw/gLTK9RTh

I think I'm almost stumped.  The only other thing I can think of is to see if you have any environment variables that start with PIP in your environment that are affecting how pip installs things.  (pipx uses pip to install packages)
What is the output of:
env

Otherwise, I can't replicate this on my own Ubuntu linux system, nor on my macOS system.
My best guess was that some weird version of organize-tools is in the pip cache, but pip cache purge should've taken care of that.
Another weird thing is that the output you show is not exactly what would happen if you added the pipx install --include-deps switch.  There are some binaries in dependencies that don't show up in your install list that do for me when I run pipx install --include-deps.

There was nothing about PIP or python in my env. If you'd want to it might be more informative to try it out on openSuSE Tumbleweed the distro which I'm running, I suppose it might be possible its got something to do with Tumbleweed itself although I think it's doubtful.  Otherwise I'll try to debug some more myself once I've got some more free time.

Yeah I think I'm out of ideas, thanks for your patience.

No problem, thank you for your persistence.

I believe I know what's going on.  I just stumbled upon this behavior and was about to file a bug report.
The problem is: When pipx installs package foo that depends on bar that has an entry point bar-cmd, if a bar-cmd program already exists in PIPX_BIN_DIR (e.g., if bar is already installed at the user level), then bar-cmd will be listed as a pipx-installed command in the output from pipx install and pipx list even though it is not.  Fortunately, pipx has enough sense to not delete bar-cmd when pipx uninstall foo is run, which suggests that it can tell whether a given command is managed by pipx, it's just not doing it in all cases.

Very interesting @jwodder .  I can see in the code how this might happen on Windows (without symlinks) but in theory this shouldn't happen on systems with symlinks, because the code is at least trying to resolve the symlinks to check where they refer to.
@sandersantema , do you have any of the dependencies of organize-tool installed with pipx?  Like textract, exifread?  Could you include the output of pipx list?
With pipx install textract --include-deps you would get most of those additional binaries, and if pipx is confused where they came from as @jwodder suggests, that might explain it.

Also @sandersantema , one related question would be if pipx thinks it can use symlinks for your filesystem.  If you execute
ls -l ~/.local/bin

Do you see symlinks (e.g. vulture@ -> /Users/mclapp/.local/pipx/venvs/vulture/bin/vulture) listed?  Or not?

@sandersantema , if you have the "extra" apps reported present in your PIPX_BIN_DIR (~/.local/bin) and they are not symlinks, then your problem is basically #564 .

@sandersantema , do you have any of the dependencies of organize-tool installed with pipx? Like textract, exifread? Could you include the output of pipx list?

Output of $ pipx list:
venvs are in /home/sandersantema/.local/pipx/venvs
apps are exposed on your $PATH at /home/sandersantema/.local/bin
   package catt 0.12.0, Python 3.8.5
    - catt
   package neovim-remote 2.4.0, Python 3.8.5
    - nvr
   package organize-tool 1.9.1, Python 3.8.6
    - EXIF.py
    - activate-global-python-argcomplete
    - docx2txt
    - dumppdf.py
    - latin2ascii.py
    - organize
    - pdf2txt.py
    - python-argcomplete-check-easy-install-script
    - python-argcomplete-tcsh
    - register-python-argcomplete
    - textract
   package poetry 1.1.4, Python 3.8.5
    - pkginfo
    - poetry
   package python-language-server 0.36.1, Python 3.8.5
    - pyls
   package ranger-fm 1.9.3, Python 3.8.6
    - ranger
    - rifle
   package sublime-music 0.11.10, Python 3.8.5
    - publish.py
    - pwiz.py
    - sublime-music
   package trash-cli <IP_ADDRESS>, Python 3.8.5
    - trash
    - trash-empty
    - trash-list
    - trash-put
    - trash-restore
    - trash-rm
   package youtube-dl 2020.11.19, Python 3.8.5
    - youtube-dl

Also @sandersantema , one related question would be if pipx thinks it can use symlinks for your filesystem. If you execute
ls -l ~/.local/bin

Do you see symlinks (e.g. vulture@ -> /Users/mclapp/.local/pipx/venvs/vulture/bin/vulture) listed? Or not?

That's it!
-rwxr-xr-x 1 sandersantema users     6011 Mar 18  2020 pdf2txt.py

Instead of:
lrwxrwxrwx 1 sandersantema users       57 Nov 13 21:13 trash -> /home/sandersantema/.local/pipx/venvs/trash-cli/bin/trash
lrwxrwxrwx 1 sandersantema users       63 Nov 13 21:13 trash-empty -> /home/sandersantema/.local/pipx/venvs/trash-cli/bin/trash-empty
lrwxrwxrwx 1 sandersantema users       62 Nov 13 21:13 trash-list -> /home/sandersantema/.local/pipx/venvs/trash-cli/bin/trash-list
lrwxrwxrwx 1 sandersantema users       61 Nov 13 21:13 trash-put -> /home/sandersantema/.local/pipx/venvs/trash-cli/bin/trash-put
lrwxrwxrwx 1 sandersantema users       65 Nov 13 21:13 trash-restore -> /home/sandersantema/.local/pipx/venvs/trash-cli/bin/trash-restore
lrwxrwxrwx 1 sandersantema users       60 Nov 13 21:13 trash-rm -> /home/sandersantema/.local/pipx/venvs/trash-cli/bin/trash-rm

I guess this means you now know what the bug is right? So it'd just a case of waiting for a fix and potentially manually removing (luckily just a few) binaries which were incorrectly installed?

If you have these as regular files (and not symlinks) in your ~/.local/bin, then this is also issue #564
- EXIF.py
- activate-global-python-argcomplete
- docx2txt
- dumppdf.py
- latin2ascii.py
- pdf2txt.py
- python-argcomplete-check-easy-install-script
- python-argcomplete-tcsh
- register-python-argcomplete
- textract
It's not necessarily that they were incorrectly installed.  Perhaps you installed something using pipx install --user, which is a perfectly valid thing to do, (and will add binaries to this directory).  Currently such an action will confuse pipx when it comes to attributing apps.  This is pipx's fault.
If this is your case, then maybe we can close this issue and you can wait on #564?

I looked into this and found out (Linux only, not investigated for Windows) that pipx just claims to have those exposed (meaning, to have it linked into ~/.local/bin). You can easily see with ls -l ~/.local/bin that only the entry point scripts for your installed package are linking to the pipx venv directory. And you can see that there are also non-link python entrypoint scripts of all those dependencies claimed by pipx.
The reason is this condition and this comparison.
Pipx iterates over every file in the ~/.local/bin directory to filter those out that will later be claimed to be exposed by the current pipx package installation. If it's a symlink, then it's correctly tested whether the symlink points to an entrypoint script in the venv's binary dir. If it's not a symlink, then the else branch is used and just compares the name of the entrypoint with the names of the entrypoints installed in the venv. For me this quite often matches an entrypoint script in the ~/.local/bin directory which was previously installed with plain pip3, so without pipx. And pip doesn't link, but directly generate the entry point scripts into the ~/.local/bin directory, so they are not symlinks and thus not properly checked.
This is probably also the reason for some of you not being able to reproduce: If you're using pipx exclusively, then there are probably only symlinks in the ~/.local/bin folder. These are properly checked by this comparison.
Unfortunately I'm not deep enough in the code to propose a solution. I hope one of you has ideas? If not, at least be told: It's not as bad as it sometimes looks. And: If you tidy up your ~/.local/bin folder by removing python tools with pip and migrating everything to pipx, then you'll also have no problems like some of the users above.
I guess this is also interesting for #564.

I looked into this and found out (Linux only, not investigated for Windows) that pipx just claims to have those exposed (meaning, to have it linked into ~/.local/bin). You can easily see with ls -l ~/.local/bin that only the entry point scripts for your installed package are linking to the pipx venv directory. And you can see that there are also non-link python entrypoint scripts of all those dependencies claimed by pipx.
The reason is this condition and this comparison.
Pipx iterates over every file in the ~/.local/bin directory to filter those out that will later be claimed to be exposed by the current pipx package installation. If it's a symlink, then it's correctly tested whether the symlink points to an entrypoint script in the venv's binary dir. If it's not a symlink, then the else branch is used and just compares the name of the entrypoint with the names of the entrypoints installed in the venv. For me this quite often matches an entrypoint script in the ~/.local/bin directory which was previously installed with plain pip3, so without pipx. And pip doesn't link, but directly generate the entry point scripts into the ~/.local/bin directory, so they are not symlinks and thus not properly checked.
This is probably also the reason for some of you not being able to reproduce: If you're using pipx exclusively, then there are probably only symlinks in the ~/.local/bin folder. These are properly checked by this comparison.
Unfortunately I'm not deep enough in the code to propose a solution. I hope one of you has ideas? If not, at least be told: It's not as bad as it sometimes looks. And: If you tidy up your ~/.local/bin folder by removing python tools with pip and migrating everything to pipx, then you'll also have no problems like some of the users above.
I guess this is also interesting for #564.


need a solver dynamically updating AST according to java file change

need a type-file-watcher-like TypeSolver whenever a java file is changed,the TypeSolver can get that change and
update the parsed AST.thus we can solve the correct Symbol over time

That would be nice but it would also need to invalidate all the caches we use internally. Not trivial.


Doc: Return does not render return type

Input:
@return {Object} object with updated selection

Output:

Should display:
Return Object object with updated selection
We may want to display Returns foo bar in a single line to save some space.

Fixed via https://github.com/substance/substance/commit/ac852a0a4478362ef3ca076fd14bbd048f4bc038


Allow running specs using rspec on the cli

Previously bundle exec rake worked, now bundle exec rspec can also be used to run all of the tests without including those in spec/manageiq.
See also:
https://github.com/ManageIQ/manageiq-automation_engine/pull/23
https://github.com/ManageIQ/manageiq-providers-hawkular/pull/19

Oh, sorry, closing this one.  I'll let @cfcosta do it in #15039


Update default branch to version 4

The 4 branch of citc-ansible contains Slurm 19.05. This is a breaking change and so required a new version.

The tests have passed so I'll merge


Bugfix bcsd workflow

A few fixes to workflow after re-implementing it start-to-finish.

These are all bug fixes so no big changes, but it'd still be great to get a code review from someone (@norlandrhagen ? @jhamman ?). This rendition completed a sample run and so at this point I want to hand it off to other capable hands for prefect tooling. @norlandrhagen - seems like figuring out the right way to do the environment specification in the Kubernetes run_config (L34 in bcsd_workflow.py) is one key thing to figure out.


Validating instances by passing the schema url to the validator is slower than passing it the preloaded schema

Validating instances with validator.validate(schemaUrl, instance) is measurably slower than validator.validate(schema, instance), where schema is the preloaded schema.
This can be measured with the following setup (pseudo code).
/* resources/test.schema.json */
{ "type": "object",
  "properties": {
    "mything": {"$ref": "#thing"}
  },
  "definitions": {
    "thing": {
      "id": "#thing",
      "type": "string"
    }
  }
}

def timed(name: String)(body: => Unit) {
  val start = System.currentTimeMillis();
  body;
  println(name + ": " + (System.currentTimeMillis() - start) + " ms")
}

val validator = SchemaValidator()
val schemaUrl = getClass.getResource("test.schema.json")
val schema = JsonSource.schemaFromUrl(schemaUrl).get

val instance = Json.parse(
      """{
        |"mything": "the thing"
        |}""".stripMargin)

timed("preloaded") {
  for (_ <- 1000) validator.validate(schema, instance)
}
timed("url based") {
  for (_ <- 1000) validator.validate(schemaUrl, instance)
}

An example result would be
preloaded: 260 ms
url based: 855 ms

Thanks for the report. I'll tyr to check whether that performance hit is solely due the URL resolution or whether there's something else.


Dynamically hide Insights links

Describe the bug
As a user, I do not want to see the OCP and AWS links in the Insights navigation pane when providers are not available.
To Reproduce
Steps to reproduce the behavior:

Login
When there are no AWS and/or OCP providers
See error

Expected behavior
The "OpenShift Charges" and "AWS" links should not appear in the Insights navigation pane
Screenshots
Should look more like this:

Looks like all left hand navigation is going to be controlled in insights-chrome. I'm not sure this is doable. Will need to work with Insights front-end team on this.

@dlabrecq @nlcwong
Looks like all left hand navigation is going to be controlled in insights-chrome. I'm not sure this is doable. Will need to work with Insights front-end team on this.

Created issue https://github.com/RedHatInsights/insights-chrome/issues/65

This won't be fixed. The Insights issue has been closed.


Improving UI of Welcome Page of Android-App

The files are welcome.js and its respective stylesheet in styles folder

Done

Done


[feature] Reduce boilerplate code for DBMap usage

Opening and using DBMaps require lots of boilerplate code. Example
Other features like dump also need to be hand written and maintained.

This PR solves
https://github.com/MystenLabs/mysten-infra/pull/103


Error .get()

import ufirebase as firebase
URL = 'lucid-lychee'
print(firebase.get(URL))

Error in get()
Methods not exists

I've solve this calling to firebaseURL
import ufirebase as firebase
URL = firebase.firebaseURL('lucid-lychee')
print(firebase.get(URL))

Fixed it!


Change [chunkhash] to [hash]-[id]

Connected to https://github.com/rangle/rangle-starter/issues/199

I don't think this is the way we want to solve this. See comment in the issue thread.


[Tool] markdown lint scanning for all files under docs

What type of PR is this：

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[x] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

run starrocks_admit_test


glabels: add support for QR codes

Description of changes
Add support for QR codes.

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

1 package built:

glabels

Closure size increases from 391.3 MiB to 391.4 MiB.


[Suggestion] Add basic music instrument sounds as a mainstream to wiremod

Perhaps this should've went to the GMod github, but since they don't have a repo i'll post that here.
I suggest addihng basic instrument sounds as a mainstream to wiremod. Unfortunately, GMod seriously lacks them, and lacking them prevents from writing the comphisticated music synthesister systems using any other sounds other than the sounds in the /synth/ directory

https://github.com/wiremod/wire/tree/master/sound/instruments
https://github.com/wiremod/wire/tree/master/sound/synth
already exists

Oh good to see there's been this improvement since the time I was fristrated with that! :+1:


update loft and extrude functions

entities can be posis, edges, wires, pline, pgons

make.Loft(entities, divisor, method)
make.Extrude(entities, distance, divisor, method)

divisor: by_number, by_length, by_min_length
method: quads, columns, rows

like extrude, loft should work with positions and with edges
difference is that with loft, there is no need to cap
loft posis, verts, points -> pline
loft edges, wires, plines, pgons -> pgons

done


FEAT Image Layering Converter

Is your feature request related to a problem? Please describe.

When building testing datasets, we want to be able to create many variations of a specific scenario. For example, we may want to create many samples images layered on top of a base image from a dataset like this one.
Describe the solution you'd like

A converter that takes in a base image, and a secondary image to embed within the main image. (e.g. a photo of hands holding a locket as the base photo, and the secondary image is a CAPTCHA placed over the open locket).
The converter would also likely take a parameter that specifies desired position (e.g. X/Y coordinates of where to put the image on the base image).

Hi, I'm a college student, may I work on this issue?

@u7702792 of course! Please go ahead and reach out if you have any questions!

@u7702792 of course! Please go ahead and reach out if you have any questions!

Hi, thanks for replying me.  I would like to confirm the following problems:

I think this convert should be inside the prompt_converter folder
I feel like this image overlaying converter might be similar to an existed converter named add_image_text_converter.py, so shall I follow the coding style/standard like it?
When I finish this image overlaying converter, should I update the init.py file at the same time while creating the pull request?

Please feel free to point out my mistakes, thanks!

Absolutely! You can also add an example to a notebook if there is one for the other converter.

Absolutely! You can also add an example to a notebook if there is one for the other converter.

Hi, @romanlutz  @nina-msft  I have created a PR, but I did not fully test my code. It will be grateful if anyone can help me on testing, thanks in advance.


feat: Stripe Price Admin

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)

Type of change

Please delete options that are not relevant.

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

Checklist

[ ] My code is well-commented, linted and follows project conventions
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] Any dependent changes have been merged and published in downstream modules
[ ] I have checked my code and corrected any misspellings
[ ] I have updated the changelog

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.74%. Comparing base (fe1d748) to head (3a5b0d8).
Report is 3 commits behind head on dev.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##              dev      #54      +/-   ##
==========================================
+ Coverage   91.55%   91.74%   +0.18%
==========================================
  Files          57       60       +3
  Lines         971      993      +22
==========================================
+ Hits          889      911      +22
  Misses         82       82

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Private endpoints took some digging to get working

Having some frustration regarding the documentation, as I've’ve followed these 2 articles and ended up with a scenario that was not 100% functional.
https://learn.microsoft.com/en-us/azure/storage/files/storage-files-configure-p2s-vpn-windows
https://learn.microsoft.com/en-us/azure/storage/files/storage-files-networking-endpoints?tabs=azure-portal
Requesting changes to the previous documents to highlight the required DNS entries that should be executed when dealing with private endpoints.
https://learn.microsoft.com/en-us/azure/storage/common/storage-private-endpoints#connecting-to-a-private-endpoint
https://learn.microsoft.com/en-us/azure/storage/files/storage-files-networking-dns

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

ID: a4387410-73b7-a07e-708c-eeac4e81397f
Version Independent ID: aaaab239-4acf-d9ea-c3a6-9abb0cdbb623
Content: Configure a Point-to-Site (P2S) VPN on Windows for use with Azure Files
Content Source: articles/storage/files/storage-files-configure-p2s-vpn-windows.md
Service: storage
Sub-service: files
GitHub Login: @khdownie
Microsoft Alias: kendownie

@rpalves
Thanks for your feedback! We will investigate and update as appropriate.

@rpalves
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.
@khdownie
Can you please check and add your comments on this doc update request as applicable.

@rpalves it looks like this is the article that you feel is missing important information:
https://learn.microsoft.com/en-us/azure/storage/files/storage-files-networking-endpoints
Can you confirm? And can you be more specific about what you'd like to see included in that article, and where? Would it be sufficient to link to one or both of the other articles you cite for the DNS changes?

@rpalves  Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly reopen the issue and continue the discussion.


webpack2 support

Gave it a spin:
Error: Signature changed: context parameter added
    at Tapable.resolve (/Users/beckend/Coding/test/node_modules/enhanced-resolve/lib/Resolver.js:30:9)
    at /Users/beckend/Coding/test/node_modules/happypack/lib/WebpackUtils.js:22:33
    at /Users/beckend/Coding/test/node_modules/async/lib/async.js:718:13
    at async.forEachOf.async.eachOf (/Users/beckend/Coding/test/node_modules/async/lib/async.js:233:13)
    at _parallel (/Users/beckend/Coding/test/node_modules/async/lib/async.js:717:9)
    at Object.async.parallel (/Users/beckend/Coding/test/node_modules/async/lib/async.js:731:9)
    at Object.exports.resolveLoaders (/Users/beckend/Coding/test/node_modules/happypack/lib/WebpackUtils.js:19:9)
    at resolveLoaders (/Users/beckend/Coding/test/node_modules/happypack/lib/HappyPlugin.js:181:20)
    at /Users/beckend/Coding/test/node_modules/async/lib/async.js:718:13
    at Immediate.iterate [as _onImmediate] (/Users/beckend/Coding/test/node_modules/async/lib/async.js:262:13)
    at tryOnImmediate (timers.js:534:15)
    at processImmediate [as _immediateCallback] (timers.js:514:5)

It should be functional now, had to make a small adjustment. Release 2.0.3 should work, if not, feel free to re-open.


Fix grammatical and syntax errors;

Fix grammar and syntax problems mentioned in #75.
Additionally, improve consistency in the use of 'Classs' plural by using Classs instead of Classes througout;
Improve consistency in using colon after a "as follows" or "let's..." sentence;

Thanks for the PR @laney0808 and for the review @jedkohjk
I'm merging this quickly so that later reviewers don't report the same problems again.


Importing griddly prints an empty line

Importing griddly prints an empty line:
⋊> ~/s/enn-incubator on clemens/hyperstate ⨯ pip list | grep griddly                                                                                (base) 08:56:04
griddly             1.2.36
⋊> ~/s/enn-incubator on clemens/hyperstate ⨯ python                                                                                (base) 08:56:08
Python 3.7.3 (default, Mar 27 2019, 22:11:17)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import griddly

>>>

This causes a lot of empty lines to get printed in https://github.com/entity-neural-network/incubator when spawning multiple processes that all import griddly.

:D weird! Ill try fix it in next version

I think this actually comes from the openai gym dependency:

Good find, it's probably this: https://github.com/openai/gym/issues/2632
It's fixed as of 0.23:
⋊> ~ python                                                                                (base) 08:15:37
Python 3.7.3 (default, Mar 27 2019, 22:11:17)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gym
>>>
⋊> ~ pip list | grep gym                                                                                (base) 08:15:49
gym                 0.23.0
gym-notices         0.0.4


Suggestion: Update to 13.0.1

Suggested solution
Update to the 13.0.1 release
https://github.com/JamesNK/Newtonsoft.Json/releases/tag/13.0.1

:) I got the notification from GitHub this morning and already planned on updating. Thanks for making an issue on it, makes it easier for me to track it and for others to see the progress.
It's nothing major changed so I'm confident I can pull the changes and deploy later today. Will get on it after work.

Got stuck.
I'm using mono to build the DLLs in GNU/Linux Docker images instead of using Windows containers, as GNU/Linux containers are way cheaper in CircleCI. But mono does not support C# 9 yet, not even their preview nor nightly builds. (Issue on mono repo: https://github.com/mono/mono/issues/20250)
Newtonsoft.Json 13.0.1 does use some new C# 9 syntax. Nothing major, mostly just taking advantage of the new default generic constraint feature (which is quite poorly documented, but can be found here https://github.com/dotnet/csharplang/blob/main/proposals/csharp-9.0/unconstrained-type-parameter-annotations.md) and can be seen for example here:
https://github.com/jilleJr/Newtonsoft.Json-for-Unity/blob/783a48674dfbbd6d8ce9c514a85860a6363ca139/Src/Newtonsoft.Json/Linq/JContainer.cs#L278
Mono is the only bottleneck right now. The merge went smoothly and the code compiles nicely on Windows. I do not have enough energy to change to compiling the project with Windows Docker images just for this upgrade, when Json .NET 13.0.1 does not bring that much new to the table anyway. I'll continue working on this once there is an update from the mono team. Seems like they're having issues with their CI/CD pipeline though... https://github.com/mono/mono/pull/20930 Hopefully nothing major is up

Any particular reason why is this project using circle ci? Github worklflows are free, and unlimited for public repos.
If that is the only blocking issue, and you would want to migrate there I might be able to assist with it.

Well this fork is older than GitHub Actions, and I haven't felt the need of migrating. I've grown quite fon of their UI, featureset, and docs. If you want to aid then I'll gladly accept it, but I warn you that my build pipeline is not that pretty :P
CircleCI is free as well, though they do have a monthly quota even for open source repos. When I do quite a lot of development on this repo I hit that quota quite quickly. Especially due to the 1 Windows container I'm currently running on each build for some tests.
While I'm sceptical about why it's 100% free without any limits on GitHub, I'm still open for researching new tools.

https://docs.github.com/en/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-actions#about-billing-for-github-actions
Actions (workflows/pipelines) are free for public repos, and has a limited number of free runtime minutes when running under private repos.
Yeah, after a second look, I might want to pass on migrating the CI.
Any reason why msbuild/mono is needed? As far as I can see it's just a .net standard dll. Why don't you use .Net 5/ Core 3.1 for it?

It's the .NET Portable build that's dragging me behind. I believe was needed for some Windows store or xbox builds, though I'm not sure anymore. Think I left it in for extra optimization as the .NET Standard build lacks some performance features.
And to be able to run as a complete suite of tests as possible I need the .NET Framework build for some tests.
I've not asserted this in a while. Don't really remember the exact list of reasons.
.NET Core/5 can't build .NET Framework builds AFAIK. That's why I am depending on mono

You can build .NET Framework with .NET 5, no problem, although you will need to update the csproj to the new SDK-stlye format. You can even build UWP apps with .NET 5, althought you have to make quite a few modifications to the project file https://github.com/microsoft/ProjectReunion/issues/105

Woa, lit! That I gotta try right away

Yep as you said, .NET Framework build completed with a breeze when using the mcr.microsoft.com/dotnet/sdk:5.0 image instead of docker.io/mono:6.12 image. Though the .NET Portable build failed misurably
/usr/share/dotnet/sdk/5.0.201/Microsoft.Common.CurrentVersion.targets(1216,5): error MSB3644: The reference assemblies for .NETPortable,Version=v0.0 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [/root/repo/Src/Newtonsoft.Json/Newtonsoft.Json.csproj]
Either I drop support for the .NET Portable build or wait for Mono to make their VS 16.9 build. Probably the former, as dropping .NET Portable was a thing upstream Json .NET did anyway for v13.0.1.
Either way I'm going to sleep on it and return to it tomorrow. It's getting late for me.

Yeah, portable is basically deprecated. I doubt anyone using your project will miss it.

You've already seen the news. But the tests passed, and I've done a sanity check of adding the package v13.0.102 to a manual testing Unity project, and it compiled happily.
Feeling so fresh right now to have a wider version range than only 12.0.x. Especially with my new attempts at backporting. Now supporting the full range of 11.0.2 to 13.0.1 :)
Hidden gem with this issue, because it gave me even more motivation in updating. Thanks again! <3

Glad I could help :)


Fix for MODCLUSTER-721

That removes the messup with the good mod_proxy default values.

retest this please

@dsartzet Please don't forget to resolve the issue in Jira upon merge and set/verify the fix version!

@dsartzet Please don't forget to resolve the issue in Jira upon merge and set/verify the fix version!

 I see you did already, thanks @rhusar  :+1:

Although looking at it, the PRs have not been linked (upstream-downstream @jfclere so please do that) and also these should be merged at the same time otherwise it will fall through the cracks and cause regression upstream... so please keep an eye on that.

I might actually add a GitHub PR template so that people remember that.

downstream 1.3.x commit: https://github.com/modcluster/mod_cluster/pull/457/commits/2e38626cc4a9d1cbecc6d9dc3c9024a49da6e636


Cannot interact with anything below "change log" in discord options menu after closing the options menu

You've done something while editing Slate then. Works perfectly fine on my end.


Always start with the assumption that the writefilter is not enabled.

Motivation:
ce241bd11ec26008a692b87391b94d8efe69069d introduced code to not try flushing data to the socket when the writefilter is enabled. The problem with this was that we sometimes created an AbstractKqueueChannel that started with the writeFilter enabled and so we never had the chance to at least try to flush one time.
Modifications:

Always start with the assumption that the write filter is not enabled. At worse we will try to write one time and then enable it if we can not flush out everything.
Remove now unused constructor.

Result:
Fixes test timeout on macOS.

@normanmaurer - I close we fix this in favor of https://github.com/netty/netty/pull/7738

Yep sounds good as discussed offline


2.3.2 Upload failed with status 401

Steps to reproduce
It's not a brand account
Failure Logs
Hello!
On your phone or computer, go to https://www.google.com/device and enter the code ZRV-QTD-DGP
Successfully signed in!
/home/flo/mass_prox/tst/node_modules/youtubei.js/dist/src/utils/HTTPClient.js:112
            throw new Utils_1.InnertubeError(`Request to ${response.url} failed with status ${response.status}`, yield response.text());
                  ^

InnertubeError: Request to https://upload.youtube.com//upload/youtubei?key=xxxxxxxxxxxxxxxxxxxx&prettyPrint=false&alt=json failed with status 401
    at HTTPClient.<anonymous> (/home/flo/mass_prox/tst/node_modules/youtubei.js/dist/src/utils/HTTPClient.js:112:19)
    at Generator.next (<anonymous>)
    at fulfilled (/home/flo/mass_prox/tst/node_modules/youtubei.js/dist/src/utils/HTTPClient.js:5:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  info: '{"status":"STATUS_REJECTED","rejectionReason":"REJECTED_NOT_AUTHENTICATED"}',
  date: 2022-11-05T16:02:11.243Z,
  version: '2.3.2'
}

Node.js v17.9.1

Expected behavior
upload the video
Current behavior
response code 401 unable to upload
Version
Default
Anything else?
It's not a brand account
Checklist

[X] I am running the latest version.
[X] I checked the documentation and found no answer.
[X] I have searched the existing issues and made sure this is not a duplicate.
[X] I have provided sufficient information.

Hmm weird, are you able to update video metadata? I've never seen this happening with normal accounts.

i'm also getting this, any update?

i'm also getting this, any update?

@onos9
Are you able to use other methods that require authentication (update video thumbnail, metadata, get account info and etc)? I tried reproducing this but unfortunately couldn't, so it's a bit complicated to debug. You can also try cookie auth to see if it throws the same error.

Thanks for the feedback, I have not really tried other methods, I'm actually new to this repository, what do I need to do get credentials for login. I used Google Oauth2 and also realised there is no option for youtube-private-video and gdata in the consent scope. Thanks for this great project, I would really love to use this in my project, thanks.

I have successfully uploaded a video, thank you very much for your response, is there any callback for upload progress?

@LuanRT  is there any documentation on how to login via cookie specifically what cookie name copy from the cookie store

@onos9 Were you able to successfully upload a video using this library? I can't seem to find a way to upload. New to this library.

@onos9 Were you able to successfully upload a video using this library? I can't seem to find a way to upload. New to this library.

@yashb042
Can you try cookie authentication? Just copy the whole cookie from a YouTube's API req and pass it to the cookieoption in the library.
I'm still trying to figure out why this happens to some accounts, but I reckon it's most likely because the /upload/youtubei endpoint is rejecting the OAuth bearer token.

@yashb042 yes I was able to upload successful, it actually worked for my account

@LuanRT just curious is the a way to live stream from this library if can you show an example.
A live streaming feature will be awesome for this great library. Thanks for this work it really help me slot.

@onos9
Not possible yet.
The way YouTube handles live streams seems a bit complicated, but I do want to try to implement it at some point.
Thanks!

@gunpal5
Thank you! That seems to be the case indeed.
I'm not very hopeful but I'll see if there's any workaround.

@LuanRT
I have C# codes which uploads to YouTube just fine on newly created channel. but those codes require YouTube cookies to work, these cookies are the same when you login to Youtube on a web browser like Google Chrome.
I am not sure if you have any cookies based authentication implemented in Youtube.js. If you have it I will share the codes.
The codes I have basically mimic the http calls, which are sent to YouTube server when you try to upload videos through a web browser.
Anyway, I appreciate your efforts in developing a library like YouTube.js

@gunpal5
Yes it does support cookies. Feel free to share anything you think might help solving this, it'd be greatly appreciated!

I seem to be running into this issue as well, and I see no option in Youtube to verify my phone number. The account is about 3 weeks old.
@LuanRT How do I use cookies with Youtubejs?

I seem to be running into this issue as well, and I see no option in Youtube to verify my phone number. The account is about 3 weeks old.
@LuanRT How do I use cookies with Youtubejs?

Check if you can upload from the YouTube app itself first. It should prompt you to do whatever verification is needed.
As for cookies, try the cookie prop when creating a new session.

I can upload from the Youtube Studio web app. I do not have an android device on me to test using the Youtube app.
I'll try the cookies method!

I have 4 channels under 1 acount.
The first channel works perfctly, but the rest 3 encountered 401 when uploading  videos.

@cantfindone Yeah, this is still a problem unfortunately. I'll have to investigate how the mobile app handles this to implement it properly in YouTube.js.


Fix use of yarn pack

We currently have a folder called node_modules in our dist for when a package is built. This folder contains the version of our packages used internally which is needed for components in our library.
We have hit an unfortunate snag where yarn pack ignores any folder named node_modules when packing, making its tarballs broken.
Investigate the following options:

Figure out if we can overwrite this ignore feature in yarn pack.
Maybe rename the built node_modules folder to something else?
If yarn pack cant be fixed. Remove the script pack:react in our root

I have been investigating this, and it seems like it is meant to ignore any folders with the name node_modules.
As can be seen here.
It was mentioned in this yarnpkg/yarn#2063 and then again in yarnpkg/yarn#5966, which should have a merged a fix for it, but the fix with bundledDependencies does not seem to work today.
As @mimarz mentioned, we should probably remove yarn pack:react. npm pack will contain node_modules, so I suggest using that.

Suggest we remove the pack:react which uses yarn pack and call it a day.


[WIP] First rushed attempt getting os x frame working

Work in progress
Leaving this PR here hanging for a bit to share what I have done so far.
If anyone have any input on how to get the surface of the tkinter window and register it in the context?

CGLSetSurface connects a surface that is part of a window to a GL context

I have no idea yet. Thanks for the links. Will add that to the list of things to dig into.
Can let this PR hang here for a while. We can merge it if I give up this attempt, but we should probably disable the darwin import.

An alternative is using AGL : https://developer.apple.com/documentation/agl/agl
Probabably a good idea to do a deep dive into the internals in TkInter. I'll make a Frame implementation for both cgl and agl. Time will see what works out.

Still have not forgotten about this one. I think using agl is the right path. Still doing local experiments for now until I figure out the best solution.

AGL seem to be the way to go. I just need to figure out how to get the proper window pointer.

Hi mate, what is the status on this PR? Just ran into this today while running vispy


Propose an update to data-tests.md

As surprised as I am, I could not find how to add documentation to tests.
I would assume it would look like this:
tests:
  - name: some_test_name
    description: >
      Description of the some_test_name test.
    meta:
      owner<EMAIL_ADDRESS>
but I could not get the description to show up in the automatically generated dbt docs.

hey @siljamardla , thanks for opening this pr up! i'm working with the team internally to chat about this further. will revert back!


[BUG] Upgrading Kubernetes Version does not retain RKE User Addons

Rancher Server Setup

Rancher version: v2.6.6

Information about the Cluster

Cluster Type (Local/Downstream): Downstream

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): RKE1

Describe the bug

When upgrading Kubernetes Version for Rancher provisioned clusters, the RKE User Addons job is not replaced, which means that addons will not be retained if overwritten by RKE's other jobs.
To Reproduce

Add the following under rancherKubernetesEngineConfig

addons: |-
    ---
    apiVersion: v1
    kind: ConfigMap
    metadata:
      name: coredns
      namespace: kube-system
    data:
      Corefile: |
        .:53 {
            errors
            health {
              lameduck 5s
            }
            ready
            kubernetes cluster.local in-addr.arpa ip6.arpa {
              pods insecure
              fallthrough in-addr.arpa ip6.arpa
              ttl 30
            }
            forward . "/etc/resolv.conf"
            cache 30
            loop
            reload
            loadbalance
        }

After deployment, verify coredns config map has the corefile as intended
Edit cluster and upgrade the Kubernetes version

Result
CoreDNS config map has returned to default
Expected Result

CoreDNS config map persists changes
Additional context

SURE-3508

Closing this issue as a duplicate of https://github.com/rancher/rancher/issues/38703.


feat: automatic releases based on conventional commits

I've been using this setup on my personal projects for quite some time, and it's worked very well.
I've already added the required tokens in the Settings/Secrets page
Merging this PR would mean:

this addon will get its first npm release IFF all tests pass
fix/feat commits will trigger releases, bundling all chore commits since the last release

this means that we have many frequent releases, but it also means that npm is never that for behind the repo, unless something goes wrong with the tests

What's the above mean when using Renovate?

renovate is currently configured to require approval from one human reviewer before merging, so renovate can't automatedly merge something in that gets released right away

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Unable to install the package

The dependency on node-hid is so old that the latest no longer compiles and won't install.
I tested on Windows 10 and also WSL2.
The current version:
"node-hid": "^2.1.1"

The package was created using:
"node-hid": "^0.4.0",

https://github.com/tgraupmann/xbox-controller-node/commit/941e19f39066a6e55e813c38b59c4089b2b1eb22

Hi there, I had the same issue with being unable to build.
@tgraupmann's solution worked to solve the node-hid version issue for me (Windows and Linux). Is there any possibility of this package being updated to solve these issues?


Library seems impossible to understand (unusable)?

I'm either missing something, or this library is essentially impossible to learn or use efficiently. After connecting with the ready event, how is one to even begin accessing guilds and their channels? Had to look at source code just find out that the guild repository is assigned as $this->guilds = new GuildRepository(...) on the Discord class, with the $guilds property not even having been defined (let alone type-cast with phpdoc) on the class. So just to access a guild, one is having to use undocumented class properties defined at runtime.
This seems shocking to me, as the properties that are set on the class are well-typed and everything. As in, the library seems fairly well-written, but then falls apart as soon as you try to access the most basic functionality.
In this day and age where people use "real IDEs" that autocomplete everything for you, it really sucks that simply accessing $discord->guilds results in having to dig through source code. Have I missed something, or is user-friendliness of this lib that poor? :(

Added the $guilds property myself with the proper type, but that just results in a never-ending hell of not being able to have the IDE autocomplete anything. Can't pick out a guild or channel by name without writing unacceptably complicated code to iterate manually, and takes adding /** @var SomeClass $someObject **/ every couple lines of code.
I'm not trying to be an ass, but this is not how to write modern PHP. Moving on to the library.

It's really quite simple. See the example..To respond to messages,  use the $discord->on() function. So on message,  do something.

The ready event is not meant to interact with individual guilds and react to messages


Start and Stop BackgroundGeolocation

Your Environment

Plugin version:
Platform: iOS or Android
OS version:
Device manufacturer and model:
React Native version:
Plugin configuration options:
Link to your project:

Context

It just a question to find the best solution for my situation. Could you help me solved my inquiry?
Sometime I need change the configuration of Backgroundlocation (postTemplate). Is it ok if I just call run call configure and start it again? Should I stop first then start again?
Thank you
Expected Behavior

Actual Behavior

Possible Fix

Steps to Reproduce

Context

Debug logs

No need to stop/start. Just call configure
On Sun, 19 Aug 2018 at 11:04, manhncse02926<EMAIL_ADDRESS>wrote:

Your Environment

Plugin version:
Platform: iOS or Android
OS version:
Device manufacturer and model:
React Native version:
Plugin configuration options:
Link to your project:

Context
It just a question to find the best solution for my situation. Could you
help me solved my inquiry?
Sometime I need change the configuration of Backgroundlocation
(postTemplate). Is it ok if I just call run call configure and start it
again? Should I stop first then start again?
Thank you
Expected Behavior Actual Behavior Possible Fix Steps to Reproduce

Context Debug logs
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mauron85/react-native-background-geolocation/issues/266,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAV8GrArYvBNgp3h_8bupOBC2fvsIq2Gks5uSSoZgaJpZM4WC4-r
.


chore(deps): update module github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper to v1.1.7

This PR contains the following updates:

Package
Type
Update
Change

github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper
require
patch
v1.1.6 -> v1.1.7

Release Notes

terraform-ibm-modules/ibmcloud-terratest-wrapper
v1.1.7
Compare Source
Bug Fixes

deps: update module github.com/gruntwork-io/terratest to v0.40.24 (#140) (f1f8a1d)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 2.3.2 :tada:
The release is available on:

GitHub release
v2.3.2

Your semantic-release bot :package::rocket:


Forward media session events to playback service

Requires https://github.com/doublesymmetry/KotlinAudio/pull/32

Note: Jump forward/backward don't receive the configured interval. This is an existing issue though and not introduced in this change. Would love some insight into why this is.

This looks like it's obsolete at this point. If it's not, please reopen this.


Modernize Menu - Base on Bar and address litany of issues

Related to:

#2926
#3073

Todo:

[x] #2539
[ ] #2404
[ ] #2108
[x] Update constructors to add Commands and AddKeyBindings instead of using shortcut and action.
[x] Update ProcessKey/OnKeyPressed handlers
[x] Do not allow HotKeys to invoke a menu item if it is not visible. Shotcuts yes, hotkeys no. https://github.com/gui-cs/Terminal.Gui/discussions/1940#discussioncomment-7724400
[ ] Double check that we have sufficient Unit Tests and add any obvious missing tests that will verify we don't lose functionality.
[ ] Shortcut should be Key based, not KeyCode -
[ ] Hotkey should be Key based, not Rune

Originally posted by @tig in https://github.com/gui-cs/Terminal.Gui/discussions/2974#discussioncomment-7536482

Progress on this was made in #3073. Specifically:

I developed Shortcut and Bar sufficiently that I'm confident they can be used as a basis.
Formatting/Layout in Shortcut and Bar support the current look & feel of both MenuBar and Menu
I introduced two temporary classes: Menuv2 and MenuBarv2 that are a starting point.


Ethernet not plugged in == super slow ROS

If the ethernet cable for the router is not plugged in, running ROS commands will be super slow.
Most likely culprit is the wifi.py script.

@jgonzal13 I believe wifi.py is no longer in use. Do any cars still use the wireless router, or are they all on the wifi dongle broadcast thing that I developed? If so, we can retire this issue.


Resize lambda image for small devices using css media type

image removed - we have now svg graphics for logos


Ensure that no deployment-specific values hit GitHub

Describe the bug
Ensure that no deployment-specific values (e.g. the Realm app-id can accidentally be pushed to GitHub

 o-fish-web really .gitignore the config file


Display the correspondig help of a sub-command after an error

With the creation of the custom logger, when an error occurred the global help was displayed instead of the help for the sub-command. This is now fixed.
Before:

After:

Oops I copied the latest version of eggs-ci without looking at the changes, ship.yml should not be changed.


Indicate successful check

Two of the five testimonials in the README mention intentionally introducing errors to be sure ruff was even running. I admit I did the same when I first tried ruff. It's cool that ruff is so fast people aren't sure it ran at all, but perhaps it is also a UX problem?
When black finds nothing to complain about, it says:

All done! ✨ 🍰 ✨
<n> files left unchanged.

pylint:

Your code has been rated at 10.00/10

mypy:

Success: no issues found in <n> source files

Perhaps ruff could do something similar if no errors are found? For example:

$ ruff check .
Found 0 errors in <n> files :tada:

On the other hand, several linters are silent if they find nothing (pycodestyle, flake8, isort, etc.).

I'm into a message if there are no errors and indicating the number of number of source files sounds nice. I'd prefer not to include an emoji.

On the other hand, several linters are silent if they find nothing (pycodestyle, flake8, isort, etc.).

I presume those that prefer that approach could still achieve it with the  --quiet or --silent options.

is this issue still available ? I would like to give it a go and implement a nice message output for successful checks.
I got inspired from black, as it always shows the cake when everything was ok

Well it's not done but there are a couple existing pull requests
@hughhan1 opened a pull request but noted that @vinhocent had a better pull request. @konstin reviewed the latter one. I'm not sure what the status is. I'd love to have this done soon though!

I kinda have an idea to also add the checked files to the diagnostics in order to display to the user how many files where checked after a successful run.
Will make a PR and maybe you guys take a look.

@zanieb Could you review #8631? I can solve the merge conflicts and merge after.

I think that users who are trying Ruff for the first time, can't believe the speed and want to see that Ruff is actually doing something are well-advised to introduce a lint violation and see that it's reported, as a way of learning the tool.
#8631 introduced output on success. This has been discussed with other linters:

https://github.com/golangci/golangci-lint/issues/121 - always be silent following https://www.linfo.org/rule_of_silence.html
https://github.com/eslint/eslint/issues/3495#issuecomment-133820141 - eslint is incredibly widely adopted and the person commenting here is one of the most prolific and respected developers in the Node.js ecosystem.
From #8853 requesting, the author observes
"On the other hand, several linters are silent if they find nothing (pycodestyle, flake8, isort, etc.)."

I think rather than add an option, ruff should go back to the old silent-on-success behavior.

Simply, I disagree.
I understand the Unix philosophy and agree with it in many cases, but I don't really see this as a friendly default interface which is an emphasized goal in our tooling.
You should be able to suppress this with -q if it matters for your use-case. I could see automatic suppression when we can't find an interactive terminal being reasonable, but this could also be pretty confusing for people.
I'm willing to hear more discussion and feedback.

There are tools which interpret non-empty output to mean that a developers attention is required, and empty output to mean the linter has nothing to report.

This is the purpose of exit codes.

I think exit codes don't express warnings well. Non zero exit code would terminate a build, which is an error semantic.

Yeah I think there's an open question about how to elevate warnings to users. Most users don't see any of the deprecation warnings we display in CI and are surprised when things break.

Note we write this to stdout and not stderr (which is where we emit things like warnings)


What about adding this to maven repository?

I'd really like to use it in my project, it would be cool, if I could you it as a dependency.
Thanks for what you are doing!

Hi, @akellanotavailable, thank you for your feedback, it's very important to me.
Now you can add library using kapt in Gradle:
kapt("io.github.olxmute:mapstruct-kotlin-builder-generator:0.0.2")

or Maven
<annotationProcessorPath>
   <groupId>io.github.olxmute</groupId>
   <artifactId>mapstruct-kotlin-builder-generator</artifactId>
   <version>0.0.2</version>
</annotationProcessorPath>


Rethrow IO exceptions to user handlers while decoding messages

Codecov Report
Patch coverage has no change and project coverage change: -0.02% :warning:

Comparison is base (a0c0574) 51.86% compared to head (da07f4e) 51.85%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@              Coverage Diff              @@
##             develop     #180      +/-   ##
=============================================
- Coverage      51.86%   51.85%   -0.02%
  Complexity      1136     1136
=============================================
  Files            179      179
  Lines           7238     7238
  Branches         724      724
=============================================
- Hits            3754     3753       -1
  Misses          3219     3219
- Partials         265      266       +1

see 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Unable to use ! with the empty field value

With the previous version I could use "!" for filtering records where field has null or empty value.
example:

ng-repeat="category in vm.model.categories | filter: {parentId: '!'}"

After changing to the latest, it is breaking.
Any suggestion?

This works for me with the latest on master: http://plnkr.co/edit/oURMfuBqYGBcMrXEyYsR?p=preview
and also with the latest release candidate: http://plnkr.co/edit/IAy2Eq6xTPRDpik6GSfw?p=preview

@codebased is probably referring to the 1.3.x branch.
There was a regression since 1.3.6, which has been fixed on the 1.4.x branch, but not on 1.3.x yet.
We have discussed (somewhere) that we should backport the fix (since it was a regression) and I have submitted PR #11617 against the 1.3.x branch (but it's not merged yet); hence it's still reproducible on 1.3.15.
@petebacondarwin, should I merge #11617 ?
I submitted the PR to make sure Travis is happy, but I am not sure if I should get a LGTM or not (since this is a backported fix).

@gkalpak @petebacondarwin  Yes it is   "version": "1.3.15",

LGTM

Hm... I just realized, @Narretz has already merged my PR since yesterday (9dd0fe3), so this should be fixed for 1.3.x as soon as v1.3.16 is out.

Yes, I merged it because it was a regression. Github should probably send out notifications when subscribed issues are closed ...


Followup of promise ajax implementation.

ClickDecorator: Spinner doesn't work.
CM_App.ajaxModal loadPage empty response.

cc @tomaszdurka @vogdb

@tomaszdurka please review.

Looks good.


[Suggestion] Trigger push notification only if user is not viewing page

TLDR; Add an option to Push.create({ onlyAway: boolean }) to display the notification only if the user is away from our page using the visibility API.

Example Usecase
A file transfer failure/success notification.
We would like to notify the user when his upload has been completed or failed instead of him checking continuously the status.
We would not however like to notify the user of this situation if the user is already on the page and therefore can already see that something has happened.

Hey @lifenautjoe! I like the way you think. I'll look into it :) In the meantime, the Firebase Cloud Messaging plugin I wrote a few months ago for Push should allow you to only send notifications when the tab is not focused.

Hey @Nickersoft , thanks! and good to hear you like the idea.
In my own project I am using Visibilityjs. Great library for multibrowser support.
If you have no time I could try making some time and help out. We would just need to know in advance if we are using a library such as visibilityjs or our own code to detect when a user is away.

Hi @lifenautjoe, sorry it's been awhile since visiting this post. Work has had been swamped the past month or so, so if you still think this functionality is worth having, I'd encourage you to go ahead and look into opening a PR :)


Is there any practical advantage to do PCA before UMAP?

I know it is for computation efficiency, is there any other practical reason?
Also, I am planning to use Parametric UMAP, shall we use PCA+UMAP during training and inference time?

Arguably it can have some beneficial effects by removing some noise in the data. You should always check the percentage of variance explained, however, to be sure you aren't throwing away a lot of information with PCA.

Thanks for it, I understand that it will remove noise that UMAP might not remove due to its some inherent assumption of uniform manifold.


Add ec2_instance_id field to Disk

This field will be populated instead of host in newer code.

Closing, reopening as #43 with Rubocop appeasements.


new Book added - Nebenläufige Programmierung mit Java

What does this PR do?
Add resource(s)
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
The publisher makes this resource publicly available for free download on their own website.
For book lists, is it a book? For course lists, is it a course? etc.
It is a book in PDF format.
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!


Samples TodoMVC does not run on Windows 7 - pub fails.

I have never tried 'pub' before, so I have no idea why this fails for me.
This should work out of the box and it does not.
I downloaded
https://storage.cloud.google.com/?arg=dart-editor-archive-continuous/latest#dart-editor-archive-continuous%2Flatest
Version:
{
  "revision": "13640",
  "version" : "<IP_ADDRESS>_r13640",
  "date"    : "201210121708"
}
... and ran DartEditor.exe
When I opened the TodoMVC project I got [contents of Output tab]:

Running pub install ...
Pub install fail, Could not un-gzip (exit code 2). Error:
/todomvc/build.dart
Failed with error code 255
  Unable to open file: C:/c1/darteditor-win32-64-13/dart/samples/todomvc/packages/web_components/component_build.dart'file:///C:/c1/darteditor-win32-64-13/dart/samples/todomvc/build.dart': Error: line 7 pos 1: library handler failed
  import 'package:web_components/component_build.dart';
  ^
/todomvc/build.dart --changed=packages\args\args.dart --changed=packages\args\src\utils.dart --changed=packages\logging...
Failed with error code 255
  Unable to open file: C:/c1/darteditor-win32-64-13/dart/samples/todomvc/packages/web_components/component_build.dart'file:///C:/c1/darteditor-win32-64-13/dart/samples/todomvc/build.dart': Error: line 7 pos 1: library handler failed
  import 'package:web_components/component_build.dart';
  ^

I did right-click 'Run' on  build.dart, I get [contents of build.dart output tab]:
dart --enable-checked-mode build.dart
Unable to open file: C:/c1/darteditor-win32-64-13/dart/samples/todomvc/packages/web_components/component_build.dart'file:///C:/c1/darteditor-win32-64-13/dart/samples/todomvc/build.dart': Error: line 7 pos 1: library handler failed
import 'package:web_components/component_build.dart';
^

I tried to reset my state by removing the DartEditor directory that was created in my home directory when I started the editor.
When I open TodoMVC again, the error is similar but missing the un-gzip bit.
So even if I had installed a gzip (that should be part of the SDK since it is not standard windows program), that would not have fixed my installation.

Running pub install ...
Pub install fail, Package "web_components" doesn't have a pubspec.yaml file.
/todomvc/build.dart
Failed with error code 255
  Unable to open file: C:/c1/darteditor-win32-64-13/dart/samples/todomvc/packages/web_components/component_build.dart'file:///C:/c1/darteditor-win32-64-13/dart/samples/todomvc/build.dart': Error: line 7 pos 1: library handler failed
  import 'package:web_components/component_build.dart';
  ^
/todomvc/build.dart --changed=packages\unittest\collection_matchers.dart --changed=packages\unittest\config.dart --chang...
Failed with error code 255
  Unable to open file: C:/c1/darteditor-win32-64-13/dart/samples/todomvc/packages/web_components/component_build.dart'file:///C:/c1/darteditor-win32-64-13/dart/samples/todomvc/build.dart': Error: line 7 pos 1: library handler failed
  import 'package:web_components/component_build.dart';
  ^

This issue has been moved to dart-lang/pub#198.


Contact Modal - Links to social media

Request from customer to add links to social media:
twitter -
Pintrest -
Blog/Website -
Online Chat -
The links or Icons should not show up if the link is empty
The links or icons could go in the common tool bar menu drop down
Looking for UX to decide where these should go. If its in the common tool bar we will have to create tickets for HUD and Webtop

This was originally suggested previously and at the initial direction-setting was completely pushed off the table by the PMO due to security concerns.

Who's social media links is this for? AML? The user's Org? If AML, maybe this should be a contact page or popup? Not sure adding that many links is a efficient use of real estate. If the org, maybe that should be in their contact details within the app meta.
If AML, I would suggest removing both "Contact Help Desk" and "Give Feedback" links within the global toolbar dropdown -- (not sure when "Contact Help Desk" was added but not sure that really belongs under "Personalize") -- and replacing with a single "Contact" link. This would then pop up a modal giving further guidance, rather than just email address mail-to's within the dropdown. See screenshots:

Thoughts? Do you think this would solve the issue, @tonyalletag, or are there further needs?

After further discussion, I suggest we also add a link to the Help Desk inside the Help Center. See screenshots for possible options. One mockup shows lesser prominence and one shows more prominence.
The Help Desk link would still be accessible from the Contact modal as shown above. This proposal simply puts all support links/documentation/etc into one easy click from any screen within the platform (the global toolbar help icon). Once the Help Center is built out, this will be a one-stop shop for anything support-related.

@tonyalletag

Looks great!

I have tested this locally in IE9,11, Firefox and Chrome and found no issues. Ready for testing on master.

Tested/Passed in Master (IE9/11, FF, CH). The links (help, chirp, pin, chat, blog) go to an undefined web (has to be defined/configured on the high side). The mail links (contact help, give feedback, submit a request) go to Outlook (has to be configured on the high side).

Tested this in staging against IE10, FF and Chrome. All of the links worked as expected.  There is an issue in IE10 that causes an email to not work as expected on staging.  That is outside of the scope of this ticket.


doc: FAQ: Add info on IO and CPU prioritization

Closes: #483

Codecov Report

Merging #1272 into master will decrease coverage by 5.8%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1272      +/-   ##
==========================================
- Coverage   52.94%   47.14%   -5.81%
==========================================
  Files         131      131
  Lines       12462    12462
==========================================
- Hits         6598     5875     -723
- Misses       5094     5872     +778
+ Partials      770      715      -55

Impacted Files
Coverage Δ

internal/backend/b2/b2.go
0% <0%> (-79.93%)
:arrow_down:

internal/backend/azure/azure.go
0% <0%> (-75.35%)
:arrow_down:

internal/backend/swift/swift.go
0% <0%> (-73.9%)
:arrow_down:

internal/backend/gs/gs.go
0% <0%> (-70.82%)
:arrow_down:

internal/backend/swift/config.go
34.37% <0%> (-56.25%)
:arrow_down:

internal/archiver/archiver.go
65.36% <0%> (+0.16%)
:arrow_up:

Continue to review full report at Codecov.

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


Update CAN18YETax.md

fix amounts

Docs Build status updates of commit 0ac8f36:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-PullRequestMergeConflict] Cannot sync git repo to specified state. Please make sure the pull request is mergeable.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 983d6ef:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dynamics-gp/payroll/CAN18YETax.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Action merging causes lots of "Exit 34: Operation Not Found"

Steps to reproduce:

run buildfarm after https://github.com/buildfarm/buildfarm/pull/2050
run a bazel build

Expected results:

no regressions

Actual results:

Bazel client says:

ERROR: /<REDACTED>/BUILD.bazel:3:17: Compiling Java headers ......-hjar.jar (13 source files) failed: (Exit 34): NOT_FOUND: Operation not found.
ERROR: /<REDACTED>/BUILD.bazel:3:17 Building <REDACTED>.jar (720 source files, 1 source jar) failed: (Exit 34): NOT_FOUND: Operation not found.

grpc logs ends with:
{
    "metadata": {
      "targetId": "//<REDACTED>",
      "actionId": "66422066b59f713eb6a734114e09478b0ac82740c1a1856df277209c43f3bc1e",
      "correlatedInvocationsId": "b761d885-17c0-4830-ba3f-db07b70ef63d",
      "configurationId": "37e244ff8417139117376c038341c37527a1f2900eeda3c9bd571f68e37ae51c",
      "toolInvocationId": "94f839b4-2c6b-4914-bdba-33a054860e2b",
      "actionMnemonic": "Turbine",
      "toolDetails": {
        "toolVersion": "7.4.1",
        "toolName": "bazel"
      }
    },
    "methodName": "build.bazel.remote.execution.v2.Execution/Execute",
    "details": {
      "execute": {
        "request": {
          "actionDigest": {
            "hash": "66422066b59f713eb6a734114e09478b0ac82740c1a1856df277209c43f3bc1e",
            "sizeBytes": "328"
          },
          "digestFunction": "SHA256"
        },
        "responses": [
          {
            "metadata": {
              "actionDigest": {
                "hash": "66422066b59f713eb6a734114e09478b0ac82740c1a1856df277209c43f3bc1e",
                "sizeBytes": "328"
              },
              "stage": "CACHE_CHECK",
              "@type": "type.googleapis.com/build.bazel.remote.execution.v2.ExecuteOperationMetadata"
            },
            "name": "shard/executions/493e1292-e7e2-432b-bb74-ca086f52396f"
          }
        ]
      }
    },
    "startTime": "2024-12-11T00:26:41.184Z",
    "endTime": "2024-12-11T00:26:59.763Z",
    "status": {
      "code": 5,
      "message": "Operation not found."
    }
  },

Workaround:

Either turn it off via config.yaml:

server:
  mergeExecutions: false

or turn it off via bazel CLI:
bazel build ... --build_request_id="https://host?MERGE_EXECUTIONS=false#$(uuidgen)"

I'm unable to reproduce as yet with a single server/worker/redis instance. I see merges happening with CACHE_CHECK paths to completion.
When possible, please post any available server-side logs with exception traces implicating the Operation not found. I will proceed to reverse the exception flow here to see the possible conditions.

It seems to occur if an in-flight worker drops the operation. If a worker dies or is unhealthy and k8s evicts it.


chore: update the schema and remove some needless types

LIIKUNTA-329

I would like to contain the new updated schema in this PR as well, but some reason why it is not available in the federation router yet.


[9.x] Don't expose model full path in model not found exception

When The ModelNotFoundException class prepares for the exception message does not check for app.debug level so if we are in APP_DEBUG set to false (meaning in production) we still expose the model full path as the json response.
example:
{
    "message": "No query results for model [App\\Models\\Video] 99"
}

which is not good. We are exposing our model path.
I propose just give the model short class name as the message, as below no matter what env
{
    "message": "No query results for model [Video] 99"
}

Thank you
:zzz: :zzz: :zzz: :zzz:

The Model class may or may not resides in the app/Models directory.
It may resides in the vendor folder as well.
I would suggest not to show the model class name in production at all.

@ankurk91
I think its not confused because the message already hint that that's a model.
no query results for model [Post]
unless the model class belongs to vendor, developer have hard time to track donw.

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


links generated from dataview tables point to incorrect urls

all links generated from dataview tables link to urls with the path /notes/folder-1-folder-2-etc-file-name-md as if the pages do not exist.
the links are also all less brightly highlighted as if the published pages aren't published.
i found this out when trying to make a sitemap page - that has a dataview query that pulls all current published pages to the site.
here is said sitemap page: erosaezhe.netlify.app/9-extras/970-digital-garden-grounds/dg-sitemap/
example of one of the links:

should link to this existing page:
erosaezhe.netlify.app/2-zettels/bibasic-decimal-system/
instead links to:
erosaezhe.netlify.app/notes/2-zettels-bibasic-decimal-system-md

as a secondary follow up, there are probably custom tools i can employ in github to achieve a sort of navigation menu, but i'm trying to figure an in-house easy way that works for my obsidian as well at the moment.
and, i am also curious, what is the reason for dead links to direct to the alternate format urls, anyway? (with the /notes/ prefix)
is it an old version of the plugin's url format that wasnt changed when working on a new version? or was it made that way on purpose?

Awesome, you found a bug 🎉 Thanks for reporting it!
It seems the issue was that some dataview queries adds an .md behind the filepath, which the digital garden template was not expecting. I've release a new template version, 1.14.1, which should fix this issue 🤞.
You can update your version of the site template by going to Obsidian settings > digital garden > manage site template > create pr. You will then be presented with a link after about 20 seconds. Clicking this lets you complete the pull request and merge the latest changes into your repository.
Can you test if the new version fixes your problem or not, and report back on the results?

Regarding your second comment:
The reason the /notes/ is added is simply because the first version did not use folders to specify URL paths. All notes were simply put in a notes folder. Thus the default link is still /notes/{filename}, and it is only overwritten if the file it links to actually exists.
The reason it was prefixed with notes was that initially I thought it would be a cool idea to leverage Git's version history to display previous versions of a note, and show how the note grew over time. These notes would have a /versionednotes/ prefix. This has actually been implemented but I've disabled it, as I wanted to focus on implementing other features first.
To summarize: As you correctly guessed, it's a relic from an old version of the plugin that I haven't bothered to change.

wow, thank you for the amazing accommodation! i'm about to try a PR.
results:
yes, the version preview works as i envisioned. thank you so much!
i asked about the dead notes urls because when i noticed them (for non-anomalous dead links) i thought it was a bit odd. i would have expected the urls to have parity with each other. if you want to fix dead links' parity as well, i would like to request it as a feature, just as a low priority one.

Please do. If you could add a new issue describing what you want and why you want it that would be great.


(Question) security of bind functions

Hi, this question relates to binding go functions onto a webview.
I created a page using a string and data url, and bound some functions to the webview.
Some of these could read or write on the filesystem, whatever.
When the webview navigates, those bound functions can still be called by the new page.
So i guess there could be a problem where a remote page is loaded and knows about those bound functions, and calls them.
Is this correct and what could be done to mitigate this

What you are describing is correct and there are two ways to solve your problem:

Do not allow the webview to navigate to other pages.
unbind your function or let them behave differently when the webview navigated to another page.

Also, please ask you questions over at StackOverflow and not here. This is a bug tracker, not a forum.
@zserge please close, this is a general programming question and not a bug for the issue tracker.


House Consumption and 2nd Battery

Now i have a 2nd Battery Lynx connected to my inverter GW25K-ET. For Battery 1 there is a sensor for "Battery Power" but not for the 2nd Battery. What i see now is, that the power of charge or discharge of battery 2 are counted/added to the House Consumption.
This should be not the right way, or?
May be there is a Modbus-Register for "Battery 2 Power" ?
Version <IP_ADDRESS>

It is exactly the same for me! Still no "Battery 2 Power". This makes the stats completely useless.

@mletenay No commits since 3.5 months now. Is the project still being maintained?

Yes, it is. There just wasn't anything urgent to do recently, it just mostly works.
Regarding this 2nd battery, the situation is unchanged - we do not know where or whether that register exists.

Thanks for your update
Is house consumption not the calcution of the known power registers?
What is with the register 35264 (Battery2-Power)?

I found it on Github :-)
May be not offical, but it works for me
https://github.com/marcelblijleven/goodwe/blob/master/goodwe/et.py

Okay, so now I understand what's going on. This repo uses the package goodwe 0.4.8 from PyPI. In the et.py of this package some lines are commented out which include the battery 2 power.
        # Power4S("pbattery2", 35264, "Battery2 Power", Kind.BAT),
        # Integer("battery2_mode", 35266, "Battery2 Mode code", "", Kind.BAT),
        # Enum2("battery2_mode_label", 35184, BATTERY_MODES, "Battery2 Mode", Kind.BAT),

I will try to uncomment this line and check if the power is read correctly.

FYI:
I'm using the register via modbus (Waveshare) directly

The script runs without errors but pbattery2 reports 0 W which is not correct:
pbattery2:               Battery2 Power = 0 W
@raa-hasel You wrote it works for you? Which inverter and ARM firmware are you using?
I have a GW25K-ET on ARM 08.401 (newer versions were buggy so we downgraded).

GW25K-ET / 2 x Lynx F 16,4 H / DSP 07.7068 / ARM 08.401 / BMS 6
See my last post (modbus)

I am not sure how the PyPI goodwe package reads the data. I would have to dig into this.
But Maybe it is because my second BMS FW is 00 and won't show me an update. BMS1 FW is 07.
DSP and ARM are the same for our system. Hardware seems to be nearly identical too. With the difference that I am using 2x Lynx Home F Plus+ 13.1 batteries.

I do not have any problems with BMS 6, therefore ask Goodwe Support for theses Updates in advance.
SolarGoApp support only the update for BAT1 and till yet not for BAT2.

SolarGoApp support only the update for BAT1 and till yet not for BAT2.
This is a joke! WTH?
I will ask them to update the BMS. And report back if it did the trick. Thanks.

BTW: The PyPI package currently uses UDP because I currently have the old WiFi/LAN dongle installed. I will switch bach to the new 2.0 version soon and can test TCP then.

Be careful with 2.0 see German Forum if you can.
https://www.photovoltaikforum.com/thread/221719-goodwe-modbus-tcp-nur-über-wifi-lan-kit-2-0/
My opion is if BAT1-Power readable via UPD, BAT2-Power should it be too.

Don't have the time to read the whole thread there right now. Can you give me a TLDR? I have used 2.0 over TCP before and everything seemed to work fine.

My opinion is if BAT1-Power readable via UDP, BAT2-Power should it be too.

Yes, but maybe it is due to BMS FW 00... We will see as soon as the FW has been updated.

Sorry TLDR is ?

"Too long, didn't read" - a summary. I am German, but reading the whole thread is just too time consuming for me now. So if you know what the conclusion of it is, I would appreciate a short summary why WiFi/LAN 2.0 should be avoided.

Hello, thanks for supporting the goodwe community!
In my configuration of GW25k-ET and 2x Pylontech batteries connected I am also missing variables related to 2nd battery.
Not bringing any news, just recap.


Removes unused UI components 🔥

This PR removes (🔥 ) some UI components that live in src/ui/common and are not currently used:

Annotation
Dialog
Dropdown
Infobox
Image
Layer View
Notification
Table (Row, TableData, TableProperties, RowView)
TabPane
Text

We can always "recover" them from CartoDB.js v3.X if we need to.
cc: @donflopez @rochoa
Fixes https://github.com/CartoDB/cartodb.js/issues/1407.

cc: @xavijam

I'd not remove the annotation because we should provide it in Builder like any other overlay. But 👍 .

We can always bring back the code to render annotation overlays when we start supporting them in BUILDER.

cc: @IagoLast


feat: update golang-1.22 to 1.22.3

Go programming language compiler - metapackage
Issue: https://github.com/deepin-community/sig-deepin-sysdev-team/issues/552
Log: update repo

/approve


Requesting Methods

[x] createChatInviteLink
[ ] getChatMemberCount
[ ] setChatPermissions
[ ] promoteChatMember

Would be helpful to have those too.
thanks!

invite links methods implemented in #163

chat member count implemented in #164

chat permissions implemented in #165

chat members management implemented in #166