Normalizing human readable rule output.

Normalizing KubeCronJobRunning and KubeJobCompletion message output. Both now spell out one hour.
Signed-off-by: David J Eddy<EMAIL_ADDRESS>
Is this a new chart

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.

What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] DCO signed
[ ] Chart Version bumped
[X] Variables are documented in the README.md
[X] Title of the PR starts with chart name (e.g. [stable/mychartname])

@davidjeddy Please see note at top of file that you modified.


E5108: Error executing lua Vim:E117: Unknown function: vsnip#get_complete_items

Hi there!
I tried to set up nvim-compe with rust_analyzer. I followed the instructions in the README.md and essentially copied the suggested commands to my init.vim. I then created a new cargo project and tried out the auto-completion. It worked the first time, however I must have made a mistake somewhere.
Now, when I edit a file, I only see buffer completions. When I try to trigger the completion manually using <C-SPC>, there is an error, saying:
Error detected while processing function <lambda>7:
line    1:
E5108: Error executing lua Vim:E117: Unknown function: vsnip#get_complete_items

but I can't make much sense out of that. When searching for vsnip#get_complete_items, the only result is in the file vim/plugged/nvim-compe/lua/compe_vsnip/init.lua in line 21. My vim-config is available at tim-hilt/init.vim. Also, I saw nothing suspicious, when running :checkhealth:

Expand to see healthcheck
```
health#nvim_treesitter#check
========================================================================
## Installation
  - OK: `tree-sitter` found  0.19.4 (parser generator, only needed for :TSInstallFromGrammar)
  - OK: `git` executable found.
  - OK: `cc` executable found.
Parser/Features H L F I

c              ✓ ✓ ✓ ✓
typescript     ✓ ✓ ✓ ✓
go             ✓ ✓ ✓ ✓
cpp            ✓ ✓ ✓ ✓
python         ✓ ✓ ✓ ✓
rust           ✓ ✓ ✓ ✓
javascript     ✓ ✓ ✓ ✓

Legend: H[ighlight], L[ocals], F[olds], I[ndents]
+) multiple parsers found, only one will be used
x) errors found in the query, try to run :TSUpdate {lang}
health#lspconfig#check
Checking language server protocol configuration

ERROR: tsserver: The given command "typescript-language-server" is not executable.
INFO: pyright: configuration checked.
INFO: rust_analyzer: configuration checked.

health#nvim#check
Configuration

OK: no issues found

Performance

OK: Build type: RelWithDebInfo

Remote Plugins

OK: Up to date

terminal

INFO: key_backspace (kbs) terminfo entry: key_backspace=^H
INFO: key_dc (kdch1) terminfo entry: key_dc=\E[3~
INFO: $COLORTERM='truecolor'

health#provider#check
Clipboard (optional)

WARNING: No clipboard tool found. Clipboard registers ("+ and "*) will not work.

ADVICE:

:help |clipboard|

Python 2 provider (optional)

WARNING: No Python executable found that can import neovim. Using the first available executable for diagnostics.
ERROR: Python provider error:

ADVICE:

provider/pythonx: Could not load Python 2:
/usr/bin/python2 does not have the "neovim" module. :help |provider-python|
/usr/bin/python2.7 does not have the "neovim" module. :help |provider-python|
python2.6 not found in search path or not executable.
/usr/bin/python is Python 3.9 and cannot provide Python 2.

INFO: Executable: Not found

Python 3 provider (optional)

INFO: g:python3_host_prog is not set.  Searching for python3 in the environment.
INFO: Executable: /usr/bin/python3
INFO: Python version: 3.9.2
INFO: pynvim version: 0.4.3
OK: Latest pynvim is installed.

Python virtualenv

OK: no $VIRTUAL_ENV

Ruby provider (optional)

WARNING: ruby and gem must be in $PATH.

ADVICE:

Install Ruby and verify that ruby and gem commands work.

Node.js provider (optional)

INFO: Node.js: v15.12.0
INFO: Nvim node.js host: /usr/lib/node_modules/neovim/bin/cli.js
OK: Latest "neovim" npm/yarn package is installed: 4.9.0

Perl provider (optional)

ERROR: perl provider error:

ADVICE:

"Neovim::Ext" cpan module is not installed

</details>

It's the same thing, when trying with typescript-language-server. So seems not to be an issue with rust_analyzer.

Ok, found the issue myself. I shouldn't have called the setup-method for Rust twice.


Include git commit id and time in deployed html

Add a step to write the commit Id into the index.html file (use a placeholder string, such as {commitId}.
Should also include the date and time - e.g. {commitTime}

Get some git vars
From https://stackoverflow.com/questions/58886293/getting-current-branch-and-commit-hash-in-github-action

name: Declare some variables
id: vars
shell: bash
run: |
echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"

echo "##[set-output name=sha_short;]$(git rev-parse --short "$GITHUB_SHA")"
echo "##[set-output name=sha_short;]$(git show --no-patch --no-notes --pretty='%cd' "GITHUB_SHA")"

Use this to replace content?
https://docs.microsoft.com/en-us/azure/developer/github/github-variable-substitution

- name: Replace credentials
  run: |
    find . -name "*" -exec sed -i "s/__VERSION__ /$(cat VERSION.md)/g" {} +
    sed -i 's/__DB-PASSWORD__/${{ secrets.DB_PASSWORD }}/g' db_connection.php


Telemetry for the Cloud CLI

Follow-up to:

https://github.com/meltano/meltano/pull/7261

The Cloud CLI can run as part of Meltano, or as a standalone CLI application. As such it cannot rely on having access to:

A meltano.yml file where send_anonymous_usage_stats may be configured.
An analytics.json file where their project ID, client ID, and opt-out status is stored.
A Meltano project directory.
A telemetry project context at runtime.
The meltano.core.tracking module.

We may want to support opting out of telemetry (possibly only for the Cloud CLI) using an env var, given the difficulty of configuring this.
To store something analogous to analytics.json without a Meltano project directory, we'll likely want the following issue to be completed prior to this one:

https://github.com/meltano/meltano/issues/7224

To gain access to meltano.core.tracking, we'll likely want to pull it out into a subproject located at src/telemetry, similar to src/cloud-cli. It will be bundled into both Meltano and the Cloud CLI at build-time, and available during development (i.e. using editable installs) via symlinks.

@cjohnhanson @aaronsteers When we last discussed the organization of the Cloud CLI in depth, I mentioned how we could pull pieces of src/meltano/ up into their own projects as had been done with the Cloud CLI which currently resides in its own Python project at src/cloud-cli.
It appears this was overly optimistic because of a misunderstanding of how relative Poetry package includes work. In reality, we can pull out any number of pieces from src/meltano/ and make them into their own Python projects, but there can be no interdependencies save for the existing one where Meltano depends on (i.e. includes) the split-off projects. This means we cannot simply have src/meltano/telemetry as a module used by both src/cloud-cli and src/meltano.
In the long-term, this sort of organization will become possible. In addition to Poetry working on it across various issues/discussions I'm following, there are plugins which offer this functionality in varying forms. In particularly, there's a Poetry plugin called poet that almost does exactly what we need, but it doesn't currently work with the poetry lock command. If that is fixed, then we can probably use it, and in addition to allowing arbitrary interdependencies, it would also make our dependency management clean (and no longer reliant on the pre-commit check that verifies that subproject deps are included by the root project):

https://github.com/idantene/poet-exclusive-groups-plugin/issues/2

In the short-term, there is an easy but inelegant workaround: store any shared code under src/cloud-cli. We only have the 2 packages that we expect users will use directly, meltano and meltano-cloud-cli, and meltano is a super-set of meltano-cloud-cli, so we can move the code that both need into meltano-cloud-cli (i.e. src/cloud-cli) to ensure they can both access it.
I'm not happy with this approach, but I do not believe it will cause any significant issues for us, and it leaves us an easy path towards better organization/modularization of our software in the future.

This Poetry plugin might help simplify our existing Cloud CLI strategy, and make it properly extensible: https://github.com/artisanofcode/poetry-stickywheel-plugin/
The main difference is that now we'd be use path dependencies to handle the subproject dependencies being installed during development, and also to let us use a single lock file. We can't do this without the plugin because path dependencies prevent us from building a wheel, but this plugin will replace the path dependency with the version from the subproject.
We would have to separately publish wheels for each project / path dependency, which adds some complexity to our release process, but this is probably the direction we want to be heading long-term anyway.
This plugin is new, and doesn't support sdists. I'm not sure what sdist support would even look like, since an sdist is meant to be the source of the project prior to building it. Hopefully Poetry itself will support this use-case somehow in the not-too-distant future, but in the meantime this plugin might help us.


Fix the newline error to point to the start of the broken string

Found newline in string abc; at token ” at line 2 while parsing:
1: x = 'abc';
2: y1 = ”abc;
------------^
3: println(x == y1);

Fixed a few unit tests.
SampleCodeParserTest.testFullRun is failing but I'm not sure what it's looking for


document allowlist for github auth

Creating a new PR to fix conflicts in https://github.com/okteto/docs/pull/469

@RinkiyaKeDad could you update the PR? allowList can be used with or without the organization key. If there is no organization, only these users are allowed to login. Id organization is defined, then these users are allowed to login even if they don't belong to your organization. But everyone belonging to the organization is allowed to login

This PR is getting stale. @RinkiyaKeDad please update, otherwise I'll close and make a ticket next week.

Updated the PR, sorry for the delay!


Fix some formatting and typos

Fix some formatting and typos in several files.
Rename RpcUtilityMethods's get_proccess_details method to
get_process_details.

Hi @jsdanielh !
Thanks for the work here. I'll try to review it all tomorrow, typo fixes look great, there are some type changes I'd need to look more deeply into than a quick skim.

Looks great- few comments inline; most not critical, only the float->int change requires further discussion

@orweis I applied your suggestion on the type change for the timeout. I actually went and changed it in some other places that were specifying int.
For the line break changes, they go more into complying with PEP8 maximum line specification. Although I know there are some lines that doesn't fully comply with it, I thought a change towards that path would help. Let me know what you think.


Cryptomatte issue with deadline and many Cryptomatte layers

I've had some difficulty replicating this issue but I believe I've locked it down in a current nuke comp. When I send my nuke comps containing cryptomatte to Deadline to render, on the first frame on each task (task is usually set to 10 or 20 frames) I get a cryptomatte error and the comp ignores the masks generated by cryptomatte:
ERROR: Cryptomatte1.Expression_key.expr0: Nothing named 'VRayCryptomatte08.red' in '((VRayCryptomatte00.red == -177.727798462) ? VRayCryptomatte00.green : 0.0) + ((VRayCryptomatte00.blue == -177.727798462) ? VRayCryptomatte00.alpha : 0.0) + ((VRayCryptomatte01.red == -177.727798462) ? VRayCryptomatte01.green : 0.0) + ((VRayCryptomatte01.blue == -177.727798462) ? VRayCryptomatte01.alpha : 0.0) + ((VRayCryptomatte02.red == -177.727798462) ? VRayCryptomatte02.green : 0.0) + ((VRayCryptomatte02.blue == -177.727798462) ? VRayCryptomatte02.alpha : 0.0) +8u
Its strange as the rest of the frames in the tasks seem to render correctly, with the masks flashing off every 10 or 20 frames. The guys at Deadline have been looking into this but have been unable to figure it out and have asked if I can get someone from Cryptomatte in on the conversation to see if we can get to the bottom of it.
Thanks
Eoin

Hi @eoin-vstream,
Sorry for the slow response.
This is quite odd - we have had this problem in the past and have solved it with hidden channel knobs on the Cryptomatte nodes which ensure the channels are available when the script loads. Perhaps there's some reason those are not filled out?
One suggestion - in that nuke script, can you try pressing "force update all", this should ensure that the channels are filled out properly.

No problem, busy enough in here so I'm in the same boat.
We're using the stock Cryptomatte node, I haven't changed anything on it. "Force update all" does occasionally work but it still is a bit random, depending on the nuke script, some of them will render fine but the majority will show this error.
Using decryptomatte also works sometimes, but again, this has failed on some nuke scripts.
Thanks

Thanks. In your error above, you had the issue on "cryptomatte1". Next time it happens, if you could open the script, and copy and paste just that node into here, that might help.

set cut_paste_input [stack 0]
version 9.0 v8
push $cut_paste_input
add_layer {VRayCryptomatte00 VRayCryptomatte00.red VRayCryptomatte00.green VRayCryptomatte00.blue VRayCryptomatte00.alpha}
add_layer {VRayCryptomatte01 VRayCryptomatte01.red VRayCryptomatte01.green VRayCryptomatte01.blue VRayCryptomatte01.alpha}
add_layer {VRayCryptomatte02 VRayCryptomatte02.red VRayCryptomatte02.green VRayCryptomatte02.blue VRayCryptomatte02.alpha}
add_layer {VRayCryptomatte03 VRayCryptomatte03.red VRayCryptomatte03.green VRayCryptomatte03.blue VRayCryptomatte03.alpha}
add_layer {VRayCryptomatte04 VRayCryptomatte04.red VRayCryptomatte04.green VRayCryptomatte04.blue VRayCryptomatte04.alpha}
add_layer {VRayCryptomatte05 VRayCryptomatte05.red VRayCryptomatte05.green VRayCryptomatte05.blue VRayCryptomatte05.alpha}
add_layer {VRayCryptomatte06 VRayCryptomatte06.red VRayCryptomatte06.green VRayCryptomatte06.blue VRayCryptomatte06.alpha}
add_layer {VRayCryptomatte07 VRayCryptomatte07.red VRayCryptomatte07.green VRayCryptomatte07.blue VRayCryptomatte07.alpha}
Cryptomatte {
name Cryptomatte1
selected true
xpos 10803
ypos -1146
matteOnly true
matteOutput alpha
matteList Amyloidotic_Particle_HP_02_v_054
cryptoLayer VRayCryptomatte
expression "((VRayCryptomatte00.red == -177.727798462) ? VRayCryptomatte00.green : 0.0) + ((VRayCryptomatte00.blue == -177.727798462) ? VRayCryptomatte00.alpha : 0.0) + ((VRayCryptomatte01.red == -177.727798462) ? VRayCryptomatte01.green : 0.0) + ((VRayCryptomatte01.blue == -177.727798462) ? VRayCryptomatte01.alpha : 0.0) + ((VRayCryptomatte02.red == -177.727798462) ? VRayCryptomatte02.green : 0.0) + ((VRayCryptomatte02.blue == -177.727798462) ? VRayCryptomatte02.alpha : 0.0) + ((VRayCryptomatte03.red == -177.727798462) ? VRayCryptomatte03.green : 0.0) + ((VRayCryptomatte03.blue == -177.727798462) ? VRayCryptomatte03.alpha : 0.0) + ((VRayCryptomatte04.red == -177.727798462) ? VRayCryptomatte04.green : 0.0) + ((VRayCryptomatte04.blue == -177.727798462) ? VRayCryptomatte04.alpha : 0.0) + ((VRayCryptomatte05.red == -177.727798462) ? VRayCryptomatte05.green : 0.0) + ((VRayCryptomatte05.blue == -177.727798462) ? VRayCryptomatte05.alpha : 0.0) + ((VRayCryptomatte06.red == -177.727798462) ? VRayCryptomatte06.green : 0.0) + ((VRayCryptomatte06.blue == -177.727798462) ? VRayCryptomatte06.alpha : 0.0) + ((VRayCryptomatte07.red == -177.727798462) ? VRayCryptomatte07.green : 0.0) + ((VRayCryptomatte07.blue == -177.727798462) ? VRayCryptomatte07.alpha : 0.0) + ((VRayCryptomatte08.red == -177.727798462) ? VRayCryptomatte08.green : 0.0) + ((VRayCryptomatte08.blue == -177.727798462) ? VRayCryptomatte08.alpha : 0.0) + ((VRayCryptomatte09.red == -177.727798462) ? VRayCryptomatte09.green : 0.0) + ((VRayCryptomatte09.blue == -177.727798462) ? VRayCryptomatte09.alpha : 0.0) + 0"
keyedName ""
previewExpression0 "((mantissa(abs(VRayCryptomatte00.red)) * 1 % 0.25) * VRayCryptomatte00.green + (mantissa(abs(VRayCryptomatte00.blue)) * 1 % 0.25) * VRayCryptomatte00.alpha + (mantissa(abs(VRayCryptomatte01.red)) * 1 % 0.25) * VRayCryptomatte01.green + (mantissa(abs(VRayCryptomatte01.blue)) * 1 % 0.25) * VRayCryptomatte01.alpha)"
previewExpression1 "((mantissa(abs(VRayCryptomatte00.red)) * 16 % 0.25) * VRayCryptomatte00.green + (mantissa(abs(VRayCryptomatte00.blue)) * 16 % 0.25) * VRayCryptomatte00.alpha + (mantissa(abs(VRayCryptomatte01.red)) * 16 % 0.25) * VRayCryptomatte01.green + (mantissa(abs(VRayCryptomatte01.blue)) * 16 % 0.25) * VRayCryptomatte01.alpha)"
previewExpression2 "((mantissa(abs(VRayCryptomatte00.red)) * 64 % 0.25) * VRayCryptomatte00.green + (mantissa(abs(VRayCryptomatte00.blue)) * 64 % 0.25) * VRayCryptomatte00.alpha + (mantissa(abs(VRayCryptomatte01.red)) * 64 % 0.25) * VRayCryptomatte01.green + (mantissa(abs(VRayCryptomatte01.blue)) * 64 % 0.25) * VRayCryptomatte01.alpha)"
previewExpression3 ""
previewChannel none
in00 VRayCryptomatte00
in01 VRayCryptomatte01
in02 VRayCryptomatte02
in03 VRayCryptomatte03
in04 VRayCryptomatte04
in05 VRayCryptomatte05
in06 VRayCryptomatte06
in07 VRayCryptomatte07
}

Ah, I see what's happening. You have 10 layers of Cryptomatte (for 20 objects per pixel), but we're only storing the first 8 in our channel ports (which are there to avoid this exact issue).
It's a bug on our side, but can work around it by rendering less Cryptomatte depth.

Hi Jonah,
That's a handy solution, I had been putting the number of levels up at max
as we were getting some artifacts along the outlines. So should I set the
num levels to 8 or to 16?
Thanks
Eoin Coakley
Pipeline Manager
http://www.vstream.ie/
https://www.facebook.com/vStream/
https://www.facebook.com/vStream/ https://twitter.com/vstream
https://www.linkedin.com/company/vstream
<EMAIL_ADDRESS>www.vstream.ie
On Sat, Nov 17, 2018 at 4:36 PM jonahfriedman<EMAIL_ADDRESS>wrote:

Ah, I see what's happening. You have 10 layers of Cryptomatte (for 20
objects per pixel), but we're only storing the first 8 in our channel ports
(which are there to avoid this exact issue).
It's a bug on our side, but can work around it by rendering less
Cryptomatte depth.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Psyop/Cryptomatte/issues/95#issuecomment-439629841,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AjpuJkgJFIN-hMpX1Qtb9mbklXD6w7xNks5uwDsXgaJpZM4Xzcdn
.

Sorry for the lack of response to the last question. Num levels to 8 will work better for now. I'm guessing the artifacts are probably not due to the depth setting, but I could be wrong (6 is almost always enough).
In the next release, it'll only use the maximum it can store safely, and I'm increasing that to 12. As a result, if you set it to 16 it'll only use 12 anyway. We should look at having that set dynamically as well.

Sorry for the lack of response to the last question. Num levels to 8 will work better for now. I'm guessing the artifacts are probably not due to the depth setting, but I could be wrong (6 is almost always enough).
In the next release, it'll only use the maximum it can store safely, and I'm increasing that to 12. As a result, if you set it to 16 it'll only use 12 anyway. We should look at having that set dynamically as well.

We have the same issue here, you do  mention a next release! Are there any plans to fix this, or can I even pay you to get this fixed? We are working on a small title and the crash on deadline really is a pain

This is fixed in version 1.2.4. Thanks for your patience!
It now only uses as many layers as it can actually store safely (which is up to 24).

Hi Jonah,
I have precisely the same issue. We are using Criptomattes in Nuke. They have been rendered in Cinema4D with Redshift. I had updated to version 1.2.4 but the issue sill here. There isn't any issue when we rendering lolcaly, the problem is only when we send the renders to our farm through Deadline:
Error: >>> [15:32.33] ERROR: BUILDINGS1.Expression_key.expr0: Nothing named 'CryptoUserObjectID08.red' in '((CryptoUserObjectID00.red == 1.48445544448e+11) ? CryptoUserObjectID00.green : 0.0) + ((CryptoUserObjectID00.blue == 1.48445544448e+11) ? CryptoUserObjectID00.alpha : 0.0) + ((CryptoUserObjectID01.red == 1.48445544448e+11) ? CryptoUserObjectID01.green : 0.0) + ((CryptoUserObjectID01.blue == 1.48445544448e+11) ? CryptoUserObjectID01.alpha : 0.0) + ((CryptoUserObjectID02.red == 1.48445544448e+11) ? CryptoUserObjectID02.green : 0.0) + ((CryptoUserObjectID02.blue ==X_
Any ideas what could be the problem?
Many thanks.

Hey Jonah :)
We are also having the exact same issue as Kamensirashki above. Local scene is fine. Deadline scene randomly gives us that error. We're on 1.2.4 also. The fact it doesn't happen to all our scenes and also some scenes will render ok in some instances is puzzling us.
Any input is appreciated, we are also looking into deadline on our end.
Cheers!
Andy

Hi Andy and @kamensirashki,
Is it possible that this was a comp created in an older version? If so, I'd suggest using "force update all" to ensure the channels are properly pre-registered.
The Cryptomatte gizmo has some invisible channel knobs that are updated with the required channels, and if that doesn't happen or there aren't enough, it causes problems. If you upgrade there are new channel knobs and the update functions populate them correctly (or should, at least), but that won't happen unless triggered somehow.
In @kamensirashki's error message, it says that nothing is named 'CryptoUserObjectID08', because previously there were only knobs 0-7. Now there are 12 (0-11), and the keying expression does not use more channels than it can safely.
Please let me know if "force update all" fixes it, otherwise I'll reopen this and we should try to get a reproduction.

Hey thanks Jonah, we’ll try the “force update all” and get back to you.


Should enable found rows flag

See also spring-projects/spring-data-r2dbc#253 .
Enable FOUND_ROWS, use the count of found/touched rows for affected rows instead of really changed rows.

It is solved by d5af2914cb35534d2b5e30262b6e8095fed63020 , and published to 0.8.0.BUILD-SNAPSHOT and 0.8.1.BUILD-SNAPSHOT, target version is 0.8.1.RELEASE.


Not working with a wacom pen / tablet

Tested with the mouse and the package works, but not with the Wacom pen.
Mac OS El Capitan
Atom 1.10.2

@afkatja I'm experiencing something similar. Although it does work, the cursor gets stuck, or multiple clicks (on different lines) accumulate. A quick click on the regular mouse releases the stuck cursor(s). It's as if a regular click is registered as option-click sometimes, completely random.
Is this something you experienced? I've been searching the culprit of this behavior, and it looks like I found it, by disabling this package.

For me it works if I select ExpressKeys: **Default** for Application > All other.
Did this for the four keys of my Intuos


Running the CPP project

May I ask if it's possible to add a CPP project that can be managed, built, compiled, run, and debugged using CMake or other tools? I noticed that your settings only include Python and Rust, but it doesn't seem like C++is available because I haven't configured it for a long time. Could you please help me add the configuration

Yes, of course. In fact, the reson why I didn't customize shortcuts for cpp is that I prefer to use shell scripts to do all of those repeatable works. For example, in Windows, I use PowerShell scripts to automate it. That would also be very convient with the help of shell autocplemention capabilities. If you want to have a try, please take a look at my another repo: https://github.com/fanlumaster/leetcode-records/tree/master/Cpp, with llaunch.ps1 inside the folder, just run it in the commandline, it will build, compile and run binary files according to CMakeLists.

My system uses the arch Linux system, so I would choose the llaunch.sh file. However, how should I configure and use it so that it can display the results of running the cpp file

My system uses the arch Linux system, so I would choose the llaunch.sh file. However, how should I configure and use it so that it can display the results of running the cpp file

Just substitute variables in CMakeLists's line which starts with add_executable with your own cpp files. Then you could just run the llaunch.sh with your shell, e.g. zsh or fish. The output of the program will display at the end of the printed messages on commandline. BTW, these shell scripts are already tested on my Arch latest version . If you encounter some unexpected situations, ensure that you have prepared all prerequisites, e.g. CMake, gcc or llvm/clang.

So I would like to ask, do you need to include your llaunch. sh in each CPP project? Otherwise, how can the llaunch. sh script retrieve and view the CMakeLists.txt in the project directory to see if it exists?

So I would like to ask, do you need to include your llaunch. sh in each CPP project? Otherwise, how can the llaunch. sh script retrieve and view the CMakeLists.txt in the project directory to see if it exists?

You said it. However, there are also some other solutions to simplify this, for example, to maintain a project template repo on github, so we could reuse it when creating new projects next time.

I can add your contact information (WeChat or QQ). It's a bit troublesome here. I just joined Neovim and would like to ask you some questions

Feel free to contact me by QQ, while telegram is better. You could find some of my contact infos on my GitHub profile or blog About page.


[BUG] A bug while fine-tuning the model by iteratively training and evaluating using a sliding time window

Bug description
I find out that there is no label in valid.parquet.
Steps/Code to reproduce bug
While I m running this code:
start_time_window_index = 1
final_time_window_index = 4
for time_index in range(start_time_window_index, final_time_window_index):
# Set data
time_index_train = time_index
time_index_eval = time_index + 1
train_paths = glob.glob(os.path.join(OUTPUT_DIR, f"{time_index_train}/train.parquet"))
eval_paths = glob.glob(os.path.join(OUTPUT_DIR, f"{time_index_eval}/valid.parquet"))
# Train on day related to time_index
print('*'20)
print("Launch training for day %s are:" %time_index)
print(''20 + '\n')
trainer.train_dataset_or_path = train_paths
trainer.reset_lr_scheduler()
trainer.train()
trainer.state.global_step +=1
# Evaluate on the following day
trainer.eval_dataset_or_path = eval_paths
train_metrics = trainer.evaluate(metric_key_prefix='eval')
print(''20)
print("Eval results for day %s are:\t" %time_index_eval)
print('\n' + ''*20 + '\n')
for key in sorted(train_metrics.keys()):
print(" %s = %s" % (key, str(train_metrics[key])))
wipe_memory()
the error appear:

Launch training for day 1 are:

/usr/local/lib/python3.10/dist-packages/transformers/optimization.py:391: FutureWarning: This implementation of AdamW is deprecated and will be removed in a future version. Use the PyTorch implementation torch.optim.AdamW instead, or set no_deprecation_warning=True to disable this warning
warnings.warn(
{'train_runtime': 4.0234, 'train_samples_per_second': 3817.691, 'train_steps_per_second': 14.913, 'train_loss': 10.525657145182292, 'epoch': 60.0}
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 60/60 [00:04<00:00, 14.92it/s]
TrainOutput(global_step=60, training_loss=10.525657145182292, metrics={'train_runtime': 4.0234, 'train_samples_per_second': 3817.691, 'train_steps_per_second': 14.913, 'total_flos': 0.0, 'train_loss': 10.525657145182292})
Traceback (most recent call last):
File "", line 17, in
File "/usr/local/lib/python3.10/dist-packages/transformers/trainer.py", line 2932, in evaluate
output = eval_loop(
File "/usr/local/lib/python3.10/dist-packages/transformers4rec/torch/trainer.py", line 515, in evaluation_loop
metrics_results_detailed = model.calculate_metrics(preds, labels)
File "/usr/local/lib/python3.10/dist-packages/transformers4rec/torch/model/base.py", line 616, in calculate_metrics
head.calculate_metrics(
File "/usr/local/lib/python3.10/dist-packages/transformers4rec/torch/model/base.py", line 453, in calculate_metrics
task.calculate_metrics(
File "/usr/local/lib/python3.10/dist-packages/transformers4rec/torch/model/prediction_task.py", line 489, in calculate_metrics
result = metric(predictions, targets)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torchmetrics/metric.py", line 301, in forward
self._forward_cache = self._forward_full_state_update(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torchmetrics/metric.py", line 316, in _forward_full_state_update
self.update(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torchmetrics/metric.py", line 465, in wrapped_func
update(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/transformers4rec/torch/ranking_metric.py", line 56, in update
metric = self._metric(
File "/usr/local/lib/python3.10/dist-packages/transformers4rec/torch/ranking_metric.py", line 137, in _metric
if rel_indices.shape[0] > 0:
IndexError: tuple index out of range
Expected behavior

I expected there have label for evaluation
Environment details

Transformers4Rec version: 23.12
Platform:Docker
Python version:3.10
Huggingface Transformers version:4.27.1
PyTorch version (GPU?):2.1.0a0+4136153
Tensorflow version (GPU?):

Additional context

@hk63560892 please share the link to the example notebook you are running? and what docker image you are using?

link:
https://github.com/NVIDIA-Merlin/Transformers4Rec/blob/main/examples/tutorial/03-Session-based-recsys.ipynb
docker:
docker run -it --gpus device=0 -p 8000:8000 -p 8001:8001 -p 8002:8002 -p 8888:8888 -v <path_to_data>:/workspace/data/  nvcr.io/nvidia/merlin/merlin-pytorch:23.XX
thankyou!!

@hk63560892 what docker image tag you are using? which 23.XX you are using? we have several ones start with 23. please be specific.
also note that the tutorials have not been maintained for a while so you can refer to other example notebooks in the examples directory.


Nice-to have - ignore accentuation, as the translation is not performed correctly if the user forgets the score

This issue should be handled by the API. We can remove it from this project.


shuffle play

Is there a way to shuffle play a playlist?
I cannot find it.

Shuffle the playlist s the leftmost icon on the now playing bar. I think it's up and down arrow. Random play is also down there somewhere. They should all have mouse-over descriptions.

Sorry! I mean right-most icon!

Found it. Odd. That one is obvious.
I could have sworn I didn't see it on the phone.

It should be there for all devices, I think it gets a bit squashed down there on small screen devices so we could look at moving them elsewhere. Please create an issue in the webclient repo if you do find a problem on your device.

Will double check, thanks!


exec: unrecognised option '-type'

Hi,
When I execute command
solidity-docgen .\smartcontract\ .\smartcontract\contracts\ .\smartcontract\docs\
I get this error message
exec: unrecognised option '-type'

C:\Users\wild\AppData\Roaming\npm\node_modules\solidity-docgen\lib\index.js:133
    throw new Error(['Command line operation failed with code ' + commandOutput.code + '.', 'Standard error output: ' + commandOutput.stderr].join('\n'));
    ^

Error: Command line operation failed with code 1.
Standard error output: unrecognised option '-type'

    at handleErrorCode (C:\Users\wild\AppData\Roaming\npm\node_modules\solidity-docgen\lib\index.js:133:11)
    at parseProject (C:\Users\wild\AppData\Roaming\npm\node_modules\solidity-docgen\lib\index.js:123:3)
    at exports.default (C:\Users\wild\AppData\Roaming\npm\node_modules\solidity-docgen\lib\index.js:20:23)
    at Command.program.version.arguments.option.action (C:\Users\wild\AppData\Roaming\npm\node_modules\solidity-docgen\bin\solidity-docgen:32:5)
    at Command.listener (C:\Users\wild\AppData\Roaming\npm\node_modules\solidity-docgen\node_modules\commander\index.js:315:8)
    at Command.emit (events.js:159:13)
    at Command.parseArgs (C:\Users\wild\AppData\Roaming\npm\node_modules\solidity-docgen\node_modules\commander\index.js:653:12)
    at Command.parse (C:\Users\wild\AppData\Roaming\npm\node_modules\solidity-docgen\node_modules\commander\index.js:474:21)
    at Object.<anonymous> (C:\Users\wild\AppData\Roaming\npm\node_modules\solidity-docgen\bin\solidity-docgen:44:9)
    at Module._compile (module.js:660:30)

Repository I am trying to run it on is here:
https://github.com/robertmagier/Viddo
Any ideas ? Thank you.

I am running into the same problem on Windows, I think it has to do with windows because I got solidity-docgen working on OSX.
In addition, your project configuration shouldn't matter unless you are importing smart contract packages (openzeppelin contracts).
If you have a linux or mac, I highly recommend testing it on those systems.

Unfortunately I don't have Linux or Mac. Just Windows. Somehow I can't get any documentation solidity generator running. Doxity also fails with truffle.

@robertmagier, you could try using a tool like solmd or socs to create markdown-based documentation per contract and then build with documentation generation tools such as docusaurus or vuepress.

It is using a sub shell to collect the *.sol files in that will fail on windows https://github.com/OpenZeppelin/solidity-docgen/blob/f665fd4dae98924f7a0e3154da34327baa1b7b2f/lib/index.js#L122

Thanks for reporting @robertmagier! This is the same issue as #22. We've released v0.2 in alpha which fixes this issue. Please see #23 to learn more about the new version.


Sublist type clarification

One of the test cases on in the sublist exercise relates to verifying 'huge sublist not in huge list'.
Maybe the way I have implemented the rest of the functionality for the exercise is not optimal but my solution of traversing a list to verify a sublist makes this test very slow. I did not impose the restriction of the lists being lists of numbers. If I made the exercise treat only numbered lists I believe writing a more optimal check for this test case would be easier.
Would it make sense therefore to specify that this exercise should be for dealing with numbered lists only?
I know the README has examples showing numbered lists but following the list-ops exercise I thought this sublist exercise should be for lists of any type until I hit this particular test case.

As long as your language does allow to do the exercise on a generic list
type you should be able to also restrict it to items which are comparable
by equality. So I do not see anything that makes the test case easier when
specializing the list to a certain type. But maybe it would be a little bit
more easier to reason when we knew which track you have this feeling.
Am 14.07.2016 11:16 schrieb "Sachin Patel"<EMAIL_ADDRESS>
One of the test cases on in the sublist exercise relates to verifying
'huge sublist not in huge list'.
Maybe the way I have implemented the rest of the functionality for the
exercise is not optimal but my solution of traversing a list to verify a
sublist makes this test very slow. I did not impose the restriction of the
lists being lists of numbers. If I made the exercise treat only numbered
lists I believe writing a more optimal check for this test case would be
easier.
Would it make sense therefore to specify that this exercise should be for
dealing with numbered lists only?
I know the README has examples showing numbered lists but following the
list-ops exercise I thought this sublist exercise should be for lists of
any type until I hit this particular test case.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/exercism/x-common/issues/293, or mute the thread
https://github.com/notifications/unsubscribe/AADmR01aCszKuDvVFfK3vIGbnlHbFFyAks5qVf6JgaJpZM4JMPCB
.

On the Elixir track. Could just be that I have not thought through the different ways to verify if a large candidate sublist is in a large list.
I agree the exercise should be able to operate on lists of any type that allows comparison through equality.

Alternate thought: remove the large sublist test.
Our test suites are unit tests. And the large sublist test isn't there as a unit test, it's there as a performance test. We talked about this recently in a Rust PR: https://github.com/exercism/xrust/pull/147#issuecomment-229440434

I found my solution was not performing well and for the said test case would take a very long time. I do not believe removing the test case is a very good idea. Instead I will rewrite my solution to be more optimised.
My original solution is here: http://exercism.io/submissions/130efb6e87b841caa4c8fbbe0dfe1a7c

Well, the large sublist test was not added in #227, and it is true that the data only deals with numbers. If a note should be added about generics, let's open an issue about that. For any tracks that still test large sublists, discussion should happen in those specific tracks about whether they should be kept.


Add ability to specifiy variables when importing config.

It would be nice to have a way to specify parameters or variables at run time instead of having them hardcoded in the POSHOrigin module.
Expected Behavior

When running Get-PoshOriginConfig, it would be nice to have an -Arguments parameter which accepts a hash table of parameters to inject into the config file. If we take terraform for example, you can run terraform apply -var foo=bar. An equivalent in POSHOrigin would be to run $config = Get-POSHOriginConfig -Path '.\module.ps1' -Arguments @{foo='Bar'}
Current Behavior

At the moment, I've worked around this by specifying global variables which are used in my POSHOrigin modules and then running Get-POSHOriginConfig. It works, but global variables...

I like the idea @ThePSAdmin.
The way to accomplish this right now is with POSHOrigin modules. They work very similar to (and were inspired by) Terraform modules and allow you to accept arbitrary parameters into the module. You can then use these parameters to construct the resource you need.


No Unity 2020.2.4 in Docker Hub

Unity 2020.2.4 is out for some days now, But I can't find it in Docker Hub. Not sure how those images generated but maybe something failed?

Jst had a similar discussion on discord;

Hi, guys! Is there any way to force build images for Unity 2020.2.4 ?? Would like to switch to this version of the editor in my project

We have some failed jobs for previous versions which are blocking new versions right now. We will have a look at it tonight.

Out of curiosity, usually how fast new versions get uploaded as docker images?

Sometimes it is even published before unity creates a release post for it. We crawl their website and enqueue jobs as soon as a new version is detected every 15 minutes.
But lately we had some troubles building some of the previous versions with v0.9 so after several retries, the jobs are stopped to give us some time to fix the repository and prevent releasing new possibly broken images.
I'll try to fix this tonight.

Any news on this? We have also just updated to 2020.2.x and now our CI is blocked as we can't update the docker image on which our build step is running :(

I'm currently working on an interface that allows us to debug builds that are stuck. The overview part of our images is already in. The button-to-be to unstuck specific builds requires further development.
Please allow a few more days to further develop the debugging feature (so we don't have to unstuck builds manually every time). In the meantime there are 2020.2.x images available, just not the latest one yet.

Just a quick suggestion, as we have multiple issues being reported for the different missing versions; can we have a central ticket to track the overarching problem and the fix for that? That must prevent new tickets from popping up for other versions and that way we communicate better that the issue is worked on.

It's a good suggestion, but at the same time it will only create more noise. We expect to be fixing them a lot faster in the future either way.
We created an overview page that can be found here
I talked about manually debugging workflows that are stuck. We have build some functionality on top of mentioned overview, that allows admins to restart builds. It's in review at the time of writing.
Frontend part: https://github.com/game-ci/documentation/pull/110
Backend part: https://github.com/game-ci/versioning-backend/pull/31
As for the build that is stuck currently. It needs a fix.

It's running.

Closing this issue. Thanks for bringing it up!


my eggs count is wrong

i have 9 eggs, but shown 12/9

Thanks. I'll try to understand why but it currently does not happend with my test account.

if you can test it again with latest version (1.1.0)

thanks.
now at version 1.1.0, it's ok.


documentation improvements for new users

Hello from Gophercon! I'm a new Dep user/contributor, so decided to work on the first-run experience in terms of documentation.
What does this do / why do we need it?
See the commit messages for details (I tried to keep each one small/discrete), but the high-level overview is:

Moved the FAQ under the docs/ folder, to have one less file at the top level

This could probably be done with other files, but I didn't want to get too carried away.

Split and expand the Usage information into initial setup and day-to-day interactions with Dep
Don't encourage adding/changing of dependencies through the CLI directly
Minor formatting fixes

What should your reviewer look out for in this PR?
Whether the updated instructions are still recommended/accurate.
Do you need help or clarification on anything?
I don't think so, but I don't know what I don't know.
Which issue(s) does this PR fix?
None.

I'm a federal employee, so getting the CLA signed may not be quick 😕 Working it up the chain, but would love feedback in the meantime.

@carolynvs Went ahead and added some of the things we talked about in person. Thanks for the help!

@afeld oh, also - there's no way for you to sign the CLA as an individual?

Realizing that, while I was at Gophercon in my official capacity, I made these contributions as myself. Signed the contributor agreement as an individual, and rebased the commits to use my personal instead of work email. Hopefully we'll get the CLA signed as an organization so contributions can happen more seamlessly in the future. Good to go!

@afeld I would love to merge this but some recent commits conflict with this PR. Let me know if you'd like to resolve them yourself, or I can do that for you. Happy to help either way.

Rebased, and took care of the new suggestions.

YOU ARE AWESOME! 🎉 Thanks for the much needed documentation.

I've gone added follow-up issues #876 and #877.


[sqlpp11]update to 0.61

Library name: sqlpp11
New version number: 0.61
Other information that may be useful (release notes, etc...)
Massive refactor and cleanup release
The changes below require git/build rules to be changed.
I am expecting the result to be considerably simpler, though.
It will also be much simpler to make changes to the library or
individual connectors now (most of the misc changes below would
have been much harder to do with the former multiple repos).
Some of the misc changes below might break existing code in very
rare cases (I am aware of exactly one).
Happy to help fixing those :-)

Fixed by #25458


Invoke-TppRestMethod not working in VenafiSession class.

Operating System: Windows 10
VenafiPS version: 4.1.2
PowerShell version: 5.1

# Steps to reproduce

Write-Verbose "Get APIKey and connect to TPP Server."
New-VenafiSession -Server $TPPServer -Credential $TPPCredential

# Expected behavior

A new API key is obtained by lines 138-143 of VenafiSession.ps1:
        $response = Invoke-TppRestMethod @params
        $this.Key = [pscustomobject] @{
            ApiKey     = $response.ApiKey
            Credential = $Credential
            Expires    = $response.ValidUntil
        }

# Actual behavior

Error:
WARNING: Key-based authentication will be deprecated in release 21.4 in favor of token-based.  Get started with token authentication today, https://docs.venafi.com/Docs/current/TopNav/Content/SDK/AuthSDK/t-SDKa-Setup-OAuth.php.
Invoke-TppRestMethod : The term 'Invoke-TppRestMethod' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Program Files\WindowsPowerShell\Modules\VenafiPS\4.1.2\Classes\VenafiSession.ps1:138 char:21
+         $response = Invoke-TppRestMethod @params
+                     ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Invoke-TppRestMethod:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

NOTE: Changing line 138 to 'Invoke-VenafiSession' fixes the issue.

Nice find.  This is an issue on v5 and not v7.


Not working on Raspberry pi4 with Bullseye?

Hi,
I'm trying to install timeseriesadmin on a Raspberry Pi4 with Bulleye to monitor a InfluxDB database.
I get this error:
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested.
Is there a solution?
Thx,
Peter.

Hi @pvdlind,
How do you install timeseriesadmin? I assume that this is through Docker then you should be able to select the right image for your platform that is https://hub.docker.com/layers/timeseriesadmin/timeseriesadmin/timeseriesadmin/0.1.13-multiplatform-dev.0/images/sha256-b38a70d59bf26ada83c69e77ba21fdbb1ef9aa31af53db3075d4982c94504aae?context=explore
Please let me know if it helps.
You can also browse https://github.com/timeseriesadmin/timeseriesadmin/issues/480 and possibly ask there as it seems that  it should be working on Raspberry pi4.


Revert 981 only setup py

@djrtwo @protolambda
To make sure I understand it correctly, #981 was reverted because it was merged before fully review process? And I should open another PR for it?
@protolambda

installs local module requirements, in a fresh copy (make clean or fresh git clone)

Do you mean in CI? It seems another issue, not related to setup.py route, correct?

doesn't move the requirements to the full test_libs folder. That's just a hack to avoid using local dependencies. I prefer to separate debug/util packages from the pyspec module.

Do you mean my latest comment:
https://github.com/ethereum/eth2.0-specs/pull/981#issuecomment-485638169: IMO the better solution may be using one single setup.py for all test_libs sub packages. What do you think about it?
Continue the discussion on #981, I'm still pro-single setup.py in test_libs than what #981 was (Installing config_helpers separately).
If we using one single setup.py in test_libs, we can still make deps to:
deps = {
    'config_helpers': [
        "ruamel.yaml==0.15.87",
    ],
}
deps += {
    'pyspec': [
        "eth-utils>=1.3.0,<2",
        "eth-typing>=2.1.0,<3.0.0",
        "pycryptodome==3.7.3",
        "py_ecc>=1.6.0",
    ],
    'pyspec-test': [
        "pytest>=3.6,<3.7",
    ] + deps['config_helpers'],
    ...
}

deps += {
    'pyspec-dev': 'pyspec' + ''pyspec-test'
}

And install it with pip3 install -e .[pyspec] or pip3 install -e .[pyspec-test].
I see there's more value in organizing all dependencies in one file:

Easier to manage the dependencies. For example, both gen_base and config_helpers are depending on ruamel.yaml==0.15.87, you can update it once in the one-single setup.py.
If we want to release it in pypi with spec release cycle, one-single setup.py makes releasing easier.
Not a hacky way. :)

don't trust CI for an upgrade, it caches things.

Right, that is a nightmare. Next time we can probably update the version: https://circleci.com/docs/2.0/caching/#clearing-cache when updating without changing checksum file.

@hwwhww Will continue discussion in #981


feat(52883): Organize Imports doesn't treat exports the same way and merges groups

Fixes #52883
Fixes #50246

I'm not sure if it's an extension of this bug or not, but you may also want to try organizing the imports in Herebyfile.mjs; there's some oddity there where exports are moving even though I think this same code should consider them to be in different blocks and not move them. Here's the diff (even with this PR applied):
diff --git a/Herebyfile.mjs b/Herebyfile.mjs
index 2ac34dfde4..4c6a7cfafb 100644
--- a/Herebyfile.mjs
+++ b/Herebyfile.mjs
@@ -350,6 +350,10 @@ const { main: tsc, watch: watchTsc } = entrypointBuildTask({
     mainDeps: [generateLibs],
 });
 export { tsc, watchTsc };
+export { services, watchServices };
+export { tsserver, watchTsserver };
+export { lssl, watchLssl };
+export { tests, watchTests };

 const { main: services, build: buildServices, watch: watchServices } = entrypointBuildTask({
@@ -363,7 +367,6 @@ const { main: services, build: buildServices, watch: watchServices } = entrypoin
     mainDeps: [generateLibs],
     bundlerOptions: { exportIsTsObject: true },
 });
-export { services, watchServices };

 export const dtsServices = task({
     name: "dts-services",
@@ -387,7 +390,6 @@ const { main: tsserver, watch: watchTsserver } = entrypointBuildTask({
     output: "./built/local/tsserver.js",
     mainDeps: [generateLibs],
 });
-export { tsserver, watchTsserver };

 export const min = task({
@@ -416,7 +418,6 @@ const { main: lssl, build: buildLssl, watch: watchLssl } = entrypointBuildTask({
     mainDeps: [generateLibs],
     bundlerOptions: { exportIsTsObject: true },
 });
-export { lssl, watchLssl };

 export const dtsLssl = task({
     name: "dts-lssl",
@@ -454,7 +455,6 @@ const { main: tests, watch: watchTests } = entrypointBuildTask({
         }
     },
 });
-export { tests, watchTests };

 export const runEslintRulesTests = task({

Paranoid check:
@typescript-bot user test tsserver
@typescript-bot test tsserver top100
@typescript-bot perf test this


Add a timelapse module

Add a timelapse dedicated to creating timelapse from common satellite imagery, e.g., Landsat, Sentinel, MODIS, ERA5.
References:

https://github.com/initze/GEE_visualizations/blob/main/geemap_ERA5.ipynb
https://twitter.com/i_nitze/status/1455975718463184902

Another dataset for consideration

MODIS Gap filled Long-term Land Surface Temperature Daily (2003-2020)


Windows build failed: The C compiler identification is unknown

build script output:
error: failed to run custom build command for `libgit2-sys v0.6.19`

Caused by:
  process didn't exit successfully: `C:\Users\Jethro\cargo\target\debug\build\libgit2-sys-f460fc1fe03da529\build-script-build` (exit code: 101)
--- stdout
running: "cmake" "C:\\Users\\Jethro\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\libgit2-sys-0.6.19\\libgit2" "-G" "Visual Studio 14 2015" "-Thost=x64" "-Ax64" "-DSTATIC_CRT=OFF" "-DBUILD_SHARED_LIBS=OFF" "-DBUILD_CLAR=OFF" "-DCMAKE_INSTALL_PREFIX=C:\\Users\\Jethro\\cargo\\target\\debug\\build\\libgit2-sys-43dc27a4e44007d6\\out" "-DCMAKE_C_FLAGS= /GL- /IC:\\Users\\Jethro\\cargo\\target\\debug\\build\\libssh2-sys-6a0038495340baf9\\out\\include /DGIT_SSH /nologo /MD" "-DCMAKE_C_FLAGS_DEBUG= /GL- /IC:\\Users\\Jethro\\cargo\\target\\debug\\build\\libssh2-sys-6a0038495340baf9\\out\\include /DGIT_SSH /nologo /MD" "-DCMAKE_CXX_FLAGS= /nologo /MD" "-DCMAKE_CXX_FLAGS_DEBUG= /nologo /MD" "-DCMAKE_BUILD_TYPE=Debug"
-- The C compiler identification is unknown
-- Configuring incomplete, errors occurred!
See also "C:/Users/Jethro/cargo/target/debug/build/libgit2-sys-43dc27a4e44007d6/out/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/Jethro/cargo/target/debug/build/libgit2-sys-43dc27a4e44007d6/out/build/CMakeFiles/CMakeError.log".

--- stderr
fatal: Not a git repository (or any of the parent directories): .git
CMake Error at CMakeLists.txt:14 (PROJECT):
  No CMAKE_C_COMPILER could be found.

CMakeOutput.log:
The system is: Windows - 10.0.17134 - AMD64

CMakeError.log:
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler:
Build flags: ;/GL-;/IC:\Users\Jethro\cargo\target\debug\build\libssh2-sys-6a0038495340baf9\out\include;/DGIT_SSH;/nologo;/MD
Id flags:

The output was:
1
Microsoft (R) Build Engine version 14.0.25420.1
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 2019-08-02 20:33:28.
Project "C:\Users\Jethro\cargo\target\debug\build\libgit2-sys-43dc27a4e44007d6\out\build\CMakeFiles\3.7.2\CompilerIdC\CompilerIdC.vcxproj" on node 1 (default targets).
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(57,5): error MSB8020: The build tools for host=x64 (Platform Toolset = 'host=x64') cannot be found. To build using the host=x64 build tools, please install host=x64 build tools.  Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". [C:\Users\Jethro\cargo\target\debug\build\libgit2-sys-43dc27a4e44007d6\out\build\CMakeFiles\3.7.2\CompilerIdC\CompilerIdC.vcxproj]
Done Building Project "C:\Users\Jethro\cargo\target\debug\build\libgit2-sys-43dc27a4e44007d6\out\build\CMakeFiles\3.7.2\CompilerIdC\CompilerIdC.vcxproj" (default targets) -- FAILED.

Build FAILED.

"C:\Users\Jethro\cargo\target\debug\build\libgit2-sys-43dc27a4e44007d6\out\build\CMakeFiles\3.7.2\CompilerIdC\CompilerIdC.vcxproj" (default target) (1) ->
(PlatformPrepareForBuild target) ->
  C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(57,5): error MSB8020: The build tools for host=x64 (Platform Toolset = 'host=x64') cannot be found. To build using the host=x64 build tools, please install host=x64 build tools.  Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". [C:\Users\Jethro\cargo\target\debug\build\libgit2-sys-43dc27a4e44007d6\out\build\CMakeFiles\3.7.2\CompilerIdC\CompilerIdC.vcxproj]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.87

libssh2-sys built fine on the same configuration

libgit2-sys v0.6.19 — This version is several years old.  Can you try with the latest version?

I think I probably forgot to delete my Cargo.lock


Test circle orb

Needed access to secret environment variables
Supersedes https://github.com/GovStackWorkingGroup/bb-consent/pull/35
https://govstack-global.atlassian.net/browse/CON-94

It seems that the JSON format that's generated won't work. Had a chat with @dborowiecki about this.
Next steps haven't really been resolved. Maybe there's a converter script out there. Maybe we can get pytest-bdd to add support for the message format. Maybe the test harness API can add support for the json format.
Merging this for now, since other changes should align with this new setup.


StorageLoader: write JSON path for com.mailgun/recipient_unsubscribed/jsonschema/1-0-0

Migrated to https://github.com/snowplow/iglu-central/issues/542


Added Kapital DAO Token

Added Kapital DAO Token.
Root token (eth): 0x9625cE7753ace1fa1865A47aAe2c5C2Ce4418569
Child token (matic): 0x8e26032650a389BF9cf16C17C4cd605742f1ef8D
Let me know if you require any signatures or other verification. Thank you.

@py-zoid Withdrawals using the Polygon Wallet Bridge is failing. The console reports a "execution reverted: FxERC20ChildTunnel: NO_MAPPED_TOKEN" error. Do I need to also include the childTunnelAddress above?

@yaonam RootTunnelAddress should do just fine. Let me check and revert back to you on this.

@yaonam RootTunnelAddress should do just fine. Let me check and revert back to you on this.

Much appreciated.

@py-zoid Hope you had a great week. Have there been any updates?

Hey @yaonam Sorry for the delay in reply. After taking a look at our UI's codebase, the current bridge UI only supports the tokens mapped through the default FX tunnels. Custom tunnel support hasn't been added yet. We are in the process of updating our PoS bridge application. The support for these custom bridges will be added along with those updates. Have already added this task to our project board. Will provide you with a timeline for the new updates soon.


Add support for Modbus RTU

This simple solution will add support for Modbus RTU connections by adding a respective initialiser.

Thenk for your contribution. However, in my opinion it is not necessary to include limited RTU support.
Comments on the code.
The function signature should look as follows:
public init(device: String, baudRate: Int32, parity: Parity, byteSize: Int32, stopBits: Int32)

This will improve the readability of the code.
Parity enum implementation:
enum Parity: Character {
    case odd = "O"
    case even = "E"
    case none = "N"
    var charValue: Int8 { Int8(self.rawValue.asciiValue!) }
}


[IR] Fixed DCE to also look in DefDefs.

It turned out that the sieve of Eratosthenes test fail in BaseCodegenTest was caused by a bug in DCE. It eliminated a ValDef that was used only inside a DefDef, because it was not considering refs in DefDefs.

See the individual comments.

Sorry, but somehow I don't see any individual comments. Where are they?

Wrong PR (I am typing from my phone),I meant the name suffix PR.

Ah, OK!

WTF, the Flink tests timed out. Why are they suddenly taking twice as long then before?

WTF, the Flink tests timed out. Why are they suddenly taking twice as long then before?

I retriggered the build, and they passed now. I think it was just random instability of Travis.


bugfix: prevent infinite recursion

I don't have time to make a minimal reproduction but I was having an issue when using shadcn-svelte and this together.
If I had a shadcn-svelte popup open, and clicked on a button outside which traps focus into something else (using trap-focus-svelte), then the expected behavior is the shadcn-svelte popup closes and releases its own focus lock. Instead I assume shadcn-svelte kept its lock for a little while.
Anyway this fixes the website crashing for me. Maybe it's useful for someone else too

Thanks, sounds like shadcn and this library are continuously pulling focus between each other until the shadcn lock ends.
Your solution looks good. I'd like to reproduce it and play around with it myself but won't have time for at least another few days. Please feel free to ping me if I forget.


Test redirect to builds.hex.pm

Only opening this PR to test that un-updated setup-beam versions do not break when we introduce the redirect from repo.hex.pm to builds.hex.pm.

@paulo-ferraz-oliveira I don't understand the error message. Any idea what's failing?
I am only using this PR to test when we introduce the repo.hex.pm => builds.hex.pm redirect that older versions of setup-beam wont break. I will close this PR after the testing is done.

I think it's failing because https://github.com/erlef/setup-beam/blob/main/src/setup-beam.js#L431-L432 is not following redirects. That means that older versions of setup-beam will fail when we introduce the redirect unfortunately.

I think it's failing because https://github.com/erlef/setup-beam/blob/main/src/setup-beam.js#L431-L432 is not following redirects. That means older versions of setup-beam will fail when we introduce the redirect unfortunately.

Highly likely. Any suggestion on how we should move forward? We can consider a support window, for example, and update some of the tags in it...

Highly likely. Any suggestion on how we should move forward? We can consider a support window, for example, and update some of the tags in it...

I don't think there's much we can do, we just have to be vocal about the domain change and ask people to update their tooling. Most people should be using @v1 and they will be fine.
When setup-beam and asdf-elixir have been updated and released I will do a blog post to inform people.
It would be nice to update the code so that it will follow redirects in the future.

I think it would be good start looking at GitHub's toolkit for building actions. If we use https://github.com/actions/toolkit/tree/main/packages/http-client we get redirects for free and f we use https://github.com/actions/toolkit/tree/main/packages/tool-cache we get caching almost for free (which should also help with the other issue today about repo.hex.pm returning 502 errors).

I think it would be good start looking at GitHub's toolkit for building actions

Yeah, I've been wanting to do that for some time, now, but never get around to it.


Countdown just for minutes:seconds?

Hello,
I'm using vuejs 2 to develop an application, and wanted to incorporate your timer, which looks great! Quick questions:

Is it compatible with vuejs 2?
Is there a way to have the timer go just for minutes:seconds (i.e. without a full date)? Like my timer should count down 5 minutes and 30 seconds that a user can spend on the page, etc.
Thank you!

Yes! It is compatible with Vue.js 2.

Not sure, I will look into that.

Were you able to make it for just minutes and seconds?

what are the formats available? I need to countdown from 2 hours? So how I pass time as the argument? The example is only date

It should be working in any JavaScript date format :)

@raintears August 22, 2018 12:22:12


ROG Ally Boots to Black Screen

Describe the bug
After updating Bazzite to v3.60 on my ROG Ally, booting presents an infinite black screen. The fans can be heard but Steam gamemode doesn't load.
I've attempted the fixes on issues #593 and #1210 to no avail.

Ctrl+Alt+F2 at first led to a frozen terminal login screen but no longer does. End result is a blank screen. One thing I do remember is a short description of the system and it saying kernel 6.9.9. Idk if that's a clue of interference with the commit to force apple kernel 6.9.8?
Pressing ESC on boot, the regular startup is shown but ends with a blank terminal.
In both instances the only thing that has work is Ctrl+Alt+Delete and the system restarts.

What did you expect to happen?
Expected system to boot but leads to blank screen. Attempting to reach rollback or terminal leads to blank screen.
Output of rpm-ostree status
Cannot enter system to input command.

Hardware
Asus ROG Ally RC71L
Extra information or context
No response

Rollback (spam the escape key or equivalent on the ROG Ally) as soon as the Ally is rebooted.  You will see the GRUB menu and 2-4 Bazzite entries with (:0) and (:1) displayed after a date.  Select the 2nd entry with (:1) to go to your previous boot and then update again.  There was a kernel issue on the initial Bazzite 3.6.0 build.
Read more about rolling back system updates here


TabError and SyntaxError when running pipreqs in downloaded repos

After installing pipreqs and running it in the current directory, an error warns that the file is mixing tabs and spaces:
$ pip install pipreqs

Collecting pipreqs
  Using cached pipreqs-0.4.6-py2.py3-none-any.whl
Collecting docopt (from pipreqs)
Collecting yarg (from pipreqs)
  Using cached yarg-0.1.9-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): requests in /Applications/anaconda/envs/call-data/lib/python3.5/site-packages (from yarg->pipreqs)
Installing collected packages: docopt, yarg, pipreqs
Successfully installed docopt-0.6.2 pipreqs-0.4.6 yarg-0.1.9

You are using pip version 8.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

$ pipreqs .

ERROR: Failed on file: ./CallScore/classes/text_model.py
Traceback (most recent call last):
  File "/Applications/anaconda/envs/call-data/bin/pipreqs", line 11, in <module>
    sys.exit(main())
  File "/Applications/anaconda/envs/call-data/lib/python3.5/site-packages/pipreqs/pipreqs.py", line 271, in main
    init(args)
  File "/Applications/anaconda/envs/call-data/lib/python3.5/site-packages/pipreqs/pipreqs.py", line 225, in init
    extra_ignore_dirs = extra_ignore_dirs)
  File "/Applications/anaconda/envs/call-data/lib/python3.5/site-packages/pipreqs/pipreqs.py", line 86, in get_all_imports
    raise exc
  File "/Applications/anaconda/envs/call-data/lib/python3.5/site-packages/pipreqs/pipreqs.py", line 72, in get_all_imports
    tree = ast.parse(contents)
  File "/Applications/anaconda/envs/call-data/lib/python3.5/ast.py", line 35, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 431
    recall_divisor = positives[category]+false_negatives[category]
                                                                 ^
TabError: inconsistent use of tabs and spaces in indentation

And when running it in a different directory (another downloaded GitHub repo), it throws an error due to invalid syntax:
$ pipreqs .
ERROR: Failed on file: ./<filename>.py
Traceback (most recent call last):
  File "/Applications/anaconda/envs/get-requirements/bin/pipreqs", line 11, in <module>
    sys.exit(main())
  File "/Applications/anaconda/envs/get-requirements/lib/python3.5/site-packages/pipreqs/pipreqs.py", line 271, in main
    init(args)
  File "/Applications/anaconda/envs/get-requirements/lib/python3.5/site-packages/pipreqs/pipreqs.py", line 225, in init
    extra_ignore_dirs = extra_ignore_dirs)
  File "/Applications/anaconda/envs/get-requirements/lib/python3.5/site-packages/pipreqs/pipreqs.py", line 86, in get_all_imports
    raise exc
  File "/Applications/anaconda/envs/get-requirements/lib/python3.5/site-packages/pipreqs/pipreqs.py", line 72, in get_all_imports
    tree = ast.parse(contents)
  File "/Applications/anaconda/envs/get-requirements/lib/python3.5/ast.py", line 35, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 10
    print 'You must provide an host and index to backfill (ex: east_qa v5.cdr.201608). Exiting...'
                                                                                ^
SyntaxError: invalid syntax

This might be the fault of the Python scripts that pipreqs is analyzing, if those scripts are badly written, but I would like to troubleshoot and make sure I know what the issue is.

These are Python 3 syntax errors and not a feature (or bug) in pipreqs. If the errors are fixed, pipreqs will most likely work just fine.


Crash when running Flutter commands

Steps to Reproduce
Tried running flutter run in a project directory that appears to have been zipped up on a Mac. I don't expect this to necessarily work, but it might be nice with a better error message (instead of just the crash).
Logs
Flutter crash report; please file at https://github.com/flutter/flutter/issues.
command
flutter run
exception
FileSystemException: Cannot resolve symbolic links, path = '/usr/local/google/home/kasperl/Dart/Code/flutter' (OS Error: No such file or directory, errno = 2)
dart:io                                                           FileSystemEntity.resolveSymbolicLinksSync
package:flutter_tools/src/runner/flutter_command_runner.dart 354  _compareResolvedPaths
package:flutter_tools/src/runner/flutter_command_runner.dart 329  FlutterCommandRunner._checkFlutterCopy
package:flutter_tools/src/runner/flutter_command_runner.dart 160  FlutterCommandRunner.runCommand.<async>
dart:async                                                        _SyncCompleter.complete
package:flutter_tools/src/cache.dart 71                           Cache.lock.<async>
===== asynchronous gap ===========================
dart:async                                                        _Completer.completeError
package:flutter_tools/src/runner/flutter_command_runner.dart 189  FlutterCommandRunner.runCommand.<async>
dart:async                                                        _SyncCompleter.complete
package:flutter_tools/src/cache.dart 71                           Cache.lock.<async>
===== asynchronous gap ===========================
dart:async                                                        _asyncThenWrapperHelper
package:flutter_tools/src/runner/flutter_command_runner.dart      FlutterCommandRunner.runCommand
package:args/command_runner.dart 105                              CommandRunner.run.<fn>
dart:async                                                        Future.Future.sync
package:args/command_runner.dart 105                              CommandRunner.run
package:flutter_tools/src/runner/flutter_command_runner.dart 132  FlutterCommandRunner.run
package:flutter_tools/executable.dart 95                          main.<async>.<fn>.<async>
===== asynchronous gap ===========================
package:stack_trace                                               Chain.capture
package:flutter_tools/executable.dart 89                          main.<async>

flutter doctor
[✓] Flutter (on Linux, channel master)
    • Flutter at /usr/local/google/home/kasperl/Dart/flutter
    • Framework revision b00e6cda66 (4 hours ago), 2016-10-04 20:29:10
    • Engine revision 27d012a790
    • Tools Dart version 1.20.0-dev.5.0

[x] Android toolchain - develop for Android devices
    x Android Studio / Android SDK not found. Download from https://developer.android.com/sdk/
      (or visit https://flutter.io/setup/#android-setup for detailed instructions).

[✓] Atom - a lightweight development environment for Flutter
    • flutter plugin version 0.2.1
    • dartlang plugin version 0.6.6

[✓] Connected devices
    • Android SDK built for x86 • emulator-5554 • android-x86 (emulator)

Looks like this is "just" the result of having a wrong path to the Flutter dependency in pubspec.yaml.

Yeah. This was one of the downsides of the old symlink-to-your-flutter-sdk model.  The sdk: flutter dependencies in pub should handle this now?
flutter packages get in our wrapper around pub get which knows how to supply pub a FLUTTER_ROOT and do the right thing.

This should now be resolved.


How to install plugin

I have no programing knowledge and have just been grabbing the .js file and adding it into my Plugin folder. None of the .js files seem to work. Any suggestions?

I haven't really gotten around to making releases fully work yet. So it needs to be built manually in the meantime.
csm10495-plugin.js.txt
Try using this file instead. Remove .txt from the name so its just csm10495-plugin.js

Thanks! That worked! Awesome plugin.

Yay. I'll leave this open till i get releases working. Thanks again.

Woot. Got releases working. New versions (if they ever come) will be here: https://github.com/csm10495/openrct2-csm10495-plugin/releases/tag/latest
Thanks again. Closing out.


In future trim down custom metrics from payload?

As part of the effort to reduce the payload since by deduplicating data we remove the _custom field (amongst others) when saving this data to all tables:
https://github.com/HTTPArchive/wptagent/blob/e4546673d3b658022afb3885885e696290da53c5/HTTPArchive/httparchive.py#L425-L427
    # Remove the fields that are parsed out into separate columns
    page.pop("_parsed_css", None)
    page.pop("_custom", None)
    page.pop("_lighthouse", None)
    ...

However, that is only a list of the custom metrics:
"_custom": [
        "00_reset",
        "Colordepth",
        "Dpi",
...
        "usertiming",
        "valid-head",
        "well-known",
        "wpt_bodies"
    ],
    "_00_reset": null,
    "_Colordepth": 24,
    ...etc

The more weighty parts are the actual custom metrics beaneath this (_00_reset, _Colordepth...etc), some of which are quite large.
So we should enhance this to remove those too to save a lot of weight.
However, for now, them being in there is useful for the legacy tables (since there is no legacy custom metrics table) so leave for now. But filing this issue for when we move off of legacy so we don't forget.

Code has been added but commented out. Just need to remove the comment block when we're ready to remove them.

FWIW, it's probably a fairly substantial size. the rendered_html metric in particular (as well as the CSS ones) can be multiple megabytes.

Yeah exactly!
We could still inject them into the payload when populating the pages table for legacy. Or just live without them as part of forcing people over?
I’ve updated all the httparchvie queries not to look at custom metrics in the legacy pages table so all good to go from our end. The Web Almanac queries would need to be migrated but hoping the analysts this year will do a lot of those.

As we'll reprocess pages in https://github.com/HTTPArchive/dataform/pull/8, let include this cleanup there too.


Enable user to upload Icons/Images

On the edit profile view, an option to upload an icon that will be used through out the PJ.

This complex task requires a supporting api module to be built out prior to complete implementation.  ng-file-upload is the directive I purpose for implementation on the front end, it will work with both paperclip and carrier wave on the api side: https://github.com/danialfarid/ng-file-upload/wiki/Rails-Example
Next steps as of this moment are to identify the scope of work for the more generic task of file upload, decide if this encompass user icon upload, then allocate resources to build out the functionality in the api.

Another tutorial on using paperclip with rails here.

See JEL-20: https://boozallen.atlassian.net/browse/JEL-20


Use conmon pidfile in generated systemd unit as PIDFile.

By default, podman points PIDFile in generated unit file to non-existent file ($cid.pid). As a result, the unit file, generated by podman generate systemd, is broken: an attempt to start this unit without prior modification results in a crash, because systemd can not find the pidfile of service's main process:
podman create --name sleeper alpine sleep 1000
podman generate systemd sleeper > ~/.config/systemd/user/sleeper.service
systemctl --user start sleeper

<crash, check the logs>

sleeper.service: Can't open PID file /home/qazer/.local/share/containers/storage/vfs-containers/0e2a3a918e0c48d3962e15a77c2eeb006190369bb5419c35ed78951d47123e80/userdata/0e2a3a918e0c48d3962e15a77c2eeb006190369bb5419c35ed78951d47123e80.pid (yet?) after start: No such file or directory

It would be logical to have an invariant "a podman-generated unit from existing container should succesfully run without modifications". This PR changes the generation process so that this invariant is satisfied and is checked by new system test.

Probably worth adding a default conmon pidfile path, so we can use generate systemd on containers created with default options.

/approve
/ok-to-test

Alternatively... conmon is guaranteed to make a PID file for the container, at a path designated by https://github.com/containers/libpod/blob/master/libpod/oci_linux.go#L225
We can expose the path with a function and use it in generate systemd

We can expose the path with a function and use it in generate systemd

This seems to work in practice, but I not sure that completely correctly, as systemd issues a warning if you try to make it supervise not an immediate child (guess this is because in this case systemd will not to receive SIGCHLD for specified PID on its death). For non-child processes, systemd polls the process state from /proc as a workaround, and this is probably not so reliable (e.g. a different process with same PID may kick in between polls).
I think that waiting for conmon is a more correct approach here, and we probably rather should make sure that conmon always has a pidfile (e.g. set a default location), as @giuseppe proposed.

Code changes LGTM.

Should be good to land once we can get the tests green.

@mheon, I fixed the test which constantly failed, but looks like there are some network-related failures in other checks for last commit. Could you rerun them? I don't think that they are related to the changeset.

/lgtm


About the Admin Account

Since I have to delete the "Administrator" account after the sysprep (it causes two desktop paths), I need to use the Admin account for the client OS access, so what is the default password for "Admin" (tried passwords in  config.ini & UnattendTemplate.xml, did not work), or How can it be set? Thanks

Thanks for your reply, but I am deploying images on MAAS. Is there any method ?

I'm having issues with passwords, MAAS and these scripts. The password I set in config.ini doesn't seem to take effect. I'm no sure if it should be quoted or not.
Seeing as you close this issue I presume you got this resolved @shrekmaxi ?


chore: bdd-spring-1578845736 to 0.0.1

chore: Promote bdd-spring-1578845736 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

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


Improve cancellation token utils

From @glennc on Wednesday, January 21, 2015 3:11:50 PM
Examples of this are in the Helios and SignalR codebase.
Copied from original issue: aspnet/FileSystem#43

Thanks for your feedback. We appreciate your letting us know about the problem you've encountered or suggestion but we are not planning to take further action on this issue because our focus has been on issues with significantly higher customer interest and issues impacting a broad number of customers.


Why is the code encrypted?

This is a awesome repo. But I don't understand why the code is encrypted? It's hard to convince myself that that the code doesn't contain some dangerous command.

The source code is open.

Thank you!


⚠ Orpheus has degraded performance

In 1ec0267, Orpheus ($OPS) experienced degraded performance:

HTTP code: 200
Response time: 1031 ms

Resolved: Orpheus performance has improved in 8f0b2b3 after 6 minutes.


Remove deprecated *.out and *.err files

In zerocopy-derive/tests/ui, we have *.out and *.err files that are holdovers from when we used compiletest_rs instead of trybuild for our UI tests. They don't do anything and should be removed.

I'll take this up.


#492 Edit categories redesign

closes #492
Description of Work

Fixes a bug with the carousel grid layout that improves row/column math handling
Builds on VocableListCellConfiguration for use in EditCategoriesViewController
Implements VocableListCell in EditCategoriesViewController

Notes to Test

Rotation and the resulting scroll position is just generally wonky right now and I don't like it. Doesn't appear to be anything introduced by this ticket, but it's driving me bananas while double checking this work's functionality

Screenshots

Device
Portrait
Landscape

iPad

iPhone

Test Notes 3/28

Categories layout match figma on iPhone (testing on iPhone 8 simulator).
Tested up/down arrows and navigating into category
Tested orientation.
Verified layout matches figma on iPad.

OBSERVATION: As noted, I also noticed when launching the app there is a flicker of categories scrolling.  Also carousel through the categories is choppy/slower.
Looks good from test.

Test update:
Verified on iPhone 8 iOS 14 simulator and iPad 9th gen iOS 15 simulator.

Category name is now displayed when adding a category.

App does not crash when selecting the category.

Categories can be deleted and repositioned.

Observation: When in the Settings view.  If you are on page 3 of 3 and a new category is added, instead of going to page 4 of 4, it would jump to 1 of 4.  When deleting the category from page 4 of 4, instead of going to 3 of 3, it would jump to 2 of 3.  This happened consistently, but after restarting the app it wasn't happening.  There is an existing bug that is similar to this #495 - CC @rhsalas3


feat: add LookupWatchService to v1alpha1 package

This work is part of the effort behind this issue.

@josephschorr or @jzelinskie could I get an additional set of eyes on these changes? I'd like to get these v1alpha1 APIs merged in for the work going on in https://github.com/authzed/spicedb/pull/255.

@jon-whit can you please rebase on HEAD of main?

@josephschorr alright should be good. It's been rebased.


aksv2 - HTTP Application Routing does not get enabled with Container Monitoring

Rancher Server Setup

Rancher version: v2.6-e22c6bb23ee7e65f04e953afb7a449532cb44db0-head
Installation option (Docker install/Helm Chart): Docker

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc):

Proxy/Cert Details: NA

Information about the Cluster

Kubernetes version: NA
Cluster Type (Local/Downstream): AKSv2

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

Describe the bug

When provisioning AKSv2 cluster with HTTP application routing along with Container Monitoring, HTTP application routing does not get enabled.
To Reproduce

Create AKS v2 cluster
Enable HTTP Application Routing
Enable Container Monitoring
Create
Wait for cluster to become Active
Check config

Result
HTTP Application Routing remains disabled
Expected Result

Screenshots

Additional context

If I try to Edit the Config to enable HTTP Application Routing again (after cluster creation), Rancher throws error
Failed to update cluster: containerservice.ManagedClustersClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: autorest/azure: Service returned an error. Status=<nil> <nil>

and later
Update failed for cluster [aks-routing], status: Failed

Only workaround I could find, is to enable HTTP application routing first. Then once the cluster is Active, Edit the config to enable Container Monitoring.

waiting on https://github.com/rancher/charts/pull/1421

passed on 2.6-rc5


Reuse canine backend (docker transient) across different proceesses

When starting workflow runs through prefect dashboard, the workflow will run in a new python process. Currently it works fine if we just have one workflow to run each time. However, if we want to run them concurrently, I think we need a way to reuse the backend across different processes.
I think it would be similar to what canine-transient does, we can manage the lifetime of a canine backend in a separate process. Then reuse that backend in a different process by giving an IP, nfs name, configuration or other kind. Do you see difficulties implementing this, or this can already be achieved by using RemoteBackend somehow? Or any other suggestion?

I think this is definitely doable. I don't think that sharing instances directly between processes is safe, but I think there's a very simple solution.
Only one backend is created, using the user's configuration. This backend should be in the "main" process and persist though the lifetime of the program. When workflow instances are started, they each start their own backend from one of the two base classes. That way, they can connect to a functional slurm cluster without dealing with setup, cleanup, or state.
For example:
If the user wants to create a cluster using the TransientImage backend, one master instance is created, which spins up the cluster. Afterwards, new workflows in other processes can simply use the Local backend to connect to the existing cluster.
This would require adding a method to each backend that generates valid backend instances to connect to their own cluster.

LocalSlurmBackend -> LocalSlurmBackend
RemoteSlurmBackend -> RemoteSlurmBackend
TransientGCPSlurmBackend -> RemoteSlurmBackend (connect's to master node's hostname)
TransientImageSlurmBackend -> LocalSlurmBackend
DockerTransientImageSlurmBackend -> ?
DummySlurmBackend -> ?
The two docker-based backends would need a new barebones docker backend which simply invoke()s  commands through the slurm controller container

The Docker backend does not store any state in the Python class, so it is already safe to spin up multiple Docker backends. https://github.com/getzlab/canine/commit/4aa362b3576ddf5a77fc34e81dd6d48be335419e allows the backend's __enter__ method to detect a valid running Slurm controller container and simply use that if it exists. The __exit__ method will not shut down the container if it was already running.
TODO: the __exit__ method should not shut down the NFS if the container was already running. However, this won't be fixed here, since I'm planning on deprecating the separate NFS server, and just running it from the controller machine.
I think we should have a separate wolF server process that spins up the controller container and Prefect server, but that's for another PR.


[BUG] Setter missing on VirtualMachineScaleSetUpdateOsProfile.Secrets

Describe the bug
Using the latest version of the SDK, one performs an update against the secrets of a VM scale set using code like the following.
await computeService.VirtualMachineScaleSets.StartUpdateAsync(ResourceGroupName, vmssName,
                        new VirtualMachineScaleSetUpdate
                        {
                            VirtualMachineProfile = new VirtualMachineScaleSetUpdateVMProfile
                            {
                                OsProfile = new VirtualMachineScaleSetUpdateOSProfile
                                {
                                    Secrets = { }
                                }
                            }
                        });

One is then expected to pass a new VaultSecretGroup into the Secrets initializer. If I'm seeing to add a secret here that lives in a vault that doesn't yet exist in the Secrets IList, I'm good to go here as I'll just initialize a new VaultSecretGroup and apply.
The problem lies if I'm aiming to add a secret to the IList that shares the ID of the source vault of an existing secret in that list. There's simply no way that I see to edit the secrets in the VirtualMachineScaleSetUpdateOSProfile because Secrets lacks a setter property.
If I simply add a new VaultSecretGroup even though it shares an ID with an existing SourceVault and submit, this will fail with the message "List secrets contains repeated instances of , which is disallowed." which of course won't do.
Unfortunately, falling back to the GA version of the last version of the SDK is an insufficient remedy as it doesn't expose the OsProfile property on a VMSS at all, leaving me unable to perform a secrets update in the first place.
Expected behavior
Ideally, I'd retrieve the existing secrets list from a VMSS, make the changes I wanted to the list and would simply set the VirtualMachineScaleSetUpdateOSProfile.Secrets to this updated list value so I can ensure that the secrets are added to the appropriate source vaults and make sure that there are no duplicated SourceVault IDs.
Actual behavior (include Exception or Stack Trace)
I'm expected to set a VaultSecretGroup in the initializer to add to the list. If the SourceVault already exists, this will fail with a response similar to the following:

{
"error": {
"code": "InvalidParameter",
"message": "List secrets contains repeated instances of , which is disallowed.",
"target": "sourceVault.id"
}
}

To Reproduce
Steps to reproduce the behavior (include a code snippet, screenshot, or any additional information that might help us reproduce the issue)
await new ComputeManagementClient(_subscriptionId, _credential).VirtualMachineScaleSets.StartUpdateAsync(ResourceGroupName, vmssName,
                        new VirtualMachineScaleSetUpdate
                        {
                            VirtualMachineProfile = new VirtualMachineScaleSetUpdateVMProfile
                            {
                                OsProfile = new VirtualMachineScaleSetUpdateOSProfile
                                {
                                    Secrets =
                                    {
                                        new VaultSecretGroup
                                        {
                                            SourceVault = new SubResource
                                            {
                                                Id = "<IdOfAnExistingKeyVaultInTheVmssSecrets>"
                                            },
                                            VaultCertificates =
                                            {
                                                new VaultCertificate
                                                {
                                                    CertificateStore = "My",
                                                    CertificateUrl = "<IdOfAKeyVaultCertificate>"
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        });

Environment:

Name and version of the Library package used: Azure.ResourceManager.Compute Version=1.0.0-preview.2
Hosting platform or OS and .NET runtime version (dotnet --info output for .NET Core projects): Windows 10 .NET 5.0.100
IDE and version : Visual Studio 16.8.0

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

@WhitWaldo In  the new SDKs, collection types are always represented with only a getter - this removes a lot of opportunities for null reference exceptions in your code, but has the shortcomings you mention above - it is difficult to set the list to a known value - you have to update the elements of the list one at a time.
This is a behavior we are looking at changing in our next preview, assigning to the owner to take this under consideration.

@markcowl Would you be able to point me in the direction of how I'd go about editing the elements of the secrets? The deepest operation I see possible against a ComputeClient is computeService.VirtualMachineScaleSets.StartUpdateAsync() and it takes the update object.. but as you note, it only exposes a get for the secrets. I don't see any mechanism that allows edits against the list.


Delete scripts/Win_RustDesk_GetID.ps1

script doesnt work, best to work from docs and keep everything out of scripts for RustDesk

I've been debating how to handle the existing rustdesk stuff.
Rustdesk definitely in flux atm. Probably best to pull, if there are installs in the field this is going to mess with status.
We still have the outstanding big about deleting community scripts causing problems in the field. Need to refresh memory and check before accepting this.

I think its best to keep it in the docs, one place to update, its reliant on users having a custom field setup as well.
The script doesnt work with 1.2.2 so pointless having it

We still have the outstanding big about deleting community scripts causing problems in the field. Need to refresh memory and check before accepting this.

The issue is if a community script is deleted, the corresponding check (and task?) will be silently deleted when people update. It's better to update the script with a message and exit with an error. That will signal to the observant user that the script is no longer working. If people don't monitor for errors from scripts, that's on them.

ok yes that makes sense, its just to try and not have to maintain scripts in 2 places and then rustdesk update something and people say well trmm isnt up to date

This was the one: https://github.com/amidaware/tacticalrmm/issues/1486
Should probably have some kind of obvious naming convention and keyword(s).

So we should rename the script to !!!Broken - Read Docs or something similar?

So we should rename the script to !!!Broken - Read Docs or something similar?