Unable to upload screenshot for appletvos

I am trying to upload screenshot for appletvos. my appletv screenshots are in ./screenshots/AppleTV/en-US/ . I have tried uploading these screenshot manually and faced no problem there. But with fastlane it fails with error of bad dimension with message "[!] App Store Connect error: Couldn't find device family for iphone6Plus ".
New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description

Command executed

Complete output when running fastlane, including the stack trace and command used

+--------------------------------------------------------------------+---------------------------+
|                                    deliver 2.120.0 Summary                                     |
+--------------------------------------------------------------------+---------------------------+
| force                                                              | true                      |
| team_id                                                            | ********                  |
| dev_portal_team_id                                                 | ********                  |
| username                                                           | ********                  |
| app_identifier                                                     | ********                  |
| overwrite_screenshots                                              | true                      |
| skip_metadata                                                      | true                      |
| skip_screenshots                                                   | false                     |
| price_tier                                                         | 0                         |
| platform                                                           | appletvos                 |
| app_version                                                        | 2                         |
| submit_for_review                                                  | true                      |
| build_number                                                       | latest                    |
| metadata_path                                                      | ./metadata                |
| edit_live                                                          | false                     |
| use_live_version                                                   | false                     |
| screenshots_path                                                   | ./screenshots/AppleTV     |
| skip_binary_upload                                                 | false                     |
| skip_app_version_update                                            | false                     |
| reject_if_possible                                                 | false                     |
| automatic_release                                                  | false                     |
| phased_release                                                     | false                     |
| reset_ratings                                                      | false                     |
| app_rating_config_path                                             | rating_config.json        |
| submission_information.add_id_info_tracks_install                  | true                      |
| submission_information.export_compliance_uses_encryption           | false                     |
| submission_information.export_compliance_encryption_updated        | false                     |
| submission_information.add_id_info_uses_idfa                       | true                      |
| submission_information.content_rights_contains_third_party_content | false                     |
| submission_information.content_rights_has_rights                   | true                      |
| submission_information.add_id_info_limits_tracking                 | true                      |
| run_precheck_before_submit                                         | true                      |
| precheck_default_rule_level                                        | warn                      |
| individual_metadata_items                                          | []                        |
| ignore_language_directory_validation                               | false                     |
| precheck_include_in_app_purchases                                  | true                      |
+--------------------------------------------------------------------+---------------------------+
[09:52:00]: Making sure the latest version on App Store Connect matches '2' from the ipa file...
[09:52:03]: '2' is the latest version on App Store Connect
[09:52:08]: Starting with the upload of screenshots...
[09:52:08]: Removing all previously uploaded screenshots...
[✔] Activating language en-US...
[09:52:18]: Uploading 3 screenshots for language en-US
[09:52:18]: Uploading './screenshots/AppleTV/en-US/tv_cover_1553675298_7040513.png'...
Looking for related GitHub issues on fastlane/fastlane...
➡  spaceship and deliver: add support for the 10.5" iPad
https://github.com/fastlane/fastlane/pull/11330 [closed] 10 💬
11 Mar 2018
➡  IMG_BAD_DIMENSIONS error when updating IAP.
https://github.com/fastlane/fastlane/issues/9390 [closed] 6 💬
20 Oct 2017
➡  In-App Purchase screenshots review error in spaceship
https://github.com/fastlane/fastlane/issues/8348 [closed] 6 💬
02 Aug 2017
and 1 more at: https://github.com/fastlane/fastlane/search?q=[IMG_BAD_DIMENSIONS] The image dimensions are not supported. Please adjust to acceptable dimensions and re-save it.&type=Issues&utf8=✓
🔗  You can ⌘ + double-click on links to open them directly in your browser.
/Users/user1/.rvm/gems/ruby-2.2.3/gems/fastlane-2.120.0/spaceship/lib/spaceship/du/du_client.rb:172:in parse_upload_response': [!] [IMG_BAD_DIMENSIONS] The image dimensions are not supported. Please adjust to acceptable dimensions and re-save it. (Spaceship::UnexpectedResponse)         from /Users/user1/.rvm/gems/ruby-2.2.3/gems/fastlane-2.120.0/spaceship/lib/spaceship/du/du_client.rb:96:in upload_file'
from /Users/user1/.rvm/gems/ruby-2.2.3/gems/fastlane-2.120.0/spaceship/lib/spaceship/du/du_client.rb:21:in upload_screenshot'         from /Users/user1/.rvm/gems/ruby-2.2.3/gems/fastlane-2.120.0/spaceship/lib/spaceship/tunes/tunes_client.rb:825:in upload_screenshot'
from /Users/user1/.rvm/gems/ruby-2.2.3/gems/fastlane-2.120.0/spaceship/lib/spaceship/tunes/app_version.rb:497:in upload_screenshot!'         from /Users/user1/.rvm/gems/ruby-2.2.3/gems/fastlane-2.120.0/deliver/lib/deliver/upload_screenshots.rb:65:in block (2 levels) in upload'
from /Users/user1/.rvm/gems/ruby-2.2.3/gems/fastlane-2.120.0/deliver/lib/deliver/upload_screenshots.rb:52:in each'         from /Users/user1/.rvm/gems/ruby-2.2.3/gems/fastlane-2.120.0/deliver/lib/deliver/upload_screenshots.rb:52:in block in upload'
from /Users/user1/.rvm/gems/ruby-2.2.3/gems/fastlane-2.120.0/deliver/lib/deliver/upload_screenshots.rb:50:in each'         from /Users/user1/.rvm/gems/ruby-2.2.3/gems/fastlane-2.120.0/deliver/lib/deliver/upload_screenshots.rb:50:in upload'
from /Users/user1/.rvm/gems/ruby-2.2.3/gems/fastlane-2.120.0/deliver/lib/deliver/runner.rb:121:in upload_metadata'         from /Users/user1/.rvm/gems/ruby-2.2.3/gems/fastlane-2.120.0/deliver/lib/deliver/runner.rb:38:in run'
from /Users/user1/.rvm/gems/ruby-2.2.3/gems/fastlane-2.120.0/deliver/lib/deliver/commands_generator.rb:94:in block (2 levels) in run'         from /Users/user1/.rvm/gems/ruby-2.2.3@global/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in call'
from /Users/user1/.rvm/gems/ruby-2.2.3@global/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in call'         from /Users/user1/.rvm/gems/ruby-2.2.3@global/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in run'
from /Users/user1/.rvm/gems/ruby-2.2.3@global/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in run_active_command'         from /Users/user1/.rvm/gems/ruby-2.2.3/gems/fastlane-2.120.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!'
from /Users/user1/.rvm/gems/ruby-2.2.3@global/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in run!'         from /Users/user1/.rvm/gems/ruby-2.2.3/gems/fastlane-2.120.0/deliver/lib/deliver/commands_generator.rb:182:in run'
from /Users/user1/.rvm/gems/ruby-2.2.3/gems/fastlane-2.120.0/deliver/lib/deliver/commands_generator.rb:17:in start'         from /Users/user1/.rvm/gems/ruby-2.2.3/gems/fastlane-2.120.0/fastlane/lib/fastlane/cli_tools_distributor.rb:111:in take_off'
from /Users/user1/.rvm/gems/ruby-2.2.3/gems/fastlane-2.120.0/bin/fastlane:23:in <top (required)>'         from /Users/user1/.rvm/gems/ruby-2.2.3/bin/fastlane:23:in load'
from /Users/user1/.rvm/gems/ruby-2.2.3/bin/fastlane:23:in `'

Environment

 [REPLACE THIS WITH YOUR INFORMATION]

Hm, the error message you are seeing is what Apple is returning to your request.
Can you please check your spaceship logs at /tmp/spaceship*.log and post the request and repsonse that are failing?
What resolution are your screenshots?
Can you use fastlane deliver init for a Apple TV app that already has screenshots uploaded? Where does deliver put the downloaded screenshots?

This is the output when I execute fastlane deliver init

 [11:53:23]: Login to App Store Connect (**********)
[11:53:27]: Login successful
+--------------------------------------+-----------------------+
|                   deliver 2.120.0 Summary                    |
+--------------------------------------+-----------------------+
| team_id                              | **********            |
| dev_portal_team_id                   | **********            |
| username                             | **********            |
| app_identifier                       | **********            |
| platform                             | appletvos             |
| run_precheck_before_submit           | false                 |
| screenshots_path                     | ./screenshots         |
| metadata_path                        | ./metadata            |
| edit_live                            | false                 |
| use_live_version                     | false                 |
| skip_binary_upload                   | false                 |
| skip_screenshots                     | false                 |
| skip_metadata                        | false                 |
| skip_app_version_update              | false                 |
| force                                | false                 |
| overwrite_screenshots                | false                 |
| submit_for_review                    | false                 |
| reject_if_possible                   | false                 |
| automatic_release                    | false                 |
| phased_release                       | false                 |
| reset_ratings                        | false                 |
| precheck_default_rule_level          | warn                  |
| individual_metadata_items            | []                    |
| ignore_language_directory_validation | false                 |
| precheck_include_in_app_purchases    | true                  |
+--------------------------------------+-----------------------+
[11:53:34]: Writing to './metadata/en-US/description.txt'
[11:53:34]: Writing to './metadata/en-US/keywords.txt'
[11:53:34]: Writing to './metadata/en-US/release_notes.txt'
[11:53:34]: Writing to './metadata/en-US/support_url.txt'
[11:53:34]: Writing to './metadata/en-US/marketing_url.txt'
[11:53:34]: Writing to './metadata/en-US/promotional_text.txt'
[11:53:34]: Writing to './metadata/en-US/name.txt'
[11:53:34]: Writing to './metadata/en-US/subtitle.txt'
[11:53:34]: Writing to './metadata/en-US/privacy_url.txt'
[11:53:34]: Writing to './metadata/copyright.txt'
[11:53:34]: Writing to './metadata/primary_category.txt'
[11:53:34]: Writing to './metadata/secondary_category.txt'
[11:53:34]: Writing to './metadata/primary_first_sub_category.txt'
[11:53:34]: Writing to './metadata/primary_second_sub_category.txt'
[11:53:34]: Writing to './metadata/secondary_first_sub_category.txt'
[11:53:34]: Writing to './metadata/secondary_second_sub_category.txt'
[11:53:34]: Writing to './metadata/trade_representative_contact_information/trade_name.txt'
[11:53:34]: Writing to './metadata/trade_representative_contact_information/first_name.txt'
[11:53:34]: Writing to './metadata/trade_representative_contact_information/last_name.txt'
[11:53:34]: Writing to './metadata/trade_representative_contact_information/address_line1.txt'
[11:53:34]: Writing to './metadata/trade_representative_contact_information/address_line2.txt'
[11:53:34]: Writing to './metadata/trade_representative_contact_information/address_line3.txt'
[11:53:34]: Writing to './metadata/trade_representative_contact_information/city_name.txt'
[11:53:34]: Writing to './metadata/trade_representative_contact_information/state.txt'
[11:53:34]: Writing to './metadata/trade_representative_contact_information/country.txt'
[11:53:34]: Writing to './metadata/trade_representative_contact_information/postal_code.txt'
[11:53:34]: Writing to './metadata/trade_representative_contact_information/phone_number.txt'
[11:53:34]: Writing to './metadata/trade_representative_contact_information/email_address.txt'
[11:53:34]: Writing to './metadata/trade_representative_contact_information/is_displayed_on_app_store.txt'
[11:53:34]: Writing to './metadata/review_information/first_name.txt'
[11:53:34]: Writing to './metadata/review_information/last_name.txt'
[11:53:34]: Writing to './metadata/review_information/phone_number.txt'
[11:53:34]: Writing to './metadata/review_information/email_address.txt'
[11:53:34]: Writing to './metadata/review_information/demo_user.txt'
[11:53:34]: Writing to './metadata/review_information/demo_password.txt'
[11:53:34]: Writing to './metadata/review_information/notes.txt'
[11:53:34]: Successfully created new configuration files.
[11:53:35]: Successfully downloaded large app icon
[11:53:37]: Successfully downloaded watch icon
[11:53:37]: Downloading all existing screenshots...
[11:53:39]: Downloading existing screenshot '1_iphone4_1.ftl_b47c015ae3dc4cfc2a0e164b2a25141d_86fef17afadddaeb57c488a068409e7c.png' for language 'en-US'
[11:53:41]: Downloading existing screenshot '2_iphone4_2.ftl_effd6a4fb75f996138b8e090b2fb3005_33a24b8d4faecccb8dcb5bbac8bb46b0.png' for language 'en-US'
[11:53:42]: Downloading existing screenshot '1_iphone6Plus_1.ftl_96a31f424c0a1f3d2526bd47425a0f5f_64ae89aacc59cb18924f513e5bf78097.png' for language 'en-US'
[11:53:44]: Downloading existing screenshot '2_iphone6Plus_2.ftl_96a31f424c0a1f3d2526bd47425a0f5f_10b5bb5d348319fc5684f060015e3e9d.png' for language 'en-US'
[11:53:46]: Downloading existing screenshot '1_iphone65_1.ftl_f519d2091200f15b8d780f8d38aa4210_fd798a5ce7bc9f0c53f31337bf3ad1dd.png' for language 'en-US'
[11:53:48]: Downloading existing screenshot '1_watch_1.ftl_6beb2f7aef5b9ff56e695441368b1364_37aa9d25f063b12de1eceac9ed1e1cec.png' for language 'en-US'
[11:53:49]: Downloading existing screenshot '1_iphone6_1.ftl_76da85603ad2359cb7db4eca0766f71c_ba83d280c40de29557835d621af7c715.png' for language 'en-US'
[11:53:50]: Downloading existing screenshot '2_iphone6_2.ftl_3f854a84dbb529ff3ff7d05eb30e5adc_14821b2e0f0e9d5635281cc5ae4be2a7.png' for language 'en-US'
[11:53:52]: Downloading existing screenshot '1_ipadPro_1.ftl_7a602d715e772bdfb17b6ada54ceea8d_ac9e7fbfabf8873f39ca38cf8b26123a.png' for language 'en-US'
[11:53:57]: Downloading existing screenshot '2_ipadPro_2.ftl_7a602d715e772bdfb17b6ada54ceea8d_734ef54be4e5bebcbc0bf730adb814a3.png' for language 'en-US'
[11:53:59]: Downloading existing screenshot '3_ipadPro_3.ftl_24adf1c268b876a1f93f248e928441c1_8f3e8c89b4de1c4118f0d199e7970b73.png' for language 'en-US'
[11:54:06]: Successfully downloaded all existing screenshots
[11:54:06]: Successfully created new Deliverfile at path './Deliverfile'

It downloads screenshots from my ios setup only. But on appstoreconnect I had manually uploaded screenshots for appletv  and it did not download them. So I added them at directory ./screenshots/AppleTV/en-US. I have triedfastlane deliver submit_build with two scenarios keeping ios screenshots and appletv screenshots and only keeping appletv screenshots. In both cases it fails

[12:15:38]: Login to App Store Connect (**********)
[12:15:42]: Login successful
+--------------------------------------+-----------------------+
|                   deliver 2.120.0 Summary                    |
+--------------------------------------+-----------------------+
| force                                | true                  |
| team_id                              | **********            |
| dev_portal_team_id                   | **********            |
| username                             | **********            |
| app_identifier                       | **********            |
| overwrite_screenshots                | true                  |
| skip_metadata                        | true                  |
| skip_screenshots                     | false                 |
| price_tier                           | 0                     |
| platform                             | appletvos             |
| app_version                          | 2                     |
| submit_for_review                    | true                  |
| build_number                         | latest                |
| screenshots_path                     | ./screenshots         |
| metadata_path                        | ./metadata            |
| edit_live                            | false                 |
| use_live_version                     | false                 |
| skip_binary_upload                   | false                 |
| skip_app_version_update              | false                 |
| reject_if_possible                   | false                 |
| automatic_release                    | false                 |
| phased_release                       | false                 |
| reset_ratings                        | false                 |
| run_precheck_before_submit           | true                  |
| precheck_default_rule_level          | warn                  |
| individual_metadata_items            | []                    |
| ignore_language_directory_validation | false                 |
| precheck_include_in_app_purchases    | true                  |
+--------------------------------------+-----------------------+
[12:15:46]: Making sure the latest version on App Store Connect matches '2' from the ipa file...
[12:16:08]: Successfully set the version to '2'
[12:16:18]: Starting with the upload of screenshots...
[12:16:18]: Removing all previously uploaded screenshots...
[✔] Activating language en-US...
[12:16:43]: Uploading 11 screenshots for language en-US
[12:16:43]: Uploading './screenshots/en-US/1_ipadPro_1.ftl_7a602d715e772bdfb17b6ada54ceea8d_ac9e7fbfabf8873f39ca38cf8b26123a.png'...
[12:17:14]: Uploading './screenshots/en-US/1_iphone4_1.ftl_b47c015ae3dc4cfc2a0e164b2a25141d_86fef17afadddaeb57c488a068409e7c.png'...
[12:17:23]: Uploading './screenshots/en-US/1_iphone65_1.ftl_f519d2091200f15b8d780f8d38aa4210_fd798a5ce7bc9f0c53f31337bf3ad1dd.png'...
[12:17:38]: Uploading './screenshots/en-US/1_iphone6Plus_1.ftl_96a31f424c0a1f3d2526bd47425a0f5f_64ae89aacc59cb18924f513e5bf78097.png'...
[12:17:51]: Uploading './screenshots/en-US/1_iphone6_1.ftl_76da85603ad2359cb7db4eca0766f71c_ba83d280c40de29557835d621af7c715.png'...
[12:18:04]: Uploading './screenshots/en-US/1_watch_1.ftl_6beb2f7aef5b9ff56e695441368b1364_37aa9d25f063b12de1eceac9ed1e1cec.png'...
[12:18:09]: Uploading './screenshots/en-US/2_ipadPro_2.ftl_7a602d715e772bdfb17b6ada54ceea8d_734ef54be4e5bebcbc0bf730adb814a3.png'...
[12:18:41]: Uploading './screenshots/en-US/2_iphone4_2.ftl_effd6a4fb75f996138b8e090b2fb3005_33a24b8d4faecccb8dcb5bbac8bb46b0.png'...
[12:18:51]: Uploading './screenshots/en-US/2_iphone6Plus_2.ftl_96a31f424c0a1f3d2526bd47425a0f5f_10b5bb5d348319fc5684f060015e3e9d.png'...
[12:19:10]: Uploading './screenshots/en-US/2_iphone6_2.ftl_3f854a84dbb529ff3ff7d05eb30e5adc_14821b2e0f0e9d5635281cc5ae4be2a7.png'...
[12:19:18]: Uploading './screenshots/en-US/3_ipadPro_3.ftl_24adf1c268b876a1f93f248e928441c1_8f3e8c89b4de1c4118f0d199e7970b73.png'...
[✔] Saving changes
[12:20:29]: Successfully uploaded screenshots to App Store Connect
[12:20:32]: Price Tier unchanged (tier 0)
[12:20:34]: Uploading app icon...
[12:20:38]: Uploading apple watchapp icon...
[12:20:59]: Finished the upload to App Store Connect
[12:20:59]: Running precheck before submitting to review, if you'd like to disable this check you can set run_precheck_before_submit to false
[12:20:59]: Making sure we pass precheck 👮♀ 👮 before we submit  🛫
+--------------------------+-----------------------+
|           Summary for precheck 2.120.0           |
+--------------------------+-----------------------+
| default_rule_level       | warn                  |
| include_in_app_purchases | true                  |
| app_identifier           | **********            |
| username                 | **********            |
+--------------------------+-----------------------+
[12:20:59]: Checking app for precheck rule violations
[12:21:14]: Reading in-app purchases. If you have a lot, this might take a while
[12:21:14]: You can disable IAP checking by setting the include_in_app_purchases flag to false
[12:24:31]: Done reading in-app purchases
[12:24:37]: ✅  Passed: No negative  sentiment
[12:24:37]: ✅  Passed: No placeholder text
[12:24:37]: ✅  Passed: No mentioning  competitors
[12:24:37]: ✅  Passed: No future functionality promises
[12:24:37]: ✅  Passed: No words indicating test content
[12:24:37]: ✅  Passed: No curse words
[12:24:37]: ✅  Passed: No words indicating your IAP is free
[12:24:37]: ✅  Passed: Incorrect, or missing copyright date
[12:24:47]: ✅  Passed: No broken urls
[12:24:47]: precheck 👮♀ 👮  finished without detecting any potential problems 🛫
[12:24:50]: Selecting the latest build...
[12:24:55]: Selecting build 1 (1)...
[12:25:16]: Successfully selected build
[12:25:16]: Submitting the app for review...
Looking for related GitHub issues on fastlane/fastlane...
➡  Deliver fails on every other locale when uploading screenshots
https://github.com/fastlane/fastlane/issues/9859 [closed] 11 💬
11 Dec 2017
➡  Incorrect error message when trying to upload build while the app is in Waiting-for-review status [mac]
https://github.com/fastlane/fastlane/issues/7905 [closed] 8 💬
05 Sep 2017
➡  Problem uploading screenshots with Deliver
https://github.com/fastlane/fastlane/issues/9304 [closed] 7 💬
31 Aug 2017
and 1 more at: https://github.com/fastlane/fastlane/search?q=The request could not be completed because%3A
	You must add at least one screenshot. [en-US]%3A You must add at least one screenshot. There are one or more errors on the page.&type=Issues&utf8=✓
🔗  You can ⌘ + double-click on links to open them directly in your browser.
[!] The request could not be completed because:
You must add at least one screenshot. [en-US]: You must add at least one screenshot. There are one or more errors on the page.

In above case It ignored AppleTV/en-US.
Interestingly overwrite_screenshots is working, It removes all the screenshots at appstoreconnect for appletv. While uploading screenshots it uploads if for ios only.

I could not find /tmp/spaceship*.log.
Appletv screenshots are 1920 × 1080. I have manually tried them.
I feel it is a bug on fastlane deliver, because when there is no ios I had observed that it can upload screenshot for appletv. and when both ios and appletvos are present it is considering ios instead of appletv and giving bad dimension error.

Ok, so you think that fastlane can currently only handle iOS or Apple TV screenshots, but not both at the same time?

Yes. If both iOS and apple tv are there then  only iOS screenshots get uploaded.

You also discovered that it can not download screenshots for both iOS and Apple TV. Could you please check if it can download if you only have Apple TV screenshots, and none for iOS?

For ios screenshot upload/download everything works fine with apple tv or without apple tv setup.
Problem I have observed is that, while uploading screenshots for apple tv if ios setup is already present then deilver fails to upload/download screenshots for apple tv.
I have tried the case where only apple tv is present

output for fastlane deliver setup

[21:17:02]: Login to App Store Connect (**********)
[21:17:05]: Login successful
+--------------------------------------+-------------------------+
|                    deliver 2.120.0 Summary                     |
+--------------------------------------+-------------------------+
| force                                | true                    |
| team_id                              | 2052991                 |
| dev_portal_team_id                   | **********              |
| username                             | **********              |
| app_identifier                       | **********              |
| skip_metadata                        | false                   |
| skip_screenshots                     | false                   |
| price_tier                           | 0                       |
| platform                             | appletvos               |
| app_version                          | 2                       |
| screenshots_path                     | ./screenshots           |
| metadata_path                        | ./metadata              |
| edit_live                            | false                   |
| use_live_version                     | false                   |
| skip_binary_upload                   | false                   |
| skip_app_version_update              | false                   |
| overwrite_screenshots                | false                   |
| submit_for_review                    | false                   |
| reject_if_possible                   | false                   |
| automatic_release                    | false                   |
| phased_release                       | false                   |
| reset_ratings                        | false                   |
| run_precheck_before_submit           | true                    |
| precheck_default_rule_level          | warn                    |
| individual_metadata_items            | []                      |
| ignore_language_directory_validation | false                   |
| precheck_include_in_app_purchases    | true                    |
+--------------------------------------+-------------------------+
[21:17:07]: Making sure the latest version on App Store Connect matches '2' from the ipa file...
[21:17:09]: '2' is the latest version on App Store Connect
[21:17:14]: Loading './metadata/en-US/description.txt'...
[21:17:14]: Loading './metadata/en-US/keywords.txt'...
[21:17:14]: Loading './metadata/en-US/release_notes.txt'...
[21:17:14]: Loading './metadata/en-US/support_url.txt'...
[21:17:14]: Loading './metadata/en-US/marketing_url.txt'...
[21:17:14]: Loading './metadata/en-US/promotional_text.txt'...
[21:17:14]: Loading './metadata/en-US/name.txt'...
[21:17:14]: Loading './metadata/en-US/subtitle.txt'...
[21:17:14]: Loading './metadata/en-US/privacy_url.txt'...
[21:17:14]: Loading './metadata/en-US/apple_tv_privacy_policy.txt'...
[21:17:14]: Loading './metadata/copyright.txt'...
[21:17:14]: Loading './metadata/primary_category.txt'...
[21:17:14]: Loading './metadata/secondary_category.txt'...
[21:17:14]: Loading './metadata/primary_first_sub_category.txt'...
[21:17:14]: Loading './metadata/primary_second_sub_category.txt'...
[21:17:14]: Loading './metadata/secondary_first_sub_category.txt'...
[21:17:14]: Loading './metadata/secondary_second_sub_category.txt'...
[21:17:14]: Loading './metadata/trade_representative_contact_information/trade_name.txt'...
[21:17:14]: Loading './metadata/trade_representative_contact_information/first_name.txt'...
[21:17:14]: Loading './metadata/trade_representative_contact_information/last_name.txt'...
[21:17:14]: Loading './metadata/trade_representative_contact_information/address_line1.txt'...
[21:17:14]: Loading './metadata/trade_representative_contact_information/address_line2.txt'...
[21:17:14]: Loading './metadata/trade_representative_contact_information/address_line3.txt'...
[21:17:14]: Loading './metadata/trade_representative_contact_information/city_name.txt'...
[21:17:14]: Loading './metadata/trade_representative_contact_information/state.txt'...
[21:17:14]: Loading './metadata/trade_representative_contact_information/country.txt'...
[21:17:14]: Loading './metadata/trade_representative_contact_information/postal_code.txt'...
[21:17:14]: Loading './metadata/trade_representative_contact_information/phone_number.txt'...
[21:17:14]: Loading './metadata/trade_representative_contact_information/email_address.txt'...
[21:17:14]: Loading './metadata/trade_representative_contact_information/is_displayed_on_app_store.txt'...
[21:17:14]: Loading './metadata/review_information/first_name.txt'...
[21:17:14]: Loading './metadata/review_information/last_name.txt'...
[21:17:14]: Loading './metadata/review_information/phone_number.txt'...
[21:17:14]: Loading './metadata/review_information/email_address.txt'...
[21:17:14]: Loading './metadata/review_information/demo_user.txt'...
[21:17:14]: Loading './metadata/review_information/demo_password.txt'...
[21:17:14]: Loading './metadata/review_information/notes.txt'...
[✔] Activating language en-US...
[✔] Uploading metadata to App Store Connect
[21:17:27]: Successfully uploaded set of metadata to App Store Connect
[21:17:29]: Starting with the upload of screenshots...
[✔] Activating language en-US...
[21:17:32]: Uploading 3 screenshots for language en-US
[21:17:32]: Uploading './screenshots/appleTV/en-US/tv_cover_1553675298_7040513.png'...
[21:18:05]: Uploading './screenshots/appleTV/en-US/tv_cover_1553675351_5076082.png'...
[21:18:17]: Uploading './screenshots/appleTV/en-US/tv_cover_1553675372_110112.png'...
[✔] Saving changes
[21:18:36]: Successfully uploaded screenshots to App Store Connect
[21:18:40]: Price Tier unchanged (tier 0)
[21:18:42]: Uploading app icon...
[21:18:45]: Uploading apple watchapp icon...
[21:18:53]: Finished the upload to App Store Connect
[21:18:53]: Running precheck before submitting to review, if you'd like to disable this check you can set run_precheck_before_submit to false
[21:18:53]: Running precheck 👮♀ 👮
+--------------------------+-------------------------+
|            Summary for precheck 2.120.0            |
+--------------------------+-------------------------+
| default_rule_level       | warn                    |
| include_in_app_purchases | true                    |
| app_identifier           | **********              |
| username                 | **********              |
+--------------------------+-------------------------+
[21:18:53]: Checking app for precheck rule violations
[21:19:13]: Reading in-app purchases. If you have a lot, this might take a while
[21:19:13]: You can disable IAP checking by setting the include_in_app_purchases flag to false
[21:19:14]: Done reading in-app purchases
[21:19:16]: ✅  Passed: No negative  sentiment
[21:19:16]: ✅  Passed: No placeholder text
[21:19:16]: ✅  Passed: No mentioning  competitors
[21:19:16]: ✅  Passed: No future functionality promises
[21:19:16]: ✅  Passed: No words indicating test content
[21:19:16]: ✅  Passed: No curse words
[21:19:16]: ✅  Passed: No words indicating your IAP is free
[21:19:16]: ✅  Passed: Incorrect, or missing copyright date
[21:19:20]: ✅  Passed: No broken urls
[21:19:20]: precheck 👮♀ 👮  finished without detecting any potential problems 🛫

I have solved this problem, https://github.com/aniketgaur/fastlane/commit/960d9c209f972bc8730141e09589b1cd5282cca0


added message field for the form

please review my pull request

Your code is up to standard. Please merge the code


x/pkgsite: package removal request for github.com/credo4me/moysklad

What is the path of the package that you would like to have removed?
github.com/credo4me/moysklad
Are you the owner of this package?
Yes
What is the reason that you could not retract this package instead?
The github repository was created and archived by mistake. Now it is no longer accessible from the original URL.

@arcsub, we cannot verify that you are the author of the package github.com/credo4me/moysklad. Userid @credo4me is the right author to create removal request for this package.


preview-markdown

Markdown media type was added in 2206
This Pr is to add support for markdown viewing on the /inscription and /preview page using the JS library marked It sanitizes the output HTML with DOMpurify
Recursive links and images are achievable in markdown files with.
[link](/content/<inscriptionId>)
![alt tag](/content/<inscriptionId>)

@raphjaph Its ready.


Update compilerplugin to 0.11.2

Updates com.thesamet.scalapb:compilerplugin from 0.11.1 to 0.11.2.
GitHub Release Notes - Changelog - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.thesamet.scalapb", artifactId = "compilerplugin" } ]

labels: library-update, semver-patch

Superseded by #112.


Remove nssm for generic sc command and add error mgmt from microsoft

Hi,

I switched to "sc" command, "sc" is generic command for interact with service on windows systems so you don't need to install nssm for register, uninstall, start, stop or query services.

I add some error code from Microsoft (source: https://msdn.microsoft.com/en-us/library/windows/desktop/ms681385(v=vs.85).aspx), will match exit status code with the error for return correct information about the error.

Looks good.


Use latest minor Django version

Use the most up to date security / bugfix minor version of Django available instead of only 1.9.0.
Not using Django>=1.9,<1.10 syntax due to https://groups.google.com/forum/#!msg/python-virtualenv/DvG1InRGdR0/14b9CISO2AcJ

Current coverage is 65.59% (diff: 100%)

Merging #1726 into master will not change coverage

@@             master      #1726   diff @@
==========================================
  Files            54         54
  Lines          6168       6168
  Methods           0          0
  Messages          0          0
  Branches       1215       1215
==========================================
  Hits           4046       4046
  Misses         1908       1908
  Partials        214        214

Powered by Codecov. Last update 3244b1d...5d139bd

@elsmorian ,
Are you sure that we're compatible with Django 1.9. IIRC we had some issues with that.

@deniszh It was pinned to 1.9 before this change- looks like it was changed in commit fd53fad51e1b4807d1da1c2c4cd23e7726a10397

Good catch, I was thinking of the release series instead of the specific version(s). I didn't mean to lock it into 1.9(.0).


Point users of custom distributed tracing mechanisms at DistributedContextPropagator

Fixes #1480

License checks being stuck is apparently a known issue: https://github.com/dotnet/runtime/issues/65437


How to configure an application in pinpoint

i installed pinpoint successfully and UI also working, now i want to monitor a java application,but i am unable to configure any application,i did not find any procedure for configuring an application,can you please help me how to configure an application in pinpoint,if any video or document is there please share to me
Thanks

Hi KamathamHemadri
please refer to quickstart guide (https://github.com/naver/pinpoint/tree/master/quickstart)
thanks

I refered this link before but there is no information about how to add a new application,that url consist of monitoring the test app,but i want to monitor a java application which is present in my system
Thanks

please refer to install.md (https://github.com/naver/pinpoint/blob/78c43ee80ae87a7014c4643e485c9cf803ac2831/doc/installation.md)
thanks .

Hi,
I configured Tomcat sever by following the steps in present in above
URL,now when i start the tomcat server it is picking the collector and web
war files,now i don't know how to start the web and collector to see the
requests,i checked in web folder present in pinpoint but there is no .cmd
file,How to start Web and collector to see the java application requests.
Thanks.
On Fri, Apr 14, 2017 at 12:52 PM, koo-taejin<EMAIL_ADDRESS>wrote:

please refer to install.md (https://github.com/naver/pinpoint/blob/
78c43ee80ae87a7014c4643e485c9cf803ac2831/doc/installation.md)
thanks .
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/naver/pinpoint/issues/2810#issuecomment-294106394,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AaNLciHNq22yOuIc2vj0Np_aafvFZjguks5rvx6xgaJpZM4M9gbt
.

--
Thanks&Regards,
Hemadri,
+91<PHONE_NUMBER>.


feat(go): add gofumpt formatter with conform/none-ls

After https://github.com/LazyVim/LazyVim/pull/1535 and https://github.com/LazyVim/LazyVim/pull/1549, some formatters (i.e.: gofumpt) were removed from the conform.nvim and none-ls.nvim configurations in extras.lang.go because they were already already handled by the LSP gopls.
With the release of LazyVim 10.0.0, only one formatter can be active at a time so gopls is no longer taking care of running gofumpt when conform or none-ls are active.
This PR adds it back to the conform.nvim and none-ls.nvim configurations so people using any of the two can use gofumpt. This PR also makes sure packages are only installed when strictly necessary: for example, delve is only needed when nvim-dap is available and gomodifytags and impl are not supported by conform since they are code actions, so they are only installed when using none-ls.

Also, this is my first time contributing to the project. Please do let me know if in the future you'd like me to first create an issue or similar.
Thanks :heart:

I'm still catching up myself on the new interaction between conform, none-ls, and the primary/secondary formatters.  But would this now enforce the use of gofumpt if none-ls is enabled?  That's certainly doesn't seem desirable, since gofumpt is far from standard in the Go community.

But would this now enforce the use of gofumpt if none-ls is enabled?
With this PR, gofumpt would be enabled if none-ls or conform are installed. Before 10.0.0 this was the default, since it was managed by gopls.

Of course, if someone does not wish to use gofumpt they could always disable it (possibly in favor of the less restrictive gofmt?)

I would argue that having gofumpt enabled by default pre-10.0.0 was a mistake.  If someone wants to use it, they could always add it, could they not?

I would argue that having gofumpt enabled by default pre-10.0.0 was a mistake. If someone wants to use it, they could always add it, could they not?

That's a good argument, I guess it ends up as a matter of preference. I'm happy with closing this if other people agree.
Out of curiosity, do you regularly use a different formatter yourself?

Yeah, it's always tricky to pick the "right" set of defaults for a project like this.  It definitely often comes down to individual preference.  The fact that gopls supports gofumpt but has it disabled by default, seems like reasonable behavior to follow.
I just the default goimports behavior.

If I understand correctly, the ideal case is golsp being the primary formatter and goimports being a secundary?
If so I can change it like that.

@willnorris

...since gofumpt is far from standard in the Go community.

I sort of disagree with this. gopls ships gofumpt, it really does become a standard.
I am aware that it is opt-in, but still, I would argue that it is better to enable it here in LazyVim, as most people would be satisfied by it. It is compatible with gofmt.
Of course it may make sense to add docs on how to use gofmt instead of gofumpt.
@folke It does seem to work for me, but yes gopls should be primary, and goimports secondary.
I do have times where goimports times out, and is unable to actually fix my imports, but it is rarely. I also rarely have to manually modify my imports due to that.
My setup should be default: https://github.com/Jomik/dotfiles/blob/e71bdf109896ccb12a336c3212199c4326fe56b6/.config/nvim/lua/plugins/lang/go.lua

@willnorris

...since gofumpt is far from standard in the Go community.

I sort of disagree with this. gopls ships gofumpt, it really does become a standard.
I am aware that it is opt-in, but still, I would argue that it is better to enable it here in LazyVim, as most people would be satisfied by it. It is compatible with gofmt.
Of course it may make sense to add docs on how to use gofmt instead of gofumpt.
@folke It does seem to work for me, but yes gopls should be primary, and goimports secondary. I am wondering if I missed something though 😄
I do have times where goimports times out, and is unable to actually fix my imports, but it is rarely. I also rarely have to manually modify my imports due to that.
My setup should be default: https://github.com/Jomik/dotfiles/blob/e71bdf109896ccb12a336c3212199c4326fe56b6/.config/nvim/lua/plugins/lang/go.lua

Yeah it would be nice to have gofumpt as the default, gofumpt got (unnecessarily imo) removed when someone updated the spec a while back

@amaanq I don't think gofumpt is removed, it is just handled by gopls, see https://github.com/LazyVim/LazyVim/blob/ea4174d46016dd191de48c03bdf23462483f9f6a/lua/lazyvim/plugins/extras/lang/go.lua#L24

@amaanq I don't think gofumpt is removed, it is just handled by gopls, see
https://github.com/LazyVim/LazyVim/blob/ea4174d46016dd191de48c03bdf23462483f9f6a/lua/lazyvim/plugins/extras/lang/go.lua#L24

ooh yeah, forgot about that :sweat_smile:, I just noticed it being removed here but then saw why - https://github.com/LazyVim/LazyVim/commit/964dd6c4b2135399758c87afed7e1f3c8e30b487

Initially we had gofumpt and goimports. That means that gopls was not used for formatting.
Both got removed in favor of gopls
apparently removing goimports was in error, so that was moved back
because of that change, neither gofumpt nor gopls were being used for formatting. (not in 10.0 and also not before that)

So I agree that it's probably best to merge this PR and get back to how it was before.

Just want to give my thought on this but imo the current way of handling formatters is less flexible than the old one. The old way allowed us to disable null-ls in favour of lsp in some languages. Go is a prime example of such languages. With the current way, we have no mechanism to do so since the priority field is hard coded in the LazyVim config.

That's not true. It's pretty much the  same as with null-ls. You can change the conform formatters_by_ft for go and set it to an empty list so that the lsp will be used instead. Thats' the same as it was before

In case it helps anyone, here's my conform setup for go where I can remove/extend/replace per file type: https://github.com/fredrikaverpil/dotfiles/blob/3d58a40bf2a9cc13546cf9e1aaaef93750c47c5e/nvim-lazyvim/lua/plugins/lsp.lua#L163-L189

Thank you sir @folke. This is awesome.


Implement not-null checking

Argument needs to define a method that checks for null pointers and fails with an IllegalArgumentException. It should not support chaining; it should be void.
The argument for IAE over the more typical NullPointerException is philosophical and really requires prior buy-in. It will need to be documented very thoroughly, both in Argument's class JavaDoc as well as in the project README. In summary, NPE always comes for free and may hide the actual source of the error, whereas IAE makes it clear that the error is caused by bad input.
Similar -- probably identical -- functionality is needed for a method that instead fails with IllegalStateException, but this belongs in a different scope and hasn't really been thought through yet.

State should define a similar method. This method should probably have the same signature, but there is a little catch: for null arguments, constructing a message is trivial, but for state validation it is conceivable that a far more useful message can be provided. If State's method uses the same format as Argument's, we lose the possibility of richer messages, but if it isn't, the API incurs an inconsistency, along with friction whenever a richer message is not possible.
Argument.notNull(foo, "foo");
State.notNull(bar, "bar not yet initialized");

I have found this alternative form very useful on Android, which basically has n-phase initialization for n > Σ ℤ.
I believe this is worth the friction of the semantic difference of the two string arguments.


DNS modifications are lost on system reboot with stemcell 3262.2 and consul-release 97

The consul agent's pre-start script appends <IP_ADDRESS> to /etc/resolvconf/resolv.conf.d/head and the bosh agent in stemcell 3262.2 writes the dns server entries to the same file.
When a system running the consul agent is rebooted, the pre-start script does not run but the agent initialization scripts do so the modifications made to /etc/resolvconf/resolv.conf.d/head are lost and <IP_ADDRESS> is no longer in /etc/resolv.conf.
The net result is that any job that relies on the consul for DNS resolution fails after a reboot.

@sykesm im assuming you are on softlayer. we have recently fixed that problem in the agent: https://github.com/cloudfoundry/bosh-agent/commit/b74fb972dc671bcabc4cabe2f04d2e08af74a08c. i dont believe it's made into any stemcell version yet.

@cppforlife yes, on SoftLayer. We did see the pending change to the agent but, as you said, it's not in any available stemcell.
That will help correct this particular problem but we hit several others related to pre-start when SoftLayer rolled VMs in a pod to apply security fixes. One example is in cloudfoundry/capi-release#25.

@sykesm can I close out this issue, as you expect a fix in the upcoming stemcell?

Sure.


Have you seen this one on your Pending Reboot PSD1

I have an issue maybe you can shed some light on... I have many different versions of PS so I think the best way to get this deployed to 10k+ machines is to copy the files and then run a import-module on it. But when I copy the folder to the powershell module location and try to run the psd1 I get a
Import-LocalizedData : Cannot find the Windows PowerShell data file 'PendingReboot.strings.psd1' in directory 'C:\Program
Files\WindowsPowerShell\Modules\PendingReboot\Private\Docs\en-US\en-US', or in any parent culture directories.
At C:\Program Files\WindowsPowerShell\Modules\PendingReboot\Private_localizationHeader.ps1:1 char:25

$script:localizedData = Import-LocalizedData -BaseDirectory "$PSScriptRoot\Docs\ ...

  + CategoryInfo          : ObjectNotFound: (C:\Program File...ot.strings.psd1:String) [Import-LocalizedData], PSInvalidOperationException
  + FullyQualifiedErrorId : ImportLocalizedData,Microsoft.PowerShell.Commands.ImportLocalizedData

What I see is in the path for the import-localizeddata it shows a path which included en-us\en-us (twice) so I have looked in all the files that are apparent to see if there is something in a path that is an issue but coming up blank... any pointers>
Interestingly enough I have found if I run the Import-Module manually 2 times it will work the second time but I am trying to get this to work in a SCCM TS and in that it doesn't work if I run it twice :)
Thanks

kquinn64, if you're not running the build script and creating the module from the GitHub clone, install it from the PSGallery instead.  You can find that information here:
https://www.powershellgallery.com/packages/PendingReboot/<IP_ADDRESS>
or you can install it via PowerShell with Install-Module:
Install-Module -Name PendingReboot


There are no docs

How can someone learn this library when there are no docs?

how can someone learn a library thats not even a library yet?


One Click Heroku Deploy

Augur Node should be deployable with Heroku's one-click deploy.
Please join the #dev or #bounties channel of our Discord with any questions.
Bounty posted with Gitcoin.

Hello there! Just trying out Gitcoin.
This is what I did:

Added ENDPOINT_HTTP and ENDPOINT_WS Infura env variables as default to the Heroku app.json.
---> I find that setting these variables does not seem to actually override the Ethereum node parameters as it says in the README and nowhere in the app is checked for any environment variables. So I have added that functionality.
Ignores package-lock.json for Heroku. Having both yarn.lock and package-lock.json will negate some of the benefits of lockfiles and will cause Heroku to fail. See here. For now, I ignored one of the files in .slugignore, but this should be fixed by you
Initialize a git repo during the Heroku build process. You have shared-git-hooks enabled during the build process, but it fails when there is no Git repo such as during the Heroku build process. This is why I added a preinstall script that runs git init if and only if the .git directory does not exist.
Run migration and seeds before starting the server (added in Procfile)
Heroku will not run unless you bind the server to $PORT. So I added that the HTTP (not HTTPS) server looks for a $PORT environment variable first and otherwise defaults. Heroku will proxy HTTP to HTTPS then using Let's Encrypt.

I also tried to make it run with Postgres using the Heroku Postgres addon.
However knex does seem to fail with any PG database. This is the stack trace:

Knex:warning - migration file "20180326123259_crowdsourcer_redeemed.js" failed
Knex:warning - migration failed with error: CREATE TABLE markets (
      "marketId" varchar(66) PRIMARY KEY NOT NULL,
      universe varchar(66) NOT NULL,
      "marketType" varchar(11) NOT NULL CONSTRAINT "enumMarketTypes" CHECK ("marketType" = 'binary' OR "marketType" = 'categorical' OR "marketType" = 'scalar'),
      "numOutcomes" integer NOT NULL CONSTRAINT "positiveNumOutcomes" CHECK ("numOutcomes" > 0),
      "minPrice" VARCHAR(255) NOT NULL,
      "maxPrice" VARCHAR(255) NOT NULL,
      "marketCreator" varchar(66) NOT NULL,
      "creationBlockNumber" integer NOT NULL CONSTRAINT "positiveMarketCreationBlockNumber" CHECK ("creationBlockNumber" > 0),
      "creationFee" VARCHAR(255) NOT NULL,
      "reportingFeeRate" VARCHAR(255) NOT NULL,
      "marketCreatorFeeRate" VARCHAR(255) NOT NULL,
      "marketCreatorFeesClaimed" VARCHAR(255) DEFAULT "0",
      "marketCreatorFeesCollected" VARCHAR(255) DEFAULT "0",
      "initialReportSize" VARCHAR(255) DEFAULT "0",
      category varchar(255) NOT NULL,
      tag1 varchar(255),
      tag2 varchar(255),
      volume VARCHAR(255) NOT NULL,
      "sharesOutstanding" VARCHAR(255) NOT NULL,
      "feeWindow" varchar(66),
      "endTime" integer NOT NULL CONSTRAINT "positiveEndTime" CHECK ("endTime" > 0),
      "finalizationTime" integer,
      "marketStateId" integer,
      "shortDescription" text NOT NULL,
      "longDescription" text,
      "scalarDenomination" text,
      "designatedReporter" varchar(66) NOT NULL,
      "designatedReportStake" VARCHAR(255),
      "resolutionSource" text,
      "numTicks" VARCHAR(255) NOT NULL,
      "consensusPayoutId" integer,
      "disputeRounds" integer,
      "isInvalid" boolean
    ) - column "0" does not exist

Otherwise it would work when you just add the Heroku Postgres plugin in app.json.
So now it uses SQLite3 which I figured is fine because your Docker deploy method uses it also.
You need to change the Heroku deploy button URL in app.json, I left my fork in there to demonstrate that it works: https://github.com/JonnyBurger/augur-node
My PR: https://github.com/AugurProject/augur-node/issues/292
My instance: https://agile-hollows-94803.herokuapp.com/

Cheers!

@tomkysar Have you been able to review @JonnyBurger's PR here yet? Hope all is well!

Issue Status: 1. Open 2. Started 3. Submitted 4. Done

This issue now has a funding of 300.0 DAI (300.0 USD @ $1.0/DAI) attached to it.

If you would like to work on this issue you can 'start work' on the Gitcoin Issue Details page.
Questions? Checkout Gitcoin Help or the Gitcoin Slack
$7,827.96 more funded OSS Work available on the Gitcoin Issue Explorer

Hi,
could you please accept the work on Gitcoin?
It expires in one day.
I delivered the work fulfilling all requirements.
Fixing Postgres with Knex is outside the scope of this issue I think.
I will still make another PR once Postgres works to enable it on Heroku as well.

hey @tomkysar did you see Jonny's PR?

cc: @pgebheim @epheph @tinybike
I can re-bounty these issues - can someone review & give the next steps? Is the proposed solution sufficient?

Hi @tomkysar, I think we're still pending review / payout here if appropriate from the Augur side!

Hi there,
I did everything that I can do from my side to help you with this feature.
This is taking far to long for you to review this. I think you should pay out the bounty.
cc: @owocki

@JonnyBurger the main requirement of this bounty is that it must work with postgres / that's the whole point of the heroku deployment.
Sorry for the slow response.  The engineers assigned to review this didn't do so.

@tinybike It seems like you have your SQL structured in a way that is incompatible with Postgres.
This issue is much more fundamental than than Heroku deployment.

the main requirement of this bounty is that it must work with postgres

The main requirement that I understood is to add the necessary files needed to deploy to Heroku. Postgres is not even mentioned in your task description.

The main point of the bounty was to have a working on click install for heroku. Since local sqlite databases are not a workable soltuion for a real heroku deploy, we either need Postgres compatibility or some other DBMS compatibility or it isn't a working one-click install.

hi all, kevin from gitcoin here!  we've been watching the convo internally here and wanted to provide the following suggestions:
first, its natural for some scope to be misunderstood or not fully laid out -- so we shouldn't feel bad about that.  software development is naturally iterative, and that's okay.
second, one of the things we do internally, when we use our product, is to plan for this type of iteration by offering a little more budget for tipping after the fact for extra scope.
third, sometimes it just doesnt work out and we need to go our seperate ways.  in that case, i like to leave a tip for the bounty hunter for any value that was provided towards the end scope and re-bounty it.
i dont know enough about the current scope to say whether the postgres stuff is do-able or is a heavy lift or not to know which option is the best for both parties.  but suffice to say we'd like to see you both work it out.
feel free to hit us up on slack with any questions; and enjoy your holiday everyone who's in the US 🇺🇸

@JonnyBurger, if you're willing to work out the Postgres stuff, we'd be more than happy to double the bounty. If not, I am also more than happy to close this as-is, and pay you out the full bounty amount currently.
I sincerely apologize on behalf of the Foundation for the delay and confusion - Gitcoin has been great for us, and we want to see our bounty hunters succeed!
Thanks for chiming in as well @owocki, your feedback is very valuable.

Hi all,
for the record, Augur has reached out to me on Twitter and we have agreed that I will try to solve the Postgres issue as well and they are doubling the bounty for that.
Thanks everyone for trying to find a solution! Very much appreciated.
I have rebased the PR now and will work on the Postgres issue now.

Hi guys,
It worked, Augur now runs with Postgres as well! As you can see, it was not so trivial.
Here are some notes to help you understand the things I changed:

Behavior change: The server starts listening before everything is synced. This is because Heroku will timeout if you don't bind to $PORT within 60 seconds of startup.
Postgres does not support the datatype unsigned integer, so it just uses an integer with >= 0 constraint if it is not SQLite.
booleans are true/false in Postgres but 0/1 in SQLite. This is why I added some casts throughout the code to normalize it.
I increased the length of some fields like orders.orderId from 44 to 66, because otherwise the seed data won't fit. (In SQLite the specified string length had no effect, so it was no problem)
Two constraints had the same name, which is not supported in Postgres. In Postgres it now has different names, but in SQLite it is the same so the schema is compatible.
Had to double-quote some identifiers because they seem to be case sensitive. String literals only seem to work with single quotes on both databases.
The join in the all_participants view was slightly reordered, otherwise an error would occur because some joins were performed before all data was selected.
Changed reporter fields from a string to an integer in the seed data because it's an integer in the schema.
Changed isInvalid from a integer to a boolean and standardized it throughout the code. This is backwards compatible because booleans are still just 0/1 in SQLite.
Had to add some casts to BigNumber.
Some queries were executed in parallel using the function from the async npm package. This caused some race conditions (for example, the transaction history was not correctly verified and some accounts ended up having negative account balances), so for Postgres, the queries are executed in sequential order instead. I made a switch so that for SQLite it stays parallel (however I believe this parallelism does not really bring performance because SQLite does not support parallel queries and the race conditions only started showing up because Postgres does support them, not entirely sure though).
Upgraded some ints to bigints. It's the same datatype in SQLite so this is also fully backwards compatible.

Also I implemented that you can run the Node on any network (Ropsten, Kovan, Rinkeby, etc.) and configure it using the Heroku UI :)
Please review carefully and let me know if it's all ok.

Hello!
Thank you so much for all this work. I'll review this as soon as possible. We're a little swamped with initial release happening on Monday, but I will get it reviewed shortly after that!

Hi there!
I have received the 300 DAI bounty through Gitcoin on August 2nd. Thanks a lot for that!
The other 300 DAI that were offered I haven't received yet. Also I saw that the PR is not yet merged!
Besides the bounty, I'm also interested in that you actually can use the Heroku button and Postgres integration.
Therefore, can you give an update on your side of this issue?
Cheers!

@JonnyBurger Hey there,
Sorry again for the delay. I will send the remaining DAI reward within the next few minutes. WRT Postgres: in order to improve reliability we did a quick fix of using Sqlite files as snapshots. The logic isn't quite abstract enough to work for non Sqlite databases yet, but now that we are stable we can revisit.

Thanks for sending!
Sorry as well for letting it slip again.
I don‘t quite understand the SQlite thing, but glad to hear you‘re on it. Let me know if I can help. Otherwise glad to have worked with you and hope to do it again!


feat: add in_ filter on stream()

What kind of change does this PR introduce?
Add support for the in filter to be used in .stream(). Same as the postgrest in_ method, in is a reserved word in Dart, so had to change the filter from in to in_.
supabase.from('table').stream(primaryKey: ['id']).in_('name', ['Andy', 'Santiago', 'Holt']).listen();

Have you considered inFilter or filterIn? I kinda find in_ weird

@bdlukaa
Great point! I have updated the code. We probably could update the name on postgrest methods too huh?


[improve](txn insert) Txn load support cloud mode

Proposed changes
As the title and leave a todo: Cloud does not support mow table in txn load.


Improve support for Bitbucket

There are three things we should do:

[ ] create a summary table format for Bitbucket comments. This would be similar to what we do for GitHub but since Bitbucket doesn't support HTML yet, we could use their markdown format to do something similar. I'm not sure if Bitbucket has comment edit histories like GitHub does but that's not something we can change anyway.

[ ] add infracost comment bitbucket that supports cloud and self-hosted Bitbucket versions
[ ] add a bitbucket-comment format to infracost output

Note for community
Please 👍 if you'd like to upvote this or receive updates.

Would be good to include support for Bitbucket Server/Data Center as well, as from what I can tell, the only difference is we need to use a Bitbucket API key instead of an app password. I've gotten this to work with diff.sh but wouldn't mind being kept in the loop on how support with compost is going.

@wahlfeld10x sounds good! Can you possibly share the curl/bash snippet you used to make it work for Bitbucket Server/Data Center? That helps a lot when we come to add it to compost :)

Sure here you go, this all went in diff.sh. Tested with Atlassian Bitbucket v7.17.1.
# For Bitbucket Server: BITBUCKET_SERVER_HOSTNAME must be set, e.g. "mycompany.com". BITBUCKET_TOKEN must be set to "mytoken", the token
#   needs to have PROJECT READ and REPOSITORY READ on "Repositories" and "Pull Requests" so it can post comments. See here for my details:
#   https://confluence.atlassian.com/bitbucketserver/personal-access-tokens-939515499.html

get_bitbucket_server_url () {
  BITBUCKET_GIT_URL="$(git config --get remote.origin.url)"
  BITBUCKET_PROJECT="$(cut -d '/' -f4 <<<$BITBUCKET_GIT_URL)"
  BITBUCKET_REPO="$(basename $BITBUCKET_GIT_URL .git)"
  printf "https://$BITBUCKET_SERVER_HOSTNAME/rest/api/1.0/projects/$BITBUCKET_PROJECT/repos/$BITBUCKET_REPO/pull-requests"
}

get_bitbucket_server_pr_id () {
  BITBUCKET_BRANCH="$(git rev-parse --abbrev-ref HEAD)"
  curl -sS \
    -H "Authorization: Bearer $BITBUCKET_TOKEN" \
    "$1?at=refs/heads/$BITBUCKET_BRANCH&direction=OUTGOING" \
    | jq -r '.["values"][0].id'
}

post_bitbucket_server_comment () {
  msg="$(build_msg false)"
  echo "Posting comment to $1"
  jq -Mnc --arg msg "$msg" '{"text": "\($msg)"}' | curl -sSL -o /dev/null -X POST -d @- \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer $BITBUCKET_TOKEN" \
    "$1"
}

post_to_bitbucket_server () {
  if [ -z "$BITBUCKET_TOKEN" ]; then
    echo "Error: BITBUCKET_TOKEN is required to post comment to Bitbucket Server"
  else
    BITBUCKET_SERVER_URL="$(get_bitbucket_server_url)"
    BITBUCKET_SERVER_PR_ID="$(get_bitbucket_server_pr_id $BITBUCKET_SERVER_URL)"
    post_bitbucket_server_comment "$BITBUCKET_SERVER_URL/$BITBUCKET_SERVER_PR_ID/comments"
  fi
}

elif [ -n "$BITBUCKET_SERVER_HOSTNAME" ]; then
  post_to_bitbucket_server

This is in progress and will be shipped early next week in v0.9.18 🚀
The docs PR shows what the command will look like, it'll support the Cloud and Bitbucket Server/Data Center versions

This is live in v0.9.18.


feat(Order/Monotone/Basic): Add Monotone.dual_iff and Antitone.dual_iff

Add if and only if versions of Monotone.dual and Antitone.dual.
Needed for #5672

It would be nice to do the same for all the .dual lemma, and then remove them and use alias to get them from the iff versions. Could you please do that?

I think I've done this now.

Thanks!
bors merge


only using an array for a file inputs 'files' property

No longer attempting to munge the 'immutable' FileList. Closes #94

@jherdman see if this works better for you.

Works!

If FileList is immutable by step, I think this is good. I misread it before, I thought it was firefox and now chrome doing something wrong, and it's them being more compliant with the spec.
Is there any commonly used public-api in FileList that it's not identical in array that we should copycat?

Either way, this is good.

I've just realised that if you do a try/catch just to rethrow the error you could just as well remove the try/catch entirely. Can you PR just that?

there's an "item" method that you can pass in an index and it returns the file at that index. We could recreate that method potentially.

ohh.. ya. course.


Enforce stricter hasPendingUpdate check

Task/Issue URL:
Tech Design URL:
CC:
Description:
Steps to test this PR:
1.

Definition of Done:

[ ] Does this PR satisfy our Definition of Done?

Internal references:
Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
Pull Request Documentation

#3541  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @quanganhdo and the rest of your teammates on  Graphite


Impossible to append to a DeltaTable with float data type on RHEL

Environment
Delta-rs version: 0.17.4
Binding: Python 3.11.5
Environment: OS: RHEL 9.3 or WSL2 (Ubuntu 22.04)

Bug
What happened:
I created a DeltaTable where most of the columns have a float type. I tried to append a polars DataFrame to the DeltaTable but I got the following error by setting RUST_BACKTRACE=full
thread '<unnamed>' panicked at python/src/lib.rs:1513:48:
called `Result::unwrap()` on an `Err` value: CDataInterface("The datatype \"Float32\" expects 2 buffers, but requested 2. Please verify that the C data interface is correctly implemented.")
stack backtrace:
   0:     0x7f000d385ba2 - <unknown>
   1:     0x7f000d3b696c - <unknown>
   2:     0x7f000d3824df - <unknown>
   3:     0x7f000d385974 - <unknown>
   4:     0x7f000d38712b - <unknown>
   5:     0x7f000d386e83 - <unknown>
   6:     0x7f000d3875cd - <unknown>
   7:     0x7f000d3874a2 - <unknown>
   8:     0x7f000d386076 - <unknown>
   9:     0x7f000d3871d4 - <unknown>
  10:     0x7f0009fd27d5 - <unknown>
  11:     0x7f0009fd2cd3 - <unknown>
  12:     0x7f000a01d860 - <unknown>
  13:     0x7f000a0c0c02 - <unknown>
  14:     0x7f000a1bc5d6 - <unknown>
  15:     0x7f000a1bd5f3 - <unknown>
  16:     0x7f000a18fbfa - <unknown>
  17:     0x7f000a1bc781 - <unknown>
  18:     0x7f00151d44a2 - <unknown>
  19:     0x7f00151b50c6 - _PyObject_MakeTpCall
  20:     0x7f00151bdd26 - _PyEval_EvalFrameDefault
  21:     0x7f00151b9c52 - <unknown>
  22:     0x7f00151e5c37 - <unknown>
  23:     0x7f00151c2236 - _PyEval_EvalFrameDefault
  24:     0x7f00151b9c52 - <unknown>
  25:     0x7f0015245ff6 - PyEval_EvalCode
  26:     0x7f0015264994 - <unknown>
  27:     0x7f0015260e16 - <unknown>
  28:     0x7f001519e172 - <unknown>
  29:     0x7f001519e31b - _PyRun_InteractiveLoopObject
  30:     0x7f00151282cd - <unknown>
  31:     0x7f001519e4a4 - PyRun_AnyFileExFlags
  32:     0x7f0015123e4a - <unknown>
  33:     0x7f0015233bad - Py_BytesMain
  34:     0x7f0014c29590 - __libc_start_call_main
  35:     0x7f0014c29640 - __libc_start_main_alias_1
  36:     0x563746731095 - _start
  37:                0x0 - <unknown>
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/airflow/.cache/pypoetry/virtualenvs/dataflow-tK0vRoRm-py3.11/lib/python3.11/site-packages/datadex/table.py", line 145, in append
    data.write_delta(
  File "/home/airflow/.cache/pypoetry/virtualenvs/dataflow-tK0vRoRm-py3.11/lib64/python3.11/site-packages/polars/dataframe/frame.py", line 3589, in write_delta
    write_deltalake(
  File "/home/airflow/.cache/pypoetry/virtualenvs/dataflow-tK0vRoRm-py3.11/lib64/python3.11/site-packages/deltalake/writer.py", line 319, in write_deltalake
    write_deltalake_rust(
pyo3_runtime.PanicException: called `Result::unwrap()` on an `Err` value: CDataInterface("The datatype \"Float32\" expects 2 buffers, but requested 2. Please verify that the C data interface is correctly implemented.")

What you expected to happen:
I can append to a DeltaTable which is previously created.

@LoicRaillon can you please share the command used to create the table, at least enough of the schema to include the float definition?

I found the error. When a Delta Table is first created with DeltaTable.create, the appended data must respect the column ordering of the created DeltaTable schema.


Update Get-SPAppDomain.md

Format example

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-server/Get-SPAppDomain.md
:white_check_mark:Succeeded
View (sharepoint-ps)

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


Policy Rules in Digital Twin Registry (DTR)

Description
Current proposed solution:
Limit EDC checks  only for the entire content of an asset; fine-granular control at backend level (e.g. ddTR).
The injection of policy rules must be enabled in DDTR as well as the implementation of a “policy engine”.
Pure outsourcing of the Policy of EDC level is not preferred due to high maintenance costs and rules.
Concept finalization in progress Second design point: Transformation of VC-based attributes (e.g. role, partner country, etc.) into standardized attributes and transfer to backend systems required (for DDTR but also other backend systems behind EDC).
follow-up to DTR Hotfix Rel 23.09 - see ImageARCHITECT-140 - Overarching Discoverability Architecture In Preperation
Impact

Additional information

[ ] I'm willing to contribute to this feature

@stephanbcbauer : Please remove this issue, since we have created a more precise https://github.com/eclipse-tractusx/sig-release/issues/346 for this.
Thanks and best regards
Thomas

@stephanbcbauer : Please remove this issue, since we have created a more precise https://github.com/eclipse-tractusx/sig-release/issues/417 for this.
Thanks and best regards
Thomas

@stephanbcbauer : Please remove this issue, since we have created a more precise #417 for this. Thanks and best regards Thomas

@thomas-henn done, also changed the issue on the miro board


plugin stops working after windowed mode

Describe the bug
After using firefox in a window, and maximizing it again, the plugin doesnt work at all until i restart it or firefox.
To Reproduce
Steps to reproduce the behavior:

open firefox
firefox will automatically maximize itself and go fullscreen mode when the plugin is installed
change firefox to a window
change firefox back to maximized
Expected behavior
Firefox should go fullscreen mode again after being maximized

Desktop (please complete the following information):

OS: [e.g. Windows] win11
Firefox version [e.g. 70.0.0] 119.0.1
Add-on version [e.g. 2.0.2] 2.0.4

Sorry, I don't have time to work on this. If anyone wants to implement this, feel free to create a pull request.

i implemented it as a userchrome.css, thank you anyway :).
/* userChrome.css */
#main-window #navigator-toolbox {
margin-top: -61.4px !important;
transition: margin-top 0.1s ease-in-out;
}
#main-window #navigator-toolbox:hover,
#main-window #navigator-toolbox:focus-within {
margin-top: 0 !important;
}
Am So., 10. Dez. 2023 um 13:30 Uhr schrieb Oleksandr Bezushko <
@.***>:

Sorry, I don't have time to work on this. If anyone wants to implement
this, feel free to create a pull request.
—
Reply to this email directly, view it on GitHub
https://github.com/insiderser/AutoFullscreen/issues/7#issuecomment-1848951743,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4SHFJVNWGCR4YIKNLZ35X3YIWTP3AVCNFSM6AAAAAA7TV4HX6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBYHE2TCNZUGM
.
You are receiving this because you authored the thread.Message ID:
@.***>


How to use with piping-server http basic auth?

How to use with piping-server http basic auth? Thanks.

You can use -H option to specify HTTP header. e.g. -H "Authorization: Basic am9objoxMjM0"

Not work, it says ↑  0B ( 0B/s) | ↓  0B ( 0B/s)2024/05/28 09:45:30 [ERR] yamux: Failed to read header: invalid content-type:

Did you use only piping-tunnel on both server-host and client-host or a different tool?

Both server and client are piping-tunnel

I tried it but it worked.

In my environment, the piping server is behind the Caddy reverse proxy server, the basic auth was provided by the Caddy server

Does it work without --yamux flag?
I will release new version avoiding content-type checking.

The program exited directly after remove --yamux:
[root@almalinux9-test ~]# ./piping-tunnel server --port 22 -H "Authorization: Basic Z3Vlc3Q6MTIzNDU2" --server https://piping.example.com 1234 4321
[INFO] Hint: Client host (socat + curl)
  curl -NsS https://piping.example.com/4321 | socat TCP-LISTEN:31376 - | curl -NsST - https://piping.example.com/1234
[INFO] Hint: Client host (piping-tunnel)
  piping-tunnel -s https://piping.example.com client -p 31376 1234 4321
↑  0B ( 0B/s) | ↓  0B ( 0B/s)
[INFO] Finished
[root@almalinux9-test ~]#

0.12.0 was released for avoiding "invalid content-type" error.
https://github.com/nwtgck/go-piping-tunnel/releases/tag/v0.12.0

piping-tunnel v0.12.0 server still not work:
server:
[root@almalinux9-test ~]# ./piping-tunnel server --port 22 --yamux -H "Authorization: Basic Z3Vlc3Q6MTIzNDU2" --server https://piping.example.com 1234 4321
[INFO] Hint: Client host (piping-tunnel)
  piping-tunnel -s https://piping.example.com client -p 31376 --yamux 1234 4321
[INFO] Multiplexing with hashicorp/yamux
↑  0B ( 0B/s) | ↓  0B ( 0B/s)[WARN] --yamux flag may be missing in client-host
Error: EOF

client:
root@debian-12-test:~# ./piping-tunnel client --port 2222 --yamux -H "Authorization: Basic Z3Vlc3Q6MTIzNDU2" --server https://piping.example.com 1234 4321
[INFO] Client host listening on 2222 ...
[INFO] Hint: Server host (piping-tunnel)
  piping-tunnel -s https://piping.example.com server -p <YOUR PORT> --yamux 1234 4321
    OR
  piping-tunnel -s https://piping.example.com socks --yamux 1234 4321
[INFO] Multiplexing with hashicorp/yamux
↑  0B ( 0B/s) | ↓  0B ( 0B/s)[INFO] --yamux flag may be missing in server-host

Could you check the server supports data streaming? You can use curl like the following video:
https://github.com/nwtgck/go-piping-tunnel/assets/10933561/751e189d-5e09-4661-b612-982175032bb4
# sender
curl -T- https://ppng.io/mytext

# receiver
curl https://ppng.io/mytext

For the port forwarding, the server's streaming feature is necessary.

I've checked the feature data streaming after I deploy the piping-server to the prod env.
BTW: After disable the basic auth from Caddy server, the piping-tunnel works well without the -H arg.

Have you tried -H flags with curl for streaming check?:
# sender
curl -H "Authorization: Basic ..." -T- https://your.server/mytext

# receiver
curl -H "Authorization: Basic ..." https://your.server/mytext

Have you tried -H flags with curl for streaming check?:
# sender
curl -H "Authorization: Basic ..." -T- https://your.server/mytext

# receiver
curl -H "Authorization: Basic ..." https://your.server/mytext

Work fine.

Did curl -H "Authorization: ..." work with Basic-auth-enabled Caddy?

Did curl -H "Authorization: ..." work with Basic-auth-enabled Caddy?

Yes


archival process of old code + README

maybe we keep the original matlab code anyway? I don't know, perhaps put it on a separate branch with some mention of the archival process on the README. We can actually just refer people to the last commit number before the merge of #15 and provide some backstory in a blog post.
That said I eventually do want auto-generated documentation and it would be nice if some markdown file from this repo just got incorporated into the docs, however that happens.
Part of this process should involve re-writing the README, but I'll raise another issue for that.

I do like this idea because it demonstrates the evolution of your software dev journey, Mind the Grow as a company, and the software itself.

yeah but the beauty of git is that we can literally just hyperlink to the state of the project at any time in the past.

todo:

create a release for the major checkpoints
create a changelog and link to the releases + git hashes from there

super low priority though.


Error Messages on FormGroup Validation

Hi there,
I am running into problems using custom validators on a DynamicFormGroupModel. I am using the following construct:
this.passwordField = new DynamicInputModel({
      id: 'password',
      label: 'Password',
      inputType: 'password',
      validators: {
        required: null,
        minLength: this.pwLength
      }
    });
    this.passwordRetypeField = new DynamicInputModel({
      id: 'passwordRetype',
      label: 'Retype Password',
      inputType: 'password',
      validators: {
        required: null,
        minLength: this.pwLength
      }
    });
this.passwordSetterGroup = new DynamicFormGroupModel({
      id: 'passwordSetterGroup',
      legend: 'Set your password',
      group: [
        this.passwordField,
        this.passwordRetypeField,
      ],
      validator: {matchingPasswords: null, validators: null},
      errorMessages: {
        noMatchingPasswords: 'Passwords need to match',
      }
    });

My validator is the following:
import { FormControl } from '@angular/forms';
export function matchingPasswords(control: FormControl): {[s: string]: boolean} {
    const password = control.get('password');
    const confirmPassword = control.get('passwordRetype');
    if (password.value !== confirmPassword.value) {
      console.log('passwords do NOT match');
      return {
        'noMatchingPasswords': true
      };
    } else {
        console.log('passwords match');
      return null;
    }
  }

The validation is working great so far and I am not able to save the form without matching passwords. However, any validation fail on inner fields (password fields) leads to an empty errorMessage on the formGroup. The use case for this error is: I am typing in less than 8 characters in both password fields, but both fields are matching. Hence, the custom validation succeeds. This results in an empty error box displayed for the form.
What do I have to do, to get rid of this error box, or alternatively: display the inner error?
Thanks in advance and have a great day!

@KingdaCrash Hi, thanks for reporting this!
Please give me a couple of days to recreate that use case in my sample app.
There really could be some unexpected behavior.

@KingdaCrash After some research I can confirm this is a bug.
Error Messages are not shown for FormGroups at the moment.
I'm already working on a patch.

Bug is caused by the this current Angular behavior:
https://github.com/angular/angular/issues/10530


cis for ubuntu 22.04

can we use this repo for ubuntu 22.04? Or will you write new cis for ubuntu 22.04?

Currently there are no dedicated cis benchmarks for 22.04. As soon as these appear there will be a new version for 22.04. This role for 20.04 should work with 22.04 though. In any case, try them first on a test system!

OK thanks. I'm calling it. it works but we need to create ansible directory. Other than that, I didn't see any problems.


Computation ID

The same server may be used for different computation, each computation must have a unique identifier of some sort that clients provide when they connect. Communication is limited to within the same computation. Also, party ids are unique within the computation but not globally, must reuse the party ids across computations so that every computation has ids from 1 to n.

Create a webpage where people can create computation by providing the number of parties. When computation is created an ID must be displayed to user.
Use id in jiff.js (client) when connecting, some server code must be moved from .on('connection') to when client sends computation id.


copyright year update

Hmm. Should we really change copyright year in all files every year? As far as I can tell, setting copyright year to the year a file was created once and not changing ever again it is fine.
I've made a minimal change in PR #837 to accept 2023 alongside 2022. Replace
    if(NOT (header STREQUAL COPYRIGHT_HEADER))

with
    string(REPLACE "2022" "2023" COPYRIGHT_HEADER_23 "${COPYRIGHT_HEADER}")

    if(NOT ((header STREQUAL COPYRIGHT_HEADER) OR (header STREQUAL COPYRIGHT_HEADER_23)))

@yperbasis 👌 your suggestion is sensible, let's drop this.
I thought that it needs to be the current year, and needs to match with the product license, but after reading this: https://stackoverflow.com/a/20911485/1009546 I feel it makes little to no sense.


fix wrong matchbox_socket feature name

according to https://github.com/johanhelsing/matchbox/commit/c11528f9d8667c6e7b41def3923479b22fb8ef8a

Thank you!
I'm out traveling atm but will have a look asap.

So I wanted to stabilise the dependency and also make sure to upgrade the server so i started another PR over here. but I ran into another problem that I'm waiting for to be resolved before I can merge.

https://github.com/tedsteen/nes-bundler/pull/24 is merged FYI, thanks again for bringing it to my attention!


Create a CNAME record from the public DNS name

I am not sure I understand how to follow the "Create a CNAME record from the public DNS name" steps are trying to share.
I understand that a CNAME would be better than using an A Record, however, I am not sure how to get the "dynamically assigned DNS name" of the Application Gateway using the PowerShell command provided, or by looking in the portal at the Application Gateway.
Does this even apply since we set "Allocation Method" to "Static" in the above "Create a public IP address for the front-end configuration" section?

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

ID: 37c1f253-44c2-bd07-4c74-9d4c77c45e6e
Version Independent ID: 281ce98c-115b-3c39-52b7-3df95dfd8b52
Content: Use API Management in a virtual network with Azure Application Gateway - Azure API Management
Content Source: articles/api-management/api-management-howto-integrate-internal-vnet-appgateway.md
Service: api-management
GitHub Login: @dlepow
Microsoft Alias: danlep

@cramsey86 Thank you for your feedback! We will review and update as appropriate.

@cramsey86 , yes you are correct. You do not have to follow the CNAME creation step as this doc has already been updated to use App gateway v2 which uses Static IP.
Refer : https://docs.microsoft.com/en-us/azure/application-gateway/application-gateway-faq#does-the-ip-or-dns-name-change-over-the-lifetime-of-the-application-gateway
So you can use A record in this case as the static IP won't change. I will assign this issue to author to make the necessary changes.
@dlepow , looks like the CNAME creation was not updated. The doc has already been updated to use Application gateway v2 which uses static IP, so we don't need to retrieve the IP address and create CNAME record in this case. Please review this and update as appropriate.


Could not initialise SlackRtmClient, errors out with TimeoutException

I get following error while tryign to send a message to a channel,
/api/rtm.start
[WARN] [01/12/2017 03:31:22.477] [slack-akka.actor.default-dispatcher-4] [akka.actor.ActorSystemImpl(slack)] Illegal response header: Illegal 'expires' header: Illegal weekday in date 1997-07-26T05:00:00: is 'Mon' but should be 'Sat'
Exception in thread "main" java.util.concurrent.TimeoutException: Futures timed out after [5 seconds]
	at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:255)
	at scala.concurrent.impl.Promise$DefaultPromise.result(Promise.scala:259)
	at scala.concurrent.Await$.$anonfun$result$1(package.scala:190)
	at scala.concurrent.BlockContext$DefaultBlockContext$.blockOn(BlockContext.scala:53)
	at scala.concurrent.Await$.result(package.scala:123)
	at slack.api.BlockingSlackApiClient.resolve(BlockingSlackApiClient.scala:366)
	at slack.api.BlockingSlackApiClient.startRealTimeMessageSession(BlockingSlackApiClient.scala:294)
	at slack.rtm.SlackRtmClient.<init>(SlackRtmClient.scala:31)
	at slack.rtm.SlackRtmClient$.apply(SlackRtmClient.scala:22)
	at com.flume.channel.EventNotifier$.doSomething(EventNotifier.scala:22)
	at com.flume.channel.EventNotifier$.main(EventNotifier.scala:35)
	at com.flume.channel.EventNotifier.main(EventNotifier.scala)

My code to send a message is,
package com.flume.channel

import akka.actor.ActorSystem
import com.typesafe.config.ConfigFactory
import slack.rtm.SlackRtmClient

import scala.concurrent.ExecutionContext.Implicits.global
object EventNotifier {
  implicit val system = ActorSystem("slack")

  val config = ConfigFactory.load()
  val token = config.getString("api.key")

  def doSomething(): Unit = {
    val client = SlackRtmClient(token = token, duration = 5.seconds)
    val state = client.state

    val chanId = state.getChannelIdForName("test-bytecode").get
    client.sendMessage(chanId, "test-bytecode!")

    client.onMessage { message =>
      println(s"User: ${message.user}, Message: ${message.text}")
    }

  }

  def main(args: Array[String]): Unit = {
    doSomething()
  }
}

I could list the channels though,
class Test {
  val config = ConfigFactory.load()
  val token = config.getString("api.key")
  val client = SlackApiClient(token)

  implicit val system = ActorSystem("slack")

  def main(args: Array[String]): Unit = {
    val res = client.listChannels()

    Thread.sleep(1000)

    res.onComplete {
      case Success(channels) =>  {
        println(channels)
      }
      case Failure(err) => {
        println(err)
      }
    }
  }
}

sbt
scalaVersion := "2.12.1"

libraryDependencies += "com.github.gilbertw1" %% "slack-scala-client" % "0.2.0"

libraryDependencies += "com.typesafe" % "config" % "1.3.1"

I'm stuck on this as well.

@martinb3 I ended up using scala-slack, (scala-check is inactive since 2015, but solved my problem :) )

Hi, thanks for reporting this! Have you tried increasing the timeout?
SlackRtmClient(token, 10.seconds)

I'm wondering if it's a network latency issue, however I don't think that'd be the case if you could successfully list channels.

Howdy! I get stuck on this:
**Illegal 'expires' header: Illegal weekday in date 1997-07-26T05:00:00: is 'Mon' but should be 'Sat'**

I waited a long time, but this error hung all the threads involved in delivering messages to actors.

Hey, that isn't actually a fatal error, it's just a warning that gets logged by Akka http (it can be disabled in the Akka configuration). You'll probably notice that warning on any successful requests as well.
It seems as though the underlying cause is a timeout waiting on a response from the slack API, however I can't be 100% certain that's the case or not. That's why I was wondering if increasing the timeout would produce any results.

Hi @gilbertw1 -- I'll open a different issue then; mine's definitely stuck, but it emits a different error after the warning RE: illegal headers.


Differentiate between "nextButton" and "previousButton" behaviors

Hey!
I want to ask if there is any way to have different functionalities for next and prev buttons, as using the page handler is not useful in this case.
For example, I have the following sequence of images: [0, 1, 2 , 3] and I'm in page 1, if I click ">" my previous page will be 0, but if I click "<" to go to "0", I want my previous page to be 1. Is that possible?

So if you end up on page 1, you want to know whether it was the result of coming from page 0 or coming from page 2? I think your best bet would be to keep track of whatever page you're currently on, so when you get the page event, you can compare it with your cached page number.
Let me know if I'm not understanding the scenario correctly!

Exactly.
Right now, I'm binding the previous and next button independently with a function that I pass the index to, so if I click "next" it will pass viewer.currentPage() - 1 and if I click "prev" the index will be viewer.currentPage() + 1
That is kind of a workaround implementation but I wonder if the viewer already handles this somewhere!

You can call viewer.goToNextPage() and viewer.goToPreviousPage(). The default buttons also do the same thing.


Trashbag stuff

Add dumping sound.
Fix them (comp ref for disposals).
Add some preliminary support to fix the lerp (I think area pickup needs full predicting for it to work correctly).

Requires https://github.com/space-wizards/RobustToolbox/pull/4186
:cl:

fix: Fix trash bags.

works for me


eth_bridge::everything e2e test is flaky

For example, in https://ci.heliax.dev/anoma/anoma/4249/3/7 which was for commit https://github.com/anoma/anoma/pull/1096/commits/f8d92f70c873b51e5d95406529442cbf9ca4c90e in https://github.com/anoma/anoma/pull/1096 , the test failed with an error like
The application panicked (crashed).
Message:  called `Result::unwrap()` on an `Err` value:
   0: Reached a timeout for expect type of command
       Needle: Transaction accepted

Location:
   tests/src/e2e/setup.rs:471

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1: __libc_start_main<unknown>
      at <unknown source file>:<unknown line>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.
Location: tests/src/e2e/eth_bridge_tests.rs:80

Running the test locally passes. This needs investigation.

Another flake with rexpect - https://ci.heliax.dev/anoma/anoma/4309/2/7


config file

Debian 10
I make file (~/.config/youtube-dl/config) with my configuration - and yt-dlp dont use it :( (yt-dlp "youtubeURL") After that I make file (/etc/youtube-dl.conf) with same configuration - yt-dlp dont use it again :(
when i use yt-dlp with key "yt-dlp youtubeURL --config-location ~/.config/youtube-dl/config" - all going ok
Is it some error ? Should yt-dlp work with config on default path ??? or I should use it everytime with key --config-location???

The correct path for yt-dlp is ~/.config/yt-dlp/config

The correct path for yt-dlp is ~/.config/yt-dlp/config

thanks a lot - that's worked.
https://github.com/ytdl-org/youtube-dl#configuration - in this section of readme we have wrong information...

You are looking in the description of the wrong program, youtube-dl is not yt-dlp.
See https://github.com/yt-dlp/yt-dlp#configuration


Update guideline on syntax highlighting fixes

@arfon Updates the contribution guidelines as discussed in #2284.

:+1:


Support satellite data

https://neo.gsfc.nasa.gov/view.php?datasetId=MODAL2_M_AER_OD

[ ] Download dataset
[ ] Preprocess CSV data
[ ] Create world sized grid
[ ] Merge the CSV with the grid


Can I deploy mx-maskrcnn in the ubuntu14.04？

i use cuda-7.0.
when i make， fatal error :cuda_fp16.h: No such file or directory.
when i python train_mnist.py --gpus 0 --network lenet , OSError: libcudart.so.8.0: cannot open shared object file : No such file or directory.

Yes, you can. I did it with cuda-8.0.


request: Dempa/Micomsoft XE-1AP support

BlueRetro firmware version
2024-04-24
BlueRetro firmware specification
HW1
BlueRetro firmware variant
Universal
BlueRetro hardware type
External adapter dongle (1 port only)
Manufacturer
RetroScale
System used
SEGA MegaDrive Genesis
Bluetooth controller brand & name
No response
What is problem? (only list ONE problem per report)
The Dempa/Micomsoft XE-1AP was one of the earliest analog joypads, with multi-platform support. Many Sega MegaDrive and PC-Engine games supported it. For a complete list, check here:
https://segaretro.org/XE-1_AP
https://github.com/pce-devel/PCE_Controller_Info
Unfortunately, this controller protocol is not supported by BlueRetro yet.
What did you expect to happen?
Support for the XE-1_AP to be added as the analog mode for the Sega MegaDrive and PC-Engine.
To switch between the digital and analog modes, the PS/XBox button could be used, i.e., mimicking the behavior of the original PS1/PS2 controllers "analog" button.
Attach files like logs or Bluetooth traces here
No response

This feature would be great!


Requests / bugs

Hi! Really liking this tool, thanks a lot for making it. Just a few observations:

It would be great if the topic folders would be numbered like in the content overview (for example> '1. Overview', '2. Subtopic X', etc.).

When exercise files are already in the folder, it will download them again. Maybe have the option to skip already downloaded files.

If a video has only been partially downloaded (maybe due to an error), it will skip it. I don't know if you have a good way to compare filesizes so that incomplete videos will be redownloaded.

I am downloading the course 'Deke's Techniques' and the ' in the course name threw n error. It tried a few things and it finally worked with 'Deke-s techniques'.

Thanks!

Nice catch....I will work on them in my free time

Agreed with @jttttttttt . I also missed those features he mentioned. Apart from that, It works just fine, and It seems to be the only "linkedin downloader" around that currently works! Nice work.
I'll add the features I miss to this thread as well:

Possibility of downloading multiple courses (maybe collections or saved lists?)

Have username and pass saved on config file to avoid re-typing

I will try to help on implementing some of these features.
To start from, @knowbee , what do you think of having a json config file to store some preferences? somethig like ~/.llvd-conf.json
That could be used to store "encrypted" user and pass, cookies info, folder names format, download dir...
I could try to get that in place. Not sure with Windows and Mac though

config file to store some preference

I think it is a great idea, but we would have to make sure it is compatible across multiple platforms...Windows sometimes is unpredictable when you as a developer are only using Mac Os or Linux based OS

Requested features can be found in this version
https://pypi.org/project/llvd/2.2.1/


Helm install dapr fails when running e2e test locally

In what area(s)?

/area test-and-release

What version of Dapr?

1.1.x
1.0.x

Expected Behavior

Actual Behavior

Error: validation: chart.metadata.version "DAPR_VERSION_HELM" is invalid
make: *** [docker-deploy-k8s] Error 1
Steps to Reproduce the Problem

make docker-deploy-k8s
Release Note

RELEASE NOTE:
FIX helm install dapr fails when running e2e test locally

/assign

Because DAPR_VERSION_HELM and DAPR_VERSION_TAG will not be replaced when e2e is executed locally.

Resolved at https://github.com/dapr/dapr/pull/4334


Dec 1206

The problem was that items were not getting indexed after media was being uploaded.
This corrects that.

Coverage increased (+0.003%) to 95.698% when pulling 97c7d186a268637bb117dec7ed9db74e203ec134 on DEC-1206 into 4790fac75c9eab6a6506e4a626b2613b793d6482 on master.

Coverage increased (+0.004%) to 95.699% when pulling d80240dd7f6c677da3de048051dd33c4a9102253 on DEC-1206 into 4790fac75c9eab6a6506e4a626b2613b793d6482 on master.

Coverage increased (+0.003%) to 95.698% when pulling 29f8444738d4cfe892b1edb2c16ac00bda2fc2e1 on DEC-1206 into 4790fac75c9eab6a6506e4a626b2613b793d6482 on master.

Coverage increased (+0.003%) to 95.698% when pulling 9fee264e563d177667305c1034d3ea16aec388eb on DEC-1206 into 4790fac75c9eab6a6506e4a626b2613b793d6482 on master.

Coverage increased (+0.003%) to 95.713% when pulling 1cbc094b71f1d642f3eae54c6cdc83824d8942a0 on DEC-1206 into f167946e59d1aa33a7b842aeb5f632282871478a on master.


Simulator speedup using texture

Hi! Thank you for helping out with Embedded Graphics development! Please:

[ ] Check that you've added passing tests and documentation
[ ] Add a simulator example(s) where applicable
[ ] Add a CHANGELOG.md entry in the Unreleased section under the appropriate heading (Added, Fixed, etc)
[ ] Run rustfmt on the project
[ ] Run ./build.sh (Linux/macOS only) and make sure it passes. If you use Windows, check that CI passes once you've opened the PR.

PR description
This PR tries to accelerate drawing in the simulator. See PR #190 for additional information.
Instead of drawing to the window canvas directly the window is now updated by creating a texture first. The data of this texture is manipulated directly before copying it to the window canvas. The drawing code is WIP and might not work correctly on big endian systems.
Additional speed improvements are possible, the texture is, for example, currently recreated each frame.
@jacobrosenthal Could you test if this version of the simulator works on your system and if you see any improvements in performance?

Code itself looks good, as do the performance numbers. Only two things outstanding as far as I can see:

This was supposed to be a draft PR, but I accidentally created a normal one. There are some improvements I like to make to the code before it's merged.

Oops! Add a comment or re-request my review when you're done 🙂


Tutorials

Hi.  Do you have any articles on this that you can share with me?

@KeithNdhlovu thanks for this. I myself have a project I need to implement however the environment differs as I have non-laravel apps to consider. I look forward to your articles and insights.


⚠ Bofrost.lu has degraded performance

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

HTTP code: 200
Response time: 1596 ms

Resolved: Bofrost.lu performance has improved in 88eeb5f after 13 minutes.


Add follows and increase file size in EE genesis #576 #612

Resolves #576, #612
Added pin and block events to EE genesis, which are similar to pin and block actions of social-contract.

@zxcat no, it is not ok. thanks.


Update request: obs-studio 29.1.3 → 30.0

Package name: obs-studio
Latest released version: 30.0

Current version on the unstable channel: 29.1.3
Current version on the stable/release channel: 29.0.2

[x] Checked the nixpkgs pull requests

Notify maintainers

@jb55 @MP2E @V @miangraham

Note for maintainers: Please tag this issue in your PR.

Closed via https://github.com/NixOS/nixpkgs/pull/275544


Few Kuro 2 .dat files show warning when decompiling/disassembling

Opening a new issue as a PSA to anyone working with Kuro 2:
While adding new instruction keys to work with the Kuro 2 .dat files, I came across this warning where if you try to decompile/disassemble a .dat file, it will show "WARNING: Something unexpected happening at address " followed by the memory address where the issue occurred. After discussion on the discord, this seems to be due to unreachable code being present in these files. I have tried both decompilation and disassembling, yet the issue persists. Recompilation happens without issue though, so I do not think it greatly impacts the working of the game.
List of files that show one warning:
c0000_ev.dat
c1401.dat
c2000.dat
system.dat
t6000.dat
List of files that show two warnings:
card_battler.dat
jackpot_gacha.dat

This issue is actually described here with more details https://github.com/nnguyen259/KuroTools/issues/4