[Test Framework] Remove unnecessary components

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

Test name
Commit
Details
Rerun command

integ-local-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-local-tests_istio

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

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

Test name
Commit
Details
Rerun command

integ-local-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-local-tests_istio

lint_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test lint_istio

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

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

Test name
Commit
Details
Rerun command

integ-local-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-local-tests_istio

lint_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test lint_istio

gencheck_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test gencheck_istio

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

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

Test name
Commit
Details
Rerun command

integ-local-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-local-tests_istio

lint_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test lint_istio

gencheck_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test gencheck_istio

integ-galley-k8s-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-galley-k8s-tests_istio

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

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

Test name
Commit
Details
Rerun command

integ-local-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-local-tests_istio

lint_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test lint_istio

gencheck_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test gencheck_istio

integ-galley-k8s-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-galley-k8s-tests_istio

integ-telemetry-k8s-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-telemetry-k8s-tests_istio

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

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

Test name
Commit
Details
Rerun command

integ-local-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-local-tests_istio

lint_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test lint_istio

gencheck_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test gencheck_istio

integ-galley-k8s-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-galley-k8s-tests_istio

integ-telemetry-k8s-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-telemetry-k8s-tests_istio

integ-pilot-k8s-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-pilot-k8s-tests_istio

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

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

Test name
Commit
Details
Rerun command

integ-local-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-local-tests_istio

lint_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test lint_istio

gencheck_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test gencheck_istio

integ-galley-k8s-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-galley-k8s-tests_istio

integ-telemetry-k8s-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-telemetry-k8s-tests_istio

integ-pilot-k8s-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-pilot-k8s-tests_istio

integ-security-k8s-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-security-k8s-tests_istio

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

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

Test name
Commit
Details
Rerun command

integ-local-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-local-tests_istio

lint_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test lint_istio

gencheck_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test gencheck_istio

integ-galley-k8s-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-galley-k8s-tests_istio

integ-telemetry-k8s-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-telemetry-k8s-tests_istio

integ-pilot-k8s-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-pilot-k8s-tests_istio

integ-security-k8s-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-security-k8s-tests_istio

integ-distroless-k8s-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-distroless-k8s-tests_istio

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

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

Test name
Commit
Details
Rerun command

integ-local-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-local-tests_istio

lint_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test lint_istio

gencheck_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test gencheck_istio

integ-galley-k8s-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-galley-k8s-tests_istio

integ-telemetry-k8s-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-telemetry-k8s-tests_istio

integ-pilot-k8s-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-pilot-k8s-tests_istio

integ-security-k8s-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-security-k8s-tests_istio

integ-distroless-k8s-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-distroless-k8s-tests_istio

integ-mixer-k8s-tests_istio
44ef1647ec86b6eee56f41c2626ffabe33ce88fe
link
/test integ-mixer-k8s-tests_istio

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


Fixed Favicon visibility by updating the Favicon

Addressing issue #54

Thanks @adarshanand67 for letting me contribute to u project ....
Long way to go ShareMe 🚀

Thanks @adarshanand67 for letting me contribute to u project ....
Long way to go ShareMe 🚀

Glad to help!


Refactoring

Renamed apply domain methods
Implemented CorrelationId in BaseEvent + migration
Refactoring Club/Member to ClubId/MemberId + migration
General refactoring

lgtm


Use default username and email for git config

What this PR does / why we need it:
This PR aims to reduce the need to set username and email so that Piped can commit.
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

Nice.
/approve


New version: BraveSoftware.BraveBrowser.Nightly version <IP_ADDRESS>

ARP entries are correct.
Auto-updated by vedantmgoyal2009/winget-pkgs-automation in workflow run 1787
Microsoft Reviewers: Open in CodeFlow

/azp run


fix: remove verify gh pages directory

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

1.2.0
GitHub release
1.2.0

Your semantic-release bot :package::rocket:


Feat/hyp 172 Custom Colour For Persona Icons

name: Custom Colour For Persona Icons
about: Custom Bg Colour For All Persona Icons As They Are Currently Blue
Prerequisites

[x] Checked the FAQs for common solutions: https://github.com/digicatapult/sqnc-hyproof-client/blob/main/CONTRIBUTING.md/#FAQs
[x] Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Asqnc-hyproof-client

Description
This fixed the bg colour for all persona icons as they are currently blue and they should. All personas have blue icons in the title bar, but the correct initials (HH, EE, RR, CC)
Colour of persona icon in title bar should match the colour scheme for that persona
This is related to the Jira ticket HYP-172.
Steps to Reproduce

Run
Change personas
Inspect top left side

Expected behaviour:
Different bg colours
Actual behaviour:
Same bg
Reproduces how often:
Always
Versions
NA
Additional Information

Superceeded by #75


White bg on preview panel

Iframe for preview panel in admin updated to have white background (acting as almost any browser would for page with no background set)
Fixes #11174
Please check the following:

[x] Do the tests still pass?[^1]
[x] Does the code comply with the style guide?
[x] Run make lint from the Wagtail root.
[ ] For Python changes: Have you added tests to cover the new/fixed behaviour?
[ ] For front-end changes: Did you test on all of Wagtail’s supported environments?[^2]

[ ] Please list the exact browser and operating system versions you tested:
[ ] Please list which assistive technologies [^3] you tested:

[x] For new features: Has the documentation been updated accordingly?

Please describe additional details for testing this change.
Strictly adds a 'background-color' css prop to the 'preview-panel__iframe' class used by the preview iframe. This is supported by all modern browsers.
[^1]: Development Testing
[^2]: Browser and device support
[^3]: Accessibility Target

Thank you @iansprice  this is looking good, hopefully my suggestions above make sense.
Please just add a comment, no need to mention anyone, when this is ready for another review or ping if you have questions.

@laymonage  - I understood we wanted to prefix new CSS custom properties in the same way we want to prefix classes but I might be wrong. This way we have them namespaced and less change of conflicting with other libraries. Although, I undrstand this would be unlikely to conflict with anything common.
I guess we could be clearer in our UI docs about this either way though. https://docs.wagtail.org/en/stable/contributing/ui_guidelines.html#css-guidelines

@lb- I was referring to the fact of making it customisable, not the prefix. I do think that the prefix is a good idea!

@laymonage OK, awesome, I agree. No need to document this variable as a supported theme variable.

Added to 5.2 stable - b3b43bf04b5601d94696f3af71139cb13363ed9d
I did not add to the 5.2.1 changelog as it's not created yet.

Big thanks @lb-, appreciating the fastidiousness. And by all means, would appreciate being added as a contributor. I'll be tackling more as time allows (this is my first OS contribution in a few years so a bit rusty :) )


refactor(test): use test marbles for skip operator spec

Continuing effort to cover #309

merged with 348c26a
Thanks, as always, @kwonoj!


feature: Disable individual operator mappings

Did you check the docs?

[X] I have read all the which-key.nvim docs

Is your feature request related to a problem? Please describe.
How do I disable individual operator mappings?
For example - I don't want whichkey to trigger on d or D - but for < , > , etc. it is fine.
I see it mentions

-- Which-key automatically sets up triggers for your mappings.
-- But you can disable this and setup the triggers yourself.
-- Be aware, that triggers are not needed for visual and operator pending mode

So is there currently no way to do this?
Describe the solution you'd like
Be able to disable individual operators from triggering which-key
Describe alternatives you've considered
Not sure if there are any besides disabling the plugin
I tried commenting this out - but it seems to have no effect
local M = {}

M.name = "presets"

M.operators = {
  preset = true,
  mode = { "n", "x" },
  { "!", desc = "Run program" },
  { "<", desc = "Indent left" },
  { ">", desc = "Indent right" },
  { "V", desc = "Visual Line" },
  { "c", desc = "Change" },
  --  { "d", desc = "Delete" },
  { "gU", desc = "Uppercase" },
  { "gu", desc = "Lowercase" },
  { "g~", desc = "Toggle case" },
  { "gw", desc = "Format" },
  { "r", desc = "Replace" },
  { "v", desc = "Visual" },
  { "y", desc = "Yank" },
  { "zf", desc = "Create fold" },
  { "~", desc = "Toggle case" },
}

Additional context
No response

v3 works very different and no longer creates keymaps for operators.
I just added a config option opts.modes.defer.operators.d = true which is what you want.


Custom .zshrc

I was looking to use the common-utils feature to setup zsh/ohmyzsh and noticed that there doesn't seem to be a way to use a custom .zshrc?  My Dockerfile is copying it into the remote user's home directory, but it gets overwritten.  The install script for ohmyzsh has a block to account for existing .zshrc files (if the --keep-zshrc flag is set), but it doesn't appear to have made it into the common-utils feature
This is pretty important for doing any sort of customization

Thanks for opening! @joshspicer @samruddhikhandale would be great to get your insights here.

Hi 👋
We have https://github.com/devcontainers/features/pull/614 open which proposes to add a new Feature option (installOhMyZshConfig) to control the config (ie zsh rc files). Unless I have misunderstood the ask here, @j2udev would installOhMyZshConfig:false help, once available?
Feel free to add your thoughts on the PR.

In the meantime, you can add your dotfiles (folder or repository) via Dockerfile, via the dev-container dotfiles repository config option, via the mounts dev-container config option,  or via a volume in the docker-compose.yaml as seen in the config below.
Then in the postInstallCommand you can rm the existing file: here is one of my devcontainer.json(s)
{
	"name": "Python 3",

	"dockerComposeFile": [
		"docker-compose.yml"
	],
	"service": "development",

	"workspaceFolder": "/workspace",

	"customizations": {
		"vscode": {
			"settings": {
				"terminal.integrated.shell.*": "/usr/bin/zsh"
			},
			"extensions": [
				"firsttris.vscode-jest-runner",
				"esbenp.prettier-vscode"
			]
		}
	},

  "postCreateCommand": "mv /home/vscode/.zshrc /home/vscode/.zshrc.code; DOTFILES_STARTUP=\"/home/vscode/repos/dotfiles/machines/env/empty/\" DOTFILES_DOTFILES=\"/home/vscode/repos/dotfiles\" DOTFILES_ENV=\"empty\" bash -i /home/vscode/repos/dotfiles/machines/env/install.sh ",
	"mounts": [
		"source=/Users/dev/repos/dotfiles,target=/home/vscode/repos/dotfiles/,type=bind",
		"source=/Users/dev/repos/keys/hosts.yml,target=/home/vscode/.config/gh/hosts.yml,type=bind"
	],
	"remoteUser": "vscode",
	"features": {
		"ghcr.io/devcontainers/features/github-cli:1": {},
		"ghcr.io/devcontainers/features/common-utils:2": {},
		"ghcr.io/devcontainers-contrib/features/tmux-apt-get:1": {}
	}
}

version: '3.4'
services:
  development:
    image: "mcr.microsoft.com/devcontainers/python:1-3.11-bullseye"
    volumes:
      - ..:/workspace:cached
    command: sleep infinity
    working_dir: /workspace

@samruddhikhandale
Looking at the PR, yep that should work.
@naturedamends
Appreciate the PR and suggested workarounds.  In my case, I'm building a devcontainer image in which I'd like my team's custom zshrc baked into the image itself, as opposed to being mounted or installed in a postXCommand. I don't want to impose my personal dotfiles upon my colleagues either, but I've been meaning to give that a go for personal use.

@samruddhikhandale
Looking at the PR, yep that should work.
@naturedamends
Appreciate the PR and suggested workarounds. In my case, I'm building a devcontainer image in which I'd like my team's custom zshrc baked into the image itself, as opposed to being mounted or installed in a postXCommand. I don't want to impose my personal dotfiles upon my colleagues either, but I've been meaning to give that a go for personal use.

I too have use for having the dotfiles baked into the container, although I recommend having your main .zshrc being a real file (such that programs can append to it without being a change within a repository), that sources your user configuration.

@samruddhikhandale @j2udev
Is this possible ?
'''gherkin
Feature
Allow features to declare host file system to dev container image copies.
Given published feature repo
And feature includes metadata for copying host src path to image dest path
When devcontainer build is invoked on target
And target references feature
Then path is COPYed to dev container final image
'''

I see the aforementioned PR was merged so going to close this issue.


Support scanning of REST APIs

Support scanning of REST APIs. To scan a REST API an user should be able to provide an OpenAPI or other files with REST API interface descriptions (link, HTTP methods etc.).

Jeremias Eppler<EMAIL_ADDRESS>Daimler TSS GmbH, imprint

Superseded by: #1435


Chunks do not get deleted after successful upload

I noticed the chunks folder inside the storage has grown in size. I realized that every single image uploaded to the system has a .part file stored in this folder. I guess this was meant to be a temporary folder that is used to upload images and then move them to the correct folder. But instead the images stay there.
To Reproduce

Upload one or more images
Check on storage/chunks

Expected behavior
The folder should be empty
Screenshots

Desktop (please complete the following information):

OS: Mac OS Monterey 13.2
Browser Chrome
Version 109

Hi @miagg
The upload feature relies on laravel chunk upload package, you may take a look at the configuration file.
You may enable task scheduling (cron) to run the uploads:clear command.


test: STONEBLD-27: use build-templates-e2e

components/build-templates is removed along with the build-pipelines-defaults configmap from infra-deployments.
Signed-off-by: Chenxiong Qi<EMAIL_ADDRESS>Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
Issue ticket number and link
Type of change

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist:

[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added meaningful description with JIRA/GitHub issue key(if applicable), for example HASSuiteDescribe("[test_id:01] DEVHAS-62 devfile source")
[ ] I have updated labels (if needed)

/retest redhat-appstudio-e2e

/test redhat-appstudio-e2e

/test redhat-appstudio-e2e


GDB C/C++ debugger won't start, giving error

VSCode Version: 1.31.1
OS Version: Windows 10 v. 1809

Steps to Reproduce:

Attempt debug
Debug then fails

Here's my launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "%{workplaceFolder}/a.out",
"args": [],
"stopAtEntry": true,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "C:\MinGw\bin\gdb.exe",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}

Please provide information how debugging fails.
And there is a '%' in the value for "program". That must be a '$'.


Added the ability to render multiple textures

Now draw_walls takes a list of textures
FPS has not decreased

:+1:


Version 2 find functionality no longer working

Pressing command-f inside of the code textarea no longer brings up a search box in version 2.

Got this fixed in latest commit. Didn't even know this feature was in the editor :)
latest commit also updates a few dependencies... I want to test a bit more before publishing

you are a hero.


CLI does not support node's arguments

memory-usage -r esm scripts/blah.js
Error: Cannot find module '/blah/-r'

@raine you can pass options after the file name since the code depends on the file name to be the first argument Eg: memory-usage scripts/blah.js -r esm


Create Licence

Pretty self explanatory

@t-constantin
I would add that any person using the present code should mention "SwarmUS" when using our code

That is not the goal of the MIT, if we want that, we need to reevaluate our license and go with a Copy-Left one. Normally you let a lisence as is.


Feature Request: Allow mastering-display and content-light passthrough from ffmpeg

To have better parity with the standalone encoder, it would be nice to be able to provide mastering-display and content-light through FFmpeg's rav1e-params (similar to how x265-params works)
Suggested method:
ffmpeg.exe -y -i "video.mkv" -map 0:0 -pix_fmt yuv420p10le -c:v:0 librav1e -qp 20 -color_primaries bt2020 -color_trc smpte2084  \
-rav1e-params "mastering-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1):content-light=1016,115"  "converted.mkv"

Original Issue:
Hello, I am trying to convert a 10-bit BT2020 with librav1e (compiled 2020-09-21, commit edfc865445b18ceb86f176c51f063f67392ffae2) via FFmpeg.
It works as expected using rav1e.exe itself:
ffmpeg -y -i "short.mkv" -map 0 -pix_fmt yuv420p10le raw.y4m
rav1e.exe raw.y4m --speed 10 --quantizer 50 --tiles 8 --primaries=BT2020 --transfer=SMPTE2084 --matrix=bt2020ncl --mastering-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1) --content-light=1016,115 -o out.ivf

But using librav1e it says they are unrecognized options:
ffmpeg.exe -y -i "short.mkv" -map 0:0 -pix_fmt yuv420p10le -c:v:0 librav1e -strict experimental -speed 10 -tile-columns 8 -tile-rows 8 -tiles 8 -rav1e-params "primaries=BT2020:transfer=SMPTE2084:matrix=bt2020ncl:mastering-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1):content-light=1016,115" -qp 20    "converted.mkv"

...

I wasn't sure if this wasn't supported yet, or I was passing the params incorrectly somehow.
Thanks!

The ffmpeg wrapper currently maps matrix, primaries and transfer from ffmpeg-native configuration: colorspace, color_primaries and color_trc. Mastering and content-light appear not to be mapped in ffmpeg master.

the rav1e-params ffmpeg option is mapped to the rav1e_config_parse() C API function, and none of those you listed are among the supported keys. You can see what's supported in the rav1e.h doxy (Unfortunately, there's apparently no way to print the supported keys at runtime).

@barrbrain  Thanks for the quick info, color_primaries and color_trc work as expected!   colorspace is giving an error of Undefined constant or missing '(' in 'bt2020' with whatever I try, unsure what options to provide that.
@jamrial Good to know! Is there already a feature request to have mastering-display and content-light added? If not could change this ticket into that.

For colorspace you need to use bt2020nc or bt2020c. See https://ffmpeg.org/ffmpeg-codecs.html
And i don't know if there's such a feature request.

@lu-zero Are mastering-display and content-light available through the C API yet?

/**
 * Set the content light level information for HDR10 streams.
 *
 * Return a negative value on error or 0.
 */
int rav1e_config_set_content_light(RaConfig *cfg,
                                   uint16_t max_content_light_level,
                                   uint16_t max_frame_average_light_level);

/**
 * Set the mastering display information for HDR10 streams.
 *
 * primaries and white_point arguments are RaChromaticityPoint, containing 0.16 fixed point
 * values.
 * max_luminance is a 24.8 fixed point value.
 * min_luminance is a 18.14 fixed point value.
 *
 * Returns a negative value on error or 0.
 */
int rav1e_config_set_mastering_display(RaConfig *cfg,
                                       const RaChromaticityPoint primaries[3],
                                       RaChromaticityPoint white_point,
                                       uint32_t max_luminance,
                                       uint32_t min_luminance);

the C API has it since 7d679b489

Tried a custom build of FFmpeg with latest 0.5-beta and still seems to not be incorporated. At least doesn't take the arguments the same way the command line does. (Not sure what else than being in the capi is needed)
Working command line:
rav1e.exe  artist_480.y4m --primaries BT2020 --transfer SMPTE2084 --matrix BT2020NCL --mastering-display "G(0.15,0.06)B(0.68,0.32)R(0.265,0.69)WP(0.3127,0.329)L(1000,0.005)" --content-light 1000,200 --speed 10 --quantizer 50 --output artist_rav1e.ivf

Non-working ffmpeg equivalent.
ffmpeg.exe -i artist_480.y4m  -pix_fmt yuv420p10le -c:v:0 librav1e -speed 10 -qp 50 -color_primaries bt2020 -color_trc smpte2084 -colorspace bt2020nc -rav1e-params "mastering-display='G(0.15,0.06)B(0.68,0.32)R(0.265,0.69)WP(0.3127,0.329)L(1000,0.005)':content-light=1000,200"  converted.mkv

Error:
[librav1e @ 000001f2206d76c0] Invalid value for mastering-display:G(0.15,0.06)B(0.68,0.32)R(0.265,0.69)WP(0.3127,0.329)L(1000,0.005).
[librav1e @ 000001f2206d76c0] Invalid value for content-light: 1000,200.

I assume the ffmpeg wrapper is not calling those functions. Can you please check what is the wrapper doing?

Oh whoops, looking back at @jamrial comment, would need to be defined https://github.com/xiph/rav1e/blob/master/src/capi.rs#L609 and is not there yet.

Patch very welcome, I'll land it before cutting 0.5 :)


Run only specific apps during development

The problem
When working on a Netdeamon app in Development you want to run it against a live Hass instance. Usually you have other apps in the same solution that you do not want to run while debuging this single app.

The proposed solution
Add a  config setting that will allow running just a single app. We can add this to the config.develooment.json of the template application.
It would also be nice If you could select the app to run while developing by adding an attribute to the class like some testframeworks do, like [Focus] if at least one app has this set AND the setting is present in the config, only this app will be loaded.

The alternatives

Additional context

Also the [Focus] should only be active if in development environment is active like:
if (env.IsDevelopment())
{
    // the logic of [focus]
}

A so we do not need a new setting at all, just the attribute. That's nice


discuss: minimum bubble size

atm there is a minimum bubble size in place:

not sure how useful that is. that 0 doesn't mean no bubble.
For spikes, 0 = no height

Yes, I agree that there should be no-bubble if there is no data.  0 = no bubble, but you're still able to hover and see stats.


Add colors to distance and health monitor

Add option to change color depending on distance
Add option to change color depending on health (<50%/90%)
Default is white.

Fixes #178

Sure, I'll have a look into that later on.

Thanks for the review, I'll have a look at this tomorrow.

We currently have two options to allow changing the color of these widgets.
Foreground color:

Background color:

It's easy enough to allow changing either of them for the health thresholds because the setup is rather sophisticated (in fact it's done already). Adding the same possibilities for the distance monitor means duplicating all of the color selects or adding complexity to the widget.
I suggest deciding between the following options:

making a decision for either the foreground or background coloring option above (limits the users customization possibilities)
adding a single contrast color per widget and a toggle option to use it as foreground/background color

Foreground only looks loads better

Merged into dev 6f55a33eb18fc8e6e720c8e32b7105ce6da7c5d5 , post merge changes in e40cf86d4d92eb936ab1d828a4f22652bdff1810


I am interested in using your game on my website. Could you add a license file like the MIT one in this pull request so I know how you want your software used?

No problem. Use what ever you want on here :)

Thanks!

If I remember correctly there was some stuff in there that does not need to be. Like the loading bar, that was to only to fulfill some silly requirements in an assignment. Feel free to take it out or take bits of it. I really don't mind what is done with it at all :)
If you don't mind could I see it on your site at some point? It would be nice to see it get used for something.


Clickable buttons to change slider value

I need to add buttons to this slider, is there any chance to make it changing value of slider?

I implemented this using a ref and a "private" function _setCurrentValue  that I found on the ref:
<Slider
  ...
  ref={r => this.slider = r}
  ...
/>

Then to update the slider value, you can use something like this in your button's click handler:
this.slider._setCurrentValue(newValue);

Would be great to hear if there's a better way to accomplish it.

PS. Depending on your use case, you might be able to declaratively set the value prop of the slider component directly when the button is clicked, rather than use the ref imperatively. But for my use case, that declarative approach caused significant performance issues and I don't believe that is the way the component was intended to be used.


Please add Ubuntu 16.04 to list of Linux OS's

The only options are Ubuntu 13.10 and 12.04

This is a limitation, based on libvirt themplates and not on KVM-VDI, so the only thing I can suggest, - I can add "Ubuntu 13.10 or higher" (as it is on Debian)

Hahaha..cool. That would look better. =]


Create DigitalOcean vendor account

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/982
Originally created by @mbergeron on 2019-09-13 18:42:43

The snapshot is almost ready so we should get the vendor account setup so we can submit the marketplace image.
https://marketplace.digitalocean.com/vendors

View 5 previous comments from the original issue on GitLab


Created NumbersToEnglish

Description
Written the complete clean code for NumbersToEnglish.py file.
Issue No.- #222

Type issue number after hash(#)

Checklist

[ ] Yes, this task assigned to me.
[✔ ] My code follows the style guidelines(Clean Code) of this project
[ ✔] I have performed a self-review of my own code
[✔ ] My Filename is in camelCase format
[ ✔] I have added Problem statement, Problem link in file.

Sorry But unassigned issue


Issue #473

Issue #473

[x ] ✅ My code follows the code style of this project.
[ ] 📝 My change requires a change to the README.
[ ] 🎀 I have updated the README accordingly.
[x ] 👀 I have read the CONTRIBUTING document.
[ ] ✨ I have added tests to cover my changes.
[ x] 🚩 All new and existing tests passed.
[ ] 🌟 ed the repo

Tested on Visual studio code with different Input.

[ ] Bug fix (non-breaking change which fixes an issue)
[x ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Make sure your Pull Request is descriptive and complete the checklist .
I would recommend you to go through this tutorial video of the project here ,thanks.
///------------------Description -----------------------///
For contribution and more guidelines i would recommend you to go through this
tutorial video of the project here, thanks.
///------------------Description -----------------------///
Let me show you how to check the check list , there should be no space inside brackets like [x]
[x]

[x] Checklist
[ ] Or you can just check them from outside without doing any of these
[x] ✨ I have added tests to cover my changes.
[x] 🚩 All new and existing tests passed.
[ ] 🌟 ed the repo

Starr the repo if you haven't !
Have you watched this video ?

///----------------------PR README --------------------///
You need to follow particular guidelines for your README , please follow
these guidelines click here
also you can see how your README should look like see here
for more please go through these here

hi @aparajitachaturvedi please follow these things

Change Title for your PR
Check the checks in proper manner
Follow README guidelines And create a README
Remove Spaces from your code file name
Starr the Repo
Make your PR Descriptive

Thanks .

Closing this pr


selectBoxit - not working with jquery 3.1 + jquery-ui 1.12 ?

I just upgraded to jquery 3.1 + jquery-ui 1.12 + selectBoxIt 3.8.1, and it just renders junk.
Anybody else have this issue ?

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/36950278-selectboxit-not-working-with-jquery-3-1-jquery-ui-1-12?utm_campaign=plugin&utm_content=tracker%2F23157&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F23157&utm_medium=issues&utm_source=github).

2 minutes later, I discovered it was my bad... added a dynamic option with "<" and ">" in the label, which of course is interpreted as bad HTML.


Percent in Axis label produces hard to read error. need to escape '%' or Warning?

Regarding #50
When assigning a axis label, I was describing a percent, and used the percent symbol. Everything was produced fine in python, and went as expected.
However, I could not figure out why it kept crashing in latex a week later. It took me around an hour and a half, as the latex error output was not helpful at all
Here's reproducible code
import pandas as pd
import matplotlib.pyplot as plt
from matplotlib2tikz import save as tikz_save

#RANDOM DATA
des = [1,2,3,4]
perc_below = [1,2,3,4]

df3 = pd.DataFrame({'one':perc_below, 'two':des})

df3.plot(fontsize=20, kind='line',y='one',x='two')
plt.xlabel('example',fontsize=20)

# ISSUE LIES BELOW
plt.ylabel('example %',fontsize=20)

tikz_save('example.tex')`

Tex output is as expected...
In my opinion, this should be escaped, as the work around is a backslash when assigning the label. However, this would lead to different behavior as matplotlib. (I also export to pngs, which would end up with a backslash in them)
I understand if you do not agree. In that case, a warning when the graph is produced would be great, as again, the latex error was completely unhelpful.
I love the library, BTW!

I have a similar issue with underscore symbols that need to be manually escaped in the generated tex code.

This would be easy to implement, a lot of the LaTeX(ifying) can be done using the matplotlib pgf backend. Currently I have #267 waiting on the author to fix the default environment which gets used. Similarly, the pgf_backend has a function to escape protected characters in LaTeX

This issue is solved from PR #267
I believe this issue can be closed.

Thanks @nighthawk9!


Error to preprocessing

The log is
"/usr/local/miniconda3/envs/dl/bin/python: Error while finding module specification for 'squad.prepro' (ModuleNotFoundError: No module named 'squad')"
I download the squad in other servers and upload to corresponding server.
How to import module squad.

I copy the squad to the same directory

How to install squad as my python system directory?
Thanks & Regards!


Relicense under dual MIT/Apache-2.0

TL;DR the Rust ecosystem is largely Apache-2.0. Being available under that
license is good for interoperation. The MIT license as an add-on can be nice
for GPLv2 projects to use your code.
Why?
The MIT license requires reproducing countless copies of the same copyright
header with different names in the copyright field, for every MIT library in
use. The Apache license does not have this drawback. However, this is not the
primary motivation for me creating these issues. The Apache license also has
protections from patent trolls and an explicit contribution licensing clause.
However, the Apache license is incompatible with GPLv2. This is why Rust is
dual-licensed as MIT/Apache (the "primary" license being Apache, MIT only for
GPLv2 compat), and doing so would be wise for this project. This also makes
this crate suitable for inclusion and unrestricted sharing in the Rust
standard distribution and other projects using dual MIT/Apache, such as my
personal ulterior motive, the Robigalia project.
Some ask, "Does this really apply to binary redistributions? Does MIT really
require reproducing the whole thing?" I'm not a lawyer, and I can't give legal
advice, but some Google Android apps include open source attributions using
this interpretation. Others also agree with
it.
But, again, the copyright notice redistribution is not the primary motivation
for the dual-licensing. It's stronger protections to licensees and better
interoperation with the wider Rust ecosystem.
Contributor checkoff
To agree to relicensing, comment with :

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to choose either at their option.

Checklist

[x] @kvark
[x] me
[x] @Aceeri
[x] @serprex
[x] @vitvakatu
[x] @malleusinferni
[x] @thiolliere
[x] @murarth
[x] @jeffparsons
[x] @msiglreith
[x] @lschmierer
[x] @WaDelma
[x] @Kimundi
[x] @mrZalli
[x] @Jragonmiris
[x] @minecrawler
[x] @futile
[ ] @White-Oak

I license past and future contributions under the dual MIT/Apache-2.0
license, allowing licensees to chose either at their option.
On Thu., 1 Jun. 2017, 8:55 pm Thomas Schaller<EMAIL_ADDRESS>wrote:

TL;DR the Rust ecosystem is largely Apache-2.0. Being available under that
license is good for interoperation. The MIT license as an add-on can be
nice
for GPLv2 projects to use your code.
Why?
The MIT license requires reproducing countless copies of the same copyright
header with different names in the copyright field, for every MIT library
in
use. The Apache license does not have this drawback. However, this is not
the
primary motivation for me creating these issues. The Apache license also
has
protections from patent trolls and an explicit contribution licensing
clause.
However, the Apache license is incompatible with GPLv2. This is why Rust is
dual-licensed as MIT/Apache (the "primary" license being Apache, MIT only
for
GPLv2 compat), and doing so would be wise for this project. This also makes
this crate suitable for inclusion and unrestricted sharing in the Rust
standard distribution and other projects using dual MIT/Apache, such as my
personal ulterior motive, the Robigalia project.
Some ask, "Does this really apply to binary redistributions? Does MIT
really
require reproducing the whole thing?" I'm not a lawyer, and I can't give
legal
advice, but some Google Android apps include open source attributions using
this interpretation. Others also agree with
it.
But, again, the copyright notice redistribution is not the primary
motivation
for the dual-licensing. It's stronger protections to licensees and better
interoperation with the wider Rust ecosystem.
Contributor checkoff
To agree to relicensing, comment with :
I license past and future contributions under the dual MIT/Apache-2.0
license, allowing licensees to chose either at their option.
Checklist

@kvark https://github.com/kvark
me
@futile https://github.com/futile
@Aceeri https://github.com/aceeri
@serprex https://github.com/serprex
@White-Oak https://github.com/white-oak
@WaDelma https://github.com/wadelma
@vitvakatu https://github.com/vitvakatu
@mrZalli https://github.com/mrzalli
@minecrawler https://github.com/minecrawler
@lschmierer https://github.com/lschmierer
@Kimundi https://github.com/kimundi
@malleusinferni https://github.com/malleusinferni
@thiolliere https://github.com/thiolliere
@Jragonmiris https://github.com/jragonmiris
@murarth https://github.com/murarth
@jeffparsons https://github.com/jeffparsons
@msiglreith https://github.com/msiglreith

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/slide-rs/specs/issues/157, or mute the thread
https://github.com/notifications/unsubscribe-auth/AATpRV-y4-hgpseO9ehHkOFVSNgqoGGRks5r_wkDgaJpZM4NtZWY
.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to choose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to choose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to choose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to choose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to choose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to choose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to choose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to choose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to choose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to choose either at their option.

Ping
@futile
@White-Oak
@minecrawler

Sorry for the delay!
I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to choose either at their option.

Sorry for the delay!
I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to choose either at their option.

I wasn't on the list, but I am now a contributor, so:
I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to choose either at their option.

Thank you, but the readme already states that contributions have this license, so new contributions are not affected.

@White-Oak still didn't respond :(

@torkleyy Other projects I've seen get stuck on a couple inactive contributors usually just go the route of changing the license and telling the remaining people if they have an issue with the new license we'll look at rewriting the contributions.

@Aceeri Seems like they've been inactive since May. That sounds like the best solution.

OK, this issue is ready now.
Steps

Add the MIT license
Rename apache license to LICENSE_APACHE


chore(git-workflow): update workflow

Status
READY
Description

Type of Change

[ ] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[x] ✅ Build configuration change
[ ] 📝 Documentation
[x] 🗑 Chore

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Add short option -F for --follow

This commit adds short option -F for --follow. Addresses my own issue #223.

Thanks, @amjd. This has been recently added to the master.


Fast effect forwarding

This PR fundamentally changes how we handle tag/effect forwarding: Currently, at any suspend site, we unconditionally attempt to switch to the parent stack (or fail, if we are already on the the main stack). In the process, we pass the tag identifier that we suspended with. Then, we check if the resume clause in the parent had a handler for that tag. If it doesn't, we attempt to suspend again to the parent of the (original) parent. This process is repeated until we either find a handler, or reach the main stack (meaning that there was no appropriate handler).
The new design introduced by this PR works as follows: Every stack (main stack or continuation) carries a HandlerList around. This is effectively a vector of tag identifiers (i.e., *mut VMTagDefinition).
On resume $ct (on $tag_1 $block_1) ... (on $tag_n $block_n), we then fill the active stack's HandlerList with the following n entries:
<address of $tag_1>
...
<address of $tag_n>

On suspend $tag, we then traverse the chain of active continuations, inspecting the HandlerList of the parents of the currently active continuation. If we find the address of $tag as the _i_th entry of the handler list of some resume instruction in our parents, we directly switch to the stack that executed the corresponding resume instruction. In the process, we pass along the list index i. Back at the resume site, we can then directly jump to the _i_th handler block, using a jump table.
If the handler search does not succeed, we immediately trap at the suspend site.
Some implementation notes:

The search for an appropriate handler is implemented in wasmtime_cranelift::wasmfx::optimized::search_handler, which is used for emitting code at suspend sites.
While there are a lot of changes to translate_resume, it is actually simpler now! The rather annoying back edge from the forward block to the resume block is gone, and every block will at most be executed once.
ControlEffect is no longer using TaggedPointer. There are simply no more pointers involved here at all, the only payload to hand from suspend site to resume site (in addition to the return vs suspend signal) is the index of the handler we want to use.

In general, everything is built to be compatible with switch being added on top of this design: In particular, the HandlerList and  aforementioned search_handler can easily be adapted  to support switch, and the changes to translate_resume are made with switch in mind.

All this list business, reminds me of some tricks we should try. One trick used to speed up linked list searching is the "move to front" trick, where once an element has been found it is moved to the front of the list, such that next time you look for it, it may be one of the first elements. Obviously, we don't want exactly that, but a variant of it may speed up continuation materialisation even further, naming, what we could have on each continuation reference is a pointer to the most recent suspension handler (like caching the latest handler).

I guess we can merge this as-is.

I'm fine with that, but would you still prefer renaming the last_ancestor field in VMContRef? I can live with tail, but open for other suggestions.

I guess we can merge this as-is.

I'm fine with that, but would you still prefer renaming the last_ancestor field in VMContRef? I can live with tail, but open for other suggestions.

I don't think it is necessary now. I was just commenting that I think we should come up with a better name for when we upstream it.


NSString/StringsFormatPropertyList tests fail on OSX

[----------] 2 tests from NSString/StringsFormatPropertyList
[ RUN      ] NSString/StringsFormatPropertyList.CanDeserialize/0
unknown file: Failure
Unknown C++ exception thrown in the test body.
[  FAILED  ] NSString/StringsFormatPropertyList.CanDeserialize/0, where GetParam() = L"\xFEFFkey1=value1;\n"key2"="value2";" (0 ms)
[ RUN      ] NSString/StringsFormatPropertyList.CanDeserialize/1
Foundation/NSStringTests.m:611: Failure
Value of: propertyList[@"key1"]
Actual: NULL
Expected: @"value1"
Which is: value1
[  FAILED  ] NSString/StringsFormatPropertyList.CanDeserialize/1, where GetParam() = L"key1=value1;\n"key2"="value2";" (0 ms)
[----------] 2 tests from NSString/StringsFormatPropertyList (1 ms total)

@ms-jihua is added to the review. #Closed

@DHowett-MSFT is added to the review. #Closed

:shipit:

:shipit:


Longest Common Subsequence in Python

Is your feature request related to a problem? Please describe.
Yes, my feature request is related to a problem. I would like to implement Longest Common Subsequence using Python
Given two strings, S1 and S2, the algorithm will find the length of the longest subsequence present in both of the strings.
Describe the solution you'd like
I would like a solution for Longest Common Subsequence, using Python.
It would have Time Complexity: O(m * n) and Auxiliary Space: O(m * n), solved using Dynamic Programming
I'd like to work on this issue under SSOC 2023.
Please assign it to me.

Can you assign this issue to me

refer #859


Portal server

Hey Serverpod team.
I am interested to know if there is any possibility to develop a portal app using serverpod_auth_server.
The basic idea is to have a portal app, that allows you to register + log in and open other apps (that require the same login so to keep the session for them).
As well separate app that the user can install and register + log in to it even without the portal app (but to register on the portal server).
This will require the portal server to have its own db, while the other apps to access the portal db for registration and their own db for their own stuff.
If this is possible, could you please suggest an architecture approach on how to accomplish this using flutter + serverpod for all the apps?
If I should clarify something please let me know.
Thank you!

Hey @og1-alarm!
Since this is not related to a bug or a feature I will convert this to a discussion post.
That might also increase the chances of getting architecture advice from the community as well.


Remove TRANSPORTATION.LightRail_UTA from SGID

Summary

Internal Dataset Name:TRANSPORTATION.LightRail_UTA
External Dataset Name:transportation.uta_light_rail_routes
ArcGIS Online Url:https://utah.maps.arcgis.com/home/item.html?id=fd41770e917344e4adef8be71a0a6741

These data are being replaced by a new single line representation of the TRAX lines as requested by UTA. The new TRAX data will use the existing names listed above but have different geometry and attributes. Current light rail data needs to be moved into TRANSPORTATION.Railroads for multi modal uses and cases where both direction of TRAX lines are needed.
Migration Guide
A short summary of how users affected by this deprecation can modify their workflows and projects to continue to get similar or improved functionality
If users need TRAX routes represented with both directions of travel they can use a definition query on TRANSPORTATION.Railroads to show only light rail. R,B,G attributes for the lines will still be available, however, the schema will be different.
This dataset has been replaced by () which is named () in the Open SGID and () in the SGID Open Data.
The replaced data is still accessible via our shelved policy in AGOL (a link to the shelved item).
Action items

Assign a person who should complete the task by replacing name with their github @name.
Check [x] the box when the task is completed and add the date of completion.
~Strike~ out all items that do not apply.

Soft Delete
The purpose of the soft delete is to ensure that all of our users and applications have gracefully migrated off of the dataset. Soft deletes will remain in effect for 14 days. During this time, we will have the ability to restore the dataset to its original SGID offering(s). After these 14 days, the item is then ready for a hard delete.
Note: If this dataset is being replaced, then wait until the new data is publicly available before completing these steps:

[ ] Add note to ArcGIS Online description noting when layer will be deleted and any replacement layer (name, completed: 2021/00/00)
[ ] Unshare item from Open Data (name, completed: 2021/00/00)
[ ] Update the SGID Index row as deprecated by pasting the related Porter issue URL in the Deprecated field (name, completed: 2021/00/00)
[ ] Mark ArcGIS Online item as deprecated in preparation for future deletion (name, completed: 2021/00/00)

[ ] Change Authoritative field to d in SGID.META.AGOLItems to automatically set the Deprecated AGOL flag. Allow the d to persist through one run of Auditor - currently, Auditor runs daily at 5:00am (name, completed: 2021/00/00)

[ ] After one successful run of Auditor, remove the row from the SGID.META.AGOLItems table.  It is recommended to complete the soft delete process before moving on to these steps. If you decide to skip the soft delete, note that you will need to incorporate some of those steps here.

[ ] Manually remove data from the Internal SGID (name, completed: 2021/00/00)

Deprecated database layers can be backup up on Google Drive > AGRC Share > Team Projects > SGID > [deprecated layers]

[ ] Remove ArcGIS Online item: (name, completed: 2021/00/00)

Manually delete the AGOL item
-OR-
Unshare by changing the AGOL_ITEM_ID field in SGID.META.AGOLItems to something other than an Item ID and manaually changing the sharing settings (remove the item from all SGID groups, remove Public sharing),
-OR-
Shelve the data by copying the row from SGID.META.AGOLItems to the AGOLItems_shelved table in AGOL and changing the AGOL_ITEM_ID field in SGID.META.AGOLItems to shelved or some other note.
Deprecated AGOL items can be backup on Google Drive > AGRC Share > Team Projects > SGID > deprecated layers.

[ ] Remove Farm from AGOL connection (name, completed: 2021/00/00)
[ ] Update relevant gis.utah.gov data pages (name, completed: 2021/00/00)
[ ] Add this porter url to the Deprecated field of the Stewardship record (name, completed: 2021/00/00)
[ ] Update SGID.META.AGOLItems table (name, completed: 2021/00/00)

cut and paste row to AGOLItems_shelved table if shelving (see below)
set the AGOL_ITEM_ID field to hosted by <agency> for Farm from AGOL
set the AGOL_ITEM_ID field to exclude from AGOL to not publish to ArcGIS Online

[ ] Delete Google Drive data (name, completed: 2021/00/00)
[ ] Remove row from SGID.META.ChangeDetection (name, completed: 2021/00/00)
[ ] Remove data from forklift hashing and receiving (name, completed: 2021/00/00)
[ ] Remove row from data/hashed/changedetection.gdb/TableHashes (name, completed: 2021/00/00)

Shelve/Static
Choose one based on situation.

[ ] Upload to UtahAGRC/AGRC_Shelved folder in AGOL (New shelved item not already in AGOL) (name, completed: 2021/00/00)
[ ] Move existing AGOL item to AGRC_Shelved AGOL folder (shelving an item already in AGOL) (name, completed: 2021/00/00)
[ ] Upload to appropriate UtahAGRC/{SGID Category} folder in AGOL (for static datasets) (name, completed: 2021/00/00)

Add record to table.

[ ] Add record to AGOLItems_shelved table in ArcGIS Online  with shelved or static in the CATEGORY field (name, completed: 2021/00/00)

:robot: Automation validation

Assign yourself or someone to check the item by replacing name with their github @name.
Check [x] the box and add the date of verification 2020/01/01 when the task is verified.
~Strike~ out all items that do not apply.

[ ] Remove data from Open SGID (name on 2021/00/00)
[ ] sgid-index (@steveoh on 2021/00/00)
[ ] Auditor sets appropriate shelved/static/Deprecated information (@jacobdadams on 2021/00/00)

Are there service dependencies

Does an application depend on this data?
Are clients querying this data with the WebAPI?

Notification

[ ] Twitter (@steveoh)

Group Task Assignments

Check [x] the box when you have assigned all the tasks relevant to your group.

[x] Data Team (@gregbunce)
[ ] Dev Team (@steveoh)
[ ] Cadastre Team (@rkelson)

Let me know if you need any assistance with this or have any questions with the deprecation process.

conductor results for tasks - 153

check
status

@steveoh has completed 0 out of 3 tasks
:no_entry:

@jacobdadams has completed 0 out of 1 tasks
:no_entry:

gregbunce has completed 1 out of 1 tasks
:+1:

@rkelson has completed 0 out of 1 tasks
:no_entry:

conductor results for tasks - 153

check
status

@steveoh has completed 0 out of 3 tasks
:no_entry:

@jacobdadams has completed 0 out of 1 tasks
:no_entry:

gregbunce has completed 1 out of 1 tasks
:+1:

@rkelson has completed 0 out of 1 tasks
:no_entry:

conductor results for tasks - 153

check
status

@steveoh has completed 0 out of 3 tasks
:no_entry:

@jacobdadams has completed 0 out of 1 tasks
:no_entry:

gregbunce has completed 1 out of 1 tasks
:+1:

@rkelson has completed 0 out of 1 tasks
:no_entry:

conductor results for tasks - 153

check
status

@steveoh has completed 0 out of 3 tasks
:no_entry:

@jacobdadams has completed 0 out of 1 tasks
:no_entry:

gregbunce has completed 1 out of 1 tasks
:+1:

@rkelson has completed 0 out of 1 tasks
:no_entry:

Since the single trax line issue has been closed, this needs to be closed as well.


Master Kubernetes configuration

Describe the feature here
While working on master feature, I realized all configuration is fixed at build time [1]. However, most of the configuration are tipically runtimes properties, so I wonder if we can move them to runtime instead. Not sure if for any reason quarkus.camel.cluster.kubernetes.enabled must be build time, but, if not, it would be ideal to have it runtime as well.
[1] https://camel.apache.org/camel-quarkus/next/reference/extensions/kubernetes.html#extensions-kubernetes-configuration-having-only-a-single-consumer-in-a-cluster-consuming-from-a-given-endpoint

cc @jamesnetherton


Shortumation only showing 100 automations

Hi,
I have a lot of automations. But Shortumation only showing 100 automations.
Is this a known limitation?

Oh yes, I need to work on pagination. I will add this to my to do for the next release.

closing this, I've upped the limit for now to 10k.
will be implementing the pagination proper once I am done working through some of the features standing between me and v1 :)

https://github.com/asosnovsky/Shortumation/issues/78


Add support for lnd 0.14

Description:
Add support for lnd 0.14

Coverage remained the same at 21.942% when pulling 0bceb0802246680d9d1cbc71e5bc6399c1baad80 on mrfelton:feat/lnd-0.14 into 33fc554d37c0aa5a748c95cd8936412c82061600 on LN-Zap:next.


[InstagramBridge] Documentation for configuring this bridge

Thank you for suggestions, @yamanq!
Have you tested that? In my public instance that method stopped working, but seems to be working fine on private ones (50 generated feeds).

I don't have an Instagram account to test with, but the bridge seems to work without any additional configuration (1 generated feed queried every 4 hours). I will also try with this method if I create an account and use additional Instagram feeds.
I also missed one more spelling mistake on this line: configurate -> configure

@an____sila


Main

Hi,
I had to load the postgresql shema and insert-data SQL from PHP PDO.
The "COPY ... FROM stdin" statements can't be loaded this way, so I replace these with INSERT statements, which are easier to load, from PHP PDO as well as from pgadmin.
Not sure if you wish to make these changes in your package or not, but I thought it might be useful for others users too.
Thanks for your good work.

This would revert https://github.com/jOOQ/sakila/issues/6. COPY is much faster!

I understand, but this sql can't be loaded with PDO, maybe keeping the 2 versions and let the users choose would be useful.

Yeah, I don't disagree. I've restored the postgres-sakila-insert-data.sql as it was, and renamed the one using COPY commands to postgres-sakila-insert-data-using-copy.sql


added "**kwargs" to "predict"

There are a few more places in this file to add **kwargs I believe. @liususan091219 could you review the PR and follow up since you introduced **kwargs in the predict() function?

Hi @sonichi @liususan091219 , I did see more places, but I wasn't sure if they needed to be corrected.

There are a few more places in this file to add **kwargs I believe. @liususan091219 could you review the PR and follow up since you introduced **kwargs in the predict() function?

Hi @sonichi @liususan091219 , I did see more places, but I wasn't sure if they needed to be corrected.

Thanks for your help @zzheng93! Basically you need to add **kwargs to all the places of model.predict inside of the predict function inside model.py (simply control+F ".predict" and add the **kwargs).
Also, to fix the current pytest error, please change the .get in the following line to .pop:
https://github.com/microsoft/FLAML/blob/09eaf0f1b5231bdbe3a1e93476f9b0494c77d9dc/flaml/model.py#L315

Hi @liususan091219 , sure, I'll do it!

Hi @liususan091219, I have just committed and merged. Let me know if it works. Thanks!

Hi @liususan091219, I have just committed and merged. Let me know if it works. Thanks!

Looks good. Thank you!


server compile & watch should rm node_modules in client

It just installs from package.json...Need to manually link vetur-vls locally in client folder.


add more tests to improve RequiredCommandTest test coverage

Added and edited some tests in RequiredCommandTest class to bump up the test coverage to 97%.

Codecov Report

Merging #106 into master will increase coverage by 1.30%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #106      +/-   ##
============================================
+ Coverage     72.82%   74.12%   +1.30%
- Complexity      479      487       +8
============================================
  Files            83       83
  Lines          1461     1461
  Branches        152      152
============================================
+ Hits           1064     1083      +19
+ Misses          317      306      -11
+ Partials         80       72       -8

Impacted Files
Coverage Δ
Complexity Δ

.../seedu/address/logic/commands/RequiredCommand.java
97.22% <0.00%> (+26.38%)
22.00% <0.00%> (+8.00%)

Continue to review full report at Codecov.

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


Fix CONTRIBUTING file link

When we use these we'll expect the file to live in CONTRIBUTING.md, so previous path is correct.
Thanks for your contribution!


Exit gracefully on program exit

I figured might as well enhance set_helper() along with the others in case there is a reason to return an error in the future.

Ok, I buy it for register_helper(). So the PR looks good! With the nits addressed (I commented on the JitCompiled renaming), feel free to merge it.

Fixes #37


Standup Log

Date:2nd Sep
What issue(s) did I work on today?

Logged into salesforce to get a feel for it
took a looked at the documentation for some of the salesforce API. [there is soo much]
watched  https://www.youtube.com/watch?v=UI0f34Chsvk. Not a great video.
uses https://www.npmjs.com/package/jsforce [seems like a good idea to try this node module]

What issue do I plan to work on tomorrow?
Workshop with Josh.
Am I facing any blockers?
nope

Date: 2nd Sep
What issue(s) did I work on today?

Went through the current quiz on Esme Fairbairn's website prior to the application form.
Looked into documention about salesforceAPI

What issue do I plan to work on tomorrow?

Workshop 2 with josh
Figma

Am I facing any blockers?
no

Date: 3rd Sep
What issue(s) did I work on today?
began a demo of netlify functions. worked with a callback.
Tried to connect using JSforce module to the API to salesforce, got a response but our account doesnt have authorisation for third party apps aka the API.
What issue do I plan to work on tomorrow?
change demo to async-await.
set up dev acc with salesForce - link demo to it
Am I facing any blockers?
nope

@dubhcait
I have the same problem in the salesforce
API is not enabled for this Organization or Partner

Date: 3rd Sep
What issue(s) did I work on today?
Started working on Figma
What issue do I plan to work on tomorrow?
Figma
Am I facing any blockers?
Nope

Sallam & Abdullah
Date: 4th Sep
What issue(s) did we work on today?
Improving the Figma prototype.
What issue do we plan to work on tomorrow?
Trying to finish with Figma.
Are we facing any blockers?
No.

Dylan and Kate
Date: 4th Sep
What issue(s) did I work on today?
Figma
What issues do I plan to work on tomorrow?
Finishing Figma
Am I facing any blockers?
no

Date: 5th Sep
What issue(s) did I work on today?
Finished Figma and form sending leads to salesforce
What issues do I plan to work on tomorrow?
Tackle salesforce
Am I facing any blockers?

Date: 5th Sep
What issue(s) did I work on today?
Finished Figma
Research: Heroku and salesForce

The data needs to be manipulatable in salesforce so Heroku connect sync is better
https://www.youtube.com/watch?v=SZhhyDuQHp4
What issues do I plan to work on tomorrow?
Set up initial file structure
Am I facing any blockers?
nope

Date: 5th Sep
What issue(s) did I work on today?
Improving Figma
Discussing how to handle the application data using salesforce
What issues do I plan to work on tomorrow?
Edit Figma as the client wants after testing it.
Start writing issues on GitHub.
Am I facing any blockers?
no

Date: 6th Sep
What issue(s) did I work on today?
Created file structure
Started writing issues on GitHub.
What issues do I plan to work on tomorrow?
Monday - work on components
Am I facing any blockers?
no

Date: 6th Sep
What issue(s) did I work on today?
Screenshotted the quiz and made a Figma for the flow.
Made issues and labelled them
What issues do I plan to work on tomorrow?
Make components
Am I facing any blockers?
no

Date: 8th Sep
What issue(s) did I work on today?
Creating some component.
What issues do I plan to work on tomorrow?
Continue with the component.
Am I facing any blockers?
no

Dylan and Kate
Date: 9th Sep
What issue(s) did I work on today?
Attempted creating a new object in Salesforce...couldn't do it so created a developers salesforce account.
Using SQL DB to send information to salesforce.
Made popup modal
What issues do I plan to work on tomorrow?
Work on linking it to new text account we made today.
Create custom objects and mapping through those.
Finish modal.
Am I facing any blockers?
Need to see what's been written code-wise to see what needs to be done and how it will fit together.

Date: 9th Sep
What issue(s) did I work on today?
Creating some components
What issues do I plan to work on tomorrow?
Continue with components
Am I facing any blockers?
No

Date: 10th Sep
What issue(s) did I work on today?
Creating some components
What issues do I plan to work on tomorrow?
Finish front-end and start working with back-end
Am I facing any blockers?
No

Date: 10th Sep
What issue(s) did I work on today?
Connectod sql database with heroku connect
What issues do I plan to work on tomorrow?
start working on backend routes
Am I facing any blockers?
No

Date: 15th Sep
What issue(s) did I work on today?
Finishing /question route
What issues do I plan to work on tomorrow?
Finishing adding /question inside App.js
Am I facing any blockers?
Heroku connect had some troubles that I couldn't get any response from salesforce. I solved that by removing the old map and adding a new one with a new custom object(which is exactly the same with the previous one)

Date: 16th Sep
What issue(s) did I work on today?
Finishing adding the /question inside App.js and test the route.
What issues do I plan to work on tomorrow?
Discuss the stretch goals and test the local database.
Am I facing any blockers?
No

Date: 17th Sep
What issue(s) did I work on today?
Google Analytics
What issues do I plan to work on tomorrow?
Google Analytics
Am I facing any blockers?
No

Date: 17th Sep
Did noting, I was sick :mask:

Date: 18th Sep
What issue(s) did I work on today?
Start working with QuizPage, fix some issues in QuestionsPage
What issues do I plan to work on tomorrow?
Finish QuestionsPage
Am I facing any blockers?
No

Date: 19th Sep
What issue(s) did I work on today?
Finish QuizPage, fix some issues in QuestionsPage
What issues do I plan to work on tomorrow (22/9)?
Review database testing
Am I facing any blockers?
No

Date: 22nd Sep
What issue(s) did I work on today?
Finish database testing, remove finished issues
What issues do I plan to work on tomorrow?
Discuss how to improve the app
Am I facing any blockers?
No


Error while plotting EF

Describe the bug
While trying to plot the Efficient Frontier, the following error occurs:
TypeError: can't pickle osqp.OSQP_results objects
Expected behavior
Expected to get a plot of the effecient frontier.
Code sample
import pandas as pd
from pypfopt.efficient_frontier import EfficientFrontier
from pypfopt import risk_models
from pypfopt import plotting
from pypfopt import expected_returns
import matplotlib.pyplot as plt

# Read in price data
df = pd.read_csv("stock_prices.csv", parse_dates=True, index_col="date")

# Calculate expected returns and sample covariance
mu = expected_returns.mean_historical_return(df)
S = risk_models.sample_cov(df)

# Optimize for maximal Sharpe ratio
ef = EfficientFrontier(mu, S)
weights = ef.max_sharpe()
ef.portfolio_performance(verbose=True)

fig, ax = plt.subplots()
plotting.plot_efficient_frontier(ef, ax=ax, show_assets=False)

Operating system, python version, PyPortfolioOpt version
Windows 10, python 3.7, PyPortfolioOpt 1.4.1

I'm closing for now as I suspect it's an installation/environment thing. But please feel free to reopen if needed!


TS-4055: InactivityCop callback SM with INACTIVE_TIMEOUT before NET_EVENT_OPEN

for explain:
on a heavy load system, HttpSM create a connection to OS.
First, a TCP-SYN packet send to OS.
then, InactivityCop::check_activity callbacked before TCP-SYN/ACK send back from OS.
then, UnixNetVConnection::mainEvent(INACTIVE_TIMEOUT) is callbacked
then, HttpSM::main_handler(INACTIVE_TIMEOUT) is callbacked
...
then, HttpSM::handle_server_setup_error(INACTIVE_TIMEOUT) is callbacked
currently, the write_vio still not set, thus segment fault.

The change is small enough to be reasonable defensive code.  And it if got rid of your crash, that is great.
However, a better solution may be to assign the server_entry->write_vio in HttpSM::attach_server_session around line 5692
{code}
// Transfer control of the write side as well
server_session->do_io_write(this, 0, NULL);
{code}
The call to do_io_read above assigned the results to server_entry->read_vio.  We should do the same thing for the server_entry->write_vio.  Since the server_entry is set in this function, if we set server_entry->write_vio here too, there would be no path with an unset write_vio.

Thanks! you are right. I got a core file that show me the write_vio is NULL in gdb. Can you revert this pull request  then create a new patch to set write_vio in HttpSM::attach_server_session to get a perfectly result?

@shinrich is going to shepard this.

Sorry for the long delay.  It looks like the original code change in this PR got committed to master through one path or another.  @oknet you can go ahead and close this PR.  I'll make another PR to change the assignment to write_vio that I suggested.

Ok, I see, @bcall commited this change on 12/14/15, but was off by one in the bug number, So all the commits didn't necessarily line up nicely.  The commit # was  f17e7c6ddf8d771b3dc21b59360e982c55423c46

@shinrich I'm closed the PR, but github show me "but the oknet:patch-1 branch has unmerged commits".

It looks like @bcall merged it up as part of f17e7c6ddf8d771b3dc21b59360e982c55423c46 but mislabeled it for TS-4056.  So it is definitely in there.


Update some constants like ZK_ROWS for clear naming

Reference: #213

@mimoo
I found that the current kimchi book build is failing, and affecting the CI(both build & clippy).
Can you check the reason?
I spent some minutes, but cannot find why. :man_shrugging:

@duguorong009 this should be fixed in master now : o but if it is still happening @jspada would know better

Then, is it better to invite & ask @jspada for more info?

CI error has been fixed in latest PR! @mimoo


What-If Noise Suppression Summary

We are now auto-generating noise reports and noise suppression via live traffic validation. You can view the latest report to see which Resource Providers, Resource Types, and apiVersions we have validated here:
https://htmlpreview.github.io/?https://github.com/Azure/arm-template-whatif/blob/shenglol/summary-for-arm-w10/NOISE_SUPPRESION_SUMMARY.html
There's a progress bar under each resource type indicating how "clean" that resource type is. We'll regenerate the summary markdown weekly(ish) for you to track our progress.

There's a progress bar under each resource type indicating how "clean" that resource type is. We'll regenerate the summary markdown weekly(ish) for you to track our progress.

https://htmlpreview.github.io/?https://github.com/Azure/arm-template-whatif/blob/master/NOISE_SUPPRESION_SUMMARY.html


downshift and autosuggest page resize error

if i use animated page at startup, Autosuggest menu show any where on page. if page resize change return normal.   This problem have downshift and autosuggest components.
I use material-ui 3.7.0 version.

Do you have a minimal reproducible example? You can use codesandbox as a starting point.


support for Postgres schemas

I made a further comment on issue #1280, where an error occurs if you try and specify the Postgres schema to use. i.e. normally to create a table would would specify:
CREATE TABLE schema_name.table_name ( ... )
If you specify the table name in this form, GORM escapes the table name into:
"schema_name"."table_name"
This causes an error.
e.g. I specified the table as:
func (u *User) TableName() string {
	// custom table name, this is default
	return "schema_1.users"
}

The only way I could get something working was to modify the GORM code as follows. There may be side effects with this approach, and I have not tested all scenarios yet. Also, ideally, all of the db-specific (i.e. "dialect") code should be in the dialect_postgres.go file, which I have not done. In a proper solution, the function to escape table names, column names, etc. should be in the dialect file.
The changes are:
scope.go:

// QuotedTableName return quoted table name
// DEF modified to not add quotes to escape table name if dialect is postgres

func (scope *Scope) QuotedTableName() (name string) {
	oldStr := scope.TableName()
	aDialect := scope.Dialect().GetName()

	if aDialect == "postgres" {
		return oldStr
	}

	if scope.Search != nil && len(scope.Search.tableName) > 0 {
		if strings.Index(scope.Search.tableName, " ") != -1 {
			return scope.Search.tableName
		}

		if aDialect == "postgres" {
			return scope.Search.tableName
		}

		newStr := scope.Quote(scope.Search.tableName)
		return newStr
	}

	if aDialect == "postgres" {
		return oldStr
	}

	newStr := scope.Quote( scope.TableName() )
	return newStr

	//return scope.Quote(scope.TableName())
}

I also made the following changes to dialect_postgres.go:

// DEF: had to modify this to separate table_schema from table_name
func (s postgres) HasIndex(tableName string, indexName string) bool {
	var count int
	parts := strings.Split( tableName, "." )

	s.db.QueryRow("SELECT count(*) FROM pg_indexes WHERE schemaname = $1 AND tablename = $2 AND indexname = $3", parts[0], parts[1], indexName).Scan(&count)
	return count > 0
}

// DEF: may need to modify this to separate table_schema from table_name -- tbd
func (s postgres) HasForeignKey(tableName string, foreignKeyName string) bool {
	var count int
	s.db.QueryRow("SELECT count(con.conname) FROM pg_constraint con WHERE $1::regclass::oid = con.conrelid AND con.conname = $2 AND con.contype='f'", tableName, foreignKeyName).Scan(&count)
	return count > 0
}

// DEF: had to modify this to separate table_schema from table_name
func (s postgres) HasTable(tableName string) bool {

	parts := strings.Split( tableName, "." )
	//fmt.Println("Schema: ", parts[0], " Table: ", parts[1])

	var count int
	s.db.QueryRow("SELECT count(*) FROM INFORMATION_SCHEMA.tables WHERE table_schema = $1 AND table_name = $2 AND table_type = 'BASE TABLE'", parts[0], parts[1]).Scan(&count)
	return count > 0
}

// DEF: had to modify this to separate table_schema from table_name
func (s postgres) HasColumn(tableName string, columnName string) bool {
	var count int
	parts := strings.Split( tableName, "." )

	s.db.QueryRow("SELECT count(*) FROM INFORMATION_SCHEMA.columns WHERE table_schema = $1 AND table_name = $2 AND column_name = $3", parts[0], parts[1], columnName).Scan(&count)
	return count > 0
}

There may be other changes needed as well, which I will post as I discover them.
Can we get official code support for Postgres schemas?

On further thought, its probably better to select the schema in Postgres by using a raw sql execute:
e.g.
db.Exec("SET search_path TO testdb1")
Thereafter, all operations are directed to the selected schema.

Not going to support . for postgres, as it will lose some features that GORM currently support.

@dvaldivia this is because SET search_path TO ... affects just one connection to database, but sql.DB has a pool of connections under the hood.

Or you can solve it with this dirty hack:
db = db.Begin()
db.Exec("set search_path to my_schema")
defer db.Rollback()

Try to remove pointer from User
func (User) TableName() string {
	// custom table name, this is default
	return "schema_1.users"
}

This seems to work for me.

func (Block) TableName() string {
	return "\"ethereum.blocks\""
}

Just for anyone encounter this issue, the above method works with dot, gorm.io/gorm v1.25.2


Dropdown to select Advanced Settings

There are bunch of input fields under Admin -> Advanced Settings that could be converted into a dropbox:

Default branch
Default version

(this will limit the user to just those active/possible versions instead of writting things that are invalid or does not exist)
Also, this would involve more coding (since we need to populate the dropdown with data that we don't have in the database at the moment), but would be a good addition also:

Requirements file
Python configuration file

This will probably need more discussion before start working on the implementation regarding the UX design

Ref: https://github.com/readthedocs/readthedocs-corporate/issues/137

Referencing to my comment on the other issue https://github.com/rtfd/readthedocs.org/issues/3611#issuecomment-365809242. What about listing the valid options (like recommendations), but the user also can enter a custom option, with this the validation isn't necessary and probably a more simple solution.

Hello @humitos @stsewd, I would like to work on this issue. I have added autofill for  "Default version"  and "Default branch" form field.  But having some doubt in general. Does all configuration files need to be shown and for which branch of the project?  Furthermore, for "Default version", do we need to show version.slug or version.verbose_name ?  I have opened a basic PR regarding this, please review and suggest changes.

Thinking about this a little more, I think you should be required to set the version to active before it can be set to  the default version. I think dropdown for default branch and default version are a great start. I see the following work:

Populate a dropdown for both fields in the view
Do form validation on fields and choices for active versions and existing branches

There are a couple things we can maybe punt on or include here:

The reverse case, where you try to deactivate a version that set as your default version. Maybe just add validation and throw an error here
Cleaning our branch list periodically, it's append only for now

The reverse case would be an easy addition i think

Cleaning our branch list periodically, it's append only for now

This shouldn't be the case. We should be removing them as they are removed in VCS: https://github.com/rtfd/readthedocs.org/blob/master/readthedocs/restapi/views/model_views.py#L196


Any advice on using Metadata API in Schedulable Apex?

I'm using your very, very useful MetadataService in Batch Apex where I call out to a web service.  Sometimes, I will need to add some Custom Fields to import the web service data.
Currently when I execute the Batch manually, I pass my UserInfo.getSessionId() value as a parameter in my Batch Apex which uses that Session Id when MetadataService.Api (what I call "MetadataService.MetadataPort") is constructed.
I would like to automate this by scheduling Apex to execute the Batch Apex regularly.  I can pass my UserInfo.getSessionId() when I call System.schedule(...), but I suspect my Session Id will expire in short order.
Do you have any advice using Metadata API in Scheduled Apex?
Many thanks!

I found a solution that could be handy to add to Metadata Service.  The method works by sending an HTTP Request to Salesforce to get an Access Token which can be used in place of the User's Session Id.
Configuration:

Create a Connected App with OAuth enabled.  I set the Callback URL as the Org's Salesforce URL, and selected the OAuth Scope of "Access and manage your data (api)".

Store your User's Username, Password, and Security Token somewhere safe -- Encrypted Fields or Secure Custom Setting.  In the code below, I store my information in a Custom Object called Bureau__c.

Add the following code to Metadata Service (Note I use the class Name "Api" instead of "MetadataPort" because of personal preference.) :
public class MetadataService {

    public class OAuth2 {
        public String id {get;set;}
        public String issued_at {get;set;}
        public String instance_url {get;set;}
        public String signature {get;set;}
        public String access_token {get;set;}
    }

    public class Api {
        // Variables...

        public Api(Id bureauId){
            List<Bureau__c> bureauList = [
                SELECT Id, Salesforce_Username__c, Salesforce_Password__c, Salesforce_Security_Token__c,
                    Salesforce_Consumer_Key__c, Salesforce_Consumer_Secret__c
                FROM Bureau__c
                WHERE Id = :bureauId
            ];
            // Generate Request
            HttpRequest tokenRequest = new HttpRequest();
            tokenRequest.setMethod('POST');
            tokenRequest.setEndpoint(
                URL.getSalesforceBaseUrl().toExternalForm() + '/services/oauth2/token' +
                '?grant_type=password' +
                '&client_id=' + (bureauList.isEmpty() ? null : bureauList[0].Salesforce_Consumer_Key__c) +
                '&client_secret=' + (bureauList.isEmpty() ? null : bureauList[0].Salesforce_Consumer_Secret__c) +
                '&username=' + (bureauList.isEmpty() ? null : bureauList[0].Salesforce_Username__c) +
                '&password=' + (bureauList.isEmpty() ? null : bureauList[0].Salesforce_Password__c) +
                    (bureauList.isEmpty() ? null : bureauList[0].Salesforce_Security_Token__c)
             );
            // Get Response
            Http http = new Http();
            HttpResponse tokenResponse = http.send(tokenRequest);

            try {
                OAuth2 oauth2 = (OAuth2) JSON.deserialize(
                    tokenResponse.getBody(),
                    MetadataService.OAuth2.class
                );
                this.SessionHeader = new MetadataService.SessionHeader_element();
                this.SessionHeader.sessionId = oauth2.access_token;
            } catch(Exception whoops){
                System.debug('OAuthException: ' + whoops.getTypeName() + ': ' + whoops.getMessage());
            }
       }

       // Other methods...
   }

Thanks so much for sharing this, i will for sure get this into the library, great contribution! Thanks! :+1:

Oh btw, i wonder if the Named Credentials feature might also be an option, did you look at this? Might avoid having to store user name and password in the scheduled jobs state perhaps?

Currently, I have my SF credentials stored in Encrypted Fields on a Custom
Object.  I have to store another Web Service's credentials, so I used the
same Custom Object -- but this Object only has the one record, so it would
be nice to store this securely somewhere else.
I haven't had a full chance to look at Named Credentials yet, but it seems
a viable solution.  I will research, test it out, and see if the
credentials can be stored securely and easily changed when credentials
change.  I'll be sure to forward any results / code.
Thanks for the wonderful API as well as all of your notes, documentation,
examples, and support.
On Thu, May 21, 2015 at 2:46 AM, Andrew Fawcett<EMAIL_ADDRESS>wrote:

Oh btw, i wonder if the Named Credentials
https://help.salesforce.com/apex/HTViewHelpDoc?id=named_credentials_about.htm&language=en_US
feature might also be an option, did you look at this? Might avoid having
to store user name and password in the scheduled jobs state perhaps?
—
Reply to this email directly or view it on GitHub
https://github.com/financialforcedev/apex-mdapi/issues/89#issuecomment-104155890
.

--
Scott Pelak
Senior Salesforce Developer
Flexchecks, Inc. http://www.flexchecks.com

Your very welcome indeed! :+1:
Look forward to further updates from you.

@flexchecks Did you ever revisit Named Credentials with this wrapper? There is also another poster interested here https://github.com/financialforcedev/apex-mdapi/issues/169...

First - thanks so much for posting this code. Here is my situation:
I need to create a list view for a user who does not have 'modify all data' privileges. No worries, I create a COnnected app and use the code above to login, get the token, use it as a session id and make the changes in a @future method of my controller.. Seems like it ought to work.
Sadly, I get stuck before I get there. I am using MetadataService that was recently downloaded and cant see where the code posted by ghost is in MetadataService. So, I simply copied it and put it in another class and use it from there. Cant get it to work. I am sure it is a noob style error...
Is the code in the most recent version of MetadataService? If so, how can I find it? Many thanks for any tips.

Sure take a look at this, https://www.gscloudsolutions.com/blogpost/Using-Named-Credentials-with-the-Apex-Wrapper-Salesforce-Metadata-API-apex-mdapi?blogpost=true&utm_source=twitter&utm_medium=social&utm_campaign=named_credentials

Post seems to be brought down. Have you, by any chance, saved that information anywhere else?
Thank you very much in advance


Add feature desktop - Added Responsiveness for Desktop version

Updated my mobile version and added responsiveness through media queires to make a Desktop version.
All images and background images uploaded. Index.html and styles.css file updated accordingly.

All the suggested changes have been incorporated within the project files . Now sending it again for a re-review. Please approve.

All suggested changes have been incorporated. Submitting the Project for a re-review. This is my third review pleas approve


Update the game over message

Update the game over message so people know how to    play again!

やっぱり必要です


Use CodeGeeX with standard HuggingFace Transformers API

Is there a plan to support loading the model using standard HF API and run inference?

Hi! Thanks for the great work, I hope to see CodeGeeX on huggingface soon.

mark


label_map does not do the same augmentation (random crop) as the input image

Hi
Thanks so much for the nice work!
I am curious if you could share the insight on processing of the label_map.
If I understand it correctly, after we load image and the corresponding, we shall do the same cropping/ flip/ resize, but in
https://github.com/zihangJiang/TokenLabeling/blob/aa438eff9b9fc2daa8c8b4cc6bfaa6e3721f995e/tlt/data/label_transforms_factory.py#L58-L73
Seems only image was cropped, but the label map does not do the same cropping, which make the label map not match with the image?
Shall we do
        return torchvision_F.resized_crop(
                img, i, j, h, w, self.size, interpolation
        ), torchvision_F.resized_crop(
                label_map, i / ratio, j / ratio, h / ratio, w / ratio, self.size, interpolation
        )

Thanks

Thanks for your question, the coords (i.e. i,j,h,w) for the random crop are stored in the label map and will be used later here.
https://github.com/zihangJiang/TokenLabeling/blob/aa438eff9b9fc2daa8c8b4cc6bfaa6e3721f995e/tlt/data/mixup.py#L48-L70
This helps to crop the label map using the given coords in parallel with rio_align function, which will be slightly faster than processing each label map individually as in your example.


Publish trace decisions through pub/sub

The decider node will make a decision and publish it to other nodes via a pub/sub system. Decisions are published once, and all nodes receive them through their subscriptions.

Create a pub/sub channel for keep decisions and another for drop decisions.
Keep decision messages should contain all key-value pairs that need to be added to every span within the trace.
Drop decisions should be batched, either when a specified number of decisions is reached or after a timeout, whichever comes first.

When a decision is published:

Publish the decision when a trace decision has been made
If a span proxy arrives and the decider node already has a trace decision for that trace, it should re-publish the existing trace decision.

I think this needs to wait for the following to completed first:

#1318
#1325

@MikeGoldsmith I believe this is no longer blocked by the span proxy issue anymore. I have updated the issue to include more details. Let me know if you have any questions


Videos play in a separate player, but are not displayed on the stage

There's a nasty problem with embedding a video from a link on iOS. For some reason it doesn't play on the stage. Here's an example:
I add a video via StreamElements to an overlay, then the overlay on the stream updates, but the video plays in a separate player. The same thing happens if I add the video to the “Media players” widget.
https://github.com/user-attachments/assets/6011cca5-eb41-4d28-81b1-676586f0032f
I'm using IPhone 13 (IOS 18)

I don't know how to fix it. For now, this is the recommendation:


Create Climbing Stairs.py

I have solved this problem using dynamic programming.
Please suggest me some more issues to contribute.

I have solved this problem using dynamic programming. Please suggest me some more issues to contribute.

@Aditya-K477 you can create more DSA problems in Issues section which are not already created will assign those to you, and please raise PR's for issues which are not assigned to you.
I will not merge this PR it's assigned with someone else.


Error: Cannot read property 'Plugin' of undefined, resolving symbol Firebase in<EMAIL_ADDRESS>

ionic build android --release
makes the android build perfectly
When i try
build android --prod --release
i am getting the error
[22:37:02]  ionic-app-scripts 1.2.2
[22:37:02]  build prod started ...
[22:37:02]  clean started ...
[22:37:02]  clean finished in 2 ms
[22:37:02]  copy started ...
[22:37:02]  ngc started ...
can't resolve module @ionic-native/core from<EMAIL_ADDRESS>[22:37:03]  ionic-app-script task: "build"
[22:37:03]  Error: Cannot read property 'Plugin' of undefined, resolving symbol Firebase in
<EMAIL_ADDRESS>Error: Cannot read property 'Plugin' of undefined, resolving symbol Firebase in<EMAIL_ADDRESS>at simplifyInContext (/Users/yokks/Documents/apps/NammaAlangulam/node_modules/@angular/compiler-cli/src/static_reflector.js:475:23)
at StaticReflector.simplify (/Users/yokks/Documents/apps/NammaAlangulam/node_modules/@angular/compiler-cli/src/static_reflector.js:478:22)
at StaticReflector.annotations (/Users/yokks/Documents/apps/NammaAlangulam/node_modules/@angular/compiler-cli/src/static_reflector.js:60:36)
at NgModuleResolver.resolve (/Users/yokks/Documents/apps/NammaAlangulam/node_modules/@angular/compiler/bundles/compiler.umd.js:14261:46)
at CompileMetadataResolver._loadNgModuleMetadata (/Users/yokks/Documents/apps/NammaAlangulam/node_modules/@angular/compiler/bundles/compiler.umd.js:14646:45)
at CompileMetadataResolver.getUnloadedNgModuleMetadata (/Users/yokks/Documents/apps/NammaAlangulam/node_modules/@angular/compiler/bundles/compiler.umd.js:14636:23)
at addNgModule (/Users/yokks/Documents/apps/NammaAlangulam/node_modules/@angular/compiler/bundles/compiler.umd.js:12944:43)
at /Users/yokks/Documents/apps/NammaAlangulam/node_modules/@angular/compiler/bundles/compiler.umd.js:12957:16
at Array.forEach (native)
at _createNgModules (/Users/yokks/Documents/apps/NammaAlangulam/node_modules/@angular/compiler/bundles/compiler.umd.js:12956:28)
npm ERR! Darwin 16.4.0
npm ERR! argv "/usr/local/Cellar/node/7.6.0/bin/node" "/usr/local/bin/npm" "run" "ionic:build" "--" "--prod" "--release"
npm ERR! node v7.6.0
npm ERR! npm  v4.1.2
npm ERR! code ELIFECYCLE

used package.json is
{
"name": "ionic-hello-world",
"author": "Ionic Framework",
"homepage": "http://ionicframework.com/",
"private": true,
"scripts": {
"clean": "ionic-app-scripts clean",
"build": "ionic-app-scripts build",
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve"
},
"dependencies": {
"@angular/common": "2.2.1",
"@angular/compiler": "2.2.1",
"@angular/compiler-cli": "2.2.1",
"@angular/core": "2.2.1",
"@angular/forms": "2.2.1",
"@angular/http": "2.2.1",
"@angular/platform-browser": "2.2.1",
"@angular/platform-browser-dynamic": "2.2.1",
"@angular/platform-server": "2.2.1",
"@ionic-native/core": "^3.3.0",
"@ionic-native/firebase": "3.3.0",
"@ionic/storage": "1.1.7",
"@ngx-translate/core": "^6.0.1",
"@ngx-translate/http-loader": "0.0.3",
"angularfire2": "^2.0.0-beta.8",
"firebase": "^3.7.3",
"ionic-angular": "2.0.1",
"ionic-native": "2.4.1",
"ionicons": "3.0.0",
"ng2-translate": "^5.0.0",
"rxjs": "5.0.0-beta.12",
"sw-toolbox": "3.4.0",
"zone.js": "0.6.26"
},
"devDependencies": {
"@ionic/app-scripts": "^1.2.2",
"typescript": "2.0.9"
},
"cordovaPlugins": [
"cordova-plugin-statusbar",
"cordova-plugin-splashscreen",
"cordova-plugin-console",
"cordova-plugin-whitelist",
"cordova-plugin-device",
"ionic-plugin-keyboard"
],
"cordovaPlatforms": [
"ios",
{
"platform": "ios",
"version": "",
"locator": "ios"
}
],
"description": "NammaAlangulam: An Ionic project"
}

this is an issue for ionic native


problem with config going from v 03 to v 04

Hi,
I just upgraded to version 04 from 03.
I get this error message under v04:
"env_info = env.reset(arenas_configurations_input=arena_config_in,train_mode=train_mode)[default_brain]
TypeError: reset() got an unexpected keyword argument 'arenas_configurations_input'"
env.reset works in v 04 when I use:
env_info = env.reset(config=arena_config_in,train_mode=train_mode)[default_brain]
( 'config 'as the keyword vs 'arenas_configurations_input')
Best regards 8-)

Hi Phil,
See my answer on your other post here, it looks like you're still on an older version of the environment as arenas_configurations_input is definitely the correct variable name.
I will close this issue as I think these are linked, please reopen it if you still face the issue after a fresh install.

Is it possible he has upgraded the Python code to 0.4 but not the Unity executable?

Right, I didn't think about this one! It might even be the other way around (downloaded the new exec but didn't pull the code). I'll reply on the other issue to make sure everything is updated.
Thanks a lot for pointing it out