Incorrect handling of EINTR in syscalls

Which version of the AzCopy was used? 10.21.1
Note: The version is visible when running AzCopy without any argument
Which platform are you using? Linux
What command did you run?
Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.
cp [REMOTE_DIR] /tmp/tmpdir
What problem was encountered?
ERR: [P#0-T#0] DOWNLOADFAILED: [REMOTE_FILE] : 000 : File Creation Error interrupted system call
   Dst: /tmp/tmpdir/tmpfile

This is likely caused by incorrect handling of EINTR for syscalls, which should be retried, e.g. here.
How can we reproduce the problem in the simplest way?
Have you found a mitigation/solution?
No.

Can you share more details on how you are able to create this scenario or why you feel fallocate is getting EINTR?

Hi @gapra-msft & @vibhansa-msft
we have another customer which encounter same issue
2024/10/07 11:30:38 AzcopyVersion  10.26.0
2024/10/07 11:30:38 OS-Environment  linux
2024/10/07 11:30:38 OS-Architecture  amd64
2024/10/07 11:30:38 Log times are in UTC. Local time is 7 Oct 2024 11:30:38
2024/10/07 11:30:38 ISO 8601 START TIME: to copy files that changed before or after this job started, use the parameter --include-before=2024-10-07T11:30:33Z or --include-after=2024-10-07T11:30:33Z
2024/10/07 11:30:38 Any empty folders will not be processed, because --recursive was not specified
2024/10/07 11:30:38 Job-Command cp https://XXXXX.file.core.windows.net/YYYYYY-YYYY-.../build/dce-abyss-ui.ui.config-2024.1007.1102421.0004801006.zip?sig=-REDACTED-&st=2024-10-07t10%3A32%3A52z&se=2025-04-07t11%3A02%3A52z&sv=2017-04-17&spr=https&sp=r&sr=f /tmp/AAAAA/chef/cache/cookbooks/installClientPackages/content-package-25.zip
2024/10/07 11:30:38 Number of CPUs: 8
2024/10/07 11:30:38 Max file buffer RAM 4.000 GB
2024/10/07 11:30:38 Max concurrent network operations:  will be dynamically tuned up to 3000 (Based on auto-tuning limit. Set AZCOPY_CONCURRENCY_VALUE environment variable to override)
2024/10/07 11:30:38 Check CPU usage when dynamically tuning concurrency: true (Based on hard-coded default. Set AZCOPY_TUNE_TO_CPU environment variable to true or false override)
2024/10/07 11:30:38 Max concurrent transfer initiation routines: 64 (Based on hard-coded default. Set AZCOPY_CONCURRENT_FILES environment variable to override)
2024/10/07 11:30:38 Max enumeration routines: 16 (Based on hard-coded default. Set AZCOPY_CONCURRENT_SCAN environment variable to override)
2024/10/07 11:30:38 Parallelize getting file properties (file.Stat): false (Based on AZCOPY_PARALLEL_STAT_FILES environment variable)
2024/10/07 11:30:38 Max open files when downloading: 65007 (auto-computed)
2024/10/07 11:30:38 Final job part has been created
2024/10/07 11:30:38 Trying 4 concurrent connections (initial starting point)
2024/10/07 11:30:38 Final job part has been scheduled
2024/10/07 11:30:38 ERR: [P#0-T#0] DOWNLOADFAILED: https://XXXXX.file.core.windows.net/YYYYYY-YYYY-.../build/dce-abyss-ui.ui.config-2024.1007.1102421.0004801006.zip : 000 : File Creation Error interrupted system call
Dst: /tmp/AAAAA/chef/cache/cookbooks/installClientPackages/content-package-25.zip
2024/10/07 11:30:38 INFO: [P#0-T#0] https://XXXXX.file.core.windows.net/YYYYYY-YYYY-.../build/dce-abyss-ui.ui.config-2024.1007.1102421.0004801006.zip Deleting incomplete destination file Dst: /tmp/AAAAA/chef/cache/cookbooks/installClientPackages/content-package-25.zip
2024/10/07 11:30:38 JobID=a8ddc064-f1ed-3245-6d3e-6a575c73e1f8, Part#=0, TransfersDone=1 of 1
2024/10/07 11:30:38 all parts of entire Job a8ddc064-f1ed-3245-6d3e-6a575c73e1f8 successfully completed, cancelled or paused
2024/10/07 11:30:38 is part of Job which 1 total number of parts done
2024/10/07 11:30:40 PERF: primary performance constraint is Unknown. States: C:  0, R:  0, W:  0, F:  0, H:  0, B:  0, S:  0, P:  0, Q:  0, D:  0, E:  0, T:  0, GRs:  4
2024/10/07 11:30:40 0.0 %, 0 Done, 1 Failed, 0 Pending, 0 Skipped, 1 Total,
2024/10/07 11:30:40
Diagnostic stats:
IOPS: 0
End-to-end ms per request: 0
Network Errors: 0.00%
Server Busy: 0.00%
Job a8ddc064-f1ed-3245-6d3e-6a575c73e1f8 summary
Elapsed Time (Minutes): 0.0334
Number of File Transfers: 1
Number of Folder Property Transfers: 0
Number of Symlink Transfers: 0
Total Number of Transfers: 1
Number of File Transfers Completed: 0
Number of Folder Transfers Completed: 0
Number of File Transfers Failed: 1
Number of Folder Transfers Failed: 0
Number of File Transfers Skipped: 0
Number of Folder Transfers Skipped: 0
Total Number of Bytes Transferred: 0
Final Job Status: Failed
2024/10/07 11:30:40 Closing Log
Thanks


Migrated Hilt dependencies from Kapt to KSP

This PR Resolves Issue 980
Please review: @manuelvicnt @dturner

Thanks for doing this.


⚠ Bofrost.lu has degraded performance

In fd54d19, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1705 ms

Resolved: Bofrost.lu performance has improved in ba88d6e after 6 minutes.


Demo unavailable

It seems as if the demo page has gone bad

Links to examples of output go to: https://pociot.dev/whiteboard/ ...404

Bump @mpociot

Bump @mpociot

Exchange packages with marcelpociot.de [<IP_ADDRESS>] with 32 bytes of the data:
Timed out request.
Timed out request.

@shalvah, can you help with this?


KSPWheel version <IP_ADDRESS> can't be CKAN installed due to wrong value in .ckan ksp_version_max field

CKAN v1.25.4
KSP v1.6.1
Mod KSPWheel
In CKAN, version <IP_ADDRESS> is shown as available but not available for KSP 1.6.1.  Checked its .netkan and .ckan:
https://github.com/KSP-CKAN/NetKAN/blob/master/NetKAN/KSPWheel.netkan
https://github.com/KSP-CKAN/CKAN-meta/blob/master/KSPWheel/KSPWheel-<IP_ADDRESS>.ckan
Its .ckan has a wrong ksp_version_max field:

"version": "<IP_ADDRESS>",
"ksp_version_min": "1.6.0",
"ksp_version_max": "1.5.9",

I couldn't download the install .zip via CKAN but could do so directly from the mod's source, GitHub:
https://github.com/shadowmage45/KSPWheel/releases
The KSPWheel.version file contains correct KSP version values which don't match those in the .ckan:
"VERSION":
{
	"MAJOR":0,
	"MINOR":13,
	"PATCH":10,
	"BUILD":29
},
"KSP_VERSION":
{
	"MAJOR":1,
	"MINOR":6,
	"PATCH":0
},
"KSP_VERSION_MIN":
{
	"MAJOR":1,
	"MINOR":6,
	"PATCH":0
},
"KSP_VERSION_MAX":
{
	"MAJOR":1,
	"MINOR":6,
	"PATCH":9
}

Love cKan, but one major flaw.  It needs to be able to undo what it installed and or have a detailed list of what and where things were installed.

@BaelRathLian If you want to raise a bug report or feature request, please create a new issue

@BaelRathLian, if you want to raise a bug report or a feature suggestion, please open a new issue. Don't comment on old, closed issues regarding completely different topics.

Another option is to add a comment on an existing issue that is relevant, such as #6234.


Add more docs for "Github app" section of install

I'm a little stuck on the "Install Derek as a GitHub app" section as I can't find it on the marketplace as most "Github apps" are.
So then I'm guessing I have to create my own Github app? If so could you help with what these fields will needs to be filled with.
I already have a publicly facing openfaas gateway that I can use.
(Also might be an idea to link to the Github app registration page.)
https://github.com/settings/apps/new

So I finally got it working.
2018/04/20 13:28:09 stderr: time="2018-04-20T13:28:09Z" level=fatal msg="No customer found for: pymedusa/test-repo"

Seems the customer list is hardcoded. Should I just disable it via the env?
https://github.com/alexellis/derek/blob/d1dc963fea622554ae940f0892427cc6cde54dea/auth/customers.go#L21

@OmgImAlexis are you trying to host your own Derek or use our shared SaaS?

The documentation in this site says to contact me for access to the shared instance... I'll take this issue as you doing that. Look at the Slack channel #derek - it has the public URL where you can install the hosted GitHub app.

Get your own Derek robot
You can host and manage your own Derek robot using these instuctions, or use our managed service. To use our managed service get in touch with Alex Ellis for more info.

It'd be great for the docker container to log more useful info be default. Maybe I should open a separate issue on that?

While this sounds useful I'm not sure it's actionable. If there is a specific thing you'd like to do perhaps we can target that instead?
What is the reason for self-hosting over using the free SaaS version?

Mainly which feature was being used and by who I was expecting to see more of a HTTP type log instead of what was presented. The reason I wanted this is so I could parse the logs for my grafana install.
I like to self-host all of my infrastructure.

Derek close: resolved


CSS

CSS
User Story
As a boot camp student
I want the prework notes to be structured on a webpage
So that I can easily find and read the information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I view the study guide
THEN I see a dark blue header and footer, and four boxes with a shadow

CSS code for Pre-work study guide completed


Add Provider -> Custom Endpoint -> TypeError

Could very well be in my setup.

I got the app up and running with npm run start. (Ubuntu 20.04 Docker image with npm installed)
Navigate to localhost:3000
Click to add a provider.
Select 'Custom Endpoint'

After saving.

TypeError: Cannot read property 'retryLimit' of undefined

Thanks @mtmcduffie ! I'm able to reproduce - looks like an issue with endpoints that don't have a default query profile, displaying but not saving "Argonaut" as the value. You can work around this by selecting a different query profile and then fliping it back to Argonaut, but I'll push a quick change that should fix the issue.

Fixed via f278c8d - please reopen if still a problem.


add task for verb that gets .verb.md from here, not from cwd

https://github.com/verbose/verb-generate-readme#readme-1
verb --readme="/full/filepath/to/hela-config-tunnckocore/and-path-to-read-template.md"

actually no..


sequenceLabelling.Trainer.train method fails if validation set is None

There are some problems with the trainer itself (during the concatenation of the training and validation sets), with the data_generator (unable to compute its len), and with the on_epoch_end of the trainer (assuming validation is not empty).
I will submit a PR today.

I think this was also solved with #70, correct?

@lfoppiano yes it is.
I'm sorry: next time I'll put the bug number in the commit message.

@bfreuden don't worry I was pretty sure it was the same but I didn't want to close it too eagerly :-)


Fall back to archive tree empty check when checking for empty sources.

To keep backwards compatibility. This is a follow up to #17837.

@bot-gradle test QFL

OK, I've already triggered QuickFeedbackLinux build for you.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.


Update only changed settings

Possible fix for issue https://github.com/anlutro/laravel-settings/pull/122

@thewebartisan7 do you have time to test it? Currently away from PHP at the minute.

I will try find time this week.

@bweston92 the problem is that test without any change failed.
There are 14 errors.
I tested using version 0.9.0 and Laravel 6.2
Should I setup something or it's enough composer install && vendor/bin/phpunit ?
This is errors:
$ vendor/bin/phpunit
PHPUnit 5.7.27 by Sebastian Bergmann and contributors.

.EE.EEE.EE.EEE.E................................EEE.....E         57 / 57 (100%)

Time: 78 ms, Memory: 8.00MB

There were 15 errors:

1) DatabaseTest::written_changes_are_saved
Mockery\Exception\NoMatchingExpectationException: No matching handler found for Mockery_0::get("settings.defaults.foo"). Either the method was unexpected or its arguments matched no expected argument list for this method

/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/mockery/mockery/library/Mockery/ExpectationDirector.php:93
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:261
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/src/SettingStore.php:54
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/tests/functional/AbstractFunctionalTest.php:28
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/tests/functional/AbstractFunctionalTest.php:46

2) DatabaseTest::nested_keys_are_nested
Mockery\Exception\NoMatchingExpectationException: No matching handler found for Mockery_0::get("settings.forgetCacheByWrite"). Either the method was unexpected or its arguments matched no expected argument list for this method

/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/mockery/mockery/library/Mockery/ExpectationDirector.php:93
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:261
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/src/SettingStore.php:146
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/tests/functional/AbstractFunctionalTest.php:21
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/tests/functional/AbstractFunctionalTest.php:54

3) DatabaseTest::can_forget_key
Mockery\Exception\NoMatchingExpectationException: No matching handler found for Mockery_0::get("settings.forgetCacheByWrite"). Either the method was unexpected or its arguments matched no expected argument list for this method

/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/mockery/mockery/library/Mockery/ExpectationDirector.php:93
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:261
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/src/SettingStore.php:146
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/tests/functional/AbstractFunctionalTest.php:21
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/tests/functional/AbstractFunctionalTest.php:72

4) DatabaseTest::can_forget_nested_key
Mockery\Exception\NoMatchingExpectationException: No matching handler found for Mockery_0::get("settings.forgetCacheByWrite"). Either the method was unexpected or its arguments matched no expected argument list for this method

/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/mockery/mockery/library/Mockery/ExpectationDirector.php:93
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:261
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/src/SettingStore.php:146
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/tests/functional/AbstractFunctionalTest.php:21
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/tests/functional/AbstractFunctionalTest.php:87

5) DatabaseTest::can_forget_all
Mockery\Exception\NoMatchingExpectationException: No matching handler found for Mockery_0::get("settings.forgetCacheByWrite"). Either the method was unexpected or its arguments matched no expected argument list for this method

/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/mockery/mockery/library/Mockery/ExpectationDirector.php:93
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:261
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/src/SettingStore.php:146
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/tests/functional/DatabaseTest.php:36
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/tests/functional/AbstractFunctionalTest.php:122

6) JsonTest::written_changes_are_saved
Mockery\Exception\NoMatchingExpectationException: No matching handler found for Mockery_0::get("settings.defaults.foo"). Either the method was unexpected or its arguments matched no expected argument list for this method

/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/mockery/mockery/library/Mockery/ExpectationDirector.php:93
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:261
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/src/SettingStore.php:54
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/tests/functional/AbstractFunctionalTest.php:28
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/tests/functional/AbstractFunctionalTest.php:46

7) JsonTest::nested_keys_are_nested
Mockery\Exception\NoMatchingExpectationException: No matching handler found for Mockery_0::get("settings.forgetCacheByWrite"). Either the method was unexpected or its arguments matched no expected argument list for this method

/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/mockery/mockery/library/Mockery/ExpectationDirector.php:93
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:261
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/src/SettingStore.php:146
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/tests/functional/AbstractFunctionalTest.php:21
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/tests/functional/AbstractFunctionalTest.php:54

8) JsonTest::can_forget_key
Mockery\Exception\NoMatchingExpectationException: No matching handler found for Mockery_0::get("settings.forgetCacheByWrite"). Either the method was unexpected or its arguments matched no expected argument list for this method

/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/mockery/mockery/library/Mockery/ExpectationDirector.php:93
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:261
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/src/SettingStore.php:146
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/tests/functional/AbstractFunctionalTest.php:21
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/tests/functional/AbstractFunctionalTest.php:72

9) JsonTest::can_forget_nested_key
Mockery\Exception\NoMatchingExpectationException: No matching handler found for Mockery_0::get("settings.forgetCacheByWrite"). Either the method was unexpected or its arguments matched no expected argument list for this method

/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/mockery/mockery/library/Mockery/ExpectationDirector.php:93
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:261
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/src/SettingStore.php:146
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/tests/functional/AbstractFunctionalTest.php:21
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/tests/functional/AbstractFunctionalTest.php:87

10) JsonTest::can_forget_all
Mockery\Exception\NoMatchingExpectationException: No matching handler found for Mockery_0::get("settings.forgetCacheByWrite"). Either the method was unexpected or its arguments matched no expected argument list for this method

/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/mockery/mockery/library/Mockery/ExpectationDirector.php:93
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:261
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/src/SettingStore.php:146
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/tests/functional/AbstractFunctionalTest.php:21
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/tests/functional/AbstractFunctionalTest.php:125

11) MemoryTest::written_changes_are_saved
Mockery\Exception\NoMatchingExpectationException: No matching handler found for Mockery_0::get("settings.defaults.foo"). Either the method was unexpected or its arguments matched no expected argument list for this method

/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/mockery/mockery/library/Mockery/ExpectationDirector.php:93
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:261
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/src/SettingStore.php:54
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/tests/functional/MemoryTest.php:13
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/tests/functional/AbstractFunctionalTest.php:46

12) DatabaseSettingStoreTest::correct_data_is_inserted_and_updated
Mockery\Exception\NoMatchingExpectationException: No matching handler found for Mockery_0::get("settings.forgetCacheByWrite"). Either the method was unexpected or its arguments matched no expected argument list for this method

/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/mockery/mockery/library/Mockery/ExpectationDirector.php:93
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:261
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/src/SettingStore.php:146
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/tests/unit/DatabaseSettingStoreTest.php:40

13) DatabaseSettingStoreTest::extra_columns_are_queried
Mockery\Exception\NoMatchingExpectationException: No matching handler found for Mockery_0::get("settings.defaults.foo"). Either the method was unexpected or its arguments matched no expected argument list for this method

/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/mockery/mockery/library/Mockery/ExpectationDirector.php:93
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:261
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/src/SettingStore.php:54
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/tests/unit/DatabaseSettingStoreTest.php:58

14) DatabaseSettingStoreTest::extra_columns_are_inserted
Mockery\Exception\NoMatchingExpectationException: No matching handler found for Mockery_0::get("settings.forgetCacheByWrite"). Either the method was unexpected or its arguments matched no expected argument list for this method

/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/mockery/mockery/library/Mockery/ExpectationDirector.php:93
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:261
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/src/SettingStore.php:146
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/tests/unit/DatabaseSettingStoreTest.php:78

15) JsonSettingStoreTest::throws_exception_when_file_contains_invalid_json
Mockery\Exception\InvalidCountException: Method get("fakepath") from Mockery_4_Illuminate_Filesystem_Filesystem should be called
 exactly 1 times but called 0 times.

/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/mockery/mockery/library/Mockery/CountValidator/Exact.php:37
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/mockery/mockery/library/Mockery/Expectation.php:306
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/mockery/mockery/library/Mockery/ExpectationDirector.php:120
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/mockery/mockery/library/Mockery/Container.php:297
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/mockery/mockery/library/Mockery/Container.php:282
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/vendor/mockery/mockery/library/Mockery.php:162
/Users/mir/Projects/laratest/vendor/anlutro/l4-settings/tests/unit/JsonSettingStoreTest.php:9

ERRORS!
Tests: 57, Assertions: 58, Errors: 15.


User manual for current-bench

Dune benchmarks user manual here: https://github.com/ocaml/dune/pull/9704


Implement file open dialog

Set up debugging with https://www.electronjs.org/docs/latest/tutorial/debugging-vscode
also menuitem with https://www.electronjs.org/docs/latest/api/menu


Make TestCategory opt-in.

Change the logic in the infra scripts so that the new test filtering argument doesn't impact any existing tests and any future repo could opt-in to it if they wish.

@MichaelSimons Is this more like what you were requesting by your comments in https://github.com/microsoft/dotnet-framework-docker/pull/318#discussion_r306406195

Is there a need for this second PR?  Can we keep the changes in #318?  IMO makes it easier to manage/track/resolve the review comments.

I can push directly to hongli/wcf.

I just pushed these changes plus edits based on your feedback directly to #318 so we can now close this PR.


Auto convert channel and user name

If you change this.channel = channel  to this.channel = channel.toLowerCase(), it should simplify user interaction. The same could be done for username. I may have the implementation incorrect, however the idea should work. Hope this helps.

Definetly something I have to do! I am not able to code right now because I don't have my computer, but on Friday I'll definetly sort this.
Thanks for the feedback!!


icns2png and gm error under Linux

I cannot successfully run the "npm run dist:linux" command under Ubuntu. There is an error:
Unhandled rejection Error: Exit code: ENOENT. spawn icns2png ENOENT
I can fix it by running "sudo apt-get install icnsutils". I then get the same error with "gm" instead of "icns2png". I can fix that again by installing graphicsmagick. The proper way to fix it seems to be the same as here, to mention these as dependencies: https://github.com/electron-userland/electron-builder/issues/1407

I'm closing this since it's an electron-builder problem just as you mentioned.


[swift-4.0-branch][overlay] Change INBooleanResolutionResul.defaultProfile to .isDefaultProfile

Explanation: Makes Swift API use Bool instead of Int for a property that’s essentially a flag.
Risk: Minimal
Reviewed By: Kyle Zhao
Testing: Automated test suite
Directions for QA: N/A
Radar: rdar://problem/31816908

(cherry picked from commit 5ab2e4d3a54644fe194bbdbbd51481e219f73787)

Same as https://github.com/apple/swift/pull/10845

@swift-ci Please test

@swift-ci Please Test Source Compatibility


writeroom-global-effects could support standard minor mode argument interpretation

In my writeroom I use the standard modeline but hide my panel (fullboth) and thus want to show time and battery status in the modeline. This is easily done with display-time-mode and display-battery-mode. I thought I would be able to just add these to writeroom-global-effects but I had to write a short wrapper function and add that to writeroom-global-effects for it to work:
(defun aj/wr-time-and-battery (arg)
  (if arg
      (progn (display-time-mode 1) (display-battery-mode 1))
    (display-time-mode -1) (display-battery-mode -1)))

This was no problem of course, but what I propose is that the interpretation of the argument in writeroom--activate-global-effects should be the same as the interpretation of arguments for minor modes, i.e. "If called from Lisp, enable the mode if ARG is omitted or nil" (or non-negative really) and disable for negative arguments.
This would enable anyone to just throw in any (global) minor mode into writeroom-global-effects, but changing it would of course possibly break current configurations.
Thanks for a great package!

Yes, I've had the same thought myself and regret not doing it this way from the start. But my main reason for regretting it was the lack of consistency, which I thought wasn't a good enough reason to risk breaking people's config.
The situation you're describing is a practical matter, however, which may make it worth reconsidering. I'll think about it for a bit and let you know what I decide.

Well, I implemented the change, bumped up the major version number and added a note to the README. Hope it won't trip up too many people...
Note that writeroom-mode calls the global effect functions with 1 or -1, so they don't need to accept any other arguments. But that's compatible with minor mode functions, so they should work too. Let me know when you run into trouble, though.

Great! It works well for me with latest from melpa.


Repo sync for protected CLA branch

The pull request is created from main637781257592137833 to main to fix git push error for protected CLA branch

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


Quantization Infrastructure

FOUND_TF and FOUND_PYTROCH in missing places.
Adding wrapper to Keras model builder.
Adding quantization infrastructure (QI).
Use QI for QAT.
Adding loading function.
Update QAT testing to include the load and save model.

model_compression_toolkit/qunatizers_infrastructure/keras/init.py - Missing license

model_compression_toolkit/qunatizers_infrastructure/pytorch/init.py - Missing license


[CLDC-122] Experimental background job lettings log import with basic reporting

Spawns background jobs to generate lettings log imports due to the amount of time the PostcodeService can take to retrieve/validate postcode information.
This meant introducing a basic summary reporting system that doesn't rely on logs only.

This is an experimental PR because It introduces Wisper etc to allow summary generation. A more basic version was already completed: #912


[BUG] cuCIM backend does not detect MPP on Philips TIFF slide

Description
When trying to do tile extraction on a TIFF slide scanned by an Philips scanner, cuCIM fails to detect the MPP and thus tile extraction cannot be performed. This problem does not exist when using the libvips backend. See attached error log. I can provide the slide in question if helpful.
Script
P.extract_tiles(tile_px=299, tile_um=302,
                buffer='/ssd',
                filters={"patient": ["RS-21-10522"]},
                roi_method="auto",
                qc='both',
                dry_run=False)

Environment:

Slideflow Version (e.g., 1.0): 1.4
OS (e.g., Ubuntu): Centos
How you installed Slideflow (pip, source): Docker
Python version: 3.8
CUDA/cuDNN version: 11.2
GPU models and configuration: A100

cucim_error.txt

Think I've fixed the issue - let me know if you encounter any other issues when using Philips slides.


Float label doesn't work properly for inline forms

Hi,
I have a form for which inputs are having half width and are sticking together to each other in a same row.  This plugin results in overlap of floated labels.

Sorry, but this issue can easily be fixed with CSS.
No reason to adjust the plugin to this "edge case".


Explain extensionless behavior in getting started

 Issue by daveaglick
Monday Aug 21, 2017 at 10:49 GMT
Originally opened as https://github.com/Wyamio/Wyam.Web/issues/51

 Comment by ryanrousseau
Sunday Mar 03, 2019 at 14:47 GMT

This got me yesterday after my first push to Firebase, but it was a quick fix to set Firebase hosting to use clean URLs.


feat: 🎸 Add method to get involved instructions

Description
This adds Identity.getInvolvedInstructions which returns all instructions where identity is involved grouped by their role (owner/custodian) and status
Breaking Changes
NA
JIRA Link
DA-755
Checklist

[ ] Updated the Readme.md (if required) ?

:tada: This PR is included in version 21.0.0-alpha.4 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 21.0.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix API documentation rendering, version switcher

Description
Adds API rendering back to documentation site, updates the version switcher with correct version numbers.
Issue reference
Fixes #397
Review
Before you mark your PR as ready for review, please ensure that you've considered the following:

Updated the CHANGELOG.md in reverse chronological order (newest at the top) with a concise description of the changes, including the PR number.
Noted any breaking changes, including details on how it might impact existing functionality.

Type of change

[ ] New Feature: A non-breaking change that adds new functionality.
[ ] Optimization: A code change that improves performance.
[ ] Examples: A change to existing or additional examples.
[ ] Bug Fix: A non-breaking change that addresses an issue.
[ ] Documentation: Updates to documentation or new documentation for new features.
[ ] Refactoring: Non-functional changes that improve the codebase.
[ ] Style: Non-functional changes related to code style (formatting, naming, etc).
[ ] Testing: Additional tests to improve coverage or confirm functionality.
[ ] Other: (Insert description of change)

Key checklist:

[ ] No style issues: $ pre-commit run (or $ nox -s pre-commit) (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)
[ ] All unit tests pass: $ nox -s tests
[ ] The documentation builds: $ nox -s doctest

You can run integration tests, unit tests, and doctests together at once, using $ nox -s quick.
Further checks:

[ ] Code is well-commented, especially in complex or unclear areas.
[ ] Added tests that prove my fix is effective or that my feature works.
[ ] Checked that coverage remains or improves, and added tests if necessary to maintain or increase coverage.

Thank you for contributing to our project! Your efforts help us to deliver great software.

The built site can be viewed here: https://pybop-docs--398.org.readthedocs.build/en/398/
The versions switcher should be updated once this is merged into develop & released.


Strange interaction with vercel/ncc

When compiling this library with https://github.com/vercel/ncc
I get this error when trying to invoke methods
Error: Cannot find module './src/errors.js'

Reproduction can be found here:

https://github.com/transmute-industries/jose-hpke/blob/main/package.json#L21

https://github.com/transmute-industries/jose-hpke/blob/main/package.json#L22

Seems like it could be related to tsconfig, es modules or the vercel compiler...

I've not encountered this recently, so I am closing


Never call onUpdate on watches before items has received the initial …

…update
This could cause the address-space-controller and standard-controller
loops to be invoked with an empty list of resources in the case of
parsing errors, causing them to delete infrastructure.
Closes #2025

Merging this as the tests passsed but failed on artifact collection


Re-apply previous commit with new semrel-friendly commit message

The net effect of this PR is to simply modify the commit message associated with
@jorge-ibm 's original commit that upgrades our dependency on okhttp3.

The fact that there are no net file changes to display for this PR tells me that I was able to pull it off :)

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


Add IEnumerable implementation on String with exception throwing.

Adding a basic implementation of IEnumerable on String to avoid compiler crash when foreach-ing on a String.
The GetEnumator implementation only thow a NotSupportedException in order to be compliant with .net framework practices on NotImplemented/NotSupported/PlatformNotSupported exceptions.
Motivation and Context
Iterating with foreach on a string is a common practices in c#.
But the lake of IEnumerable implement in String class generate a compilation failure with a generic error message "CSC compiler error CS7038 'Failed to emit module'" , that is very confusing for a developper, source of lost time in debugging.
This correction remove the compiler CSC7038 error on compilation, and the developper will be quickly inform during debug that the GetEnumerator is not supported. It also add documentation and intellisense informations, improving quality of developper experience.

Fixes/Closes/Resolves https://github.com/nanoframework/Home/issues/663

Compilation/génération of debug w/reflexions ok.
Compilation of the sample app describe in Issue 663 succeeded, no more CSC7038 error.
Types of changes

[X] Improvement (non-breaking change that improves a feature, code or algorithm)
[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)
[ ] Config and build (change in the configuration and build system, has no impact on code or features)
[ ] Dependencies (update dependencies and changes associated, has no impact on code or features)

Checklist:

[X] My code follows the code style of this project.
[X] My change requires a change (update) to the documentation.
[ ] I have updated the documentation accordingly.
[X] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: flyingoverclouds sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Cb 17582 Use LDAP instead of PAM as default SASL auth mechanism for Kafka

Note: Given the importance of this ticket I opened the PR against 2.59 instead of master.
We discovered a performance bottleneck with our PAM authenticator (which was backed by LDAP anyway) and switching to using LDAP fixes it.
Testing:
updated unit tests
tested cluster installation manually

Thanks @horadla23, originally it was done on master. Rebasing to 2.59.

Rebasing didn't fix it, opening a new one.


"Open Stream" button in each channel should open that channel in Live Channels

Would  you mind delete "add suggested channels "button, and setup default TV channels to "Open Stream"? I don't think "add suggested channels‘  is good idea . Thank

So the channels that are provided should be automatically added? The
purpose of "suggestions" was so you could choose to add certain ones,
opting in instead of having to opt-out.
On Thu, Aug 18, 2016, 7:54 PM Aulavik<EMAIL_ADDRESS>wrote:

Would you mind delete "add suggested channels "button, and setup default
TV channels to "Open Stream"? I don't think "add suggested channels‘ is
good idea . Thank
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Fleker/CumulusTV/issues/152#issuecomment-240914790,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADI58-AH-5rb2hluXDTcl2NK7MY-rtn8ks5qhRrUgaJpZM4JoDWw
.


[Adb]Add ability to get current activity

Description
Add ability to get current activity
Who will benefit from this feature?
No response
Anything else?
No response

Seems like this issue is about a specific extension, not the API. Would you mind opening a new issue using the correct template so that the authors of the extension are properly aware of it?


In Bootstrap Modal not working

when I use a bootstrap modal form does not validate fields and sends empty

You need to be sure that you're initializing/destroying the validator on the modal's shown.bs.modal and hidden.bs.modal events.


Add conversion into Ascii inside str_slug()

Hello there,
when I use the helper function str_slug with characters other than ascii, in my case Arabic characters, the return value in English characters which is super cool if I didn't need the support of SEO or the readable URLs.
Is there any way to add a conversion from utf-8 into ascii so it will return url friendly value ?
For me now I'm using function that I wrote which is doing the trick, I'm posting this as feature maybe!

@GrahamCampbell anything to help me with ?

If there is a popular package with transformation for these characters, perhaps we could use this, otherwise, this is probably out side the scope of the framework core.

@GrahamCampbell Okay, thanks a lot, and amazing work btw

:heart:


Expansion after init does not work

Hello, thank you for the library.
I stumbled on a bug while using the expansion panel in a recycler view.
I need to handle the expansion manually, so I'm using collapse(boolean animated) and expand(boolean animated) to update the expansion layout accordingly.
It works fine, except when initializing the layout state to expanded. The layout is not expanded by default (in the XML) but set to expanded (expand(false)) by the adapter when the activity starts.
I think the cause is:

expand(false) is called by the adapter. expanded is set to true, but we don't have a height yet
the ViewTreeObserver for preDraw is called
the preDraw callback tries to update the height of the layout since it's expanded https://github.com/florent37/ExpansionPanel/blob/ffd431de78a51c594d1d78f4c46697708105a878/expansionpanel/src/main/java/com/github/florent37/expansionpanel/ExpansionLayout.java#L133-L136
expand(false) is called but returns early since expanded is true
https://github.com/florent37/ExpansionPanel/blob/ffd431de78a51c594d1d78f4c46697708105a878/expansionpanel/src/main/java/com/github/florent37/expansionpanel/ExpansionLayout.java#L207-L210
and so, setHeight is never called with the expanded height

If that's the case, I think updating the preDraw callback to
//now we have a size
if (expanded) {
    setHeight(getChildAt(0).getHeight());
}

might be the fix. I can do a PR for this if you want.
The same problem seem to be present in the horizontal version, though I haven't tested it.

+1 on this issue
Thanks  for the lib and thanks @esnaultdev for the fix idea, it should be PR'd :)
In the meanwhile I made myself a workaround with a subclass of expansion layout
class ExpansionLayout2(context: Context, attrs: AttributeSet?) : ExpansionLayout(context, attrs) {

    override fun expand(animated: Boolean) {

        if (isExpanded() && isEnabled()) {
            val height = getChildAt(0).getHeight();
            // setHeight(height)
            // setHeight is private, so let's copy its contents instead of calling it :
            val layoutParams = layoutParams
            if (layoutParams != null) {
                layoutParams.height = height
                setLayoutParams(layoutParams)
            }
        }
        else
            expand(animated, true)
    }
}

and for sure replacing in the layout file
            <com.github.florent37.expansionpanel.ExpansionLayout
                android:id="@+id/myExpansionLayoutId2"
                android:layout_height="wrap_content"
                android:layout_width="match_parent">

                <!-- CONTENT -->

            </com.github.florent37.expansionpanel.ExpansionLayout>

with
            <mypackage.path.ExpansionLayout2
                android:id="@+id/myExpansionLayoutId2"
                android:layout_height="wrap_content"
                android:layout_width="match_parent">

                <!-- CONTENT -->

            </mypackage.path.ExpansionLayout2>

+1 on this issue
Thanks  for the lib and thanks @esnaultdev for the fix idea, it should be PR'd :)
In the meanwhile I made myself a workaround with a subclass of expansion layout
class ExpansionLayout2(context: Context, attrs: AttributeSet?) : ExpansionLayout(context, attrs) {

    override fun expand(animated: Boolean) {

        if (isExpanded() && isEnabled()) {
            val height = getChildAt(0).getHeight();
            // setHeight(height)
            // setHeight is private, so let's copy its contents instead of calling it :
            val layoutParams = layoutParams
            if (layoutParams != null) {
                layoutParams.height = height
                setLayoutParams(layoutParams)
            }
        }
        else
            expand(animated, true)
    }
}

and for sure replacing in the layout file
            <com.github.florent37.expansionpanel.ExpansionLayout
                android:id="@+id/myExpansionLayoutId2"
                android:layout_height="wrap_content"
                android:layout_width="match_parent">

                <!-- CONTENT -->

            </com.github.florent37.expansionpanel.ExpansionLayout>

with
            <mypackage.path.ExpansionLayout2
                android:id="@+id/myExpansionLayoutId2"
                android:layout_height="wrap_content"
                android:layout_width="match_parent">

                <!-- CONTENT -->

            </mypackage.path.ExpansionLayout2>


enh: add a 'rogues' gallery of matrices, especially for unit testing matrix functions

https://github.com/macd/rogues
Some of the scipy matrix functions could benefit from more unit testing or perhaps benchmarking with matrices such as the ones provided by this matrix gallery.
The collection is MIT-licensed according to https://pypi.python.org/pypi/rogues.  On the other hand according to the docs the original sources appear to be TOMS and GPL'd code (Test Matrix Toolbox) mentioned at the bottom of the web page of the successor toolbox http://www.maths.manchester.ac.uk/~higham/mctoolbox/.  According to licensing folklore, both of those original sources are off-limits to include in scipy for licensing reasons.  I don't know whether the 'rogues' author Don MacMillen has obtained special permission or licensing terms.

One way to simply move forward would be to run the tests that use these matrices if they are installed, much like the tests that use mpmath.
I agree that the MIT license on the rogues packages seems potentially dubious, particularly since at least the docstrings appear to be verbatim copies of the help text from the relevant matlab files. (I have not checked that this is true)

This sounds like a continuation of https://github.com/scipy/scipy/issues/1159; in addition to the matrices mentioned there, we now have dft, helmert and invpascal.
I suspect many of the matrices are easy to implement, so if the license of the "rogues" code is questionable, we could reimplement the most useful ones from scratch.

I suspect many of the matrices are easy to implement, so if the license of the "rogues" code is questionable, we could reimplement the most useful ones from scratch.

Yes I've started reimplementing a few of them by translating from the more solidly licensed julia implementation from the 'matrixdepot' project from Higham's lab.  Of course there is no guarantee that this will be finished soon or ever. If possible, I'd prefer to put this in a 'matrixdepot' submodule and keep the interface and the cryptic names, even if there is some overlap with less cryptically named functions in scipy.linalg.special_matrices that have more pythonic interfaces.

More or less repeating what Eric said - but why not add rogues as a submodule, and then run tests against the generated matrices with travis?

why not add rogues as a submodule

The license issues...

We already have a special_matrices module.

I don't think putting rogues as a submodule is going to make a difference for our license, it is just a shortcut for doing git clone https://github.com/macd/rogues.  rogues would not be installed with scipy, just for the extended tests.

@matthew-brett Ah, I see. I thought you meant a Python submodule but you meant a git submodule.

I'd still put -1 for gpl-ed git submodules. Having try: import rogues; HAVE_ROGUES=True; except: HAVE_ROGUES = False in tests should however
be fine.

This suggestion didn't go anywhere, and there hasn't been any demand for this since 2015, so closing.  If there is interest in extending our collection of special matrices in the future, new issues containing the enhancement requests can be created.


Screen resolution 955x400 on smartTV Philips ChromeOS

Hi,
Very good code that give us real perspective to us custom chromecast service.
We have smartTV integrated a chromecast code.
Dashcast is displaying 720p resolution on all external chromecast/box... But in internal build chromecast device with chromeOS it displaying 955px x 400px in dashcast but fullhd in service like youtube and netflix.
I try to force a resolution of 720p in the code but i do not find the good way to do it. I don't want full hd but no less than 720p.
Can you give me some research track to find a solution to this very slow resolution ?
Best Regards,

Same problem here, with new google chromcast TV. No idea how to select viewport resolution.


Scope out per-partition circuit breaker for partition split/merge and invalid partition cases.

Changes summary:

Remove circuit breaker handling for cases when an operation hits a timeout due to partition splits / merges or invalid partition exceptions.
Break reference between RequestOptions and RxDocumentServiceRequest - this will help garbage collection of RxDocumentClientImpl instances when CosmosException instances are held for metrics purposes.

/azp run java - cosmos - tests

API change check
API changes are not detected in this pull request.

/azp run java - cosmos - tests

/azp run java - cosmos - tests

/azp run java - cosmos - tests

/azp run java - cosmos - tests


Add TypeScript definitions

Are you guys planning to add TypeScript definitions and register them in https://github.com/typings/typings any time soon?
TypeScript is getting hugely popular lately and I am personally using it in several new projects. Ability to extend your data models with restmod interfaces would be great for code insight, etc.

Yes please, this is very much an issue for me right now aswell


Added support for HM-CC-VG-1 Groups

Added support for HM-CC-VG-1 Groups is requested in issue #43 .
It is expected that channel 1 always has the thermostat functionality. Are there setups where this is not the case?
The implementation for HASS is missing, currently. The ThermostatGroup class would need to be added, and we need some mechanism to enable the proxy. Either by having an extra host and generallyenabeling the path-setting, or automatically by setting something like groups: true on a specific host, which would then create an extra host with the different port and path. I would prefer to generally add the path-setting and having a full host in the hass-configuration.

Done a quick HASS implementation. Seems to be working, except setting mode to: Lowering, Comfort.
Resolving names via JSON is working too (although they have INT... appended).


Fix Orders test use of mock providers

Description
This merge commit broke JS tests on master by making a change to the signature of the configureStore function, which is used to set up mock Redux & router instances for testing. This PR fixes the test that was broken to use the newer MockProviders test utility, which should be more future-proof since it's a component instead of a function.

Warnings

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against bef162b385bfeed6644729588ac4da7aa692c28b


Add ffmpeg4 installation instructions in warnings

Adds instructions on how to install ffmpeg=4 on Linux (relevant for Colab users).
Looks pretty ugly because I didn't find a way to check ffmpeg version from python (without subprocess.call(); ctypes.util.find_library doesn't work`), so the warning is raised on each decoding. Any suggestions on how to make it look nice are welcome!
This is how it looks on Colab:

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

To make it warn only once, feel free to use a global counter in python - and if the warning has already been done, you don't do it again

Added the same formatting for the error message :)

nice!! thank you!

Oh and regarding the warning counter, you can do it in another PR maybe ?

Yes, more warnings is better then no warnings.... I'll merge when the CI passes


add flags attribute

Consul needs runtime flags for some stuff (like running the UI).  This PR adds a flags attribute that allows that, and by default sets to to nothing.

Hi @sigmatechnica,
In this cookbook, we try to keep the only one way for passing configuration parameters to Consul agent. It's the main configuration file, managed by consul_config resource.
In particular, UI could be enabled by setting an attribute:
node.default['consul']['config']['ui'] = true

So, I would prefer to do not have flag support to avoid confusions when the same parameter could be defined in multiple places.
@johnbellone @Ginja, what do you think about it?

Aah didn't find node.default['consul']['config']['ui'] documented anywhere so invented my own way.  agree, does make this a bit pointless

closing as it's unneeded (and fails CI checks for centos 7 anyway)


[Addition]: HIGH EARNING PACKET FORWARDER

Hotspot b58 Addresses
1122737AhNkVCVFfQKRxdY9o4oo8Vr727wg3UucUpzfRSRwKXf69
Discord Handle
No response
Reason(s)
He has a whole wallet of high earners, 1+ hnt per day. He is packet forwarding.

Please stop reporting things. This is a complete legit HS placed on a radio tower. Your only making a mess here


Update Bulma to 0.6.x

Bulma is moving fast in current version and have quite a few changes. We should be moving towards it.
Do we have any road map for upgrades ?

Yes supported 0.6.x is planned and to be honest between 0.5.2 and 0.6.1 (latest version today) their isn't that much new features most of them are usable in current version of Fulma. And yes perhaps you need a div + ClassName sometimes :)
I want to take time to improve the user experience in Fulma first and them update to latest of Bulma. This will avoid to develop twice the same feature :) I promise this update for a long time now, but I was having some deadlines to follow at work and started other project/lib needed for my job.
So I have considered Fulma usable in current state and relay it back since september/october. 😞 But hopefully, I should have time again this end or year or at the beginning of January :) At lest it's my goal, to release the better user experience + support for latest version of Bulma in January.


Uncaught TypeError: Cannot read property 'message' of undefined

[Enter steps to reproduce below:]

...
...

Atom Version: 1.0.2
System: Unknown Windows Version
Thrown From: file-icons package, v1.5.8
Stack Trace
Uncaught TypeError: Cannot read property 'message' of undefined
At D:\portable\Atom\resources\app.asar\node_modules\settings-view\lib\error-view.js:56

TypeError: Cannot read property 'message' of undefined
  at ErrorView.module.exports.ErrorView.initialize (D:\portable\Atom\resources\app.asar\node_modules\settings-view\lib\error-view.js:56:21)
  at ErrorView.View (D:\portable\Atom\resources\app.asar\node_modules\atom-space-pen-views\node_modules\space-pen\lib\space-pen.js:184:25)
  at new ErrorView (D:\portable\Atom\resources\app.asar\node_modules\settings-view\lib\error-view.js:14:46)
  at D:\portable\Atom\resources\app.asar\node_modules\settings-view\lib\install-panel.js:156:44
  at Emitter.module.exports.Emitter.emit (D:\portable\Atom\resources\app.asar\node_modules\event-kit\lib\emitter.js:82:11)
  at PackageManager.module.exports.PackageManager.emitPackageEvent (D:\portable\Atom\resources\app.asar\node_modules\settings-view\lib\package-manager.js:579:27)
  at D:\portable\Atom\resources\app.asar\node_modules\settings-view\lib\package-manager.js:359:17
  at D:\portable\Atom\resources\app.asar\node_modules\settings-view\lib\package-manager.js:384:20
  at exit (D:\portable\Atom\resources\app.asar\node_modules\settings-view\lib\package-manager.js:59:16)
  at triggerExitCallback (D:\portable\Atom\resources\app.asar\src\buffered-process.js:213:47)
  at ChildProcess.<anonymous> (D:\portable\Atom\resources\app.asar\src\buffered-process.js:235:18)
  at emitTwo (events.js:87:13)
  at ChildProcess.emit (events.js:169:7)
  at Process.ChildProcess._handle.onexit (child_process.js:1057:12)

Commands
  2x -5:20.7.0 core:confirm (atom-text-editor.editor.mini.is-focused)
  2x -2:01.7.0 core:backspace (atom-text-editor.editor.mini.is-focused)
  2x -1:48.2.0 core:confirm (atom-text-editor.editor.mini.is-focused)

Config
{
  "core": {
    "disabledPackages": [
      "atom-html-preview"
    ]
  }
}

Installed Packages
# User
file-icons, v1.5.8
file-type-icons, v0.7.0
highlight-line, v0.11.0
highlight-selected, v0.10.1
jsformat, v0.9.0
language-api-blueprint, v1.0.1
minimap, v4.11.2
new-tab, v0.3.0
open-recent, v2.2.4
pigments, v0.8.4
tab-control, v0.6.7
tabs-to-spaces, v0.11.0
trailing-spaces, v0.3.2
travis-ci-status, v0.16.0

# Dev
No dev packages

Hey, thanks for the bug report.
But that's not actually enough information for me reproduce the crash.
Have you had it crash more than once? What were you doing at the time?

It's not crashing, just having error message when installing.
It's supposed to display the error message saying something like it's not compatible with Win32.
Could be a generic bug for Atom on window, since I got similar problem while installing other packages.

Oh right, ok it's probably not from this package then, there's very little code here and nothing to do with a 'message' property

It could be a windows specific problem or installer problem.
Either way I might just ignore it.
I just copied packages folder from my Mac after that.
Thanks for your time.


go mod tidy for large monorepos?

Go version
go version go1.19.13 darwin/arm64
What operating system and processor architecture are you using (go env)?
GO111MODULE=""
GOARCH="arm64"
GOBIN="/Users/ray/go/bin"
GOCACHE="/Users/ray/Library/Caches/go-build"
GOENV="/Users/ray/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="arm64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/ray/go/pkg/mod"
GONOPROXY="github.com/REDACTED"
GONOSUMDB="github.com/REDACTED"
GOOS="darwin"
GOPATH="/Users/ray/go"
GOPRIVATE="github.com/REDACTED"
GOPROXY="https://proxy.golang.org,direct"
<EMAIL_ADDRESS>GOSUMDB="sum.golang.org"
GOTMPDIR=""
<EMAIL_ADDRESS>GOVCS=""
GOVERSION="go1.19.13"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/r4/nj9c_6_x4xj1zsznv8ppgtvm0000gn/T/go-build1209950060=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
Ran go mod tidy
What did you expect to see?
Expected: tidy finishes. Instead it failed due to ~500mb limit below.
What did you see instead?
go: downloading github.com/REDACTED
go: github.com/REDACTED: create zip: module source tree too large (max size is 524288000 bytes)

High level question: does go mod tidy have good mono-repo support?
Our observation is that our golang code is correct from passing our bazel (build|test) ops, but go mod tidy attempts to download our entire mono-repo and fail on the ~500mb limit.
Our strategy is to only use a single go.mod for external dependency pinning, and use bazel and gazelle for dependency management. Splitting multiple go.mod's is not palatable to us, as prior issues recommend https://github.com/golang/go/issues/40780#issuecomment-674107553. The splitting also probably doesn't help cases where go mod tidy tries to download the whole monorepo
Are there options for bypassing the 500mb limit? It's also not clear to us why go mod tidy attempts to download our entire monorepo again, given go mod tidy is running locally within the already-checked-out-monorepo.

there is no bypass for the 500MB limit.
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For questions please refer to https://github.com/golang/go/wiki/Questions


Azure: Ubuntu 18.04 LTS workers fail to join the cluster

kubeone version - v0.10.0-alpha.1
Kubernetes version - 1.14.2
Cloud provider - Azure
OS Worker type - Ubuntu
The cloud-init script used by the worker nodes assumes a module dependency on nf_conntrack_ipv4 however this module was removed in kernel 4.19 and therefore is not present on the latest Ubuntu 18.04 LTS image which is based on the 5.0.0 kernel. This causes the cloud-init script to fail on Ubuntu when it restarts systemd-modules-load.service.
See https://github.com/kubernetes/kubernetes/blob/master/pkg/util/ipvs/ipvs.go for an example of a similar fix.
The version of the OS image is hardcoded, so the only workaround appears to be to avoid using the Ubuntu image. The latest Centos image currently works as it is based on a 3.10 kernel however this could break should Microsoft update the image to a kernel later than 4.19

Hey @devotee101 , thanks very much for the report. Are you interested in fixing this in pkg/userdata/ubuntu?
I think this is an issue for anyone using the latest 18.04.03 release and not specific for Azure.
Also ,I don't think this will be an issue for CentOS, as RedHat is very conservative in upgrading anything, I doubt they will introduce a 5.0 Kernel for CentoOS 7.


Fixed #34742 -- added tests when calling DELETE endpoint without trailing slash

I have added the tests to check if the request method is DELETE. If a RuntimeError is not thrown an AssertionError would be called.

Ticket #34742


AutoGraph "could not transform" warning when code contains a multi-line string with backslashes

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution: Windows 10
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 2.1.0
Python version: 3.7.3
CUDA/cuDNN version: 10.1/7
GPU model and memory: Nvidia GeForce RTX 2080Ti

Describe the current behavior
AutoGraph warning appears if a custom keras layer's call method code contains a multiline string joined by the backslash. If a multiline string is joined using brackets, however, no warning appears. Does not seem to influence calculations in any way, but a fun bug to encounter
WARNING:tensorflow:AutoGraph could not transform <bound method MyLayer.call of <__main__.MyLayer object at 0x0000XXXXXXXXXXXX>> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output.
Cause: expected exactly one node node, found [<gast.gast.FunctionDef object at 0x0000XXXXXXXXXXXX>, <gast.gast.Return object at 0x0000XXXXXXXXXXXX>]
WARNING: AutoGraph could not transform <bound method MyLayer.call of <__main__.MyLayer object at 0x0000XXXXXXXXXXXX>> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output.
Cause: expected exactly one node node, found [<gast.gast.FunctionDef object at 0x0000XXXXXXXXXXXX>, <gast.gast.Return object at 0x0000XXXXXXXXXXXX>]

Describe the expected behavior
No warnings appears
Standalone code to reproduce the issue
import tensorflow as tf
tf.autograph.set_verbosity(10, alsologtostdout = True)

from tensorflow.keras.layers import Layer, Input

class SlashPhobic(Layer):

    def call(self, inputs):
        s = "foo" \
            "bar"
        print(s)
        return inputs

x = Input(shape = (1,))
y = SlashPhobic()(x)

Autograph log:
Converted call: <bound method SlashPhobic.call of <__main__.SlashPhobic object at 0x0000XXXXXXXXXXXX>>
    args: (<tf.Tensor 'input_1:0' shape=(None, 1) dtype=float32>,)
    kwargs: {}

Not whitelisted: <method-wrapper '__call__' of method object at 0x0000XXXXXXXXXXXX>: default rule
Not whitelisted: <class '__main__.SlashPhobic'>: default rule
Not whitelisted: <bound method SlashPhobic.call of <__main__.SlashPhobic object at 0x0000XXXXXXXXXXXX>>: default rule
Entity <bound method SlashPhobic.call of <__main__.SlashPhobic object at 0x0000XXXXXXXXXXXX>> is not cached for key <code object call at 0x0000XXXXXXXXXXXX, file ".\phobic.py", line 8> subkey (<tensorfl
ow.python.autograph.core.converter.ConversionOptions object at 0x0000XXXXXXXXXXXX>, frozenset())
Converting <bound method SlashPhobic.call of <__main__.SlashPhobic object at 0x0000XXXXXXXXXXXX>>
Error transforming entity <bound method SlashPhobic.call of <__main__.SlashPhobic object at 0x0000XXXXXXXXXXXX>>
Traceback (most recent call last):
  File "D:\Miniconda3\lib\site-packages\tensorflow_core\python\autograph\impl\api.py", line 526, in converted_call
    converted_f = conversion.convert(target_entity, program_ctx)
  File "D:\Miniconda3\lib\site-packages\tensorflow_core\python\autograph\impl\conversion.py", line 326, in convert
    free_nonglobal_var_names)
  File "D:\Miniconda3\lib\site-packages\tensorflow_core\python\autograph\impl\conversion.py", line 240, in _convert_with_cache
    entity, program_ctx)
  File "D:\Miniconda3\lib\site-packages\tensorflow_core\python\autograph\impl\conversion.py", line 475, in convert_entity_to_ast
    nodes, name, entity_info = convert_func_to_ast(o, program_ctx)
  File "D:\Miniconda3\lib\site-packages\tensorflow_core\python\autograph\impl\conversion.py", line 634, in convert_func_to_ast
    node, source = parser.parse_entity(f, future_features=future_features)
  File "D:\Miniconda3\lib\site-packages\tensorflow_core\python\autograph\pyct\parser.py", line 207, in parse_entity
    return _attempt_to_parse_normal_source(source, future_features)
  File "D:\Miniconda3\lib\site-packages\tensorflow_core\python\autograph\pyct\parser.py", line 111, in _attempt_to_parse_normal_source
    return parse_str(source, preamble_len=len(future_features)), source
  File "D:\Miniconda3\lib\site-packages\tensorflow_core\python\autograph\pyct\parser.py", line 230, in parse_str
    raise ValueError('expected exactly one node node, found {}'.format(nodes))
ValueError: expected exactly one node node, found [<gast.gast.FunctionDef object at 0x0000XXXXXXXXXXXX>, <gast.gast.Return object at 0x0000XXXXXXXXXXXX>]
WARNING:tensorflow:AutoGraph could not transform <bound method SlashPhobic.call of <__main__.SlashPhobic object at 0x0000XXXXXXXXXXXX>> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output.
Cause: expected exactly one node node, found [<gast.gast.FunctionDef object at 0x0000XXXXXXXXXXXX>, <gast.gast.Return object at 0x0000XXXXXXXXXXXX>]
WARNING: AutoGraph could not transform <bound method SlashPhobic.call of <__main__.SlashPhobic object at 0x0000XXXXXXXXXXXX>> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output.
Cause: expected exactly one node node, found [<gast.gast.FunctionDef object at 0x0000XXXXXXXXXXXX>, <gast.gast.Return object at 0x0000XXXXXXXXXXXX>]

@dmtlvn
I ran the code shared on tf 2.1,2.2 and tf nightly and see this error, can you please confirm if this is the issue faced.

@Saduf2019
The code in the colab seems to work fine, so I am not sure what issue you are talking about. Looks like colab has some preprocessor, which changes the code to compile and removes the backslash:
INFO:tensorflow:Source code of <bound method SlashPhobic.call of <__main__.SlashPhobic object at 0x7f074ff23b38>>:

def call(self, inputs):
    s = "foo"             "bar"
    print(s)
    return inputs

However, I am able to reproduce this warning in a separate environment by running a script with the code above, as well as running a jupyter notebook.

This looks the same as #35765. It should be fixed in TF 2.2.


webinstaller-php56-w32/64 build error

Travis Log:
Compiling [Code] section
Error on line 1213 in Z:\home\travis\build\WPN-XM\WPN-XM\_build\webinstaller-php56-w32.iss:
Column 26:Unknown identifier 'Filename_phpext_mailparse'
Compile aborted.

[x] fix compilation error

The PHP extension Mailparse is not available for PHP 5.6 and up.
https://pecl.php.net/package/mailparse/2.1.6/windows
Commenting out...

Replacement (php >=5.4.0): https://packagist.org/packages/mmucklo/email-parse

The extension is not well maintained and there is no other, we could replace it with.
We can't replace an extension with a package on the server stack level.
Using a Composer package on a per-project basis is always possible.

Fair enough. Was just a suggestion.


⚠ Bofrost.de has degraded performance

In 1211fc5, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 2185 ms

Resolved: Bofrost.de performance has improved in 270361f after 1 hour, 18 minutes.


CMake < 3.10 has been deprecated as of CMake 3.31

As of CMake 3.31, the following warning is printed when generating the build system:
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

Is it safe to bump the minimum CMake version to 3.10?

Is there a way to silence it for a bit? I'd expect some old Ubuntu LTS releases to still use old versions maybe.

Yes, 18.04 still ships cmake 3.10. Granted, 18.04 is EOL.

I guess we can bump it then!

May be helpful: https://github.com/neovim/neovim/issues/24004#issuecomment-1587741071


WC-2683 Provide documentation for asset upload

Summary
Documentation to include asset direct upload instructions for customers who want to interact with Workers APIs programmatically rather than through wrangler.
Screenshots (optional)

Documentation checklist

[X] The documentation style guide has been adhered to.
[X] If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.

Thanks @GregBrimble, feedback all addressed!


trivial: remove empty pixmap tag in overviewpage.ui

QT complains about this, removing the tag removes the warning.

ACK
Builds fine without the warning.


Standardize formatting of manifests/s/Synology/DriveClient/<IP_ADDRESS>24

Microsoft Reviewers: Open in CodeFlow

@wingetbot run


condition: nbInputs > 0 && nbInputs < MAX_CONCAT_INPUTS

version  remotes/origin/19.10
root@44759db0979f:/workspace/retinanet-examples# retinanet export  ../retinanet_rn50fpn.pth  retinanet_rn50fpn.plan  --full-precision
Loading model from retinanet_rn50fpn.pth...
model: RetinaNet
backbone: ResNet50FPN
classes: 80, anchors: 9
Exporting to ONNX...
Building FP32 core model...
(Unnamed Layer* 0) [Convolution]: at least 4 dimensions are required for input
Building accelerated plugins...
Parameter check failed at: ../builder/Network.cpp::addConcatenation::308, condition: nbInputs > 0 && nbInputs < MAX_CONCAT_INPUTS
Segmentation fault (core dumped)

Which container are you using? PyTorch 19.10? Which version of ODTK?
I have just tried that command on PyTorch 20.02 using v0.2.2 of ODTK and it works.
Could you try using the same?
On a side note, are you seeing any accuracy difference between FP32 an FP16? I would expect there to be almost no change in mAP, but FP16 should run considerably faster.

contianer is  ocker run --gpus all --rm --ipc=host -it nvcr.io/nvidia/pytorch:19.10-py3

I just ran the same command on PyTorch:19.10-py3 using 19.10 branch and it worked.
Has your model file been corrupted? Can you download it again and try again?
root@7018012686d4:/src# retinanet export /data/retinanet_pretrained/retinanet_rn50fpn.pth test.plan --full-precision
Loading model from retinanet_rn50fpn.pth...
     model: RetinaNet
  backbone: ResNet50FPN
   classes: 80, anchors: 9
Exporting to ONNX...
Building FP32 core model...
Building accelerated plugins...
Applying optimizations and building TRT CUDA engine...
Writing to test.plan...

@azuryl did you change the code to use explicit batch? Or was it something else? I can't see this error occurring by running the code as is.
(Unnamed Layer* 0) [Convolution]: at least 4 dimensions are required for input

This error during export came up from the use of explicit batch in 19.10 container when we were changing the code to be TRT7 compatible.

Can you elaborate on this?

my customer's all software run on old version not support PyTorch 20.02

Do you mean their driver won't run PyTorch 20.02?

I just ran the same command on PyTorch:19.10-py3 using 19.10 branch and it worked.
Has your model file been corrupted? Can you download it again and try again?
root@7018012686d4:/src# retinanet export /data/retinanet_pretrained/retinanet_rn50fpn.pth test.plan --full-precision
Loading model from retinanet_rn50fpn.pth...
     model: RetinaNet
  backbone: ResNet50FPN
   classes: 80, anchors: 9
Exporting to ONNX...
Building FP32 core model...
Building accelerated plugins...
Applying optimizations and building TRT CUDA engine...
Writing to test.plan...

root@44759db0979f:/workspace/retinanet-examples# git branch

19.10
master

@azuryl did you change the code to use explicit batch? Or was it something else? I can't see this error occurring by running the code as is.
(Unnamed Layer* 0) [Convolution]: at least 4 dimensions are required for input

This error during export came up from the use of explicit batch in 19.10 container when we were changing the code to be TRT7 compatible.

I changed nothing , I just git clone https://github.com/nvidia/retinanet-examples and git checkout to 19.10

Can you elaborate on this?

my customer's all software run on old version not support PyTorch 20.02

Do you mean their driver won't run PyTorch 20.02?

they just use TRT 5.1 and 6.1

Are you sure that you are using a clean version of the code? Can you delete your current copy and then pull it again?
If that doesn't work, then please provide details of your hardware. Which GPU are you using?

I just ran the same command on PyTorch:19.10-py3 using 19.10 branch and it worked.
Has your model file been corrupted? Can you download it again and try again?
root@7018012686d4:/src# retinanet export /data/retinanet_pretrained/retinanet_rn50fpn.pth test.plan --full-precision
Loading model from retinanet_rn50fpn.pth...
     model: RetinaNet
  backbone: ResNet50FPN
   classes: 80, anchors: 9
Exporting to ONNX...
Building FP32 core model...
Building accelerated plugins...
Applying optimizations and building TRT CUDA engine...
Writing to test.plan...

infer is ok
root@44759db0979f:/workspace/retinanet-examples# CUDA_VISIBLE_DEVICES=0 retinanet infer retinanet_rn50fpn.pth --images coco/val2017 --annotations coco/annotations/instances_val2017.json
Loading model from retinanet_rn50fpn.pth...
model: RetinaNet
backbone: ResNet50FPN
classes: 80, anchors: 9
Preparing dataset...
loader: pytorch
resize: 800, max: 1333
backend: pytorch
device: 1 GPU
batch: 2, precision: mixed
BBOX type: axis aligned
Running inference...
[ 384/5000] 0.313s/2-batch (fw: 0.308s), 6.4 im/s
[1102/5000] 0.168s/2-batch (fw: 0.167s), 11.9 im/s
[1858/5000] 0.159s/2-batch (fw: 0.158s), 12.6 im/s

Please delete the code, re-pull, and try the export command again.

BBOX type: axis aligned
Running inference...

@azuryl you shouldn't be able to see BBOX type: axis aligned, because it is a change we introduced after 19.10. Are you sure you have the right branch, because it doesn't seem so.

BBOX type: axis aligned
Running inference...

@azuryl you shouldn't be able to see BBOX type: axis aligned, because it is a change we introduced after 19.10. Are you sure you have the right branch, because it doesn't seem so.

root@44759db0979f:/workspace/retinanet-examples# git branch --all

19.10
master
remotes/origin/19.10
remotes/origin/HEAD -> origin/master
remotes/origin/TRT5
remotes/origin/master
root@44759db0979f:/workspace/retinanet-examples#

Please delete the code, re-pull, and try the export command again.

I will re pull it

Please delete the code, re-pull, and try the export command again.

I had repull and build  it is the same error
retinanet  export  ../retinanet_rn50fpn.pth  retinanet_rn50fpn.plan  --full-precision
Loading model from retinanet_rn50fpn.pth...
model: RetinaNet
backbone: ResNet50FPN
classes: 80, anchors: 9
Exporting to ONNX...
Building FP32 core model...
(Unnamed Layer* 0) [Convolution]: at least 4 dimensions are required for input
Building accelerated plugins...
Parameter check failed at: ../builder/Network.cpp::addConcatenation::308, condition: nbInputs > 0 && nbInputs < MAX_CONCAT_INPUTS
Segmentation fault (core dumped)

@james-nvidia
root@44759db0979f:/workspace/retinanet-examples# git branch -a
master

remotes/origin/19.10
remotes/origin/19.10
remotes/origin/HEAD -> origin/master
remotes/origin/TRT5
remotes/origin/master

CUDA_VISIBLE_DEVICES=0 retinanet export  ../retinanet_rn50fpn.pth  retinanet_rn50fpn.plan  --full-precision
Loading model from retinanet_rn50fpn.pth...
model: RetinaNet
backbone: ResNet50FPN
classes: 80, anchors: 9
Exporting to ONNX...
Building FP32 core model...
Building accelerated plugins...
Applying optimizations and building TRT CUDA engine...
Writing to retinanet_rn50fpn.plan...
it seems ok
and I want to know the resaon "Parameter check failed at: ../builder/Network.cpp::addConcatenation::308, condition: nbInputs > 0 && nbInputs < MAX_CONCAT_INPUTS"
because  I have another model which I ported to TRT have the same error
Thank you

We're glad your problem got resolved.
For your other model, play close attention to the TensorRT version. There were some crucial changes between TRT6 and 7.

@james-nvidia  dear  james  can you tell me what is the crucial changes. we plan porting our model to TRT, TRT7 is more easy to pass ONNX?

@azuryl take a look at this commit: https://github.com/NVIDIA/retinanet-examples/commit/91d558dd70d7835516e83ae951203d2ecda1f6e9
For transition to 20.01 PyTorch container, which comes preconfigured with TRT7, we needed to switch to explicit batch from implicit batch, and IPluginV2Ext from IPluginV2 for the custom decode and NMS plugins.

For transition to 20.01 PyTorch container, which comes preconfigured with TRT7, we needed to switch to explicit batch from implicit batch, and IPluginV2Ext from IPluginV2 for the custom decode and NMS plugins.

@yashnv thank you reply. do we need update CUDA, now my CUDA version is 10.0

It is recommended that you have CUDA 10.2 with driver version 440 for TRT7.


Fix issue where chart download link was not absolute

Expected url, got chart file name
We now check for this, if url is not absoulte assume filename and append to repo url
fixes #497

Codecov Report

Merging #502 into master will decrease coverage by 0.00%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##           master     #502      +/-   ##
==========================================
- Coverage   57.83%   57.82%   -0.01%
==========================================
  Files        1064     1064
  Lines       34393    34400       +7
  Branches     4876     4878       +2
==========================================
+ Hits        19892    19893       +1
- Misses      14501    14507       +6

Fix is now in https://github.com/SUSE/stratos/pull/503


MutableConfiguration default constructor is wrong

Quickly reviewing the MutableConfiguration I was surprised by the two lines at
https://github.com/jsr107/jsr107spec/blob/master/src/main/java/javax/cache/configuration/MutableConfiguration.java#L107
I'm fairly confident this is wrong, not necessarily a huge deal, but this simple code
MutableConfiguration<String, String> configuration = new MutableConfiguration<String, String>();
Class<String> keyType = configuration.getKeyType();
String s = keyType.newInstance();

This last line would throw a java.lang.ClassCastException because java.lang.Object cannot be cast to java.lang.String as the javax.cache.configuration.MutableConfiguration#keyType is actually Class<Object>. This can be worked around by invoking javax.cache.configuration.MutableConfiguration#setTypes explicitly like so
MutableConfiguration<String, String> configuration = new MutableConfiguration<String, String>().setTypes(String.class, String.class);
Class<String> keyType = configuration.getKeyType();
String s = keyType.newInstance();

But this remains unfortunate. Also remains a problem for implementors that want to record the actual type, as any Cache created using a Configuration instantiated by this constructor and not having the MutableConfiguration#setTypes invoked will effectively be a Cache<Object, Object>, i.e. accepting any type.

Any update on this. Working on 1.1 now.

The catch 22 is that Object.class is the defined value for undefined in the Configuration:
  /**
   * Determines the required type of keys for {@link Cache}s configured
   * with this {@link Configuration}.
   *
   * @return the key type or Object.class if the type is undefined
   */
  Class<K> getKeyType();

If undefined is defined as null, you could just remove the two lines from the default constructor:
    this.keyType = (Class<K>)Object.class;
    this.valueType = (Class<V>)Object.class;

Don't those casts look suspicious?
You could remove the lines and provide another constructor with the two types. That may break at some places but it would be quite obvious. But nice, it is not.

Correction: Adding a constructor is not strictly API compatible. MutableConfiguration isn't final and therefore open for subclassing. Adding a factory method will work.

I investigated the TCK code. Altogether there are 131 of the default constructor. Changing something here will impact existing applications and implementations, that's probably not worth the effort and would be too surprising for a MR.

I think we agreed here we are not fixing. Maybe that is a forlorn hope. Going to close this.

Could we not at least:

Add another constructor that takes the key and value types as parameter
Deprecate the existing no-arg constructor

While not ideal, these changes would improve the situation.

Agree, if we can improve a little its better then nothing.
@ljacomet Can you please help and make a specific proposal?

Sure:
diff --git i/src/main/java/javax/cache/configuration/MutableConfiguration.java w/src/main/java/javax/cache/configuration/MutableConfiguration.java
index d7d5521..040cc8b 100644
--- i/src/main/java/javax/cache/configuration/MutableConfiguration.java
+++ w/src/main/java/javax/cache/configuration/MutableConfiguration.java
@@ -128,10 +128,23 @@ public class MutableConfiguration<K, V> implements CompleteConfiguration<K, V> {

   /**
    * Constructs a default {@link MutableConfiguration}.
+   *
+   * @deprecated Use the constructor taking the key and value type as parameters
    */
+  @Deprecated
   public MutableConfiguration() {
-    this.keyType = (Class<K>)Object.class;
-    this.valueType = (Class<V>)Object.class;
+    this((Class) Object.class, (Class) Object.class);
+  }
+
+  /**
+   * Constructs a {@code MutableConfiguration} with the given key and value types.
+   *
+   * @param keyType the key type
+   * @param valueType the value type
+   */
+  public MutableConfiguration(Class<K> keyType, Class<V> valueType) {
+    this.keyType = keyType;
+    this.valueType = valueType;
     this.listenerConfigurations = new
         HashSet<CacheEntryListenerConfiguration<K, V>>();
     this.cacheLoaderFactory = null;

Ahh. Code is always easier to read and natural language that describe what changes need to be done...
Deprecation:
It is basically (not strictly) a bean. Beans have a default constructor.
The usage pattern of a bean is by setting its properties via the setters/getters. This won't change.
So when you deprecate the default constructor you make everybody to change its code from
new MutableConfiguratoin() to new MutableConfiguratoin(Object.class, Object.class). Including the 131 occurrences in the TCK.
We will never really take it away, will we?

After giving this more thought, I came to this conclusion:
We should only improve the Java Doc of the default constructor, but not change any code.
The usage pattern now, with specified types, is:
  new MutableConfiguratoin()
    .setTypes(Integer.class, String.class)
    .setReadThrough(true)
 . . .

After adding the second constructor this example has two variations. The one as shown above, and the new one using the 2-arg constructor.
Which is the preferred one? Do all examples, all documentation that is out, need to change?
Furthermore, new applications, new examples, new documentation may not be compatible to 1.0, because of this.

Created PR that improves the constructor doc.

Took the suggestion from @cruftex to add JavaDoc. Also added a new constructor which takes the types.

Clarified JavaDoc over the behaviour of type erasure with the default MutableConfiguration() constructor. Added a constructor which takes the key and value types for a minimal constructor with type enforcement.

The commit 18e7fc3:
  public MutableConfiguration(Class<K> keyType, Class<V> valueType) {
     this();
     this.keyType = (Class<K>)keyType;
     this.valueType = (Class<V>)valueType;
   }

null-checks are missing. This is not in lieu with the rest of the code.
Are there TCK tests for this new configuration variation?
I thought hard about this, and I think I made a profound reasoning above, why not to add it. Why add it?

I am not hard on the idea of adding it. We can
Regards
Greg Luck
web: http://gregluck.com http://gregluck.com/
skype: gregrluck
mobile US: +1<PHONE_NUMBER>
mobile Australia: +61 408 061 622

On 5 Oct. 2016, at 1:22 pm, Jens Wilke<EMAIL_ADDRESS>wrote:
The commit 18e7fc3 https://github.com/jsr107/jsr107spec/commit/18e7fc312e728bcc13f4cd3b10224613f8e1a525:
public MutableConfiguration(Class keyType, Class valueType) {
this();
this.keyType = (Class)keyType;
this.valueType = (Class)valueType;
}
null-checks are missing. This is not in lieu with the rest of the code.
Are there TCK tests for this new configuration variation?
I thought hard about this, and I think I made a profound reasoning above, why not to add it. Why add it?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/jsr107/jsr107spec/issues/301#issuecomment-251756852, or mute the thread https://github.com/notifications/unsubscribe-auth/AANyhNcKSmQjcZhKWRfeeAYhcDZLjuzkks5qw-rZgaJpZM4CpT_k.

Deprecating still has its merit:
MutableConfiguration<String, String> configuration = new MutableConfiguration<>();
Class<String> keyType = configuration.getKeyType();
String s = keyType.newInstance(); // BOOM

If it'd be deprecated, I'd at least be warned that I'm doing something wrong... and would have an alternative to get back onto "type-safe-land"... I understand the example above is probably not some code that someone would write easily, but there are more issues with regards to type safety with this current bug: e.g. type enforcement on persistent or distributed caches on restarts or disjoint configs across nodes...

If it'd be deprecated, I'd at least be warned that I'm doing something wrong...

The problem is, that this constructor is exactly the one being in use now. So there will be 99,9% correct applications get a warning, too and need to do a useless change. In terms of API design, I am with you, this could be improved. But sadly, it is shipped already.
I doubt that so much users run into this pitfall since the examples/tutorials show how to use it.
@alexsnaps , @ljacomet : Can you cite/refer users having problems here?

...but there are more issues with regards to type safety with this current bug: e.g. type enforcement on persistent or distributed caches on restarts or disjoint configs across nodes...

At least, your example above crashes early!

As I said it in the past, (almost 2 years now!) https://github.com/jsr107/jsr107spec/issues/301#issuecomment-66802989 I don't see how to address this cleanly... as you just said: it shipped. Maybe deprecating it is the way to go, but "only" as part of a 2.0?

Putting it back the way it was. Lets take another look in JCache 2.0.
A comment was made further back that a no-arg Constructor was needed for Serialization. Not so according to http://www.jguru.com/faq/view.jsp?EID=251942.
The semantics of calling the default constructor are that runtime type enforcement is not enabled for the cache. Nor are any other configuration properties set. The whole constructor API is designed to be used in the fluent style. So I think this whole thread might be a little overblown.


[Content/link] Add link to ersei.net

Site Title
Ersei 'n Stuff
Site Links Page URL
https://ersei.net/en/blogroll
Site Source URL
https://git.sr.ht/~fd/ersei.net
Website description
Hi! I'm Ersei! I am a sophomore at Purdue University studying (can you believe it) computer science. Well, it appears that I have a website now. I wonder what I can do with it?

@9p4 thank you for your interest in this project :)


⚠ Bofrost.de has degraded performance

In 78c6cf5, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1289 ms

Resolved: Bofrost.de performance has improved in da20942.


documentation for using hostAliases to manage hosts file

Documentation for new 1.7 feature https://github.com/kubernetes/kubernetes/pull/45148

This change is

@chenopis how can i see details from netlify deploy?

@rickypai If you click on the "Show all checks" links towards the bottom of the page then open the "Details" link for deploy/netlify, that will show you the preview build. You can then navigate to your page(s), e.g.: docs/concepts/services-networking/manging-hosts-file-with-host-aliases.md

@thockin This PR still requires a tech review.
FYI, all feedback must be addressed and LGTMs given by EOD Tue, June 27th so that this can be merged for the 1.7 release on June 28th.

I just validated everything against 1.7.0-rc.1, solved the merge conflicts, and fixed a few bugs in the doc. should be ready to go now!

@rickypai I would feel better if we could get one more person to sign off on the tech review.

@bowei Can you review this doc?

@bowei Once you give your LGTM, I will merge this. Thx

/lgtm


Datasets-folder misses the sentida.py file

When you pip install danlp and want to look at the benchmark of the sentiment analyses, you don't get the sentida.py inside the danlp/datasets-folder.
Fix: download the sentida.py and place it in the folder and in the init.py you add "from .sentiment import *".
Another issue I run into is that the sentiment datasets aren't included in the download.py file. How can you fix this?

Hi,
The pip package is not up to date with the github and therefor the pip package do not include the sentiment becnhmark script. Clone instead the github and install directly in the folder by running  "pip install .". Hope this help.


Update env.example

Changed env sample file to follow env var conventions

Brought in the original .env.example file from the previous iteration of this repo. I think this addresses the same thing.


-added zrevrangebylex

Hi all,
This is the same as pull request #591 suggested by 'cfuchs' but by fixes pep8 issues.
It passes all tests now.
Christian (as well as 'cfuchs')

thanks!

Awesome, thanks for merging!


Demo not working at all on iOS (or iPad) as if mere textbox

Expected Behavior

Calendar appears when input is tapped (i.e. focused).
Current Behavior

Calendar does not show up at all. The input works as if it were a mere <input type="text" />
Possible Solution

No idea...
Steps to Reproduce (for bugs)

Open the demo and tap any input.
Context

Official demo only, maybe.
Your Environment

Version used: Official Demo
Browser Name and version: Chrome 55.0.2883.79, Safari 601.1
Operating System and version (desktop or mobile): iOS 9.3.5 (iPad Air)
Link to your project: None

Confirmed. Doesn't work on safari also.

I've noticed that this is only demo-specific, and thus Context has been edited.

Hello,
Are there any errors in console?
Unfortunately I have no means of testing iOS devices

Sorry, I don't have Mac and thus I can't check the console...

I can confirm the issue on iOS 10.2 and iOS 9.3.5. The console says site.js:1445 SyntaxError: Unexpected identifier 'a'. Expected either 'in' or 'of' in enumeration syntax..

Sounds like a transpilation issue.
Please check if its fixed now

The calendar can show now. But only Airbnb theme works fine, others have layout issue.

Looks like flex isn't working. Safari might need a prefix.
Gonna have to steal gf's laptop and check this one out.
Meanwhile, if you find the cause of the problem, a pull request would be very much appreciated

According my experience and caniuse.com prefixing Flexbox is only required in iOS versions prior to 9.2.

@tonymoxtra mentioned in his comment that the demo doesn't work fully in Safari. Since the original report was for iOS Safari, I think he may actually mean desktop Safari.
I believe this is something I have run across as well. Specifically, it is not possible to configure Flatpickr using data-* attributes in Safari 10.0.1. I mentioned this in https://github.com/chmln/flatpickr/issues/339#issuecomment-266887225, but I thought I'd mention it here too.
If you look at the demo page in Safari, notice that the "Display a human-readable date" example does not work:

As far as I can tell, the reason is that Object.assign in Safari does not work when using element.dataset as a source object. I'm assuming this is because it's a DOMStringMap and this doesn't work with Safari's implementation of Object.assign.

As far as I can tell, the reason is that Object.assign in Safari does not work when using element.dataset as a source object. I'm assuming this is because it's a DOMStringMap and this doesn't work with Safari's implementation of Object.assign.

Brilliant. Thank you.
Should be resolved by 53af0ba

@chmln I'm still seeing some inconsistencies in the behavior of Safari. For example, on the #example-datetime demo, I'm not actually seeing the time picker show up. The weird thing is that the config seems to be getting parsed correctly:

I'm not sure whether I'll have time today to debug this, but perhaps someone else on the thread can take a look and dig into it.

@md5 could you please log the _flatpickr object?

@chmln - You may want to check https://www.browserstack.com/ - which will allow you to test across many browsers, including iOS. It's suppose to be free to use for open source projects, you just have to contact their support.

@chmln This appears to be working in Safari now on the current demo site (although I did find some other breakage related to #510 that I mentioned in a comment there).

The layout still has issue and the calendar can't be closed.

@tonymoxtra should be resolved now
Also @davidklebanoff they still haven't gotten back to me since November :walking_man:


Use fpm 1.12.0 to avoid uninitialized constant FPM::Package::Deb::Zlib (NameError)

Fixes #1
Version 1.12.0 seems to fix uninitialized constant FPM::Package::Deb::Zlib (NameError)
Ref: https://github.com/jordansissel/fpm/blob/master/CHANGELOG.rst#1120-january-19-2021

Great, looking good. Thanks for your improvements and well structured PRs!
Just giving this a quick test run before merging.
I wonder what changed since I last built this successfully (in December 2020 on fpm 1.11.0)..
Looks like there might have been a change in the upstream debian:bullseye-slim docker image.


Not Working on Anki 2.1.49 Windows 11

Hi I have tried multiple times to get this addon to work by disabling, deleting and reinstalling but have had no success. When hovering over an image, there is no option to drag to resize. Tried with multiple images.
As stated in the title, I am on Windows 11 and Anki version 2.1.49.
Please help with fixing my issue as soon as possible.
Thank you very much.

Hi,
That's normal if you don't see the resize options when hovering over an
image because that's not how the addon works. After you install the addon,
your images are automatically resized when pasting or dragged from
other places. If you want to configure the width or height of the resized
image, you can click on "Tools -> Image Resizer" in the menu bar to set
them.
Regards,
Joey
On Sat, Jan 15, 2022 at 5:35 AM OthmanA-K @.***> wrote:

Hi I have tried multiple times to get this addon to work by disabling,
deleting and reinstalling but have had no success. When hovering over an
image, there is no option to drag to resize. Tried with multiple images.
As stated in the title, I am on Windows 11 and Anki version 2.1.49.
Please help with fixing my issue as soon as possible.
Thank you very much.
—
Reply to this email directly, view it on GitHub
https://github.com/mankinence/ImageResizer/issues/27, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZSGFLHKLOFSMAXZZYPQ6DUWCJJTANCNFSM5L7Z263A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


How to send cookies from within Resolvers

I would like to be able to send cookies from resolvers, example as below:
const _baseCookie = (expires: Date) => ({
	sameSite: 'strict',
	expires,
	overwrite: true,
	domain,
});

export const resolvers = {
	Query: {
		logout: async (_: any, _resp: any, {  res }: any) => {
			const expires = new Date('1970');

			const baseCookie = _baseCookie(expires);

			res.cookie('auth', '', { ...baseCookie, signed: true });
			res.cookie('info', '', { ...baseCookie, httpOnly: false });
		},

Please take a look at #91 and let me know your feedback on this new functionality. It will allow you to update the result based on the contextValue.