[Feat]: support habor-like "cache check on pull" in registry mirroring

Is your feature request related to a problem? Please describe.
In my understanding registry mirroring with zot currently have a few shortcomings:

Use on-demand synchronization alone could cause stale cache/outdated image.
Periodically polling from the upstream registry could easily hit rate limits, and I think there is no need to poll rarely pulled images.

P.S.
I am currently evaluating zot as a alternative to harbor proxy cache, but I don't know how many images in my cluster are still in docker image format (some deployments use sha256 tag). Is there any recommended method to quickly check the image format?
Describe the solution you'd like
Quoted from How Harbor proxy cache works

When a pull request comes to a proxy cache project, if the image is not cached, Harbor pulls the image from the target registry and serves the pull command as if it is a local image from the proxy cache project. The proxy cache project then caches the image for a future request.
The next time a user requests that image, Harbor checks the image’s latest manifest in the target registry and serves the image based on the following scenarios:
If the image has not been updated in the target registry, the cached image is served from the proxy cache project.
If the image has been updated in the target registry, the new image is pulled from the target registry, then served and cached in the proxy cache project.
If the target registry is not reachable, the proxy cache project serves the cached image.
If the image is no longer in the target registry, no image is served.
As of Harbor v2.1.1, Harbor proxy cache fires a HEAD request to determine whether any layer of a cached image has been updated in the Docker Hub registry. Using this method to check the target registry will not trigger the Docker Hub rate limiter. If any image layer was updated, the proxy cache will pull the new image, which will count towards the Docker Hub rate limiter.

I think that mechanism is deserve the effort.
Describe alternatives you've considered
No response
Additional context
No response

Hello @networkhermit
Zot's sync works in a similar way, there are s ome differences though.
Thanks for trying out zot!

When a pull request comes to a proxy cache project, if the image is not cached, Harbor pulls the image from the target registry and serves the pull command as if it is a local image from the proxy cache project. The proxy cache project then caches the image for a future request.

true for zot.

The next time a user requests that image, Harbor checks the image’s latest manifest in the target registry and serves the image based on the following scenarios:
If the image has not been updated in the target registry, the cached image is served from the proxy cache project.

true for zot.

If the image has been updated in the target registry, the new image is pulled from the target registry, then served and cached in the proxy cache project.

true for zot

If the target registry is not reachable, the proxy cache project serves the cached image.

true for zot

If the image is no longer in the target registry, no image is served.

false for zot, zot will continue to serve the local image, it won't remove or invalidate it.

As of Harbor v2.1.1, Harbor proxy cache fires a HEAD request to determine whether any layer of a cached image has been updated in the Docker Hub registry. Using this method to check the target registry will not trigger the Docker Hub rate limiter. If any image layer was updated, the proxy cache will pull the new image, which will count towards the Docker Hub rate limiter.

This is not true for zot, because we are converting docker images to OCI and we don't store the mapping between Docker digests and OCI digests so that we can compare later.
Because of this conversion, to check if a docker image is already cached, we first get the manifest, then its config blob and convert them to OCI, which will give us the manifest digest, then it will check the cache for that OCI manifest digest and if's the same with the local one then zot will serve the cached image, otherwise it will first pull the update from target then serve it.
I think harbor stores the docker images as they are, I don't think harbor converts them to OCI, right?

I'm curious that if the original image is converted to OCI format when mirroring, would there be some kind of label in the web ui?

Hi @networkhermit,
All images in zot are OCI only (either natively or converted). Not sure how a label would help here.
Also, we would be remiss if we didn't mention https://github.com/project-zot/zot/issues/724

All images in zot are OCI only (either natively or converted). Not sure how a label would help here.

I think it is helpful to explicit label image is "Converted", meaning the image signature / metadata could be different from the upstream image.

@networkhermit "add a label" as in an annotation? to the image after conversion. Ideally, we don't want to mutate the image anymore than we already are.

@networkhermit "add a label" as in an annotation? to the image after conversion. Ideally, we don't want to mutate the image anymore than we already are.

No. Not label/annotation in the image manifest, but metadata attribute or tag stored only in zot, so it can be displayed in the web interface. But I prefer to disable the image convertion altogether to avoid signature/checksum mismatch.

But I prefer to disable the image conversion altogether to avoid signature/checksum mismatch.
In short-term, yes, https://github.com/project-zot/zot/issues/724

In long-term, if under your control of course, would suggest publishing OCI images directly upstream (dockerhub in this case?)

v2.1.2-rc3 and above now supports docker images natively.
sync/mirror is a little complicated to deal with. zot being a OCI registry first and foremost, if upstream is docker image, what do we do downstream? preserve or convert or both etc

I think adding an option to preserve the upstream format is necessary, or even make it the default behavior.
Personally, I use skopeo copy --all --preserve-digests to preserve the upstream digests and all the images in the list. Although, Harbor Registry doesn't seem to copy all the images with different OS and architecture.


Standardize npm

Coverage decreased (-3.2%) to 79.009% when pulling 63acde818c6c463bacc7ab8a1d2bbf31854e39f5 on standardize_npm into 41e74182d3cf0f3ed1d3b623f2763d3f221765a3 on master.

Coverage decreased (-3.2%) to 79.009% when pulling 63acde818c6c463bacc7ab8a1d2bbf31854e39f5 on standardize_npm into 41e74182d3cf0f3ed1d3b623f2763d3f221765a3 on master.


Validation issue with number starting with 7 for India

returning false at line
getNumberTypeHelper(nationalSignificantNumber, metadata) != PhoneNumberType.UNKNOWN

@prathameshtal
Thank you for taking the time to improve libphonenumber!
We need more information to fix this. Please see our contribution guidelines.

"+" symbol was missing in my input. Thanks @penmetsaa


[WebAPI] TC dev for ExtendableMessageEvent.waitUntil()

Impacted tests(approved): new 2, update 0, delete 0
Unit test platform: Crosswalk for Android 21.51.544.0
Unit test result summary: pass 2, fail 0, block 0
https://crosswalk-project.org/jira/browse/CTS-1812

LGTM, please check-pick to Crosswalk-21 too.


WAR: Requests

Access to that proxy from browser:
	<serviceProxy>
		<target host="www.predic8.de" />
	</serviceProxy>

will result in byte garbage. Request from curl will result in the proper page. Maybe there is an issue with compression.

@rrayst think you fixed that right?


docs: recommendation of canary if Chrome is preferred

fixes #291, sort of.

@benjamingr  seem good?

Looks good to me, thanks!


Add a utility to check whether two Fused-einsums are performance-isomorphic.

A canonicalization routine is an attractive option.
The canonicalization should respect both: the re-arrangements at the indexing expression level and the ordering in the sequence of the einstein summations.

"Performance isomorphic" is ill-defined. Pushed that responsibility onto the user.


API guiding principles in refactoring

I just wanted to share some details of the guiding principles I'm using in refactoring the API:

The Python API should be similar to the official APIs.
The API should be Pythonic. We're improving on this front already with naming conventions. Function signatures and general flow control leave room for improvement yet.
The API should be self-documenting. Function signatures with appropriate variable names help explain the use to the user and are especially helpful when working in an IDE with autocomplete features. Limit arbitrary input (*args and **kwargs) to parameters that aren't necessary for typical use cases.
Don't allow undefined behavior. Allowing requests to be made to GDAX with parameters that don't align to their specs invites undefined behavior from GDAX (if their response simply isn't an error) which is the worst. A minimal amount of checking in the Python API can catch these situations and display informative errors. A couple examples:

Required parameters. If the parameter is required by the API spec, it should be required by the Python function. Easy enough to do by not specifying default parameters for those variables.
Mutually exclusive parameters. For market orders, you specify either size or funds which correspond to an order in BTC or USD (for example). I don't want to find out what happens when you specify both parameters at once.

OK, that's it for now. Just trying to lay out the thought process behind the large changes that I'll be pushing soon. Happy to hear any input or additional thoughts.

@acontry This all makes very good sense to me, and I'm happy to conform to these principles in my contributions. The two things that I'd add here are:

We should establish a convention for error handling. See #27 for that discussion.
It might be good to copy this writing to CONTRIBUTING.md

100% behind all of this. You all are bringing great ideas to the table.


Bug with autoloading on phpstan 0.12.22

Larastan Version: 0.5.7
PhpStan Version: 0.12.22
--level used: max

Description
For latest version of phpstan (0.12.22)!
On analyze action:
 ErrorException thrown in /builds/trv3/core/vendor/nunomaduro/larastan/src/ApplicationResolver.php on line 109 while loading bootstrap file /builds/trv3/core/vendor/phpstan/phpstan/../../nunomaduro/larastan/bootstrap.php: Undefined index: AI\Core\

Method ApplicationResolver@getProjectSearchDirs has wrong composer dir:
Expected: /home/vagrant/projects/core/vendor/composer
Actual: phar:///home/vagrant/projects/ai/core/vendor/phpstan/phpstan/phpstan/vendor/composer
phpstan code reference: https://github.com/phpstan/phpstan-src/commit/a1d3990c95b7a064a0451111153a6bef39f5d9a2

Thank you for your report.

We're experiencing the same problem.

Yep, Larastan's own tests are also failing for the same reason.
You can use PHPStan 0.12.21 until we fix the issue.

PHPStan 0.12.21 gives the same error for me, using 0.12.20 however works

cc @ondrejmirtes.

Looks like the issue is here: https://github.com/nunomaduro/larastan/blob/master/src/ApplicationResolver.php#L102-L104
When we request ClassLoader via reflection looks like it gets the vendor/phpstan/phpstan/phpstan/vendor/composer/ClassLoader.php file. Not the vendor/composer/ClassLoader.php
Right now I don't have the time to look deeper. Just a pointer if anyone wants to attempt a fix.

The function https://www.php.net/manual/en/function.realpath.php may help to solve this.

Can you explain what the code in https://github.com/nunomaduro/larastan/blob/master/src/ApplicationResolver.php does and why are you inspecting the PSR4 maps?
I'm quite sure you could ask PHPStan for %composerAutoloaderProjectPaths% instead and discover autoloaders that way. It might return up to three autoloader paths I think.

I have installed a fresh Laravel application with Larastan. And it works. Can someone explaining me how can I reproduce the issue?

Well it’s true that the ClassLoader inside PHAR gets loaded as the first one now so the behaviour others are seeing in this issue is expected...

When I tried to run Larastans tests with composer test it was failing for the same reason as in the original issue.

Got it. Give me a second.

Can you explain what the code in /src/ApplicationResolver.php@master  does and why are you inspecting the PSR4 maps?
I'm quite sure you could ask PHPStan for %composerAutoloaderProjectPaths% instead and discover autoloaders that way. It might return up to three autoloader paths I think.

In that class, we are trying to find all the service providers that the application uses. And register them to the Laravel app.

I am a little bit tired today, maybe someone on the community would like to jump in: https://twitter.com/enunomaduro/status/1257399917691224067.

Something along these lines will probably be sufficient: https://github.com/nunomaduro/larastan/pull/561
You don't even need my suggestion with %composerAutoloaderProjectPaths% because I noticed that you're getting composer.json from the current working directory anyway, so there's no need for reflection to tell us the path to the Composer class loader...

I am a little bit tired today, maybe someone on the community would like to jump in: https://twitter.com/enunomaduro/status/1257400309212680197.

The problem is related to the ApplicationResolver class which is only used in a package environment and not in a Laravel Application environment (see bootstrap.php file). The first autoload.psr-4 namespace (first key) is read from the composer.json in order to resolve all project classes. The method getProjectSearchDirs is intent to obtain the relative directory with source code (in my case ./src).
I think the solution is maybe a lot simpler because the source code directory is also in the composer.json file, namely the corresponding value within autoload.psr-4.
Finally, some points which might be relevant:

I wonder why only the first item from autoload.psr-4 is read from composer.json. There could be multiple items here right?

It might be a good moment to reflect on the relation with the 'paths' parameter in the phpstan.neon file. In my case this also points to the ./src directory.

The main task of the ApplicationResolver is to register al the serviceproviders. These might also be found in the composer.json -> extra.laravel.providers.

https://github.com/nunomaduro/larastan/pull/561 fixes this issue.
@SocyList I just restored how it previously worked before I changed the order of autoloaders in PHPStan itself. Of course we could take a deeper look at the code but it's not necessary now.

Faced with this issue.
Fixed by requiring laravel framework with composer
composer req --dev laravel/framework
without laravel it show mentioned error with unknown key

Could you tell us about your project that uses Larastan but nit Laravel?

I worked with lot of laravel projects. As well I write some small composer packages for these projects.
Sometimes I explicitly require laravel as dev dependency for package. My last attempt was not required to install laravel, but I tried to configure larastan as usual with composer req nunomaduro/larastan and it started to run but hungs with mentioned error
As well I would mention that orchestra/testbench-dusk package also required and it is minimal to have it together with laravel for start using larastan.
Probably these packages should be configured as dependencies for larastan, but up to you.
I left my comment just to help somebody else faced with this issue


Extension host logs German message to console

Does this issue occur when all extensions are disabled?:
No (but it's not specific to one extension, it's caused by the extension host)

VS Code Version: 1.90.1
OS Version: MacOS Sonoma 14.5

Steps to Reproduce:

Launch VS Code
Open the Developer Tools panel
Notice a message saying Sprache: en (German for Language: en)

Additional Details
My VS Code language is set to English and I don't have any language packs installed.
When debugging an extension, the same message shows in the Debug Console.

Closing since extension bisect revealed the cause to be the Material Icon Theme extension, will file an issue there


AB#5147 Changed editPOAM to edit risk

Proposed changes

Related issues

Checklist

[ ] I consider the submitted work as finished
[ ] I tested the code for its functionality
[ ] I wrote test cases for the relevant uses case
[ ] I added/update the relevant documentation (either on github or on notion)
[ ] Where necessary I refactored code to improve the overall quality

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

Tested this with the local build using darklight org and looks good, merging this one, small code change.


enable walking up route hierarchy to trigger onEnter

I discovered the onEnter route hook isn't triggered whenever navigating back up the route hierarchy. This enables triggering onEnter when navigating from a child branch to a parent branch.
For example, let's take the following routes:

/users/:userId
/users/:userId/assignments/:assignmentId

Navigating from the latter to the former would not trigger onEnter when entering the route. This PR alleviates that problem! It will trigger onEnter when you enter a parent route from a child route and will not re-trigger it if you click it again.

That's intentional – you're not re-entering the parent route. This will be handled by onChange per https://github.com/reactjs/react-router/pull/3108.

:ok_hand:


Colton Adkins

You have some files duplicated. The 3 step definition files you added are in the step_definitions folder, as well as the lib folder. They should only be in the step definitions folder.

Cleaned it up and deleted the files from the lib folder

OK, everything else looks fine.


Android 11 build with codechecker does not generate any reports

I want to build Android 11 with codechecker, but there is not any reports generated. I have checked the configuration according to issue 2979 and 2916, but have no luck.
CodeChecker version
Kind                 | Version
Base package version | 6.16.0
Package build date   | 2021-06-01T19:35
Git commit ID (hash) | f6e3f5a87e3eaaa794cedaccdcc63493df170dd2
Git tag information  | 6.16
CodeChecker web version:
Kind                          | Version
Base package version          | 6.16.0
Package build date            | 2021-06-01T19:35
Git commit ID (hash)          | f6e3f5a87e3eaaa794cedaccdcc63493df170dd2
Git tag information           | 6.16
Server supported API (Thrift) | 6.40
Client API (Thrift)           | 6.40
The Configuration of package_layout.json
{
"runtime": {
"analyzers": {
"clangsa": "/AndroidSource/aosp/prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang",
"clang-tidy": "/AndroidSource/aosp/prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang-tidy"
},
"clang-apply-replacements": "clang-apply-replacements"
},
"ld_lib_path_extra" : [],
"path_env_extra" : []
}
Content of mybuild.sh
#!/bin/bash
export _JAVA_OPTIONS="-Xmx4g"
export CC_LOGGER_DEBUG_FILE="/home/lzy/codechecker.debug.log"
export CC_LOGGER_NEW_ESCAPING=true
cd /AndroidSource/aosp
source ./build/envsetup.sh
choosecombo 1 aosp_arm 2 1
make -j10
To Reproduce
1 cd to android 11 source
cd /AndroidSource
2
source /home/lzy/tools/codechecker/venv/bin/activate
3
CodeChecker check -b "./mybuild.sh" -o ./results --verbose debug
The error is :
build completed successfully (01:57:47 (hh:mm:ss))
[INFO][2021-06-02 13:30:38] {buildlogger} [3362] <140327881258816> - build_manager.py:131 perform_build_command() - Build finished successfully.
[DEBUG_ANALYZER][2021-06-02 13:30:38] {buildlogger} [3362] <140327881258816> - build_manager.py:132 perform_build_command() - The logfile is: /tmp/tmpkxbbpk2i
[INFO][2021-06-02 13:30:38] {buildlogger} [3362] <140327881258816> - build_manager.py:144 perform_build_command() - The debug log file is: /AndroidSource/results/codechecker.logger.debug
[DEBUG][2021-06-02 13:30:38] {system} [3362] <140327881258816> - check.py:830 main() - Calling ANALYZE with args:
[DEBUG][2021-06-02 13:30:38] {system} [3362] <140327881258816> - check.py:831 main() - Namespace(analyzer_config=['clang-tidy:HeaderFilterRegex=.'], compile_uniqueing='none', config_file=None, jobs=12, keep_gcc_include_fixed=False, keep_gcc_intrin=False, logfile='/tmp/tmpkxbbpk2i', output_format='plist', output_path='/AndroidSource/results', verbose='debug')
[DEBUG][2021-06-02 13:30:38] {system} [3362] <140327881258816> - analyze.py:937 main() - args: Namespace(analyzer_config=['clang-tidy:HeaderFilterRegex=.'], compile_uniqueing='none', config_file=None, jobs=12, keep_gcc_include_fixed=False, keep_gcc_intrin=False, logfile='/tmp/tmpkxbbpk2i', output_format='plist', output_path='/AndroidSource/results', verbose='debug')
[DEBUG][2021-06-02 13:30:38] {system} [3362] <140327881258816> - analyze.py:938 main() - Output will be stored to: '/AndroidSource/results'
[DEBUG][2021-06-02 13:30:38] {buildlogger} [3362] <140327881258816> - log_parser.py:1356 parse_unique_log() - Writing compiler info into:/AndroidSource/results/compiler_info.json
[DEBUG][2021-06-02 13:30:38] {buildlogger} [3362] <140327881258816> - log_parser.py:1359 parse_unique_log() - Parsing log file done.
[INFO][2021-06-02 13:30:38] {system} [3362] <140327881258816> - analyze.py:963 main() - No analysis is required.
There were no compilation commands in the provided compilation database or all of them were skipped.
and the content of /tmp/tmpkxbbpk2i is empty:
[
]
Desktop
OS: Linux - Ubuntu
Browser: Chrome
Version: 20.04
Expected behaviour
CodeChecker should not fail for a full Android 11 build.

@Securee CodeChecker check command is just a wrapper of 3 other commands: CodeChecker log, CodeChecker analyze and CodeChecker parse. Your log says that your compilation database is empty. First we need to figure out why is that.
For this please try to use the CodeChecker log command (CodeChecker log -b "./mybuild.sh" -o ./compilation_database.json --verbose debug).
Also CodeChecker related environment variables (CC_LOGGER_DEBUG_FILE) are need to be set before the CodeChecker command call. Also you don't have to set the CC_LOGGER_NEW_ESCAPING environment variable because it is the default now.
By default if you don't override the CC_LOGGER_DEBUG_FILE environment variable CodeChecker will generate a codechecker.logger.debug beside your ./compilation_database.json file. Could you please send this file to us?

@csordasmarton Ok, I re-build it by the command:CodeChecker log -b "./mybuild.sh" -o ./compilation_database.json --verbose debug
and before this, I delete the CC_LOGGER_NEW_ESCAPING in mybuild.sh.
To re-build the Android 11, it may take 2 hours or so.
Before it finishes, the content of codechecker.logger.debug is :
[INFO 2021-06-02 15:40:09][src/ldlogger-logger.c:192] - Processing command: ./mybuild.sh ./mybuild.sh
[INFO 2021-06-02 15:40:09][src/ldlogger-tool.c:165] - './mybuild.sh' does not match any program name! Current environment variables are: CC_LOGGER_GCC_LIKE (gcc:g++:clang:clang++:cc:c++), CC_LOGGER_JAVAC_LIKE()
I will update it if any changes after finished.

@csordasmarton
I'm not sure the issue is related to log in codechecker.debug.log follow or not:
[INFO 2021-06-02 17:46:08][src/ldlogger-tool.c:165] - '/bin/bash' does not match any program name! Current environment variables are: CC_LOGGER_GCC_LIKE (gcc:g++:clang:clang++:cc:c++), CC_LOGGER_JAVAC_LIKE()
the real compile command seems to be wrapped in /bin/bash when I run ps -ef and found:
lzy      2170201 2131367  0 20:04 ?        00:00:00 /bin/sh -c PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang++ -c -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointe
lzy      2170203 2170201 96 20:04 ?        00:00:04 prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang++.real -c -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -Wno-null-de
lzy      2170338 2131367  0 20:04 ?        00:00:00 /bin/sh -c PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang++ -c -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointe
lzy      2170339 2170338 99 20:04 ?        00:00:02 prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang++.real -c -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -Wno-null-de
lzy      2170344 2131367  0 20:04 ?        00:00:00 /bin/sh -c PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang++ -c -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointe
lzy      2170345 2170344 99 20:04 ?        00:00:02 prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang++.real -c -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -Wno-null-de
lzy      2170494 2131367  0 20:04 ?        00:00:00 /bin/sh -c PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang++ -c -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointe
lzy      2170495 2170494 80 20:04 ?        00:00:01 prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang++.real -c -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -Wno-null-de
lzy      2170527 2131367  0 20:04 ?        00:00:00 /bin/sh -c PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang++ -c -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointe
lzy      2170528 2170527 99 20:04 ?        00:00:01 prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang++.real -c -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -Wno-null-de
lzy      2170533 2131367  0 20:04 ?        00:00:00 /bin/sh -c PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang++ -c -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointe
lzy      2170534 2170533 99 20:04 ?        00:00:01 prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang++.real -c -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -Wno-null-de
lzy      2170545 2131367  0 20:04 ?        00:00:00 /bin/sh -c PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang++ -c -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointe
lzy      2170546 2170545 91 20:04 ?        00:00:00 prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang++.real -c -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -Wno-null-de
lzy      2170551 2131367  0 20:04 ?        00:00:00 /bin/sh -c PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang++ -c -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointe
lzy      2170552 2170551 67 20:04 ?        00:00:00 prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang++.real -c -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -Wno-null-de
lzy      2170557 2131367  0 20:04 ?        00:00:00 /bin/sh -c PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang++ -c -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointe
lzy      2170558 2170557 57 20:04 ?        00:00:00 prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang++.real -c -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -Wno-null-de
lzy      2170563 2131367  0 20:04 ?        00:00:00 /bin/sh -c PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang++ -c -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointe
lzy      2170564 2170563  0 20:04 ?        00:00:00 prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang++.real -c -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -Wno-null-de

From this log it seems to me that your compiler name is not clang++ but clang++.real. Could you please specify it in the CC_LOGGER_GCC_LIKE environment variable before CodeChecker log command call?
So similar to this:
CC_LOGGER_GCC_LIKE="gcc:g++:clang:clang++:clang++.real:cc:c++" CodeChecker log ...

@csordasmarton
I have added the clang++.real and clang.real to env, the content of codechecker.logger.debug is
[INFO 2021-06-02 20:31:41][src/ldlogger-logger.c:192] - Processing command: ./mybuild.sh ./mybuild.sh
[INFO 2021-06-02 20:31:41][src/ldlogger-tool.c:165] - './mybuild.sh' does not match any program name! Current environment variables are: CC_LOGGER_GCC_LIKE (gcc:g++:clang:clang++:cc:c++:clang.real:clang++.real), CC_LOGGER_JAVAC_LIKE()
and the content of compilation_database.json is empty.
How the codechecker to capture the compile command ?
I also have tried to add TEMPORARY_DISABLE_PATH_RESTRICTIONS=true to env according the issue "compile AOSP with CodeQL", but there is not any reports too.

It seem like the logger for compile command have successfully captured the command, but the "file" seem wrong, not the .c file.


[POC][joy-ui][CircularProgress] Add css vars types to CircularProgress

This PR trying to acheive what described here https://github.com/mui/material-ui/pull/37505#issuecomment-1578334933 but in a different way.
FYI : This is just a proof of concept (POC), and I've opened a draft PR to get feedback on the implementation and approach, just wanted to know if it's worth going in this direction before investing more time. If the approach is acceptable, I plan to refine the PR further and do necessary changes to get it ready.
CSB PLAYGROUND: https://codesandbox.io/s/unruffled-river-3sd2vw?file=/Demo.tsx
This is how sx sugesstions are looking after adding types for vars.

[x] I have followed (at least) the PR section of the contributing guide.

This is an interesting POC that likely works!

create a pull request to keep track of the progress - we can add a TODO list with all components and have the community help with adopting it

Once this PR is merged, i'll create an umberalla issues with descriptions on how to integrate this into other components. Reason for not creating issue untill this PR is merged is so that community will have template PR they can follow, reviewing process will also be simpler if community have template PR to follow.

@sai6855 whats the status on the pr? I'm a frequent user of MUI and would like to give something back to the team, for all the time this library has saved me.
What other components are going to be modified, as I'll start to look into the code. Thanks!

Hi, @sai6855 hope you had a great start to the new year! Out of curiosity has there been any movement on this feature? or is it being mothballed for now?

Hi, @sai6855 hope you had a great start to the new year! Out of curiosity has there been any movement on this feature? or is it being mothballed for now?

hey @harry-whorlow , team is right now focusing on building zero-runtime package and migrating existing components to use zero-runtime package. so don't think there will be much movement in this PR as of now.


Cannot run pod install

Description
I'm install yarn add klaviyo-react-native-sdk
cd ios run pod install

Checklist

[ ] I have determined whether this bug is also reproducible in a vanilla project
[ ] If possible, I've reproduced the issue using the master branch of this package.
[X] This issue hasn't been addressed in an existing GitHub issue or pull request.

Expected behavior
No response
Actual behavior
No response
Steps to reproduce
No response
The Klaviyo React Native SDK version information
No response
Environment Description
No response

Would you mind sharing your iOS minimum deployment target?

i'm use react-native: 0.72.0

`
Would you mind sharing your iOS minimum deployment target?
`
What do you mean?

Thanks for your feedback. At this time, the Klaviyo Swift SDK has a minimum deployment target of 13. I see that the version of React Native that you are using has a default minimum deployment target of 12.4.
We are going to investigate options on our end. In the mean time to get you unblocked at least for development purposes, you could try changing your minimum deployment target to 13. Where you make that change may depend on your project, typically it'd be in your podfile looking something like this
platform :ios, min_ios_version_supported

This thread has some relevant discussion how to update it. You could simply change min_ios_version_supported to 13.0, or you could use a snippet like this, and set the version from the XCode UI.
#######
# Read min iOS version from Xcode project and set as min iOS version for Podfile
require 'xcodeproj'

project_path = './KlaviyoRNTestApp.xcodeproj'
project = Xcodeproj::Project.open(project_path)
min_ios_version_supported = project.build_configurations.first.build_settings['IPHONEOS_DEPLOYMENT_TARGET']
######

platform :ios, min_ios_version_supported

Stay tuned, we will follow up on this thread as we investigate further

FYI We've updated the readme to be clearer about platform requirements. Supporting 12.4 may be a longer term project, so for now updating min_ios_version_supported to 13 is our recommended fix.


Combobox: Update aria-* attributes

The Combobox aria-* attributes need to be updated to match the SLDS site: https://www.lightningdesignsystem.com/components/combobox/

The SLDS website is out of date. See https://github.com/salesforce/design-system-react/issues/2753


Can't open multiple markdown file preview panes.

VSCode Version: 1.38.1
OS Version: 10.14.6

Steps to Reproduce:

When multiple markdown files exist, i can open one markdown's preview only.
Even though i open a new vscode window, they are synced with opened markdown file for preview window.

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

See the documentation here: https://code.visualstudio.com/Docs/languages/markdown#_dynamic-previews-and-preview-locking


KeyboardAvoidingView Android white area when keyboard open/close

Description
When using KeyboardAvoidingView on android, whatever the configuration I use for the behavior or the keyboardVerticalOffset I always have a white area when the keyboard is opening or closing while on iOS everything is moving smoothly.
https://user-images.githubusercontent.com/21194324/142198993-243f9d37-07ae-4b10-bc7d-2357867629fb.mp4
In the video, we can see that when the keyboard opens there is a big white area and when closing sometimes a small white rectangle with some flickering. I'm wondering if this is normal behavior because on iOS it transitions smoothly
I tried modifying android manifest with  android:windowSoftInputMode="adjustResize" or android:windowSoftInputMode="adjustPan" but the problem is still there with both config.
It would actually be ok if we could change this color from white to something else like the background color of the content (red in my example). But I couldn't find a way.
Version
0.66
Output of react-native info
It happens from the documentation snack so I guess this section is not necessary
Steps to reproduce
Take the example from the KeyboardAvoidingView of react-native documentation and modify the background color of the container from white to red in order to see the white area when opening/closing the keyboard.
Snack, code example, screenshot, or link to a repository
https://snack.expo.dev/@flowwwww/keyboardavoidingview

Hi, have you tried to re-build after changing android:windowSoftInputMode: ?
When behavior='height' on Android, following code shows we return initialHeight - bottomHeight.
When keyboard is opening the remaining bottomHeight px area shows up as white blank area.
in KeyboardAvoidingView.js
  switch (behavior) {
      case 'height':
        let heightStyle;
        if (this._frame != null && this.state.bottom > 0) {
          // Note that we only apply a height change when there is keyboard present,
          // i.e. this.state.bottom is greater than 0. If we remove that condition,
          // this.frame.height will never go back to its original value.
          // When height changes, we need to disable flex.
          heightStyle = {
            height: this._initialFrameHeight - bottomHeight,
            flex: 0,
          };
        }
        return (
          <View
            ref={this.viewRef}
            style={StyleSheet.compose(style, heightStyle)}
            onLayout={this._onLayout}
            {...props}>
            {children}
          </View>
        );

I have the same. Did you find any solution @Nazort ??

same here

facing the same issue anyone has a solution?

same, no solution

+1

+1

If you are using expo, try expo-system-ui and set background color. It worked for me!

Fixed by adding <item name="android:windowBackground">@color/windowBackgroundColor</item> within the style xml
Found in android/app/src/main/res/values/styles.xml
<style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
 ...
<item name="android:windowBackground">@color/windowBackgroundColor</item>
</style>

Then create  android/app/src/main/res/values/colors.xml
<resources>
    <color name="windowBackgroundColor">#000000</color>
</resources>

This makes the app feel so janky and poorly built no matter how much effort was really put into it, and so far I can't find any solution.

I fixed this by adding <item name="android:windowBackground">@color/windowBackgroundColor</item> within the styles.xml
Add to android/app/src/main/res/values/styles.xml so it becomes like:
<resources>

    <!-- Base application theme. -->
    <style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
        <!-- Customize your theme here. -->
        <item name="android:editTextBackground">@drawable/rn_edit_text_material</item>
        <!-- Add the line here -->
        <item name="android:windowBackground">@color/windowBackgroundColor</item>
    </style>

</resources>

Then create android/app/src/main/res/values/colors.xml
<resources>
    <color name="windowBackgroundColor">#000000</color>
</resources>

Can name windowBackgroundColor whatever you want just so it matches the colors.xml name.

This Fixed my issue ❤

+1 no solution find

If you use Expo I'm pretty sure this is the solution: https://docs.expo.dev/versions/latest/sdk/system-ui/#systemuisetbackgroundcolorasynccolor
I assume non-Expo users can figure out what that's doing and leverage it directly.


Add validation support for Time-Variable Fares

Describe the problem
We are about to add time-variable Fares to GTFS , the spec addition can be found in https://github.com/google/transit/pull/357.
This validator needs to be updated, ideally before we open the vote so that

we can catch any interpretation ambiguities
the stakeholders that are already working with the addition can validate it (via a branch).at

Proposed solution
Update the schema and add the new rules to this validator.
Overview of the changes:

Added the timeframes.txt file and added from_timeframe_group_id, to_timeframe_group_id to fare_leg_rules.txt

New Requirements

Values greater than 24:00:00 in timeframes.start_time and timeframes.end_time are forbidden (ERROR)
timeframes.start_time and timeframes.end_time can either both be defined, or neither. Having only one is an error. (ERROR)
There must not be overlapping time intervals for the same timeframe_group_id and service_id values (ERROR)

Alternatives you've considered
No response
Additional context
No response

@bdferris let us know if you're still interested to work on this one & have the capacity in the coming week(s).
I am also interested to know if you think we need additional validation around times.
We think we'll be able to open the vote before the end of June.

Yeah, I should be able to help with this.


ListBox virtualization scroll to end with differing item height sometimes fails

There is a repro here https://github.com/ahopper/Avalonia/tree/repro-VirtualizedStackPanel-fails-with-differing-item-heights which has a modified virtualization demo. Scrolling to the end using the mouse wheel stops on item197. Using the down arrow causes item198 to be selected but not displayed.
Possibly relates to #1402

I've been looking into this for quite a while and going back and forth on the best way forward. The problem is essentially this:

A container is recycled for an item that is larger than the previously displayed item
Because the size has changed a layout pass is queued
When the layout pass executes, the selected item is bumped out of the view

I think the best immediate course of action would be to simply remove recycling from the virtualization implementation. Longer-term I think item virtualization will need to be rewritten: it has fundamental flaws when it comes to differently-sized items.
However I notice that UWP's controls are being open-sourced over at https://github.com/microsoft/microsoft-ui-xaml. Maybe we could take their implementations and port them to C#?
In particular ItemsRepeater has already been open-sourced and I like this approach a lot more than the WPF ItemsControl/ListBox etc controls that we're currently using.


https://nrk.radio.no not working

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.07.29. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[X] I've verified and I assure that I'm running youtube-dl 2018.07.29

Before submitting an issue make sure you have:

[X] At least skimmed through the README, most notably the FAQ and BUGS sections
[X] Searched the bugtracker for similar issues including closed ones
[X] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[X] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

$ youtube-dl -v https://radio.nrk.no/serie/transmission#t=33m55.84s
[debug] System config: []
[debug] User config: [u'--no-mtime', u'-o', u'~/Videos/YouTube-DL/%(title)s-%(id)s.%(ext)s', u'--write-thumbnail', u'--sub-format', u'srt', u'--all-subs', u'--convert-subs', u'srt', u'--add-metadata']
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://radio.nrk.no/serie/transmission#t=33m55.84s']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.07.29
[debug] Python version 2.7.15rc1 (CPython) - Linux-4.15.0-29-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.2-2, ffprobe 3.4.2-2
[debug] Proxy map: {}
[NRKTVSeries] transmission#t=33m55.84s: Downloading webpage
WARNING: unable to extract OpenGraph title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract OpenGraph description; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
[download] Downloading playlist: transmission#t=33m55.84s
[NRKTVSeries] playlist transmission#t=33m55.84s: Collected 0 video ids (downloading 0 of them)
[download] Finished downloading playlist: transmission#t=33m55.84s
lars@Lars-Yoga-720:~$

Description of your issue, suggested solution and other information
https://radio.nrk.no is the hub of radio shows by the main Norwegian broadcaster. According to https://rg3.github.io/youtube-dl/supportedsites.html this is a supported site.  The TV-arm at https://tv.nrk.no works great, however I get the above error when attempting to download radio shows.

This is identical to #21926 and others: Radio playlists currently return 0 items. Some of those tickets were closed as duplicates for #18304, which basically describes the totally changed site. You can still - or again - download single episodes.
BTW, the URL in this issue's title is wrong and misleading. "https://nrk.radio.no" -> "https://radio.nrk.no".


WIP: add an extension for executing code in a jupyter kernel

Co-Authored-By: Anton Akhmerov<EMAIL_ADDRESS>@SylvainCorlay as discussed on Gitter the other day.
You can try it out on the following sample rst file: https://pastebin.com/tG10Q9U0
The basic functionality is there:

execution is handled by a Jupyter kernel (currently this is hard-coded to a Python kernel)
support for the following output formats: images, HTML, Latex and plaintext
the format selected for each output is done based on a configurable priority list
directive allows to configure hiding input or output
currently we use nbconvert to handle both execution and output extraction

Before this could be merged we still need to:

add support for jupyter widgets (if you have any insight that would be good)
refactor selection of mimetype to display (currently it's a nested if/else)
add a proper module docstring

It would also be good to allow configuration of the kernel, but that can perhaps be in a future PR.
Please take a look and see if you agree with the overall structure, and if anything else stands out as something we could already improve.

@jbweston @akhmerov this is great! Sorry for not responding earlier, I was having meetings back to back the whole afternoon. I will be looking at this tomorrow!

I am looking at it now. Making a few nitpicking commands, but in general, I love the direction that this is  taking.

Some points worthy to consider at this stage:

How much flexibility do we want to allow? Is it OK to let users specify "cells" in segments? Out of order? Separately specify where the output should be plugged in?
At which stage of sphinx pipeline should we do the processing?
Is the current syntax choice best? Or would it be better to add a different directive that instead goes "please treat all the following code blocks as notebook cells"?

Another question: let's imagine the users want to allow handling of a new mime type (say geojson). Would we be able to allow them to do it at the level of configuration?

How much flexibility do we want to allow? Is it OK to let users specify "cells" in segments? Out of > order? Separately specify where the output should be plugged in?

Maybe we should keep the package as simple and lean as possible at first before adding feature that we don't know are really needed.

At which stage of sphinx pipeline should we do the processing?
Is the current syntax choice best? Or would it be better to add a different directive that instead goes "please treat all the following code blocks as notebook cells"?

I like one-size-fits-all directive that you implemented better than the two directives that we have now.

Another question: let's imagine the users want to allow handling of a new mime type (say geojson). Would we be able to allow them to do it at the level of configuration?

The case of geo+json should be handled with the +json suffix that catches all into a script tag. Maybe registering custom mime type renderers will be the way to go in the future.

Summary of the discussion:

Rename the directive to jupyter-execute
Extend it with source option allowing to include code from files (relevant for e.g. initialization code)
Factor out the "global" options into a separate directive, named e.g. new-kernel, with optional options kernel-name, filename (and not notebook-name!), maybe even default state for showing/hiding code and source.
Rely on nbconvert 5.4, implement querying the kernel for widget state after we have submitted all the code to it (@SylvainCorlay).
Read the file extension off from the kernel metadata (requires nbconvert 5.4).

+ Rename the directive to jupyter-execute
+ Extend it with source option allowing to include code from files (relevant for e.g. initialization code)
+ Factor out the "global" options into a separate directive, named e.g. new-kernel, with optional options kernel-name, filename (and not notebook-name!), maybe even default state for showing/hiding code and source.

@akhmerov I addressed these 3 points. There is https://github.com/jbweston/jupyter-sphinx/pull/2 that is aiming to address the point about widgets

Awesome, let's merge that one (there are already conflicts). Then, as far as I can judge, the remaining bits will amount to cleanup and review.

@akhmerov I would prefer to merge this first and then I can point https://github.com/jbweston/jupyter-sphinx/pull/2 to this repository instead.
IMO there's already a lot in this PR as it is, and there are actually a few more points that we need clarity on wrt. widget support (e.g. how to know what versions of the embedding JS to use).
I'd wager we'd still land https://github.com/jbweston/jupyter-sphinx/pull/2 before Sylvain wants to make a release.

The case of geo+json should be handled with the +json suffix that catches all into a script tag. Maybe registering custom mime type renderers will be the way to go in the future.

Indeed, I have a branch where I'm trying this out, but I believe this change can be made in a later PR, as the output rendering is quite isolated and won't require changes in several places.

@SylvainCorlay I believe that we've responded to all of your comments, it'd be good to get another look over to see if there's anything we've missed.

@SylvainCorlay did you get a chance to look at this?


No warning in analyzer when null-aware operator is used on type

The following code produces a warning in CFE and no issues in analyzer
class C {
  static String s = "Lily was here";
}

main() {
  print(C?.s); // CFE 'Warning: The class 'C' cannot be null.', Analyzer 'No issues found!'
}

@eernstg please confirm that CFE is right here and it is an analyzer issue
Tested on Dart SDK version: 2.16.0-122.0.dev (dev) (Fri Dec 17 22:57:15 2021 -0800) on "windows_x64"

It should be a warning at this point, but the language team has already decided to support a package of changes that would make it an error.
@srawlins, should we keep this blocked until the details have been sorted out and an implementation issue for said changes has been created?  Or would you prefer to introduce the warning as specified now? (.. just guessing, changing the warning to an error might be so easy that there isn't much wasted effort in doing this in two steps ..)

@eernstg if the bundle of changes is coming soon, waiting seems fine by me.

At this point I think it will take time before there is an updated set of rules, and there's no firm guarantee that we will end up having an error rather than a warning. So I'd suggest that the analyzer gets updated to report the warning. This means that the analyzer and the CFE agree on the behavior, and they both agree with the current specification.

Sam is out this week and next, but yes, it seems reasonable to implement it as a warning.
@scheglov

https://dart-review.googlesource.com/c/sdk/+/246301


Is it run on PINE A64 board?

I want to run CNNdroid on PINE A64 board. But I'm not sure because pine 64 board use Mali-400 MP2, not T600.
Mali-400 can't use openCL, openCV, it use only openGL 1.1.  I think I can't run CNNdroid on pine A64 board....
I want to hear your opinion. Is it work on PINE64 board?

CNNdroid uses Android's Renderscript framework, so it's necessary to have a runnig Android OS 5± in order to use it.
About the Mali-400, we have not tested CNNdroid on it, because it was available on older generation of smartphones which usually had an ineligible Android version.


OCPBUGS-18866: Set base CSV replaces field

/jira refresh

/retest

/retest

/lgtm

/assign @rauhersu

/assign @nishant-parekh

/approve

/approve

/retest

/retest

I think this branch needs a rebase @sudomakeinstall2

@sudomakeinstall2 @jc-rh do we need a go.sum update for just adding an annotation to the csv?

Replaced by #679


docs: json datatype rfc

I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
#4230
What's changed and what's your intention?
RFC of json datatype.
Checklist

[ ] I have written the necessary rustdoc comments.
[ ] I have added the necessary unit tests and integration tests.
[ ] This PR requires documentation updates.

LGTM, @WenyXu PTAL

I came up with two scenarios of how JSON would be used by end users:

Data source uses JSON to encode their data, but the schema to JSON is relatively fixed. Like OTLP protocol or some HTTP header/response. In this case the JSON itself is usually defined with a clear schema.
Use us to store an arbitrary JSON object. Neither the user nor user of our user knows the schema.

For the first case, we can suggest users decompose the JSON object into table columns. Either by themselves (predefined table schema) or by GreptimeDB (gRPC auto alter or through pipeline). So from the DB side, it's just a wide table with several atomic types. And is not distinguishable from other tables. Advantages like high compression ratio or SQL interface are available out-of-box.
The second case on the contrary, requires a fully dynamic ability to JSON data. We'd prefer to handle the "JSON part" on read (like decoding and/or field accessing) to minimize the affection to write performance. This choice is based on the hypothesis that data without known schema is unlikely to be queried frequently.
Reflecting to the implementation phase, the need & no-need to are:

Need a mechanism to decompose JSON and trigger ALTER TABLE if necessary.

This operation needs to happen on frontend or before frontend. The Pipeline is a good choice.

Need a bunch of util functions to handle (undecomposed, the second case) JSON data
Don't need to be aware of the concrete JSON schema in the storage engine layer. JSON data is either decomposed for the first case or stored as an opaque field for the second case
Don't need to introduce STRUCT type as it's not a hard requirement. I.e., it can bring a better experience in expressing the schema of decomposed JSON data, but we can still use this without STRUCT type.

Thanks for all suggestions! I've changed the rfc to a relatively simple jsonb plan. It's not a detailed plan. I think I can first make some efforts in the direction and then get back and refine this rfc.

For those "util functions", we can use https://github.com/datafusion-contrib/datafusion-functions-json which provides an out-of-box implementation. As well as the binary representation, JSONA.

For those "util functions", we can use https://github.com/datafusion-contrib/datafusion-functions-json which provides an out-of-box implementation. As well as the binary representation, JSONA.

set of functions for querying JSON strings in DataFusion

This crate just provides functions for querying JSON strings.

I happens to trigger some auto-review-request because of misoperation QAQ, sry for that.


DIP6: add LLMQ params to table

Add keepOldConnections and recoveryMembers.
Edit: I realized those params weren't mentioned in DIP6/7 originally. In one case because it was added by concentrated recovery which was never described in the DIPs. Now I'm not sure if this makes sense to merge or not.

Closing for now


Fix reordering logic in MBCn example

Pull Request Checklist:

[x] This PR addresses an already opened issue (for bug fixes / features)

This PR fixes #1249

[ ] Tests for the changes have been added (for bug fixes / features)

[ ] (If applicable) Documentation has been added / updated (for bug fixes / features)

[x] HISTORY.rst has been updated (with summary of main changes)

[x] Link to issue (:issue:number) and pull request (:pull:number) has been added

What kind of change does this PR introduce?

The MBCn example was doing it wrong. The NpdfT output was being reordered according to the initial adjustment, while the opposite is supposed to be done. I also renamed some variables in a way I think is clearer.

Does this PR introduce a breaking change?
No.
Other information:

@Zeitsperre There's black magic going on here.
The build hung on the test that does have a skip decorator........

Coverage remained the same at 91.995% when pulling 7f91109293132688d9ccb07780e651b6bbff56b5 on fix-mbcn-doc into 51bb58ac01eb3d90919d4b696b555b09d06dc2f2 on master.


use boatswain for building images?

if we decide not to use DockerHub, that is.
boatswain link https://github.com/NLeSC/boatswain

I think in this case boatswain is not necessary, the different Docker images have internal requirements to run (as defined in docker-compose.yml). But not to build, which boatswain I think is designed for.


解决编译错误

Thank you pr, because the version of jupiter has done some processing before, so this place has not been modified in time


Flash: Store a KeyPair instead of a Pair

We're moving away from Pair, and using KeyPair everywhere now,
since it contains the component of a Pair itself.
To keep the diff reviewable, this only affect places where Pair
was used. A later change will use PublicKey instead of Point.

However, there is this log:
Could not print logs for node: Request to void geod24.LocalRest.RemoteAPI!(TestFlashAPI, Serializer).RemoteAPI.printLog() @safe couldn't be processed : base32.Base32Exception@submodules/base32/src/base32.d(1033): Invalid source length
308

Could not print logs for node: Request to void geod24.LocalRest.RemoteAPI!(TestFlashAPI, Serializer).RemoteAPI.printLog() @safe couldn't be processed : base32.Base32Exception@submodules/base32/src/base32.d(1033): Invalid source length

Added a commit to fix this.

Do we need to re-run the CI?

Nope, something is wrong, need to debug


Cannot generate Singer Error Report.

Acknowledgement

[X] I have read Getting-Started and FAQ

🐛 Describe the bug
I had an issue in the past which I tracked down to several of my singers becoming corrupted when I moved a large amount of files. I know how to fix them, I just need the help of a singer report to figure out which files are corrupt or missing, as there are a large amount and it's difficult to do by hand. However, I'm unable to generate a singer report? It just throws this.

I'm not quite certain what's causing this or if this is my fault, or perhaps related to the corrupted singer files, but I would definitely like to figure this out so I can utilize the singer report to assist me in finding which files are a problem.
Explains how to reproduce the bug

Open the program.
Open the singers menu
Attempt to generate singer report
Program throws error

OS & Version
Windows 11 Home
Logs
log20241108.txt

So sorry for the delay in getting to this, but I was able to reproduce this with a singer that had excess line breaks at the bottom of their oto.ini file. If you can locate any oto.ini files within this voicebank folder and manually check that they don't have any excess white space, this may help!

No worries about the delay! I ended up busy and forgot about this all until now anyways. This solved it! I'd had to manually remove a couple excess entries that pointed to files I renamed in the past and I guess I didn't realize I left excess whitespace at the bottom when I did, but that wasn't even a possibility that crossed my mind in relation to the crashes. Odd that it does that but I could see why. Regardless, thanks a bunch! :)


Settable Refresh Rate

Hi there!  Is there a way we can add a user-configurable refresh rate for the thumbs?

It's possible, but I don't want to and don't currently have the time anyway. The way it is done now is that thumbnails are generated when they don't exist and at least one bookmark dial page is open. The idea was to no have resource intense stuff going on if there is no indication of where it could come from. I have seen pages that killed my Firefox and I would not want that to happen in the background and no way to stop it. The other issue is that I use a few things that are not multiprocessing compatible and I didn't find a workaround when I was working on it. Porting to webextensions would be a lot of work and I am not even sure it could be done.


Issue 4 - Option to disable specific activity types from being shown in the activity list

Thank you for contributing! Please check the following things before submiting your PR:
Required:

[x] I have read and followed the contributing guidelines

If necessary:

[ ] I have updated the ChangeLog with the changes I have made.
[ ] I have updated the README and documentation.

Closes #4

Closes #4

Note: we will close your PR without comment if you do not check the required boxes above and provide ALL requested information.

I found the issue bro.
Issue was that the values are not boolean. They are considered string.

Oh, Thanks


Add "Positive Predictive Value"

Docstrings

[ x] Docstrings complete and follow Napoleon (google) style
[ x] Maths equation added
[ x] Reference to paper/webpage is in docstring. The preferred referencing style for journal articles is APA (7th edition)

Testing of new xarray-based metrics

[x ] 100% unit test coverage

Documentation

[x ] Add the score to the API documentation
[ x] Add the score to the included list of metrics and tools

Fixes #681

For review comments on this PR, see PR #756


[ISSUE] StyledComponents icon is broken

Most likely caused by StyledComponents using a PNG icon.

Yeah... It's using an emoji because I couldn't find an svg of the logo.

Yeah... It's using an emoji because I couldn't find an svg of the logo.

There doesn't seem to be an existing SVG of the Apple-styled 💅 emoji, maybe it should be removed for now given it's broken?

Potentially closed by #47


Update AnotherAuthorUpdatedArticle.md

@adunndevster : Thanks for your contribution! The author, @meganbradley, has been notified to review your proposed change.

@adunndevster : Thanks for your contribution! The author, @meganbradley, has been notified to review your proposed change.

@adunndevster : Thanks for your contribution! The author, @meganbradley, has been notified to review your proposed change.


Carousel does not get initialised if settings have not been defined after version 3.1.6

This line prevents carousel initialisation in case all options were passed by attributes and seetings attribute was not defined at all.
Not sure what is an expected behavior, but this is confusing, does not correspond with an example, and also it's potentially breaking during migration from 3.1.5 to 3.1.6, which in general should not happen for minor release.

I also encountered this and worked around it by adding a settings attribute.

fix 3.1.7


calcurse: add module

This is a simple module for calcurse, and the options are based on the documentaion.

I believe there is also some cqlcurse code to syncrhonize with q remote calddav server: would be cool to add thise to the calcurse module once https://github.com/rycee/home-manager/pull/654 gets merged. Meanzhile if you have some feedback over the interface, it could be interesting


adding sample robot.listen test

Documents compatiblity with use case #29.

Great work! :smile: :+1:


Updated header.css to fix homepage image responsive and button overflow

Pull Request
Description
Homepage button was not responsive also homepage button overflows.
I have fixed both the issues.
Fixes # (issue)
I have included the following changes to solve the issue:
media screen to header.css to make it responsive  for all devices such as desktops, tablets, and mobiles.

And also solved the homepage button overflow with respect to all types of devices.

Removed some unnecessary lines from "header.css - .header button: hover"

Checklist:

[ ] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[ ] I have made corresponding changes to the documentation.
[ ] I have added corresponding tests.
[x] Any dependent changes have been merged and published in downstream modules.
[ ] I have signed the commit message to agree to Developer Certificate of Origin (DCO) (to certify that you wrote or otherwise have the right to submit your contribution to the project.) by adding "--signoff" to my git commit command.

This issue has been resolved by past PRs, please pull the latest changes.


Feature phpcs up

I am targeting this branch, because I added native_function_invocation rule into friendsofphp/php-cs-fixer file.

Closes #{put_issue_number_here}
Changelog

### Added
- Added some `Class::newMethod` to do great stuff

### Changed

### Deprecated

### Removed

### Fixed

### Security

To do

[ ] Update the tests
[ ] Update the documentation
[ ] Add an upgrade note

Subject

please rebase

please update CHANGELOG.md


typo v2 ;)

Description

version > versions
Motivation and Context

grammar fix
How Has This Been Tested?

like in #108, i stared long and really hard and i'm pretty sure it's right this way now.
Screenshots (if appropriate):
Types of changes

[x] 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 change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Thanks 👌


@Param

See: https://github.com/omnifaces/omnifaces/issues/658
I'm trying to port the JSF app to quarkus. I use @param in my beans, it works OK in WildFly. I am able to compile it, however during the startup I am getting "[1] Unsatisfied dependency for type java.lang.Integer and qualifiers [@param]".

Closing for: https://github.com/quarkiverse/quarkus-omnifaces/issues/3

Nice initiative @melloware 👍 watching closely and will help if I can

@rmpestano i wonder if you should mark this repo as "Archived" in settings and post a link in the README.MD to the new official Quarkiverse plugin?


Organization Checking

This allows us to remove previous code that was only checking for one way of being able to pass the organization and now checks all 3.

Codecov Report

Merging #159 (d0a7293) into master (1ac1d6f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #159   +/-   ##
=======================================
  Coverage   96.88%   96.88%
=======================================
  Files          14       14
  Lines         417      417
=======================================
  Hits          404      404
  Misses         13       13

Impacted Files
Coverage Δ

server/organization/tests.py
100.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 1ac1d6f...d0a7293. Read the comment docs.


Throw Exceptions on compile errors

Throwing an Exception is more java like than hiding the error information in an output object

thx, merged into develop, marked as version 5.0.0-SNAPSHOT because of the api change.


fixed integer overflow bug

int mid = (low + high) / 2;
this opens up possibility for integer overflow.
Replace it with int mid = low + (high - low) / 2;

This seems like a non-issue. For integer overflow to occur at that point, the gradient would need to have more than 2^31 stops. That would imply that the texture holding the colors and offsets is also that large. That's never going to happen (no API or HW would allow allocating that).

Aah, I see. Then I think the issue is invalid. I will be closing the PR then


Apply codecov token to avoid timeouts

Description
This pull request applies codecov token to avoid timeouts.

Codecov Report

Merging #1915 (4e9d7dc) into main (3fbe568) will decrease coverage by 55.71%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #1915       +/-   ##
===========================================
- Coverage   78.77%   23.05%   -55.72%
===========================================
  Files         248      248
  Lines       23312    23294       -18
  Branches     4212     4212
===========================================
- Hits        18363     5371    -12992
- Misses       3969    17834    +13865
+ Partials      980       89      -891

Impacted Files
Coverage Δ

art/evaluations/evaluation.py
0.00% <0.00%> (-100.00%)
:arrow_down:

art/estimators/object_detection/utils.py
0.00% <0.00%> (-100.00%)
:arrow_down:

art/evaluations/security_curve/__init__.py
0.00% <0.00%> (-100.00%)
:arrow_down:

art/attacks/poisoning/perturbations/__init__.py
0.00% <0.00%> (-100.00%)
:arrow_down:

...rmation/natural_corruptions/contrast/tensorflow.py
0.00% <0.00%> (-100.00%)
:arrow_down:

...formation/natural_corruptions/zoom_blur/pytorch.py
0.00% <0.00%> (-93.94%)
:arrow_down:

...mation/natural_corruptions/zoom_blur/tensorflow.py
0.00% <0.00%> (-93.55%)
:arrow_down:

art/attacks/evasion/shapeshifter.py
5.89% <0.00%> (-93.30%)
:arrow_down:

...ormation/natural_corruptions/shot_noise/pytorch.py
0.00% <0.00%> (-90.00%)
:arrow_down:

...ation/natural_corruptions/shot_noise/tensorflow.py
0.00% <0.00%> (-90.00%)
:arrow_down:

... and 175 more


openapi: simplify API consumer interface, make output fields required

Keep input fields optional.

I am not a fan of this. I think a rule of "if it's absent, it's empty" is easy to understand.
Now we are introducing the idea of "input" and "output" models. Having no clear indication of which is which, but expecting different policies around that. Even removing the attributes for deserializing defaults.

The problem is NOT that it's hard to understand.  It is harder to use.  All API clients need to null-check every field access that is not required since it could be missing.  It's the same reason you use field Vec<X> declarations instead of field Option<Vec<T>> declarations for all of these.  It's much easier to deal with empty values than null values.  You avoid an additional "does it exist check".
The only valid reason to make these not-required fields is if it's an experimental field that may be removed.  If that's the case we should be documenting that fact too.
Could we keep the input and output models in different files to distinguish them?

Hm, maybe I just don't see the issue outside of Rust. That might be case.
I would expect that the benefit overall is, that empty stuff doesn't get serialize and reduces output. Meaning: less traffic. Maybe not worth optimizing for that. :shrug:

Could we keep the input and output models in different files to distinguish them?

I guess having different modules might make sense then. I am still not a fan, but at least that would make it transparent why some group of structs follow one pattern, while others follow another one.

@chirino would it be troublesome if we emit empty vectors, but skip any Option::None? Does that only solve half the problem?
For me, seeing:
average_score: null,

seems not much better than just omitting it, and you've still got to null-check.
While I do see the benefit of
list_of_things: [],

avoids a null-check.

@chirino would it be troublesome if we emit empty vectors, but skip any Option::None? Does that only solve half the problem?

That would be fine.  Consumer code still has to do similar existence checks.  So ease of use is about the same.

Seems like Utopia does not make the Option fields required (I think it's a bug), so there is there is actually no difference.

Updated PR to only apply this change to Vecs and Labels.

Ah look like we COULD make options required with utopia. see: https://github.com/juhaku/utoipa/pull/530

@chirino would it be troublesome if we emit empty vectors, but skip any Option::None? Does that only solve half the problem?

That would be fine. Consumer code still has to do similar existence checks. So ease of use is about the same.
But I still question why we don't want the openapi models to match what our Rust models are. We are actively trying to make them different. Saying fields could be missing is like saying our fields are being held in HashMap and so they may not be there when you read them back out.
Like why are we making extra effort to make things more complex?

I think that's a fair assessment also. I don't have a strong opinion really.

Latest commit to the PR adds back making the optional fields required.  This time, adding the right utopia config so that it shows up in the openapi doc.

Right on.

Merge at will.


Set TLS certificate secret type to TLS type

What this PR does / why we need it:
Set the Kubernetes secret type to TLS
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Fixes #133
Release note:
Set the Kubernetes secret type to TLS.
Action required: this will cause renewals of existing certificates to fail. You **must** delete certificates that have been previously produced by cert-manager else cert-manager may enter a renewal loop when saving the new certificates. Alternatively, you may specify a new secret to store your certificate in and manually update your ingress resource/applications reference the secret.

@dippynark PTAL when you have time

/approve


What is the point of creating multiple selectors?

Hello, I discovered that you can create several selectors for the same UI element.
I tried to do it to manage a window that can be displayed in English or in French (only the name of the window in the selector path changes), I expected the system to be able to manage the interface in both languages in this way:
-> attempt to retrieve the UI element via the first selector -> KO -> attempt to retrieve the UI element via the second selector -> OK, but that doesn't seem to be the case.
So why leave the possibility of creating multiple selectors?
Thanks in advance and thanks for your work :)

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

ID: c63ac396-e73b-ed94-678a-e98d456ed95f
Version Independent ID: c76bc275-a21b-5ffc-fe0d-ef02597c8f99
Content: Build a custom selector - Power Automate
Content Source: articles/desktop-flows/build-custom-selectors.md
Service: power-automate
Sub-service: desktop-flow
GitHub Login: @georgiostrantzas
Microsoft Alias: v-gtrantzas

Hello @rbtzn-orange, thank you for using Power Automate. The use of multiple selectors is precisely the one you describe. When a selector fails, desktop flows use the next one in order. For help regarding technical issues, please reach out to our support teams through support ticket to investigate further.

A description of how multiple selectors work already exists in this section of the documentation. However, we will also add it in the 'Build a custom selector' article to avoid any future confusion. Thank you for the feedback!

The new content has been published and you can find it here. Don't hesitate to contact us for further feedback. Thank you for your contribution!


Configuring URL Rewriter on CD sitecore 9.1

Hello,
I upgraded from Sitecore 8.2 update 6 to sitecore 9.1.. and I updated the files for the url rewriter on both CM and CD. I can see that it is working fine on CM, but not on CD.. Is there anything that I should check to see if it is missing or needs updating?
I keep getting this in the CD log:
4356 03:00:23 INFO  UrlRewrite[web]::Adding 0 rules to Cache [web]
4356 03:00:29 INFO  UrlRewrite[pub]::Adding 0 rules to Cache [pub]
Although it should be 1310 rules..
Anything I should look into?
Thanks,

For some reason , when getting the inbound rule items from the cache, it is returning 0 items on the content delivery server.. Any idea why is that?
Thank you,

Can you please check Links Database configuration? https://sitecorecorner.wordpress.com/2019/06/08/sitecore-links-database-learning/


added mlh_guild role

added mlh_guild role and description
Fixes Issue #464

There is a linting issue, but I'm not 100% sure why. I will try to pull this down locally today and push up a commit to fix it for you.

I think I found the error and edited the file, there's another commit , would you like to look at it? If that fixes

The last commit I see is dff9638 which does not pass the CI.

Yes, there's some problem then

@AllanRegush would you like to give it a second glance before merge?

Thank you! Finally no errors I think


Not sure, how to disable video recording completely?

I call the API like (video: false):
wpt.runTest(
        options.url,
        { location: 'us_east_1_Firefox', pollResults: 5, timeout: 60, video: false, private: true },
        (err, data) => {
          if (err) {
            reject(err);
            return;
          }
          resolve(data);
        }
      );

, but I stil see logs from ffmpeg like:
webpagetest_agent     |   libavutil      55. 78.100 / 55. 78.100
webpagetest_agent     |   libavcodec     57.107.100 / 57.107.100
webpagetest_agent     |   libavformat    57. 83.100 / 57. 83.100
webpagetest_agent     |   libavdevice    57. 10.100 / 57. 10.100
webpagetest_agent     |   libavfilter     6.107.100 /  6.107.100
webpagetest_agent     |   libavresample   3.  7.  0 /  3.  7.  0
webpagetest_agent     |   libswscale      4.  8.100 /  4.  8.100
webpagetest_agent     |   libswresample   2.  9.100 /  2.  9.100
webpagetest_agent     |   libpostproc    54.  7.100 / 54.  7.100
webpagetest_agent     | Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/wptagent/work/docker-desktop/200827_T6_5d407b255f717bb496564c1487f78bfd.1.1/1_Cached_video.mp4':
webpagetest_agent     |   Metadata:
webpagetest_agent     |     major_brand     : isom
webpagetest_agent     |     minor_version   : 512
webpagetest_agent     |     compatible_brands: isomiso2avc1mp41
webpagetest_agent     |     encoder         : Lavf57.83.100
webpagetest_agent     |   Duration: 00:00:01.50, start: 0.000000, bitrate: 457 kb/s
webpagetest_agent     |     Stream #0:0(und): Video: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), gbrp(tv, gbr/unknown/unknown), 1024x768, 452 kb/s, 10 fps, 10 tbr, 10240 tbn, 20 tbc (default)
webpagetest_agent     |     Metadata:
webpagetest_agent     |       handler_name    : VideoHandler
webpagetest_agent     | Stream mapping:
webpagetest_agent     |   Stream #0:0 -> #0:0 (h264 (native) -> png (native))
webpagetest_agent     | Press [q] to stop, [?] for help
webpagetest_agent     | 03:08:33.303 - 0.108 s to process /wptagent/work/docker-desktop/200827_T6_5d407b255f717bb496564c1487f78bfd.1.1/1_Cached_moz.log.moz_log.gz (27665 lines)
webpagetest_agent     | 03:08:33.303 - Processing network requests from moz log
webpagetest_agent     | 03:08:33.304 - Adjusting request timings by 0.439 seconds
webpagetest_agent     | 03:08:33.305 - Waiting for video processing to finish
webpagetest_agent     | Output #0, image2, to '/wptagent/work/docker-desktop/200827_T6_5d407b255f717bb496564c1487f78bfd.1.1/video_1_cached/viewport.png':
webpagetest_agent     |   Metadata:
webpagetest_agent     |     major_brand     : isom
webpagetest_agent     |     minor_version   : 512
webpagetest_agent     |     compatible_brands: isomiso2avc1mp41
webpagetest_agent     |     encoder         : Lavf57.83.100
webpagetest_agent     |     Stream #0:0(und): Video: png, rgb24, 1024x768, q=2-31, 200 kb/s, 10 fps, 10 tbn, 10 tbc (default)
webpagetest_agent     |     Metadata:
webpagetest_agent     |       handler_name    : VideoHandler
webpagetest_agent     |       encoder         : Lavc57.107.100 png
webpagetest_agent     | frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.10 bitrate=N/A speed=2.73x
webpagetest_agent     | video:13kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
webpagetest_agent     | First Visual Change: 0
webpagetest_agent     | Last Visual Change: 0
webpagetest_agent     | Visually Complete: 0
webpagetest_agent     | Speed Index: 0
webpagetest_agent     | Visual Progress: 0=100%
webpagetest_agent     | 03:08:33.836 - Video processing complete

How to disable the video recording completely?

I don't think the node API wrapper exposes it but "disable_video=1" is what needs to be passed to completely disable video capture.  Usually video=1 (or 0) just controls if video is uploaded but it is still captured and analyzed so that the video-based metrics will be available (start render, speed index, visually complete, etc).  disable_video will completely disable video capture and the metrics won't be available.

Thank you for answering that!
I also found an option strict_video=1 in a settings.ini file, it disables all the video capture.


Need loss_fun function to train

Thank you for your excellent work! When trying to train this model, I find that  there is an error in line11, it seems that you forget to upload loss_fun.py file to github. Could you please to upload it?

ok we will upload it now

We have uploaded the loss_fun.py.


Slick with Vue.js ( v-for )

Hey, im working in a vue.js project, but i cant make it work properly with slick.js, here is my code

This works initially but when i change the value in colors this just add the new ones instead of changing everything, i been trying to use unslick before then change the content in colors and slick again but this is not working too, any ideas about v-for and slick js?

@JustPepper did you solve this issue?

Running into the same issue. @JustPepper did you figure out a solution?


[3465] Update the mapping for BA/Education

Context
https://trello.com/c/Pq2pV4Ym/3465-investigate-degrees-not-imported-due-to-missing-degreetype
Changes proposed in this pull request

All degrees marked with non_importable_missing_type were due to one missing DTTP ID - for "BA/Education".
We have "BA/Education" BUT with the wrong DTTP ID 🤦♀
This has always been wrong - it sends "BTech/Education" to DTTP

This PR:

Update the entity ID in the codeset
Adds a data migration to update affect trainees in DTTP

Guidance to review
Important business

Does this PR introduce any PII fields that need to be overwritten or deleted in db/scripts/sanitise.sql?
Does this PR change the database schema? If so, have you updated the config/analytics.yml file and considered whether you need to send 'import_entity' events?

 Investigate degrees not imported due to missing degree_type


 If that is true, it'd be nice if the error message told me what it was.

Thanks. Going back to what you said in #1249 , is this test only failing for you on Go 1.11 (and passing fine with Go 1.10)? I doubt it, but just making sure.

This is failing for me on all Go versions.

macOS updates have a habit of breaking FUSE.

Probably so. I’ll assume that that is the problem and close this.

sorry, I forgot to say I was able to reproduce, so I think we should keep it open for now.


Should the select control update inside "ratingchange" event callback?

$elem.find('option[value="' + value + '"]').prop('selected', true);

I believe this can a bit misleading since the UI doesn't reflect the actual state of the select control, and besides the UI is only updated on "click" event.

The select field value gets updated because of 2 reasons:

the value has to be available on form submit
the select field is set to correct value when the widget is destroyed

Let me know how you would like to improve on that.

Ok, I am closing this for now, please reopen the issue if you feel this needs to be clarified.


can not watch video

can not watch the video(https://youtu.be/Aq8eqApnugM)

@fenneishi : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Main2 yach😁
Sent from Yahoo Mail on Android
On Kam, Feb 3, 2022 at 11:46, @.***> wrote:
can not watch the video(https://youtu.be/Aq8eqApnugM)
You can view, comment on, or merge this pull request online at:
https://github.com/MicrosoftDocs/visualstudio-docs/pull/7622
Commit Summary

16c7f0c can not watch video

File Changes
(1 file)

M docs/python/managing-python-projects-in-visual-studio.md (2)

Patch Links:

https://github.com/MicrosoftDocs/visualstudio-docs/pull/7622.patch
https://github.com/MicrosoftDocs/visualstudio-docs/pull/7622.diff

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

This pull request can't be merged in; it reports an issue. #hold-off
@rjmolyneaux @ghogen The YouTube video in the link is set to private. Could you look into either changing the video permissions or replacing or removing the link to the video? Thanks.

#label:"aq-pr-triaged"

Hi @fenneishi,
We appreciate you bringing this to our attention. Your contribution helps us to both improve and maintain the efficiency of Microsoft documentation. You'll be able to see the updates made to this document shortly!

Hi @rjmolyneaux - This pull request can't be merged in; it reports an issue.
The YouTube video in the link is set to private.
Action needed: Could you look into either changing the video permissions or replace or remove the link to the video?

Hi @ktoliver!
This PR has been resolved with PR #9534.

Thanks, all. #please-close

otvori vidi ima li dogovora molim blasah #japanese 🏴
Sukai kami di Facebook
Dikirim dari myMail untuk Android


Task level priorities.

Is this a BUG REPORT or FEATURE REQUEST?: FEATURE REQUEST
What happened:
Implement priorities (a.k.a. weights) when dealing with tasks collectively consumes more resource than the underlying system can handle. A typical use case would be to set a (global| dag) parallelism and prioritise tasks that need to be scheduled first. When we have long running tasks mixed with short tasks, this can improve overall execution time.
Apache Airflow captured the concept by priority_weight and weight_rule variables where each task can accumulate or discard weights from its downstream dependencies. link
A key difference from k8s pod priority and preemption is that k8s does not have the dependency information so that weight_rule calculation is not possible.

While old, this feels like a valid feature request.

@jessesuen @sarabala1979 this is a sufficiently popular feature I think we should implement. Before we do - is this already possible?

A key difference from k8s pod priority and preemption is that k8s does not have the dependency information so that weight_rule calculation is not possible.

Another key difference is that even if it was possible, the k8s pod priority and priority classes are preemptive, although there's a non-preemptive beta feature at k8s 1.19, that's too new to be usable for most of us: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#non-preempting-priority-class.


Add prometheus metrics for rotated certificates

This change will label all secrets and configmaps we rotate, collect certificate metadata from them and publish them to prometheus as:
certificates_ca_bundle_expire_hours
certificates_signer_expire_hours
certificates_target_expire_hours
The gauge values indicates number of hours until each certificate expire. This should help us better monitor the certificate expiration in live cluster and add alerts when certificates are about to expire without replacement.
Proof: https://github.com/openshift/cluster-kube-apiserver-operator/pull/360
/cc @soltysh
/cc @deads2k
/cc @sttts

As a follow up, when we do bump we can add this label manually to installer provided certs.

fairly minor comments.  This doesn't tell you who uses what though.

/lgtm

/hold

proof: https://github.com/openshift/cluster-kube-apiserver-operator/pull/380
will unhold this if the tests will be green

/hold cancel

/retest


[FLINK-29802][state] Changelog supports native savepoint

What is the purpose of the change

Supports native savepoint for ChangelogStateBackend

Brief change log

Trigger native savepoint of internal state backend manually.

Verifying this change
This change is already covered by existing tests, such as SavepointFormatITCase, ChangelogCompatibilityITCase.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving):  no
The serializers:  no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? no

@fredia Thanks for the review, I have addressed some comments.
@rkhachatryan @Myasuka Could you also help to take a look ?

@rkhachatryan Could you help to take a review again ?
cc @Zakelly You may also be interested in this.
Since Changelog doesn't support NO_CLAIM mode yet, we could let the native savepoint usable so that users could have a quick backup of snapshot to other jobs (see comment)

Thanks for the review.
I rebased and squashed some commits.
I will merge it after the CI passes.

@flinkbot run azure


Added pipeline files.

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Adjust line-height on dashboard sidebar

Fixes: https://github.com/go-gitea/gitea/issues/25597
This is caused by some unintended interaction between our overflow: hidden for ellipsis and fomantic setting line-height: 1 and this is the best I could come up with. Element height is unchanged after this via careful padding adjustment.
Also, I found some untranslated text.

Very likely that this is an issue elsewhere. I will check for a more general solution but it will be a bit hacky regardless.

Replaced by https://github.com/go-gitea/gitea/pull/26354.


ObjectNotFound

Ouput from terminal on Windows 10 with the git bash shell:

I am using python 3.9.6 on Windows 10.

C:\Users\DARA> create-dara-app
create-dara-app : The name "create-dara-app" was not recognized as the name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if the path is correct (if included), and repeat the process.
In line:1 character:1

create-dara-app

  + CategoryInfo          : ObjectNotFound: (create-dara-app:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException

Please double-check your Environment Variables in Advanced System Settings and make sure your C:\<PYTHON_LOCATION>\Scripts folder is included there.


Repaired Records: Worksheet properties from /xl/workbook.xml part (Workbook)

I've got and file.xlsx from UI, and when I open it via excel I received some warning was produced by Excel itself.

Code:
const download = (url, name) => {
    let a = document.createElement('a')
    a.href = url
    a.download = name
    a.click()

    window.URL.revokeObjectURL(url)
}

function Workbook() {
    if (!(this instanceof Workbook))
        return new Workbook()

    this.SheetNames = []

    this.Sheets = {}
}

function s2ab(s) {
    const buf = new ArrayBuffer(s.length)

    const view = new Uint8Array(buf)

    for (let i=0; i !== s.length; ++i)
        view[i] = s.charCodeAt(i) & 0xFF

    return view
}

export default data => {
    import('xlsx').then(XLSX => {
        const wb = new Workbook()
        const ws = XLSX.utils.json_to_sheet(data)

        wb.SheetNames.push('s')
        wb.Sheets[''] = ws

        const wbout = XLSX.write(wb, {bookType:'xlsx', bookSST:true, type: 'binary'})

        let url = window.URL.createObjectURL(new Blob([s2ab(wbout)], {type:'application/octet-stream'}))

        download(url, 'import.xlsx')
    })
}

You need to specify a worksheet name in the sheets assignment:
        wb.SheetNames.push('s')
        wb.Sheets['s'] = ws // the key in the assignment must be a worksheet name

The XLSX.utils.book_append_sheet helper function will perform both steps in one call:
        XLSX.utils.book_append_sheet(wb, ws, 's') // workbook, worksheet object, worksheet name

There are other helpers to make a new workbook and to trigger a download.  The code block above can be reduced to:
export default data => {
    import('xlsx').then(XLSX => {
        /* create worksheet from data */
        const ws = XLSX.utils.json_to_sheet(data)

        /* create new workbook and add worksheet */
        const wb = XLSX.utils.book_new()
        XLSX.utils.book_append_sheet(wb, ws, 's') // replace 's' with desired worksheet name

        /* generate file and trigger a download */
        XLSX.writeFile(wb, 'import.xlsx')
    })
}

in my case when I use XLSX.writeFile(wb, ${sheetName}.${bookType}, {bookSST:true, type: 'binary'})   I got an error _fs.writeFileSync is not a function


"Not capable masternode: Could not connect to IP:39320"

Hi everybody.
I try to setup mn. <IP_ADDRESS>:39320 is open from outside but
/usr/local/bin/dextro-cli masternode status

"vin" : "CTxIn(COutPoint(0000000000000000000000000000000000000000000000000000000000000000,<PHONE_NUMBER>), coinbase )",
"service" : "<IP_ADDRESS>:39320",
"status" : "Not capable masternode: Could not connect to <IP_ADDRESS>:39320"

My dextro.conf.
rpcuser=
rpcpassword=
rpcport=39321
rpcallowip=<IP_ADDRESS>
listen=1
server=1
daemon=1
port=39320
logintimestamps=1
maxconnections=256
masternode=1
externalip=<IP_ADDRESS>:39320
masternodeprivkey=

#ADDNODES
addnode=<IP_ADDRESS>:39320
addnode=<IP_ADDRESS>:39320
addnode=<IP_ADDRESS>:39320
addnode=<IP_ADDRESS>:39320
addnode=<IP_ADDRESS>:39320
addnode=<IP_ADDRESS>:39320
addnode=<IP_ADDRESS>:39320
addnode=<IP_ADDRESS>:39320
addnode=<IP_ADDRESS>:39320
addnode=<IP_ADDRESS>:39320
addnode=<IP_ADDRESS>:39320
addnode=<IP_ADDRESS>:39320
addnode=<IP_ADDRESS>:39320
addnode=<IP_ADDRESS>:39320
addnode=<IP_ADDRESS>:39320
addnode=<IP_ADDRESS>:39320

/usr/local/bin/dextro-cli mnsync status
{
    "IsBlockchainSynced" : true,
    "lastMasternodeList" :<PHONE_NUMBER>,
    "lastMasternodeWinner" :<PHONE_NUMBER>,
    "lastBudgetItem" : 0,
    "lastFailure" : 0,
    "nCountFailures" : 0,
    "sumMasternodeList" : 14614,
    "sumMasternodeWinner" : 143153,
    "sumBudgetItemProp" : 0,
    "sumBudgetItemFin" : 0,
    "countMasternodeList" : 5,
    "countMasternodeWinner" : 5,
    "countBudgetItemProp" : 5,
    "countBudgetItemFin" : 5,
    "RequestedMasternodeAssets" : 999,
    "RequestedMasternodeAttempt" : 0
}

What i have to do more or where i'm wrong?
Thank for attentions.

i believe you miss the masternodeprivkey= and also you should check on cli for masternode outputs (tx id of the collateral)

Late response here, but might help someone in the future.  Open up your firewall on your system to allow access for your wallet. Try adding masternodeaddr=<IP_ADDRESS>:39320 (your network ip address) It appears that your computer is not finding your masternode due to one of these issues.


fix busybox compat

What this PR does / why we need it:
busybo sed doesn't know the multiline modifier, but it works just fine without it.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:

/hold

/hold cancel