AlmaLinux packages build failed

#8 557.9 g++ -I. -I/usr/local/share/gems/gems/glib2-4.2.0/ext/glib2/../../lib -I/usr/local/share/gems/gems/glib2-4.2.0/ext/glib2 -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -I/usr/local/share/gems/gems/extpp-0.1.1/include -I./.gem.20230911-6322-l56nvn  -I/usr/lib64/ruby/vendor_ruby   -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -fPIC -O2 -g -pipe -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs\=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs\=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune\=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std\=gnu\+\+17 -Wall -Wp,-D_FORTIFY_SOURCE\=2 -Wp,-D_GLIBCXX_ASSERTIONS   -m64 -o arrow.o -c arrow.cpp
#8 557.9 g++ -I. -I/usr/local/share/gems/gems/glib2-4.2.0/ext/glib2/../../lib -I/usr/local/share/gems/gems/glib2-4.2.0/ext/glib2 -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -I/usr/local/share/gems/gems/extpp-0.1.1/include -I./.gem.20230911-6322-l56nvn  -I/usr/lib64/ruby/vendor_ruby   -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -fPIC -O2 -g -pipe -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs\=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs\=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune\=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std\=gnu\+\+17 -Wall -Wp,-D_FORTIFY_SOURCE\=2 -Wp,-D_GLIBCXX_ASSERTIONS   -m64 -o converters.o -c converters.cpp
#8 557.9 In file included from /usr/include/arrow-glib/arrow-glib.hpp:29,
#8 557.9                  from red-arrow.hpp:32,
#8 557.9                  from arrow.cpp:20:
#8 557.9 /usr/include/arrow-glib/compute.hpp:23:10: fatal error: arrow/acero/exec_plan.h: No such file or directory
#8 557.9  #include <arrow/acero/exec_plan.h>
#8 557.9           ^~~~~~~~~~~~~~~~~~~~~~~~~
#8 557.9 In file included from /usr/include/arrow-glib/arrow-glib.hpp:29,
#8 557.9                  from red-arrow.hpp:32,
#8 557.9                  from converters.hpp:20,
#8 557.9                  from converters.cpp:20:
#8 557.9 /usr/include/arrow-glib/compute.hpp:23:10: fatal error: arrow/acero/exec_plan.h: No such file or directory
#8 557.9  #include <arrow/acero/exec_plan.h>
#8 557.9           ^~~~~~~~~~~~~~~~~~~~~~~~~

It seems that this is fixed by upstream.


[Enhancement] support derive predicate from callOperator predicate

Why I'm doing:
Like https://github.com/StarRocks/starrocks/pull/50851, it support derive a equivelent predicate from one side table to the other side.
This pr support derive a equivelent predicate from the top filter to both sides of join.
What I'm doing:
add callOperator predicate to candidate map.
Fixes #issue
What type of PR is this:

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

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

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

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

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.3
[x] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

@mergify rebase


6.2 | Fix | Envoy | No Load-balancer finalizer for non-LoadBalancer service type

The load balancer finaliser installed in the Envoy service shouldn't be there if the service type is either NodePort or ClusterIP for th Envoy. This causes the deletion of the service to be pending since there is not loadbalancer created.

tested by @KoppulaRajender


Prerequisits for SP 2016 (only) hangs in offline mode

I'm trying to get SPInstallPrereqs to work with SP 2016 (Only) Offline.
In Online mode it works, of course. I've tested access to the local installers, and yes the PsDscRunAsCredential has access to read the installer files.
Running it offline, it just sits there, hanging. I can't find anything in the registry of target machine.
[[SPInstallPrereqs]Prerequisites] Args for prereq installer are: /unattended
/SQLNCli:"\DSC\Media\SPPrereqs\sqlncli.msi" /Sync:"\DSC\Media\SPPrereqs\Synchronization.msi"
/AppFabric:"\DSC\Media\SPPrereqs\WindowsServerAppFabricSetup_x64.exe"
/IDFX11:"\DSC\Media\SPPrereqs\MicrosoftIdentityExtensions-64.msi"
/MSIPCClient:"\DSC\Media\SPPrereqs\setup_msipc_x64.msi"
/KB3092423:"\DSC\Media\SPPrereqs\AppFabric-KB3092423-x64-ENU.exe"
/WCFDataServices56:"\DSC\Media\SPPrereqs\WcfDataServices.exe"
/DotNetFx:"\DSC\Media\SPPrereqs\NDP47-KB3186497-x86-x64-AllOS-ENU.exe"
/MSVCRT11:"\DSC\Media\SPPrereqs\vc_redist11.x64.exe" /MSVCRT14:"\DSC\Media\SPPrereqs\vc_redist14.x64.exe"
/ODBC:"\DSC\Media\SPPrereqs\msodbcsql.msi"
All Windows Server  2016 Standard
SharePoint 2016
Latest SharePointDSC of today

Could you please check the paths to the installer files? They look odd to me. I think either a drive letter is missing or another backslash. All your paths start with \DSC\
Lately I did a few offline installations and I did use the full path to the installer files.

@IlleNilsson check out my blog post regarding this http://nikcharlebois.com/sharepoint-dsc-gotchas-and-best-practices/

The paths are \, UNC Paths. I aggree they look funny without the first backslash in the output.
But still, just hanging without errors is not good.
I ran prerequisitsinstaller.exe from a powershsell prompt with the same arguments and briefly I got a dialog for a blink of a second. I could’nt read it.
BR // Ilian
From: Andi Krüger<EMAIL_ADDRESS>Sent: Thursday, April 12, 2018 22:02
To: PowerShell/SharePointDsc<EMAIL_ADDRESS>Cc: Ilian Nilsson<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [PowerShell/SharePointDsc] Prerequisits for SP 2016 (only) hangs in offline mode (#792)
Could you please check the paths to the installer files? They look odd to me. I think either a drive letter is missing or another backslash. All your paths start with \DSC\
Lately I did a few offline installations and I did use the full path to the installer files.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/PowerShell/SharePointDsc/issues/792#issuecomment-380927245, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Agfi8HViMqHceDLxUWtW9qIm3lxvX57Oks5tn7K0gaJpZM4TSPHA.

    SPInstallPrereqs "Prerequisites"
    {
        PsDscRunAsCredential = $SpAdminCredential
        SxsPath = "$($Node.WinSourcePath)\"
        InstallerPath = "$($Node.SpSourcePath)\PrerequisiteInstaller.exe"
        OnlineMode = $True
        SqlNCli = "$($Node.PrSourcePath)\sqlncli.msi"
        ODBC = "$($Node.PrSourcePath)\msodbcsql.msi"
        MSVCRT11 = "$($Node.PrSourcePath)\vc_redist11.x64.exe"
        MSVCRT14 = "$($Node.PrSourcePath)\vc_redist14.x64.exe"
        DotNetFX = "$($Node.PrSourcePath)\NDP47-KB3186497-x86-x64-AllOS-ENU.exe"
        IDFX11 = "$($Node.PrSourcePath)\MicrosoftIdentityExtensions-64.msi"
        AppFabric = "$($Node.PrSourcePath)\WindowsServerAppFabricSetup_x64.exe"
        KB3092423 = "$($Node.PrSourcePath)\AppFabric-KB3092423-x64-ENU.exe"
        Sync = "$($Node.PrSourcePath)\Synchronization.msi"
        WCFDataServices56 = "$($Node.PrSourcePath)\WcfDataServices.exe"
        MSIPCClient = "$($Node.PrSourcePath)\setup_msipc_x64.msi"
        Ensure = "Present"
        DependsOn = @("[xWebSite]RemoveDefaultWebSite")
    }

    @{
        NodeName = "*"
        PSDscAllowDomainUser = $True
        PsDscAllowPlainTextPassword = $True
        WinSourcePath = "D:\Sources\Sxs"
        PrSourcePath = "\\DSC\Media\SPPrereqs"
        SpSourcePath = "\\DSC\Media\SPInstaller"
        ProductKey = "XXXX”
        DatabaseServer = "QS1\INTSHPCNT"
        PivotServer = "QS1\INTSHPPVT"
        FarmConfigDatabaseName = "_FarmConfig"
        FarmContentDatabaseName = "_FarmContent"
        CentralAdministrationPort = 5500
        RunCentralAdmin = $False
    }

From: Andi Krüger<EMAIL_ADDRESS>Sent: Thursday, April 12, 2018 22:02
To: PowerShell/SharePointDsc<EMAIL_ADDRESS>Cc: Ilian Nilsson<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [PowerShell/SharePointDsc] Prerequisits for SP 2016 (only) hangs in offline mode (#792)
Could you please check the paths to the installer files? They look odd to me. I think either a drive letter is missing or another backslash. All your paths start with \DSC\
Lately I did a few offline installations and I did use the full path to the installer files.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/PowerShell/SharePointDsc/issues/792#issuecomment-380927245, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Agfi8HViMqHceDLxUWtW9qIm3lxvX57Oks5tn7K0gaJpZM4TSPHA.

Thanks, I’ll check’em out
From: Nik Charlebois<EMAIL_ADDRESS>Sent: Thursday, April 12, 2018 22:05
To: PowerShell/SharePointDsc<EMAIL_ADDRESS>Cc: Ilian Nilsson<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [PowerShell/SharePointDsc] Prerequisits for SP 2016 (only) hangs in offline mode (#792)
@IlleNilssonhttps://github.com/IlleNilsson check out my blog post regarding this http://nikcharlebois.com/sharepoint-dsc-gotchas-and-best-practices/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/PowerShell/SharePointDsc/issues/792#issuecomment-380928149, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Agfi8JPmrCsmCq0-miZG43-OFXfgCtZDks5tn7OBgaJpZM4TSPHA.

Thanks, I’ll check tommorow, gotta snooze
From: Andi Krüger<EMAIL_ADDRESS>Sent: Thursday, April 12, 2018 22:22
To: PowerShell/SharePointDsc<EMAIL_ADDRESS>Cc: Ilian Nilsson<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [PowerShell/SharePointDsc] Prerequisits for SP 2016 (only) hangs in offline mode (#792)
Could do the following test to verify the paths are correct:?
Remove /unattended from the argument list and start the prerequisite installer with the other arguments as shown above.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/PowerShell/SharePointDsc/issues/792#issuecomment-380932510, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Agfi8OxTvPfSeW6XwpKbk3uAUSvTPGbjks5tn7dRgaJpZM4TSPHA.

Found the problem. I had an .MSI for setup_msipc_x64.msi, found setup_msipc_x64.exe version instead and that worked. Thanks for pointing me in the right direction.


Logging in does not refresh the token

Exactly as the title says, when you log in with a new token, the Octokit object is not updated which forces the user to relaunch the app in order to start using it.

fixed issue in latest push


Dead link

Closest possible link I found is Programming with Application Domains and Assemblies but that's the head topic of the side bar which seems unnecessary to link to. Edit the link as desired.

Related to #2037


Make fortran f2py compile part of argument parsing

Currently, all scripts that use Fortran code automatically compile (via f2py) that code every time the script is executed. This is useful behavior when actively editing the Fortran, but becomes cumbersome in operation.
Let's look at making the compile call optional.

NOTE: This only applies to v01 routing -- we're not even using f2py in the latest (currently v02) code -- see #80

Obsolete with v02 versions of code using cython and direct compile.

Obsolete with v02 versions of code using cython and direct compile.


Investigate avoiding manual drop calls when using TempDir

In #162 and the NS bootstrap, we use the TempDir crate, with the former manually calling drop() to cleanup temp dirs, and the latter not doing so results in dangling dirs in /tmp/. Investigate to see why the TempDir requires manual dropping

I think we have determined that we don't need to manually drop, and have stopped doing it as of #171


Update on setting redacted-vars in the agent config

Adding additional patterns to the redacted-vars setting in the agent config, will require appending new patterns to the existing defaults. For example, if you wanted to redact the value of FOO in your log output, and keep the existing default patterns, the config setting should look like:
redacted-vars="*_PASSWORD, *_SECRET, *_TOKEN, *_ACCESS_KEY, *_SECRET_KEY, *_SOME_VALUE, FOO"

I'll merge it @mbelton-buildkite because Jeremy is on Leave :)


Various changes

I made a few changes based on a deeper read of the code. I am not sure wether I missed something or you missed something for the two fixes, let me know if I am mistaken, I'd remove the irrelevant commits.
I also changed fadeout duration based on #3 (I also got feedback from @frankrousseau on that matter).

More stuff, better linting, many comments and a bug fix when the window was scrolled.

Sooooo coooooool :sunglasses: ! Thanks a lot!


Fix 6 : add Var and std open dp

@Dhruv127 , I have tried testing it and it is failing in some test cases.
Please work out on the input_domain and metric for noise generator you are using to avoid the error.


Pause, resume, stop code

True perfect pause not exist
By learn video and document, seems there were no something called "perfect pause at any time".
The implement is use cross thread variable, and tons of if statement to check the variable is changed or not.
Flavor
I personally don't like to see I do one thing a time, but do 150 times to check on a variable.
What is my pause
When I say a pause, I went to gaming or performance matter task.
After I return, I probably don't want to resume from where I left.
Only god know what's in the RAM now. I will continue to prefetch from the start point.
Utilize skip variable
So the solution should be done on thread entry, I remember there is a "skip" variable.
That's a chance. The variable has an initial value on creating a thread instance.
I will get the initial value from global, instead always use "false".
Once I set global variable to "true", all new created read thread will inherit "true".
When they are fired, will return immediately and do nothing.
What to do thread runner
The thread pool runner will fire all the thread anyway.
It will change to only check global pause status once before fire any thread.
If thread pool already running, for example 47/1055,
all 1055 thread will fire, and counting on "skip" variable.
The reason mentioned before, I don't like to see every time I do something,
but first I checked a suddenly appeared variable.
Resume
I have PrefetchInterval, the one currently is use sleep on loop thread.
After send resume command, the rest of interval time should discard and do prefetch now.
So instead of sleep on the loop thread, the sleep will change to a new thread,
and loop thread will try to join the sleep thread.
In this case, when it comes to resume, I terminate the sleep thread,
prefetch will start immediately.

Therefore, I have the following task:

[ ] Create pause status variable at a handy place
[ ] Use pause variable as skip variable initial value
[ ] Move PrefetchInterval sleep statement to new thread
[ ] Save the thread address to a handy place, so can destroy at any time
[ ] Join the thread on loop thread after sleep thread is fired
[ ] A command interface thread, use cin cout?

Command interface

Basically is a while loop
Run thread different from read loop
cin, std string, cout


Thank you for writing this!

Having a nice clean executable instead of a bunch of python setup is wonderful.

Very clean tool 👍

@joncrlsn @imthaghost
Thank you for your comments! I'm glad to hear that 😄


Feature request: allow adding label selectors to prune

As a developer
I want to be able to add label selectors to the prune to limit the scope of the command
In order to have more control over which secrets and configmaps get pruned.
Background
We use Kustomize and the configmapgenerator. It leaves behind quite a few unused configmaps, so using the plugin should help us a lot to mitigate this. However, the tool currently doesn't allow us to limit the prune to the configmaps that we are actively managing. We use some operators and one of those creates a configmap which is used by the operator directly through API calls and is not used in any other configuration. With labels, we could limit the prune to just the configmaps that are generated with Kustomize.

@pietervincken, I added the -l --selector flag, Krew index was updated with the changes so you should be able to use it after executing kubectl krew upgrade.

Cool. Thank you for the quick implementation! I'll try it out tomorrow!


IBC onboarding

As part of Apalache's 50% work for IBC during Q2/2023, @bugarela, @Kukovec, @shonfeder and @thpani will do some high-level onboarding onto IBC. The expectation (for now) is to write a spec of ICS-20 (Fungible token transfer).
Collections of onboarding material:

IBC knowledge base by the protocol design team at Informal Systems.
IBC standards
Cosmos Academy (Thomas: DO NOT start here – it mixes high-level and detailed technical information, which makes it hard to gain conceptual understanding)

Reassigning this to @Kukovec and @shonfeder, pending the IBC work handover.
This is a list of resources collected during our onboarding. But hopefully we can get you up to speed a lot faster using the current spec and a sync session. Then you can use this collection for reference.

Actually, to accurately reflect work, let's keep Gabriela and me assigned here and close this one.
I've opened a new one for Jure and Shon: #12


Some problem about GLP420 challenge

Thanks for merging https://github.com/cryptohack/ctf_archive/pull/15
But one of the challenges, GLP420, doesn't show anything by nc archive.cryptohack.org 26931.
In my environment, I can connect by nc localhost 1337 after docker build -t tmp and docker run -d -p 1337:1337 --name tmp tmp. So I don't know why it doesn't work in cryptohack env.
Would you please check what's going on in the server?

after 2mins it shows "Killed"

It must be something related to Sage, unexpectedly this is actually the first server challenge we have that is running on Sage so we don't really have anything to compare it to.
But, most likely this is caused by the pretty aggressive CPU and memory limits we set on the containers:
    deploy:
      resources:
        limits:
          cpus: "0.3"
          memory: 50M

Sage normally requires far more memory than this. And actually, the server we use is not really powerful enough to run more than one or two Sage instances so I'm not really sure about tweaking this now.
Is it okay if we remove this challenge?

I see. thank you for explanation!
So I'll make a PR to remove this challenge.


setup failure: Error: E:Conflicting values set for option Signed-By regarding source https://apt.kubernetes.io/ kubernetes-xenial: /usr/share/keyrings/kubernetes-archive-keyring.gpg != , E:The list of sources could not be read.

TASK [commons/pre-install : Install Kubernetes packages] ***********************
Thursday 12 August 2021  17:12:07 -0700 (0:00:00.171)       0:00:52.200 *******
included: /home/yy/kubeadm-ansible/roles/commons/pre-install/tasks/pkg.yml for <IP_ADDRESS>, <IP_ADDRESS>
TASK [commons/pre-install : Add Kubernetes APT GPG key] ************************
Thursday 12 August 2021  17:12:07 -0700 (0:00:00.113)       0:00:52.314 *******
changed: [<IP_ADDRESS>]
changed: [<IP_ADDRESS>]
TASK [commons/pre-install : Add Kubernetes APT repository] *********************
Thursday 12 August 2021  17:12:09 -0700 (0:00:02.143)       0:00:54.457 *******
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: apt_pkg.Error: E:Conflicting values set for option Signed-By regarding source https://apt.kubernetes.io/ kubernetes-xenial: /usr/share/keyrings/kubernetes-archive-keyring.gpg != , E:The list of sources could not be read.
fatal: [<IP_ADDRESS>]: FAILED! => {"changed": false, "module_stderr": "Shared connection to <IP_ADDRESS> closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n  File "/home/yy/.ansible/tmp/ansible-tmp-1628813529.8666284-1749-124276574227406/AnsiballZ_apt_repository.py", line 102, in \r\n    _ansiballz_main()\r\n  File "/home/yy/.ansible/tmp/ansible-tmp-1628813529.8666284-1749-124276574227406/AnsiballZ_apt_repository.py", line 94, in _ansiballz_main\r\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n  File "/home/yy/.ansible/tmp/ansible-tmp-1628813529.8666284-1749-124276574227406/AnsiballZ_apt_repository.py", line 40, in invoke_module\r\n    runpy.run_module(mod_name='ansible.modules.apt_repository', init_globals=None, run_name='main', alter_sys=True)\r\n  File "/usr/lib/python3.6/runpy.py", line 205, in run_module\r\n    return _run_module_code(code, init_globals, run_name, mod_spec)\r\n  File "/usr/lib/python3.6/runpy.py", line 96, in _run_module_code\r\n    mod_name, mod_spec, pkg_name, script_name)\r\n  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code\r\n    exec(code, run_globals)\r\n  File "/tmp/ansible_apt_repository_payload_yi7jlojn/ansible_apt_repository_payload.zip/ansible/modules/apt_repository.py", line 604, in \r\n  File "/tmp/ansible_apt_repository_payload_yi7jlojn/ansible_apt_repository_payload.zip/ansible/modules/apt_repository.py", line 581, in main\r\n  File "/usr/lib/python3/dist-packages/apt/cache.py", line 168, in init\r\n    self.open(progress)\r\n  File "/usr/lib/python3/dist-packages/apt/cache.py", line 223, in open\r\n    self._cache = apt_pkg.Cache(progress)\r\napt_pkg.Error: E:Conflicting values set for option Signed-By regarding source https://apt.kubernetes.io/ kubernetes-xenial: /usr/share/keyrings/kubernetes-archive-keyring.gpg != , E:The list of sources could not be read.\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: apt_pkg.Error: E:Conflicting values set for option Signed-By regarding source https://apt.kubernetes.io/ kubernetes-xenial: /usr/share/keyrings/kubernetes-archive-keyring.gpg != , E:The list of sources could not be read.
fatal: [<IP_ADDRESS>]: FAILED! => {"changed": false, "module_stderr": "Shared connection to <IP_ADDRESS> closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n  File "/home/yy/.ansible/tmp/ansible-tmp-1628813529.943152-1750-197405217095954/AnsiballZ_apt_repository.py", line 102, in \r\n    _ansiballz_main()\r\n  File "/home/yy/.ansible/tmp/ansible-tmp-1628813529.943152-1750-197405217095954/AnsiballZ_apt_repository.py", line 94, in _ansiballz_main\r\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n  File "/home/yy/.ansible/tmp/ansible-tmp-1628813529.943152-1750-197405217095954/AnsiballZ_apt_repository.py", line 40, in invoke_module\r\n    runpy.run_module(mod_name='ansible.modules.apt_repository', init_globals=None, run_name='main', alter_sys=True)\r\n  File "/usr/lib/python3.6/runpy.py", line 205, in run_module\r\n    return _run_module_code(code, init_globals, run_name, mod_spec)\r\n  File "/usr/lib/python3.6/runpy.py", line 96, in _run_module_code\r\n    mod_name, mod_spec, pkg_name, script_name)\r\n  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code\r\n    exec(code, run_globals)\r\n  File "/tmp/ansible_apt_repository_payload_hi8nupwx/ansible_apt_repository_payload.zip/ansible/modules/apt_repository.py", line 604, in \r\n  File "/tmp/ansible_apt_repository_payload_hi8nupwx/ansible_apt_repository_payload.zip/ansible/modules/apt_repository.py", line 581, in main\r\n  File "/usr/lib/python3/dist-packages/apt/cache.py", line 168, in init\r\n    self.open(progress)\r\n  File "/usr/lib/python3/dist-packages/apt/cache.py", line 223, in open\r\n    self._cache = apt_pkg.Cache(progress)\r\napt_pkg.Error: E:Conflicting values set for option Signed-By regarding source https://apt.kubernetes.io/ kubernetes-xenial: /usr/share/keyrings/kubernetes-archive-keyring.gpg != , E:The list of sources could not be read.\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
PLAY RECAP *********************************************************************
<IP_ADDRESS>               : ok=16   changed=8    unreachable=0    failed=1    skipped=13   rescued=0    ignored=0
<IP_ADDRESS>               : ok=16   changed=8    unreachable=0    failed=1    skipped=13   rescued=0    ignored=0
<IP_ADDRESS>               : ok=12   changed=7    unreachable=0    failed=0    skipped=8    rescued=0    ignored=0
Thursday 12 August 2021  17:12:10 -0700 (0:00:00.945)       0:00:55.402 *******
docker : Install docker engine (Debian/Ubuntu) ------------------------- 21.04s
docker : Install apt-transport-https ------------------------------------ 9.63s
docker : Add Docker APT repository -------------------------------------- 4.91s
docker : Add Docker APT GPG key ----------------------------------------- 2.31s
commons/pre-install : Add Kubernetes APT GPG key ------------------------ 2.14s
docker : Copy Docker engine service file -------------------------------- 2.13s
Gathering Facts --------------------------------------------------------- 2.09s
docker : Copy Docker environment config file ---------------------------- 1.58s
Gathering Facts --------------------------------------------------------- 1.44s
docker : Enable and check Docker service -------------------------------- 1.42s
docker : Hold docker version -------------------------------------------- 1.22s
docker : Add any insecure registries to Docker config ------------------- 1.07s
commons/pre-install : Add Kubernetes APT repository --------------------- 0.95s
commons/os-checker : Override config file directory for Debian ---------- 0.25s
docker : Add registry to Docker config ---------------------------------- 0.25s
commons/os-checker : Set fact ansible_os_family var to RedHat ----------- 0.24s
docker : Install docker engine (RHEL/CentOS) ---------------------------- 0.24s
commons/os-checker : Set fact ansible_os_family var to Debian ----------- 0.24s
commons/os-checker : Set fact ansible_os_family var to Debian ----------- 0.24s

hosts.ini:
[master]
<IP_ADDRESS>  ansible_python_interpreter='python3'
<IP_ADDRESS>  ansible_python_interpreter='python3'

[node]
<IP_ADDRESS>  ansible_python_interpreter='python3'

[kube-cluster:children]
master
node

all hosts are ubuntu 18 Xen Virtual machines

are they arm machines on oci?
I removed docker play from site.yml and used https://github.com/nickjj/ansible-docker , it worked for me otherwise i was also facing the same issue.

oh I discovered that my base system is ubuntu18, so likely that won't work
On Mon, Aug 16, 2021 at 7:06 PM palash kulshreshtha <
@.***> wrote:

are they arm machines on oci?
I removed docker play from site.yml and used
https://github.com/nickjj/ansible-docker , it worked for me otherwise i
was also facing the same issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kairen/kubeadm-ansible/issues/89#issuecomment-899937430,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUE7OFHZYOBGAWDZM4XIN73T5G72FANCNFSM5CCPGS2Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

hi, I meet the same problem .  Have you solved the problem?

Just go to your /etc/apt/sources.list.d path and remove the lists which is causing this issue such as kubernetes.list and kubernetes.list.save


Eeyun/fix builds

Strips out specs for toggle, removed toggle

Thanks for the pull request! Here is what will happen next:

Your PR will be reviewed by the maintainers
If everything looks good, one of them will approve it, and your PR will be merged.

Thank you for contributing!

@thesentinels approve


Add 'cluster scale'

Add playbooks/roles to scale existing clusters up and down.

closed in favor of autoscaling ticket


Add mem docs

Work in progress. Working on https://gem5.atlassian.net/projects/GEM5/issues/GEM5-158

I don't think this should have a deep review for two reasons:

It will take a lot of someone's time
I don't want to fix lots of little things

We can fix things in the future as we find errors.
One thing we might want to do is mark pages with "may be out of date" so we know what we need to go back and do.
One thing I would like feedback on is the directory structure.
Finally, I think much of this needs to be added to _data/documentation.yml, but I think we should automatically do it, not manually.

I added everything to the _data/documentation file. However, it doesn't work as expected. I thought I would see the hierarchy show up on the left column, but it's not there. Not sure why.

Yeah, that's definitely the case. I don't know how to fix it, though.
I'd appreciate it if someone else would dig into this. :)

I'll take a look and see if I can figure it out

I've fixed the hierarchy issues. Still a lot of broken links and some missing images, though I believe you are aware of these and want to have them as a TODO for later? If so, I'm happy for this to be merged.


feat: Resolve oracle calls via JSON-RPC

Description
This adds a JSON-RPC client to the DefaultForeignCallExecutor. This allows it to solve unknown oracle calls. The URL to the foreign call executor is an optional argument to nargo execute, nargo test and nargo prove.
Problem*
Resolves #1052
Summary*
Additional Context
An example echo server in typescript
import {
  JSONRPCServer,
  TypedJSONRPCServer,
} from "json-rpc-2.0";
import express from "express";
import bodyParser from "body-parser";

type Methods = {
  echo(params: ForeignCallParam[]): ForeignCallResult;
};

const server: TypedJSONRPCServer<Methods> = new JSONRPCServer(/* ... */);

interface Value {
  inner: string,
}

interface SingleForeignCallParam {
  Single: Value,
}

interface ArrayForeignCallParam {
  Array: Value[],
}

type ForeignCallParam = SingleForeignCallParam | ArrayForeignCallParam;

interface ForeignCallResult {
  values: ForeignCallParam[],
}

server.addMethod("echo", (params) => {
  return {values: params};
});

const app = express();
app.use(bodyParser.json());

app.post("/", (req, res) => {
  const jsonRPCRequest = req.body;
  console.log(jsonRPCRequest);
  // server.receive takes a JSON-RPC request and returns a promise of a JSON-RPC response.
  // It can also receive an array of requests, in which case it may return an array of responses.
  // Alternatively, you can use server.receiveJSON, which takes JSON string as is (in this case req.body).
  server.receive(jsonRPCRequest).then((jsonRPCResponse) => {
    if (jsonRPCResponse) {
      res.json(jsonRPCResponse);
    } else {
      // If response is absent, it was a JSON-RPC notification method.
      // Respond with no content status (204).
      res.sendStatus(204);
    }
  });
});

app.listen(5555);

And the corresponding main.nr
#[oracle(echo)]
fn echo_oracle(_x: Field) -> Field {}

unconstrained fn echo(x: Field) -> Field {
    echo_oracle(x)
}

fn main(x: Field, y: pub Field) {
    assert(echo(x) == y);
}

Documentation*
Check one:

[ ] No documentation needed.
[ ] Documentation included in this PR.
[ ] [Exceptional Case] Documentation to be submitted in a separate PR.

(We can document this when we evaluate if this solution is enough)
PR Checklist*

[x] I have tested the changes locally.
[x] I have formatted the changes with Prettier and/or cargo fmt on default settings.

deny.toml is failing because of CC0 license -- we already rely on a CC0 license, so I don't think this is a blocker -- see note in deny.toml as to why we conservatively deny CC0


Change Retention of dbo.all_server_volatile_info_history to 15 Days

There are scenarios where we need to check historical metrics to figure out max/min/average/pencentile etc for a metrics within x days.
For example, get max memory utilization for last 7 days.
Need to change Retention of dbo.all_server_volatile_info_history to 15 Days in table dbo.purge_table.

Change have been made.
if not exists (select 1 from dbo.purge_table where table_name = 'dbo.all_server_volatile_info_history')
begin
	insert dbo.purge_table
	(table_name, date_key, retention_days, purge_row_size, reference)
	select	table_name = 'dbo.all_server_volatile_info_history',
			date_key = 'collection_time',
			retention_days = 15,
			purge_row_size = 1000,
			reference = 'SQLMonitor Data Collection'
end
go


Reset camera

A user will be able to teleport back to the original transaction by pressing the home key. This will save time finding the transaction of interest with large networks.

Another good idea :) thanks.

Moved to backlog of web-based app


Test CTL templating

connected to https://github.com/fullctl/fullctl/issues/8
uses the Python template
https://github.com/20c/ctl-tmpl-python/pull/1

Codecov Report

Merging #9 (3b215ff) into master (8da51aa) will decrease coverage by 3.18%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
- Coverage   46.08%   42.90%   -3.19%
==========================================
  Files          47       50       +3
  Lines        1137     1254     +117
==========================================
+ Hits          524      538      +14
- Misses        613      716     +103

Impacted Files
Coverage Δ

src/fullctl/django/autocomplete/views.py
32.35% <0.00%> (-6.54%)
:arrow_down:

src/fullctl/django/rest/route/usage.py
85.71% <0.00%> (-3.18%)
:arrow_down:

src/fullctl/django/rest/serializers/usage.py
100.00% <0.00%> (ø)

src/fullctl/django/rest/urls/service_bridge.py
0.00% <0.00%> (ø)

src/fullctl/django/models/abstract/alert.py
0.00% <0.00%> (ø)

src/fullctl/django/mail.py
0.00% <0.00%> (ø)

src/fullctl/django/validators.py
0.00% <0.00%> (ø)

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 8da51aa...3b215ff. Read the comment docs.

Fixes #8


DeprecatedApi error

Please read the description here:
https://github.com/kutia-software-company/larafirebase/releases/tag/1.3.8


Detecting PlotlyJS mouse events

I'm trying to write a MWE for detecting mouse events on a PlotlyJS plot, but it's not working as nothing happens on click or hover.
I tried following our working Travelling Salesman demo  and this StipplePlotly example. Am I doing something wrong?
module App
using GenieFramework, PlotlyBase, StipplePlotly
@genietools

trace1 = scatter(; x=1:4, y=[0, 2, 3, 5], fill="tozeroy")
trace2 = scatter(; x=1:4, y=[3, 5, 1, 7], fill="tonexty")

@app EventsModel begin
    @out plotdata = [trace1, trace2]
    @out plotlayout = PlotlyBase.Layout(title="Filled line chart")
    @mixin data::PlotlyEvents
    @onchange data_click begin
        @show data_click
    end
    @onchange data_hover begin
        @show data_hover
    end
    @onchange data_selected begin
        @show data_selected
    end
    @onchange data_relayout begin
        @show data_relayout
    end
end

@mounted EventsModel watchplots()

ui() = plot(:plotdata, layout=:plotlayout, syncevents = true)

route("/") do
    global model
    model = EventsModel |> init |> handlers
    page(model, ui()) |> html
end

Server.isrunning() || Server.up()
end

⌃ [a59fdf5c] GenieFramework v1.16.0
  [a03496cd] PlotlyBase v0.8.19
  [ec984513] StipplePlotly v0.13.5 `https://github.com/GenieFramework/StipplePlotly.jl.git#main`

You need different naming. The events are called after the name of the plotdata field by appending _hover, _ click etc
So your mixin name needs to be plotdata and not data.

Well that was a stupid mistake...Still, I renamed everything but I'm not getting events
module App
using GenieFramework, PlotlyBase, StipplePlotly
@genietools

trace1 = scatter(; x=1:4, y=[0, 2, 3, 5], fill="tozeroy")
trace2 = scatter(; x=1:4, y=[3, 5, 1, 7], fill="tonexty")

@app EventsModel begin
    @out plotdata = [trace1, trace2]
    @out plotlayout = PlotlyBase.Layout(title="Filled line chart")
    @mixin plotdata::PlotlyEvents
    @onchange plotdata_click begin
        @show plotdata_click
    end
    @onchange plotdata_hover begin
        @show plotdata_hover
    end
    @onchange plotdata_selected begin
        @show plotdata_selected
    end
    @onchange plotdata_relayout begin
        @show plotdata_relayout
    end
end

@mounted EventsModel watchplots()

ui() = plot(:plotdata, layout=:plotlayout, syncevents = true)

route("/") do
    global model
    model = EventsModel |> init |> handlers
    page(model, ui()) |> html
end

Server.isrunning() || Server.up()
end

The events should be plot_click, plot_hover ..
and the mixin should be plot instead of plotdata.
data or _data at the end of the data field are removed.

It works, thanks!


Error: Could not find or load main class -Xmx64m

When trying to compile gradle using this java, it gives me the following error:
Error: Could not find or load main class -Xmx64m

did you find a solution?

Yeah, i'm already using github for building instead of local gradle


ATAC not running in project directory

Issue: Error Running atac -d . Command
Description
When I try running the atac -d . command in my project directory, I encounter several issues that prevent the tool from functioning correctly.
Steps to Reproduce

Navigate to the project directory.
Run the command: atac -d ..

Expected Behavior
atac should parse the files in the directory and provide the expected output without errors.
Actual Behavior
I receive the following error messages:
No key bindings file found

Checking: ./.gitignore
Checking: ./run_staging_app.sh
Checking: ./LICENSE
Checking: ./main.go
Checking: ./run_production_app.sh
Checking: ./run_development_app.sh
Checking: ./nginx.conf
Checking: ./app.env
Checking: ./go.sum
Checking: ./.dockerignore
Checking: ./docker-compose-production.yml
Checking: ./README.md
Checking: ./dump.rdb
Checking: ./app-sample.env
Checking: ./ecosystem.config.js
Checking: ./Dockerfile
Checking: ./atac.log
Nothing to parse here
Checking: ./development_app
Checking: ./docker-compose-staging.yml
Checking: ./docker-compose-development.yml
Checking: ./go.mod
Checking: ./log.json

Error:
    Could not parse JSON collection
    missing field `name` at line 20 column 1

Key Issues

No key bindings file found: It seems like the tool is expecting a key bindings file

Nothing to parse here: Despite the tool checking multiple files, it doesn't seem to find anything to process or parse. I

JSON Parsing Error: The tool fails to parse the log.json file due to a missing name field at line 20, column 1. I'm unsure of the correct structure required for this file.

Environment

OS: [Arch]
atac version: [0.6.0]

Additional Information
Upon inspection to logs i found out that it looks for atac.json file, and i don't seem to find that in the repo , but when i run it in a fresh folder it runs perfectly

with further looks into the error i moved a json file from created by atac into the project directory
No key bindings file found

Checking: ./.gitignore

Checking: ./run_staging_app.sh

Checking: ./LICENSE

Checking: ./main.go

Checking: ./run_production_app.sh

Checking: ./run_development_app.sh

Checking: ./nginx.conf

Checking: ./app.env

Checking: ./hng.json
Collection file parsed!

Checking: ./go.sum

Checking: ./.dockerignore

Checking: ./docker-compose-production.yml

Checking: ./README.md

Checking: ./dump.rdb

Checking: ./app-sample.env

Checking: ./ecosystem.config.js

Checking: ./Dockerfile

Checking: ./development_app

Checking: ./docker-compose-staging.yml

Checking: ./docker-compose-development.yml

Checking: ./go.mod

Checking: ./log.json
Error:
        Could not parse JSON collection
        missing field `name` at line 20 column 1

which then gives me this error
so now i don't have the slighest clue as to why this is happening atm

related

related

the error is coming from line 29 in the collection.rs file not sure why

@NachoNievaG  please check out the PR made

Hello!
Here is my feedback regarding your issue

Key Issues

No key bindings file found: It seems like the tool is expecting a key bindings file

The app just tells you that it didn't find any key bindings file, but it's no problem because they are default key mappings applied

Nothing to parse here: Despite the tool checking multiple files, it doesn't seem to find anything to process or parse.

Same as the previous issue, the app just tells you that the file was empty or is not meant to be parsed. In this case, the log file is not meant to be parsed.

JSON Parsing Error: The tool fails to parse the log.json file due to a missing name field at line 20, column 1. I'm unsure of the correct structure required for this file.

I personally think that the problem is here, I think you are missing a collection or request name in your JSON. You can check the examples in base_collection to know more about the general file structure.

Have a geat day!!

Hello!
Here is my feedback regarding your issue

Key Issues

No key bindings file found: It seems like the tool is expecting a key bindings file

The app just tells you that it didn't find any key bindings file, but it's no problem because they are default key mappings applied

Nothing to parse here: Despite the tool checking multiple files, it doesn't seem to find anything to process or parse.

Same as the previous issue, the app just tells you that the file was empty or is not meant to be parsed. In this case, the log file is not meant to be parsed.

JSON Parsing Error: The tool fails to parse the log.json file due to a missing name field at line 20, column 1. I'm unsure of the correct structure required for this file.

I personally think that the problem is here, I think you are missing a collection or request name in your JSON. You can check the examples in base_collection to know more about the general file structure.
E.g.
Have a geat day!!

i see that but in an empty folder it runs even with no collection.json or something of that sort and it generates one,but in a folder where any .json file exists it errors


Create labweek-field-building.md

New Event @WinsCodes Can you add the logos for PL & Edge Esmeralda?

This event has been added using the Pull request: https://github.com/memser-spaceport/pln-events/pull/465


Forward Client Address to Upstream Server

Hi,
I have been browsing around looking for information on how to forward the client ipv4 address to the upstream server in the DoH and DoT configurations.
I have stumbled upon https://www.nginx.com/blog/ip-transparency-direct-server-return-nginx-plus-transparent-proxy/#ip-transparency . I'm not sure if this particular setting might be of any use in this case, but is the closest hint i could find.
How would i go about configuring DoH/DoT with NGINX and having the upstream DNS resolver running on the same server(BIND,PiHole,etc..) and being able to forward the original client IP to the DNS resolver? As of now my setup shows all requests coming from localhost.
Thank you for your impressive njs library.

Hi iguy0,
Apologies for my very late reply.... In general you can't use ip transparency with upstream servers unless they are configured to use your NGINX instance as the route back to the client. Usually with internet service this means setting NGINX as the default gateway, but you can use policy based routing in more exotic set ups. However I don't think it would be possible to make this work on a Linux server where the resolver and nginx communicate over localhost, localhost can't be the route back to client. You might get it to work if you put NGINX and the upstream resolver into containers, because then you could configure routing for the resolver to go via NGINX.
If you want this just for logging purposes, then an alternative might be to update the library to add/modify the EDNS.0 client subnet record to hold the full client IP in a /32, and then configure the resolver to log client subnet. You'd still see the client IP as localhost, but the client subnet would contain the actual client IP (eg <IP_ADDRESS>/32).
Cheers.


Add inclusions option.

Sometimes, we need to consider dates, that overrides weekends and exclusions. For example, one-off work days: user want to work on sunday, even if this day isn't included in weekdays, or person is crazy and want christmas as a work day, but usually it is holiday for him and exist in exclusions.
We should use something like:
moment().weekdayCalc({
  rangeStart: '1 Apr 2016',
  rangeEnd: '31 Mar 2017',
  weekdays: [1,2,3,4,5],
  exclusions: ['6 Apr 2016','7 Apr 2016']
  inclusions: ['10 Apr 2016']
})

Looks good. Could you please do a rebase on to eba9c21?

Artem, please let me know if you have any difficulties with merging/rebasing this one.

@andruhon No, just fell asleep)

Cool! Thank you for contribution! I would also appreciate tests for inclusions.


Update install instructions for plugins

The instructions to install a plugin in OpenSearch also need a reference to publishing dependencies to Maven local. There are some typos and broken link references in the instructions.
Raising this issue to fix the above.

@VachaShah can we close this issue? Do you think we have anything else missing?

I think for now we are good. I will close this issue.


message_feed_ui: Remove previous date from date separators.

This commit updates the date row between messages and message groups, removing the date of the previous message along with the down arrow for the next message.
The goal of this commit is to declutter the message feed UI as part of the redesign.
The change concerns the render functions in
timerender.js along with the files that reference these.
Fixes: #22967.
I was faced with the choice of whether to keep the downward arrows or not. I decided against in order to reduce the visual clutter even more. This is consistent with other chat apps such as Facebook Messenger and Discord.
New design:

Nice!
Playing around with this, it feels like we may need to solve #22966 at the same time to make the resulting UI work well. @JoeyPriceless would you be up for updating this PR to solve that issue as well?

@alya Sure thing!
My interpretation is that the date separators should never be visible for message groups and only for individual messages. Is that correct or am I overlooking some case?
This is how it looks with my latest update.

Looks good to me in manual testing!
@timabbott I'm not sure whether you would like someone to do an initial code review before you take a look?

Having chatted with @timabbott about this, would you be up for adding another commit to this PR to move the date to the right, aligned with the timestamps? We'd like to keep it in a separate commit, as we aren't sure whether that will look good with the current design, or whether we'll want to merge the first two commits as an intermediate step before iterating further.

Yeah I could give it a try but I think it might be difficult to get it to look right with the separator line.
I'm no design expert but right alignment of separators is not really something I've seen used in other chat apps. Looking at Messenger, WhatsApp, Discord, Slack and Teams, I think users will expect the date separator to be center aligned. However I understand the concern that it doesn't mesh well with the sticky dates in the recipient bar.

Here's an example of how it could look. Was hard to fit the right line while also keeping the alignment with the timestamps.
I've also made sure that the subscribe/unsubscribe message keeps being center aligned.

The line and the month label looks too dimmed. Can we make them a bit darker?

I'm using #CDCDCD for the line and #727272 for the text. But it could be 20% opacity black for the line and 50% opacity for black text

Hi, I've added two additional commits now.
The first addresses @terpimost's request to add more contrast.
The second right-aligns the date separators.

I like it!
I'm worried that now it looks funny that the date in the message bar is in a totally different font than the divider; it used to be less noticeable when they weren't vertically aligned. I think what that means is that we'll need to test-deploy it together with #22661.

@terpimost is this PR ready to test-deploy on chat.zulip.org from your perspective?

Looks good to me, lets review in live

@JoeyPriceless thanks for your work on this! As an update, I expect us to attempt to integrate this in earnest following the Zulip 6.0 release; this just missed the window for that release.

@JoeyPriceless thanks for your work on this! As an update, I expect us to attempt to integrate this in earnest following the Zulip 6.0 release; this just missed the window for that release.

Thanks for the update @timabbott. I understand that you're busy with releasing 6.0 in the near future, I'd just like to ask in which timeframe this could be deployed and tested on CZO?

The release is currently planned for this week. With the Thanksgiving holiday coming up, I can't give you precise timing on when post release, but hopefully soon.

This is now test-deployed on chat.zulip.org!

I'm now testing https://github.com/zulip/zulip/pull/23696, which includes this with some additions. @amanagr does it make sense to close this?

Yes.

Yes. @JoeyPriceless thanks for your work on this!

No problem, glad to help!


RFE: Add the ability to define a destination k8s cluster(s) where ArgoCD is deployed

Is your feature request related to a problem? Please describe.
A nice to have feature would be the ability to optionally define a target k8s cluster(s) that indicates where the ArgoCD instance is to be installed in the Server component of the ArgoCD CR as a secret. This would help us remove the cluster level scoping of the ArgoCD Operator that currently exists.
Describe the solution you'd like
apiVersion: argoproj.io/v1alpha1
kind: ArgoCD
metadata:
  name: example-argocd
  labels:
    example: server
spec:
  server:
     destinationCluster:
        clusterSecret:  acme-cluster-secret
        clusterSecretNamespace: acme-cluster
 ---
 apiVersion: v1
kind: Secret
metadata:
  name: acme-cluster-secret
  namespace: acme-cluster
  labels:
    argocd.argoproj.io/secret-type: cluster
type: Opaque
stringData:
  name: acme-cluster
  server: https://cluster.acme.com
  config: |
    {
      "bearerToken": "<authentication token>",
      "tlsClientConfig": {
        "insecure": false,
        "caData": "<base64 encoded certificate>"
      }
    }

Describe alternatives you've considered

Use my central Argo CD instance as a "hub and spoke" design and just deploy your Applications from there using the other K8S clusters as destination clusters
Use my central Argo CD installation in order to install the Argo CD Operator at your destination clusters (Argo CD managing a fleet of Argo CD installations)

Although the alternate solutions solve the problem for my use case, having the ability to specify something like the above is a nice to have

+cc @jannfis  @iam-veeramalla  @jopit

@shashanklmurthy If I understand the request correctly, you would like to see Argo CD Operator install Argo CD on a different cluster ? So, do you want to manage the Argo CD Installations for multiple clusters using a single operator ?
As suggested in the Alternative, you can achieve this already using the below 2 steps.

Add target k8s clusters to Argo CD.
Deploy Argo CD as an application to the target clusters.

Can you please highlight the advantage of implementing this feature over the above suggested approach.

@iam-veeramalla Yes. I'd like to manage multiple ArgoCD installations in multiple clusters using a single operator.
One advantage I see is that the operator that has such a capability allows us to manage the configuration of these different Argocd instances (regardless of whether they are in-cluster or external) from a central location. For context, we are contemplating using a management k8s cluster to provision cluster infrastructure add-ons (including ArgoCD) to other k8s clusters.
Coming to the alternatives suggested,

Maybe I am mistaken here but one disadvantage I see with using one single ArgoCD to deploy applications to multiple clusters is that horizontally scaling the application controller would become a real hassle if we have an uneven distribution of Applications in different clusters.

Deploying ArgoCD itself as an application to target clusters is possible and might be one that we will opt for in our present use case (we're already in an environment where we have a dedicated ArgoCD per k8s cluster). But that brings about an interesting question to my mind, what would the use of an operator that deploys Argocd instances only in a single k8s cluster scope be? Seems to be an arbitrary limitation in my mind.

Thanks for following up!

Thanks for the details @shashanklmurthy .

what would the use of an operator that deploys multiple Argocd instances only in a single k8s cluster scope be ?

Coming to the alternatives suggested
Yeah, managing multiple clusters with a single Argo CD instance might be a costly process even when you have setup HA and sharding. However, you can continue using one Argo CD per cluster model, do you see any harm ?

I would like to keep this issue on low priority for now, as there are alternative approaches available to fix the problem. We will accept this  as RFE, Thanks :)


 To prevent that from happening, create a .gitignore file with the line node_modules in it.
After that, run git rm -r node_modules to remove the node_modules folder from git tracking. You will need to run npm install afterwards as the folder also gets deleted that way.
Feel free to send pull requests and ping me in them if you want me to do a review :)

Issue resolved


There are 14 stars, but 15 watchers?!

Why have some people watched but not starred??

I'm some people, it would seem. OS is important to me in that I'm watching for updates, and all that, but for me (at this point at least) it's not something to star.

I'm not quite sure what the start even means. :P Is it like a 'love-it' on Scratch? Once the site is up and running, we will get a lot more. ;)

To me, stars feel more like favorites, which, if you know me on scratch, you know I don't give out many of those.

It's like a love-it. I'm just curious why there are people who don't like OS but nevertheless want to watch it.


Update Code - Proof_Of_ContributionSnapshot3.md

Breaking out original contribution into specific line items. Adding for all of Nebuchadnezzar crew

Thanks.


Fix wrong zoom function being called, and fix React warning in logView.tsx

@mgbennet,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


[typos] Fix the swag annotations for HealthyCheck

Ⅰ. Describe what this PR does
Ⅱ. Does this pull request fix one issue?
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

/cleanup
thanks for it.


Remove ABS in favor of Math::abs

<-

Is the same planned for MIN/MAX/CLAMP/SIGN? If no, why doing so for ABS but not for the others?

I would do it for all of them indeed, but that's something we ought to discuss to see if there's any reason not to do this change.

Other functions don't seem to have Math equivalents.

I want to note that ABS works fine for integers, wheread Math::abs is sort of broken (only for int, there should be more integer types exposed or else you get ambiguous conversion).

I added int8_t and int16_t, so all integer types are covered now.

I'm still conflicted about this change I suggested, because of this inconsistency:

Is the same planned for MIN/MAX/CLAMP/SIGN? If no, why doing so for ABS but not for the others?

Let's rediscuss and assess for 4.3 to see if it's worth doing this change.

IMO regarding that, considering that this is a pretty big codebase-wide change, I'd do one PR per method and do one of them at a time. Making a huge change at once would be a nightmare to review and handle, due to merge conflicts popping up constantly.

Yeah of course, but the main question before doing one PR per method is whether we should do this change at all.
We should discuss the pros and cons of using methods vs macros for this. When I suggested this it made sense to me to consolidate all math operations in Math, but we then found that there are some drawbacks to using functions instead of plain pre-processor macros for those trivial operations.

Just created #91324 as a minimal implementation of constexpr templates as math functions. It doesn't actually change any existing uses of the macros to the new implementations, so it should be a solid baseline for guaging any differences/issues with the existing macros.


add output from closed issue

Is your feature request related to a problem? Please describe.
na
Describe the solution you'd like
Add output from closed issue, which can be:

previous version - current version
within a specified period of time
Describe alternatives you've considered
na

Additional context
Its format is:
closed [issue description] (link)

I didn't quite understand what you're proposing, but there is one thing that is certain which is git-cliff is unaware of any Git hosting service. It works with local git repositories and it is up to you to customize it to actually add outputs from different sources. For your case, I recommend checking out link_parsers feature to extract certain links (determined by regex) from commit messages.


Corrected note

https://github.com/MicrosoftDocs/office-docs-powershell/issues/4376

Docs Build status updates of commit 659ba82:
:clock10: Full build: the average full build time is 11 min(s) 47 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 659ba82:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/New-SPOSiteGroup.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit f23396c:
:clock10: Full build: the average full build time is 11 min(s) 50 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit f23396c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/New-SPOSiteGroup.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[typescript] Incorrect edits with newline applying

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: insiders
OS Version:

Steps to Reproduce:
Given these files:
/a.ts:
import {a, b} from './b'

(must have final empty newline)
/b.ts:
export const b = 5

Run move to a new file codeaction with all contents selected from b.ts, and this will happen with a.ts:
import {a} from './b'import { b } from "./b.1";

As I understand, vscode incorrectly applies edits in location of final newline.

Works correctly for me. What OS are you on and what TS version are you using?

Works correctly for me. What OS are you on and what TS version are you using?

I'm sorry I must admit I didn't include include OS and TS version. Just before opening this bug I managed to reproduce it on windows and macOS, with different line ending (though TS server seems always sees lf) and with different TS versions. Here, I'm also attaching a gif (macOS 12.4, 1.77.0-insider with extensions disabled + empty profile, using workspace TS 4.9.5 with empty tsconfig):

There is no difference when using bundled TS 5.0.0.

I also wonder is there a way to test it in vscode.dev? I didn't find a way to switch TS version to use project-wide intellisense


Status of gQUIC implementation

Hello.
First off: Awesome work!
Second: What is the status of the gQUIC implementation?
Can you say it's kind of production ready with minor issues or?
Do you guys still track gQUIC from chromium  and implement the new stuff in quic-go?

Hello @ironsteel, the gQUIC implementation should be pretty mature, we've been developing it for two years already, and it provides QUIC support in the Caddy web server. The development of quic-go is focused on IETF QUIC now, but we're still maintaining the gQUIC branch, and are planning to update it when Chromium releases new versions.


Use a more descriptive name for content directory: sensor --> cloud

Was named "sensor" originally by mistake.

@phil-d-wilson, change seems straightforward but I remember you decided against making this change once before. I'd just like to confirm I'm not missing anything.

lgtm


Home page side nav not working

Side nav in mobile view of home page is not working. I want to fix this bug.

I'll work on this :)


$http doesn't immediately increment $brower's outstandingRequestCount. Protractor issues result.

http://jsfiddle.net/awtwff3x/ (using Angular 1.4.8)
The issue is that using $http doesn't seem to register with $browser.defer synchronously so that $browser.notifyWhenNoOutstandingRequests waits accordingly.
This has created an issue where protractor tests are flaky because they aren't waiting for resources to load.
Also seems with $timeout registering synchronously using a $timeout anywhere in a controller will allow for the $http request to register and have the protractor test wait correctly.
You can uncomment line 22 to see that requests queue after $timeout is used, otherwise notifyWhenNoOutstandingRequests returns synchronously.
Thanks.

I think this might be since we put the request through a $q promise that needs to be resolved async before the $httpBackend is triggered, right?

I have made pull requests for the 1.4 and master branches which fix this issue.
The $q promise needing to be resolved async is the issue and $browser.$$incOutstandingRequestCount() needed to be called synchronously. Configuring this and $browser.$$completeOutstandingRequest(noop) to respectively be before and at the end of the promise chain yields the correct result.
Tests to confirm this interaction were added and when implemented locally protractor waited accordingly.


Update versions in env files

These changes are suitable for local use. Pipeline changes are in Jenkinsfile https://github.com/AlmaLinux/alcib/commit/90b9b035099b79750f8556b145fdeb5bb6316cf7


58410960 - Portal: Still Alive

Validation

[X] I've read the FAQ.
[X] The Xenia build used is from a canary branch. (not MLBS/AlexVS/master/pull requests, etc)
[X] This issue isn't for help (tech support) with Xenia, or a game.
[X] I've checked if this game doesn't already have a compatibility report.

Xbox 360 Marketplace link
https://marketplace.xbox.com/en-US/Product/Portal-Still-Alive/66acd000-77fe-1000-9115-d80258410960
Xenia version
https://github.com/xenia-canary/xenia-canary/commit/1319ff6ead3c7d43af63b87be8c3ba486c8e53b5/
Issues
Can see a few screens of introduction then shows blank screen. Log shows error C> 01000008 Execute(849A75E0): failed to find function. Error repeats endlessly.
Log
xenia.log.zip
Screenshots

Labels
state-hang tech-engine-source

Tested on: https://github.com/xenia-canary/xenia-canary/commit/a688f87f557ab34ae8f7ef1353fc608e9314490b
xenia.zip

needs break_on_unimplemented_instructions and cl = "-dvd -game portal" to reach gameplay.
needs readback_resolve to fix garbled text.
severe artifacts in certain levels, press F5 or enable clear_memory_page_state to clear it.
some lights are not occluded.
needs render_target_path_d3d12 = "rov" to correct lighting.

Playable from start to finish, including Still Alive levels. Adding +fps_max 0 to cl unlocks FPS (or sets desired limit). Not occluded lights can be fixed with query_occlusion_fake_sample_count set to 0 or -1, but because of it, the game becomes a little bit brighter overall. I kept occlusion at default 1000, no idea what else could be affected.
Save with all levels unlocked:
Portal.zip
Artifacts:

RTV vs ROV:

Tested on: https://github.com/xenia-project/xenia/commit/7003e54e510fa2169a9434cdb8d608bff7f7be1e
xenia.zip
Currently goes to gameplay on its own thanks to launch_data feature, disabling break_on_unimplemented_instructions not required.
launch_data parameters:
default.xex -dvd -basedir d: -game portal
state-gameplay
state-playable assuming nothing got broken since last report, needs testing.


OS X / Xamarin Studio compatibility

Will the Generator support building on the Mac? Or is the intention to build on Windows and then use the output artifacts in Mac projects?

Unfortunately I'm using XAML reader from WPF and that's not on Mac. So generate UI on Win use everywhere.

In that case, I may look to provide a web service that could generate them for Mac users.

hmm interesting idea, not sure if there is any XAML editor on mac, maybe Xamarin forms designer could work somehow. Let's investigate :)


Monaco replace control is still available

mac+alt+F on MacOS at least

Woops. We probably swallow CTRL+SHIFT+F but not MAC+ALT+F

Relatedly, this is also true of the interactive window input box (for Windows).
Repro steps:

Focus input box
Hit Ctrl+H


install gdstk on mac through conda forge

[ ] I read the conda-forge documentation and could not find the solution for my problem there.

Issue:
I tried to install gdstk following the instructions in: https://github.com/conda-forge/gdstk-feedstock but I get the following message in my terminal:
conda install gdstk
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: |
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
Examining conflict for bleach sphinx dask distributed nbconvert _ipyw_jlab_nb_ext_conf pytest jupyterlab astropy numpydoc pip wheel spyd-

The examining conflict part is taking forever and I ended up aborting. Has anyone encountered the same problem?
I have just installed anaconda and I am running version: 1.10.0

Environment (conda list):

$ conda list

Details about  conda and system ( conda info ):

$ conda info

conda-forge generally does not work well with the Anaconda packages, though I am surprised the experience is as poor as you see. conda-forge has many packages and many versions of those packages, and the Anaconda base environment comes with many packages. conda gets bogged down trying to satisfy the dependency constraints of all those packages. Also, some of the conda-forge packages conflict with the Anaconda ones and that may be affecting what you see (conda-forge builds numpy against a different linear algebra library than Anaconda does, for example).
If you don't need access to everything in the base Anaconda environment, you can create a new environment with gdtk in it and conda should be able to solve for it more easily. For example, you could do:
conda create --name gdstk_env --channel conda-forge gdstk

to create a new environment named gdstk_env with gdstk installed in it. You can see an overview of working with different environments here.
One other tip about the conda solver -- in my experience it works best when initially creating the environment. So it solves for the package version more quickly if you conda create with all the package names, rather than conda create with one package and then conda install the others one by one.
Another thing to consider is using mamba instead of conda. You install it into your conda environment and use it on the command line of using conda (so mamba install -c conda-forge gdstk). In my experience, it is much faster than conda when solving for dependencies in a large environment.

Also, see #2 which was a similar issue.

What do you mean not having access to base anaconda environment? I code in Spyder and I use quite some libraries: numpy, pandas, rand,...
I am quite new to the python world and to conda forge. I'll take some time to read what a conda environment is and what mamba does!

What do you mean not having access to base anaconda environment? I code in Spyder and I use quite some libraries: numpy, pandas, rand,...

I meant that if you were just using the Anaconda installer to get access to conda to install gdstk and did not need to use all the other libraries that come with Anaconda that you could create a new environment with just gdstk.

I am quite new to the python world and to conda forge.

Anaconda is a company that has employees who maintain the conda project and a set of packages for popular data science libraries. Anaconda provides hosting for the packages. conda-forge is a community-run project that builds many open source libraries as conda packages. It uses the free CI services from GitHub and other companies to run the package builds and uploads the packages to Anaconda's servers for hosting. So with Anaconda you have the backing of a company but fewer packages and updates. Also, there are some technical differences, like Anaconda builds numpy with the Intel Math Kernel Library which is proprietary but free to distribute while conda-forge builds numpy with the open source OpenBLAS library instead. This particular difference makes it hard to mix packages between the two channels (default and conda-forge) because many things build against numpy (like gdstk).
I think pretty much everything open source in Anaconda is available in conda-forge. So you could build an environment with conda-forge packages if you like, like conda create --name gdstk_env gdstk numpy pandas spyder rand (or use mamba). You can also put all the packages in an environment file instead of putting them on a single command line and use conda env create or mamba env create.


chore(ci): update deprecated github actions

Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

Summary by CodeRabbit

New Features

Upgraded the artifact uploading functionality across multiple workflow files by transitioning to actions/upload-artifact version 4, potentially enhancing performance and reliability.

Bug Fixes

Introduced improvements and fixes associated with the new version of the artifact upload action, which may address previous issues in the CI/CD process.

Test failures not related to gha update, merging.


docs: added ux theme extention

If you're able to sign the CLA then we can merge this on in (Yes CLA matters since this is under a Google controlled org.) The project has been around a bit and looks like a great theme on the DevTools.

@googlebot I signed it!

Bee-boop. All merged.
Thanks for the project addition @Anzumana.


rstudio documentation, added rstudio link to r-env doc, minor typo fixes

Index + alpha also updated

Build fails related to Geoconda
WARNING -  Documentation file 'apps/geoconda.md' contains a link to 'apps/pdal.md' which is not found in the documentation files.
The file link ../apps/pdal.md in file docs/apps/geoconda.md on line 39 is broken


The Destination service should notify the proxy when the service doesn't exist

See #155. The proxy needs to know when the service doesn't exist (independently of whether it has any endpoints available) so that it can decide whether to fall back to DNS. A PR to document the syntax and semantics of the gRPC API change between the proxy and the destinations service will be provided shortly.

#564 adds the proposed API and the proxy-side changes. The Go code for the API needs to be regenerated in that PR, so that PR currently breaks the build.

@briansmith Ok, sounds good. I will base my branch for this issue off of b/dns-fallback-destination-api-change if that works for you.

Yes that would be great.

Fixed by #568.


Abort scala.xpt.vim if xptemplates isn't installed

This fixes issue #28 for users of bundle managers like NeoBundle, Pathogen, or Vundle. Temporary fix until issue #74 is closed.

I tested locally both with and without the xptemplates plugin installed. No errors opening *.xpt.vim files or *.scala files.

Never noticed a problem with this myself, and I don't have xptemplates installed so I'm not sure why. But this looks like the typical way to handle this sort of thing with an include guard. Seems okay to me.

I have both xptemplates and vim-scala installed using pathogen.
With the current location of scala.xpt.vim, I get this error when I try to edit any xptemplate file with vim.
"bundle/xptemplate/ftplugin/java/java.xpt.vim" 40L, 770C
Error detected while processing /home/user/.vim/bundle/xptemplate/ftplugin/xpt/xpt.xpt.vim:
line   31:
E688: More targets than List items
Press ENTER or type command to continue

Moving the scala.xpt.vim file into the ftplugin/scala/ folder of vim-scala fixes the problem, but as stated on #28, that caused problems for non-users of xptemplates. This is a compromise.


Flag of Martinique is instead the flag of France

Describe the bug
The flag command overlays the flag of France onto the image when the flag of Martinique is selected, as all of esmBot's images labelled "MQ" instead have the flag of France in them. Although I am running a self-hosted instance, a git pull revealed that my instance is fully up-to-date.
Steps to reproduce
Run the flag command on an image with the flag set to :flag_mq:
Expected behavior
The command should overlay the flag of Martinique onto the image
Screenshots
No response
Self-hosted instance?
Yes
Additional context
No response

This looks to be an upstream issue with the region-flags repo, where esmBot gets its flag images: https://github.com/fonttools/region-flags/blob/0f2ae1a950b35d406635cd5d0e3c1b1c837937c3/png/MQ.png
I did some research on the flag itself, and it does seem to be a topic of debate; technically the region-flags repo was correct as of 2022, since the "official" flag was just the flag of France for many centuries. However, there was an unofficial, yet controversial "snake flag" that nearly every emoji vendor uses instead, and you can see that flag being used on Discord. Martinique only got a proper official flag a few months ago, so technically the emojis are inaccurate as well.
I'll probably go ahead and fork the repo to add the "snake flag" since it lines up with the emoji vendor designs, but I'll also be making an issue on jdecked's Twemoji fork (the one that Discord uses) and possibly Noto Emoji about it.

Fixed in https://github.com/esmBot/region-flags/commit/7944a65a179be57c928f705541f8b7e42e2a44b7 and https://github.com/esmBot/esmBot/commit/6f607cfcf01d9d21ed023117165e59f58ce52d1f, should be able to git pull and git submodule update.


Implement a streaming text splitter

Currently, the TextSplitter interface only allows for splitting text into fixed-size chunks and returning the entire list before any queries are run. It would be great if we could split text input dynamically to provide each query step with as large context window as possible, this would make tasks like summarization much more efficient.
It should estimate the number of available tokens for each query and ask the TextSplitter to yield the next chunk of at most X tokens.

interesting - out of curiosity, why would this make summarization more efficient? wouldn't you still need to wait for all chunks to be processed before getting the final answer?

This can be important for more complex summary formats where a summary can take like 1000 tokens:

In this case, up to 1000 tokens are taken by the previous summary, and up to 1000 tokens are left for the generated summary, plus some more for the instructions. This means each additional iteration will waste up to 2k tokens, and we want to minimize that.
In addition to that, I think a single invocation with a large context gives better results than 2 sequential invocations with smaller chunks, it's useful to have the model see as much context as possible when generating the summary.


🐛 BUG: Duplicate printing of wrangler dev logs

Which Cloudflare product(s) does this pertain to?
Wrangler
What version(s) of the tool(s) are you using?
all
What version of Node are you using?
v20.6.1
What operating system and version are you using?
Mac Sonoma
Describe the Bug
Observed behavior
Duplicate logs on state changes
⎔ Starting local server...
[wrangler:inf] Ready on http://localhost:59290
▲ [WARNING] Queues are currently in Beta and are not supported in wrangler dev remote mode.

⎔ Shutting down local server...
▲ [WARNING] Queues are currently in Beta and are not supported in wrangler dev remote mode.

or just (seemingly) randomly
▲ [WARNING] Queues are currently in Beta and are not supported in wrangler dev remote mode.

▲ [WARNING] Queues are currently in Beta and are not supported in wrangler dev remote mode.

▲ [WARNING] Queues are currently in Beta and are not supported in wrangler dev remote mode.

Expected behavior
Single log per distinct warning.
Steps to reproduce
Please provide the following:

Attach a queue or a sqlite DO which are in beta to produce a warning. I have seen this with other warnings, so there might be an easier way.

Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response

@penalosa and I found the cause of this yesterday

@penalosa and @RamIdeas, is this fixed by the --x-dev-env work?

@penalosa and @RamIdeas, is this fixed by the --x-dev-env work?

No, there's still an issue here—every time the Worker reloads we re-print these messages.


feat: Peter/wallet integrations

Adding support for multiple wallets. Newly supported wallets are Talisman and SubWallet.
Account modal modified to allow selecting wallet and then displaying only accounts from selected wallet.
New disconnect feature that allows disconnecting the account from the dApp.

Preview
When no supported wallet is installed:

When supported wallets are installed, user selects the one they wish to use:

After choosing the wallet, accounts from that wallet are displayed and user selects account they wish to connect with:

When account is connected, Disconnect button is shown -- this button allows user to disconnect account from dApp:

@peterslany Could you please resolve the conflict?

SVG files should be optimized via https://jakearchibald.github.io/svgomg.

I think some of the svg properties got removed from the assets with the optimization so maybe we are better off without optimizing.

Hey Peter, this shouldn't be happening :) we need to optimise the svg files, but optimisation shouldn't affect the rendering. Better to work out what the issue is and tweak if necessary, rather than leave the files unoptimised.


tests/eas/capacity_capping: Add a capacity capping test

Add a simple test to verify that if the maximum frequency of the big cpus is reduced, busy threads are moved from the bigs to the littles.  When the maximum frequency is allowed to go back to the absolute
maximum, check that the threads are migrated back to bigs.

It would be interesting to rebase this test on top of #197... or otherwise we can merge it as it is and than ask @bjackman to include it in his refactoring. Ideas?

@derkling, either is fine with me, I can rework do the rework either way.

This test doesn't use the Executor, so it doesn't depend on #197.  I decided not to use the Executor class because the test has to execute commands while rt-app is running which is not currently supported by Executor. I had a quick stab at adding the needed code to the Executor class and it looked ugly, so I decided to not use it.  Do you want me to use the Executor?

Ok, thus for me it's ok to merge this before #197 and let @bjackman check what parts of this new test can be included in it's refactoring/optimization work. Please, @bjackman merge this if you like.

Just thinking, a simple way to do this using Executor might be:

Adding a hook to Executor that gets run before each workload is run
In that hook, running on the target sleep $time; echo $freq > /sys/fs/cpufreq/file in the background for each change. We could probably abstract this as target.schedule_write_value or something.

But I don't think it's worth the complexity for one test, let's merge this.


Episode wise vid

Related Issue

Closes: #555
Description of Changes

Rendered episode wise videos.
Also added feature to collapse details header and season header for better user experience.
I have also fixed the mobile view of movie tv show banners as it got disturbed by someone's PR

Checklist:

[x] My code adheres to the established style guidelines of this project.
[x] I have conducted a self-review of my code.
[x] I have included comments in areas that may be difficult to understand.
[ ] I have made corresponding updates to the project documentation.
[x] My changes have not introduced any new warnings.

Screenshots

Please provide any necessary screenshots to illustrate the changes made.

@sourabhsikarwar level label


about the models folder

it seems that this repo lacks a models dir in assets folder, can you provide it?

@GELIELEO were you able to find it?

nvm, found it:
https://github.com/StanfordVL/GibsonEnvV2/blob/f1732b085b0fbccd4c423cb8d6eda6a5ece6f1f2/docs/installation.md#download-data

yes, the model folder is large so you need to download it separately.


Overlapping channel error, but channels shouldn't be overlapped?

I have a twelve-channel DMX decoder that I am setting up to control two rgbww lights.  Perhaps I'm a bit confused, but isn't an rgbww device just five channels?  If so, wouldn't a device starting on channel 1, and another starting on channel 6, not overlap?  If I comment out the second device, as shown below, I no longer get an "overlapping channel" error in my HA logs, but is there a reason the error is getting thrown that I don't understand?  (leaving both artnet_led wifi devices in the code snippet below in case the earlier one on <IP_ADDRESS> is somehow relevant to the problem)
light:
  - platform: artnet_led
    host: <IP_ADDRESS>                   # IP of Art-Net Node
    max_fps: 40                           # Max 40 per second
    refresh_every: 0                      # Resend values if no fades are running every x seconds, 0 disables automatic refresh
    universes:                            # Support for multiple universes
      0:                                  # Nr of Universe (see configuration of your Art-Net Node)
        devices:
          - channel: 1                    # first channel of dmx dimmer
            name: master_mirror           # name
            type: rgbww                   # type
            transition: 0                 # default duration of fades in sec. Will be overridden by Transition sent from HA
            output_correction: quadratic  # optional: quadratic, cubic or quadruple. Apply different dimming curves to the output. Default is None which means linear dimming
            channel_size: 16bit           # width of the channel sent to DMX device, default "8bit", "16bit", "24bit" and "32bit" available.
  - platform: artnet_led
    host: <IP_ADDRESS>                   # IP of Art-Net Node
    max_fps: 40                           # Max 40 per second
    refresh_every: 0                      # Resend values if no fades are running every x seconds, 0 disables automatic refresh
    universes:                            # Support for multiple universes
      0:                                  # Nr of Universe (see configuration of your Art-Net Node)
        devices:
          - channel: 1                    # first channel of dmx dimmer
            name: master_shower_upper     # name
            type: rgbww                   # type
            transition: 0                 # default duration of fades in sec. Will be overridden by Transition sent from HA
            output_correction: quadratic  # optional: quadratic, cubic or quadruple. Apply different dimming curves to the output. Default is None which means linear dimming
            channel_size: 16bit           # width of the channel sent to DMX device, default "8bit", "16bit", "24bit" and "32bit" available.
#           - channel: 6                    # first channel of dmx dimmer
#             name: master_shower_lower     # name
#             type: rgbww                   # type
#             transition: 0                 # default duration of fades in sec. Will be overridden by Transition sent from HA
#             output_correction: quadratic  # optional: quadratic, cubic or quadruple. Apply different dimming curves to the output. Default is None which means linear dimming
#             channel_size: 16bit           # width of the channel sent to DMX device, default "8bit", "16bit", "24bit" and "32bit" available.

Channel size 16 bit means that RGBWW takes up 10 channels instead of 5. Either more master shower lower to channel 11, or switch to 8 bit channel size.

Ah, got it.  Had to change decoder mode on DMX decoder to reflect 16 bit mode pushing two channels into one wire assignment.  Thanks!


[Feature Request] Refresh interval for custom effects

Allow a refresh/update interval to be specified with custom effects, for example:
swaylock --effect-custom /path/to/effect.so --effect-custom-interval 1
# or
swaylock --effect-custom <interval>;<path to .so>

Why:
Lets users make their own custom integrations w/ swaylock-effects, e.g. a battery indicator, playerctl indicator, weather indicator, et cetera.
I was trying to solve #41 for myself using the custom effect feature, but unfortunately it turns out that the effect only gets ran once. It would be nice to support custom effects as a means to get other integrations in swaylock, instead of having issues like #41 or #17 sit open for a while without a solution
LMK if you wouldn't mind if I made a PR for this

This is a great idea, but how invasive changes to the code base will it require?

issues like #41 or #17 sit open for a while without a solution

@sidharthmrao has an open PR (#65) that closes #41, and possibly #17

Sorry for the late reply, this has been at the bottom of my backlog really. The changes would indeed be too invasive, after some experimenting, as the effects feature hadn't been designed with refreshing in mind, nor for displaying information, and I don't think it would be the right call to modify it to do that. A plugin system could be implemented that does something similar, but a simpler solution would be #65 and I think that might be a better choice


Make encode/decode methos static?

I am not experienced php coder, but I guess it would be better to make these methods static.
Punicode::encode($host);

i would disagree. This would be very bad for Unit Testing.
Basically if you use this lib as a dependency, in you software, you will not be able to to mock it to cover your code. Since PHPUnit 3.8 static methods cannot be mocked or stubbed https://phpunit.de/manual/current/en/test-doubles.html

Indeed this is not desired, as pointed by @Gamesh.

@danyaPostfactum you can always write your wrapper class that creates Punicode as a singletone and executes it as static if you really need it to be static. For Example:
class MyPunicode {

	private static $instance = null;

	public static function encode($host){
		if (!isset(self::$instance)){
			self::$instance = new Punicode();
		}
		return self::$instance->encode($host);
	}
}

Thanks for answers. Too bad we can't make this simpler to use. Don't we like things like js JSON.parse() or php DateTime::createFromFormat(). Ok, not a big problem, thanks.

well actually DateTime::createFromFormat() is more like a factory method, that creates a DateTime object based on datetime string. It all depends on how you use libs in your code, if you do a DI, then you can call punicode in your class as simple as $this->punicode->encode(); so no need for static calls. I know it seems that shorter syntax is pretty and you don't have to create an object, but it's ugly in the long run and impossible to test.

Hi,
I just want to let you know that I decided to fork this library and provide only static methods as suggested by @danyaPostfactum. See https://github.com/Spomky-Labs/php-punycode
For me, it makes sense to only provide static methods for encoding/decoding.
Projects that use this library should not have to mock the methods provided by this library, but trust on the fact that this library is correctly tested and works as expected.
Regards.

I would agree with NOT making those methods static if it was argued with "they use internal property defined with constructor", but that argument with testing is totally unrelated, as @Spomky mentioned.
But even with encoding attribute it could be easily converted to static by adding optional argument to encode / decode methods. It could be backward-compatible (with _construct left untouched - since static methods can be called in object's context), yet more user friendly (without need to create instance each time. There is no point in forcing this to be object-oriented since it's only input/output blackbox, it does not depend on anything besides encoding.


add XNO nano

early early draft
i have no idea what im doing ^^
so this is more feature request than pull request
XNO is my favorite coin, so having XNO support in basicswap would be nice
xno.py is based on xmr.py
related

https://github.com/BeamMW/beam-ui/pull/889

https://meroscrypto.medium.com/atomic-swaps-building-the-basis-of-cross-chain-interop-for-meros-monero-and-nano-5813b77e6a91

https://github.com/MerosCrypto/asmr/blob/master/src/coins/nano/client.rs

Can you move this to its own PR
571ae44047dedac00bddca7817a978510be75ade

yepp, will remove it from this PR to reduce diff noise
formatting should be done by some tool, for example black

$ black .

$ git diff | grep ^+ | grep "an't"
+                        self.log.warning("Can't open XMR wallet, could be locked.")
+                        self.log.warning("Can't open WOW wallet, could be locked.")
+            self.log.warning("startup_tries can't be less than 1.")
+                    "Can't connect to %s RPC: %s.  Trying again in %d second/s, %d/%d.",
+        self.log.error("Can't connect to %s RPC, exiting.", Coins(coin_type).name)
+            raise ValueError("Can't change passwords while swaps are in progress")
+                    "Can't find expected main wallet address for coin {}".format(
+                "Can't find expected wallet seed id for coin {}".format(ci.coin_name())
+            self.log.error("Can't abandon bid %s when not in debug mode.", bid_id.hex())
+            raise ValueError("Can't find previous value.")
+                "string can't be divided in 25 blocks of w bits\
+                logger.warning("Can't send message, message is not valid UTF-8")
+                "Can't send message, message has to be a string or bytes. Got %s"
+                err_messages.append("Estimate fee and withdraw can't be used together.")
+        exitWithError("Can't use --usetorproxy and --notorproxy together")
+                    "Can't connect to RPC: %s. Retrying in %d second/s.",
+                    "Can't connect to WOW%s RPC: %s. Retrying in %d second/s.",
+                    "Can't connect to XMR RPC: %s. Retrying in %d second/s.",
+                    "Can't connect to XMR wallet RPC: %s. Retrying in %d second/s.",

Also, please open (future) pr's against dev branch.
You should be able to change the base branch via github for the xno pr


Adding CONTRIBUTING.md file.

Adding CONTRIBUTING.md file, which describes the process of contributing the ResuMe project.
fix #12

Looks Great!

I would add who is approved to do review and how can do merges

How should I write it?
something like: "any team member and approve the PR, and only the mentors can merge it"?

Approved. Please use meaningful commit messages, and not just "changing line x".
Please squash your commits so we can merge it

Squashed :)

It fails with this error:
An error occurred while installing pycodestyle==2.8.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4' --
To rerun it, you can click the Actions tab at the top.
Click the failed test and then click Re run all jobs at the top right


Compatibility issue with support library 28.0.0-beta01

After updating our application from Android support library from version 27.1.1 to version 28.0.0-beta01 the application now fails to start (to test compatibility on a Pixel 2 with Android P and target SDK 28)
We see the following error on startup:
E/UncaughtException: java.lang.NoSuchMethodError: No virtual method addOnTabSelectedListener(Landroid/support/design/widget/TabLayout$OnTabSelectedListener;)V in class Landroid/support/design/widget/TabLayout; or its super classes (declaration of 'android.support.design.widget.TabLayout' appears in /data/app/<app-name>/base.apk)
        at com.h6ah4i.android.tablayouthelper.TabLayoutHelper.setupWithViewPager(TabLayoutHelper.java:327)
        at com.h6ah4i.android.tablayouthelper.TabLayoutHelper.<init>(TabLayoutHelper.java:98)

The crash happens here:
protected TabLayout.OnTabSelectedListener mInternalOnTabSelectedListener;

tabLayout.addOnTabSelectedListener(mInternalOnTabSelectedListener);

So it seems this library is no longer compatible with support library version 28

Hi, thank you for your report. I confirmed that v0.9.0 is compatible with the official release of support library v28.0.0.

Hey @h6ah4i !
I'm also facing the same issue using of 28.0.0 version of support libraries and 0.9.0 of tablayouthelper. Any thoughts about this?

@troy379 Hi. Could you try v0.9.1 instead? It's built with support library v28.0.0.

Oh, I've migrated the project to AndroidX and now using the 1.0.0 version. Thanks for your response anyway, maybe it'll be useful for someone who still wants to use support libraries 🙂
Cheers!


deprecated req.host

Messages are showing up in the log for Express 4.12.4.
express deprecated req.host: Use req.hostname instead node_modules/winston/lib/winston/common.js:93:26
express deprecated req.host: Use req.hostname instead node_modules/winston/lib/winston/common.js:96:17
express deprecated req.host: Use req.hostname instead node_modules/winston/lib/winston/common.js:99:24
express deprecated req.host: Use req.hostname instead node_modules/winston/lib/winston/common.js:100:20
express deprecated req.host: Use req.hostname instead node_modules/winston/lib/winston/common.js:100:71

Could you post more code? I believe this may be an enumeration issue since we don't explicitly reference host anywhere in winston directly.

The code is something like that:
https://gist.github.com/luanmuniz/ad7e158b992b23ec0457

Yes. This is a bug in your code here: https://gist.github.com/luanmuniz/ad7e158b992b23ec0457#file-call-js-L6.
When you pass down the res as data, it means that winston is going to attempt to deep clone that object. That will iterate over all the enumerable properties (including deprecated ones like host). Try being more specific in your application logs. It will not only save you headaches like this, but it will make your logs more human readable.

I didn't know about this kind of object cloning.
Thank you! I will do that :)


Added https-private-key as a separated parameter for httpd service

I've updated the httpd service to allow add a separated https-private-key parameter.
Usually, the tls LoadX509KeyPair use a different file for certificate and private key.
Required for all non-trivial PRs

[x ] Rebased/mergable
[ ] Tests pass
[ ] CHANGELOG.md updated
[x ] Sign CLA (if not already signed)

Closing in favor of #1820


doc-nits should check that all SYNOPSIS elements are mentioned in the DESCRIPTION and vice versa

So far, it can happen that a function (or type or macro) is mentioned in the SYNOPSIS (and in the NAME) section but not in the DESCRIPTION section.
The same holds for function/macro parameters given in the SYNOPSIS.
For instance, BIO_s_accept.pod contains
 char *BIO_get_peer_name(BIO *b);
 char *BIO_get_peer_port(BIO *b);
 long BIO_get_accept_ip_family(BIO *b);
 long BIO_set_accept_ip_family(BIO *b, long family);

in the SYNOPSIS but currently these functions are not actually documented.
Vice versa, doc-nits should report functions or macros documented in the DESCRIPTION section but not mentioned in the NAME and SYNOPSIS sections.
Of course, the DESCRIPTION may refer to further functions, but those should not be reported as missing from the SYNOPSIS as long as they are referred to in the form L<name(3)>.

As mentioned by @richsalzt in https://github.com/openssl/openssl/issues/13442#issuecomment-846973513,
flagging if the documentation doesn't reference all arguments
prevents people from writing things like "foo does the same thing as foo_ex except that libctx is NULL".
Indeed, false positives would inevitably come up here.
They could be avoided by some heuristics and explicit exclusion pragmas, but this can become awkward.


Remove span-column(12) from table-grid example

@include span-columns(12); shouldn't have a right-margin. We shouldn't have to include omega every time we want to use a full width column. I would have made the update myself and submitted a PR but I couldn't figure out how to update the code accordingly.
I'm guessing this hasn't been an issue before now because the margin doesn't break anything, however it does flow outside of the outer container.

Looks like this can be closed as fixed.
I'm doing some gardening here :) /cc @tysongach


Css Card hovering effect

The hovering effect is like this (check out the attached screenshots).

@Anjuli08  kindly check it out to see if you like to like it.
if you do like it kindly accept the, merge and add the Hacktoberfest-accepted label