DisableRedirectHandling in JenkinsHttpClient

When calling a GET for job//<build#>/toggleLogKeep, I get an exception thrown:
org.apache.http.client.CircularRedirectException: Circular redirect to 'https:///job//<build#>/toggleLogKeep/api/'
If I edit the source code in JenkinsHttpClient.addAuthentication(HttpClientBuilder builder, URI uri, String username, String password) to add HttpClientBuilder.disableRedirectHandling(), this prevents the Exception from being thrown and allows me to toggle the "Keep build forever" functionality.

But that means your environment makes such redirection...and not the api. The api only follows the redirect...Apart from that you could also offer a patch to improve that handling in java-client-api ?

True, the Jenkins API is causing the cyclical redirect. Updating the HttpClientBuilder in the java-client-api to ignore redirects will prevent the exception from being thrown in these situations. Opened #266 for this fix.


no transition at end of loop

Thanks for your slider!
Issue description:
Using a slider with the loop setting enabled - click the next/prev buttons, the slider will eventually reset to the original position when it nears the end index - though when this happens it doesn't animate/transition.
Steps:

create defualt slider with loop enabled
click prev or next until the slider jumps without animating

(I can see that the event transitionStart isn't being triggered in this situation, only the indexChanged event is - if this helps).
Demo link/slider setting:
https://codepen.io/noideawhatimdoing/pen/GBNQPa
Tiny-slider version:
2.8.2
Browser name && version:
Chome: Version 67.0.3396.99
Safari: Version 11.1.1 (11605.2.8)
OS name && version:
OSX El capitan, version 10.11.6

Seems you didn't include tiny-slider.css in your demo.
Make sure you do that first.

Apologies - i've added it but the issue persists

Try to remove the style .my-slider li { float: left; } then the issue should be disappeared.

perfect - thank you very much for your help and quick response :)


E2E: go workflow_dispatch main SLSA3 config-noldflags

Repo: https://github.com/ianlewis/example-package/tree/main
Run: https://github.com/ianlewis/example-package/actions/runs/2478351625
Workflow name: go workflow_dispatch main SLSA3 config-noldflags
Workflow file: https://github.com/ianlewis/example-package/tree/main/.github/workflows/e2e.go.workflow_dispatch.main.config-noldflags.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Sat Jun 11 01:37:36 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/2478518614
Workflow name: go workflow_dispatch main SLSA3 config-noldflags
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.workflow_dispatch.main.config-noldflags.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Sat Jun 11 03:01:21 UTC 2022
Tests are passing now. Closing this issue.


feat: Add DWO icon for OperatorHub

What does this PR do?
Adds an operator icon for DWO (when being installed from OLM or from OperatorHub)
What issues does this PR fix or reference?
Fix #892
Is it tested? How?
To manually test this:

Start up an OpenShift cluster and log in to it
Set the DWO_BUNDLE_IMG and DWO_INDEX_IMG environment variables to point to your own quay.io repositories
To get things to work, I also had to remove the updateStrategy field from catalog-source.yaml

apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  name: devworkspace-operator-catalog
  namespace: openshift-marketplace
spec:
  sourceType: grpc
  image: quay.io/devfile/devworkspace-operator-index:next
  publisher: Red Hat
  displayName: DevWorkspace Operator Catalog
- updateStrategy:
-   registryPoll:
-     interval: 1d

run make generate_olm_bundle_yaml build_bundle_and_index register_catalogsource
Open up the OpenShift console, go to the OperatorHub page, search for devworkspace-operator and ensure the icon is present.

PR Checklist

[ ] E2E tests pass (when PR is ready, comment /test v8-devworkspace-operator-e2e, v8-che-happy-path to trigger)

[ ] v8-devworkspace-operator-e2e: DevWorkspace e2e test
[ ] v8-che-happy-path: Happy path for verification integration with Che

@amisevsk here's how the icon looks compared to other icons:

Bigger scale:

And here's how it looks with the Dark Reader extension installed:

The arrow in the logo is actually a dark grey, so it is still visible on a black background:

@amisevsk @ibuziuk Please ignore the latest push - I used the 64x64 png icon and it's too low resolution, doesn't look good at larger scales.

I modified the patch to use the png icon instead of the SVG. Here's how it looks:
100% scale in browser

150% scale in browser

More-info view at 100% scale:

150% scale:

With dark-reader enabled:

The icon is 256X256 px

+1 great job thank you for meticulous verification

My pleasure :)
I do recommend either you or Angel test out this patch just for sanity-check reasons, as I was having trouble getting the base64 encoded image data to work correctly due to its long length.

sorry, looks like I jump the gun with merging the PR, the icon seems to be broken on dogfooding -


Perform regression testing of the ibm.com Library v1.14.0 release - Prod QA testing

User Story

As a [user role below]:
DDS engineering lead and Offering Manager

I need to:
ensure the changes included in the v1.14.0  release do not adversely affect the existing code

so that I can:
ensure the quality of the ibm.com adopter experience is maintained

Additional information

Contents of the v1.14.0 release
The regression testing is currently scheduled from Dec 7 - 15.  At least 2 rounds of regression testing should be performed during these dates.
React (Storybook)
React (NextJS)
Vanilla (Storybook) - Limited testing of the Tier 1 browsers
Web Components Storybook

Acceptance criteria

[ ] All regression tests are executed
[ ] Defects are created and retested

Prod QA testing is 45 - 50% complete.

The first round of Prod QA and accessibility testing was finished on Tuesday, Dec 8.  The 4 bugs that were identified were fixed.  The second release candidate was created at the end of the day Tuesday US.  Praveen and Ram started their testing and are 50% finished on Wednesday morning US, Dec 9.

10 percent of the regression testing is remaining.  Praveen will Slack the team if he finds any issues that have to be reviewed.  A meeting will be scheduled to review the issues on Friday AM US, if needed.  Otherwise, Praveen will also let us know that the regression testing cycle can be closed if no new bugs are found.

Hi Team,
We have completed regression testing on,
React : https://ibmdotcom-react-staging.mybluemix.net
Web Components: https://ibmdotcom-web-components-staging.mybluemix.net
Nextjs : http://ibmdotcom-nextjs-staging.mybluemix.net
No new bugs. (apart from the Open / known issues on the board.)
Thanks & Regards,
Praveen


[WIP]Add solve dispatch for all supported optimization libraries

I am not sure how to add these to the extras in Project.toml?
Also how do you want handle QuadDIRECT, it is not available in the general registry?

QuadDIRECT? Just ignore testing it for now, and we can ask @timholy if it could get into the general registry. Trying to use a separate registry for one package in testing did not work out well in the past, so I don't think we should try that again.
For the extras, just add them as test dependencies.

Looks like we missed Evolutionary. @abhigupta768 do a quick PR for that and then let's move to expanding the AD support.


Always assumes oldest-possible package; should assume latest-possible?

Given each dependency specification, it looks like the code fetches the oldest possible version of each package. For example<EMAIL_ADDRESS>specifies apache-md5 ^1.0.6. Since the latest version of apache-md5 is 1.1.2, that's the version that npm would fetch. However, the generated graph shows<EMAIL_ADDRESS>I'll suggest that the graph should use the version that npm would fetch (I don't even know if there's a way to tell npm "fetch the oldest possible version of each dependency").

@broofa - thanks for this awesome project! I find it super handy. 🥇
I'm also experiencing this issue. To fix it however, I suppose it would increase the download size, because you'd also have to download the manifest for each package.
Looking at the network traffic in my debugger, it appears that npmgraph relies on a package mirror on https://npmjs.cf/ . My guess is that this mirror is static, and there isn't a way to query it dynamically. Ideally you'd like to query by semver, like ^1.
Take d3-format as an example. Querying for a specific version 1.3.2 the download size is 1.9kb. A query for the entire history is 65kb.
Not sure if people want the tradeoff?

I'm not sure about the limitations of npmjs.cf .vs. npmjs.org.  The reason I use npmjs.cf is that it supports CORS (and HTTP2), so requests can be made directly from the browser rather than having to go through a proxy of some sort.
I'm happy to take a PR if someone wants to look into this.  I don't have time at the moment, however.


Peer Client Requirement

Stakeholders

Developer who wants to set up a worker network, receiving side

Story

set up a fully connected connection graph among all workers that are whitelisted on the parentchain
Keeps the connection to specified peers open, such that it does not need to be reopened all the time ( client side)
Upon a new peer joining the network, the peer-handler add this peer to its network and keep the connection open.

Requirements

Keeps ws connection to specified peers open
Is able to reconnect upon unexpected closing
Can receive messages from peers
The amount of thread creation in the enclave can be limited (i.e. not every received message will create new thread in the enclave by default).
can track parentchain peer whitelist and modify the connection graph accordingly (add and remove peers)
verifies simple  mutual RA indirectly ( knows the peers' signing key from the pc whitelist)

Optional

TLS

Bridge Requirements (for peer connection client and server):

send an async call to all peers and wait for acknowledgements

counting the number of received acknowledgements must be possible, we have a threshold of # of acknowledgements we need to reach, in order to continue

react to async calls from other peers and give answer

Closing in favour of #659


Particles Translation animation lags.

I am trying to do explosion animation. It's working fine but the particles moving animation(or translation) lags. It's not smooth.

As explained on the project description, this library is meant to be used on standard views, and therefore is drawing on a canvas.
There are inherent performance limitations when you draw on a canvas, which depend on the amount of particles you are drawing.
If you want smooth animations with many particles you need to use a proper rendering engine like OpenGL.


No reaction when create teamwork-project

maybe it is something wrong with my gitURL?
http://code.xxxx.com/xxxx/StarUML.git
pasted from my project on gitlab

mine's sticking on this step and I didn't any solution to figure out why!

The same here,

The Problems still seems to exist - anyone got a solution?


code sign errors while building the app

Question Subject
Hi there, I'm taking over a project that uses fastlane to submit app for review. I'm new to fastlane. I ran the CI job and see below errors:
Check dependencies
Code Signing Error: The operation couldn’t be completed. Unable to log in with account<EMAIL_ADDRESS>The login details for account<EMAIL_ADDRESS>were rejected.
Code Signing Error: Provisioning profile "iOS Team Provisioning Profile: com.xuanliu.app.APIV1" doesn't include signing certificate "iPhone Developer: Xuan Liu (M827MT3LNY)".
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.4'

I don't know why it's rejected. I tried to save the password via
fastlane fastlane-credentials add --username<EMAIL_ADDRESS>[✔] 🚀
Password: ************
security: SecKeychainAddInternetPassword <NULL>: User interaction is not allowed.
Credential xuanliu@gmail.com:************ added to keychain.

but it still fails. Please help how do I fix it?
UPDATE:
I managed to find the raw xcodebuild cmd and run:

xcodebuild -workspace BrandedApp.xcworkspace -scheme BrandedApp -configuration Release -sdk 'iphoneos' -destination 'generic/platform=iOS' -archivePath build/archive/BrandedApp_9943\ 2018-11-29\ 16.46.49.xcarchive -derivedDataPath 'build'  -allowProvisioningUpdates clean archive

it gives the same error. Looks like xcodebuild throw the error.
However, If I open Xcode and go to account tab, it seems fine. The cert is in key chain as well. How can I fix it? Thanks

Please provide more information - we need the whole build output and your environment information. The "bug" issue template normally asks for all the right things we need to be able to respond to issues. Thanks.

Hi there, I don't think it's a bug so far; more like a Xcode issue, because when I solely extract the xcodebuild cmd that fastlane uses, and run it under the folder, it gives the same error:
Check dependencies
Code Signing Error: The operation couldn’t be completed. Unable to log in with account<EMAIL_ADDRESS>The login details for account<EMAIL_ADDRESS>were rejected.
Code Signing Error: Provisioning profile "iOS Team Provisioning Profile: com.xuanliu.app.APIV1" doesn't include signing certificate "iPhone Developer: Xuan Liu (M827MT3LNY)".
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.4'

so it more looks like xcode throw this error, not fastlane. But I don't know how to fix it.
can you give some insights? I already opened Xcode and logged in my account, everything seems ok.

anyway here's the output:
▸ Compiling Pods_BrandedApp_vers.c
▸ Compiling Pods-BrandedApp-dummy.m
▸ Compiling Pods_BrandedApp_vers.c
▸ Compiling Pods-BrandedApp-dummy.m
▸ Copying Pods-BrandedApp-umbrella.h
▸ Touching Pods_BrandedApp.framework
▸ Building BrandedApp/BrandedApp [Release]
▸ Check Dependencies
** ARCHIVE FAILED **

The following build commands failed:
Check dependencies
(1 failure)
[14:44:18]: Exit status: 65

+---------------+-------------------------+
|            Build environment            |
+---------------+-------------------------+
| xcode_path    | /Applications/Xcode.app |
| gym_version   | 2.96.1                  |
| export_method | app-store               |
| sdk           | iPhoneOS11.4.sdk        |
+---------------+-------------------------+

[14:44:18]: ▸ Check dependencies
[14:44:18]: ▸ Code Signing Error: The operation couldn’t be completed. Unable to log in with account<EMAIL_ADDRESS>The login details for account<EMAIL_ADDRESS>were rejected.
[14:44:18]: ▸ Code Signing Error: No signing certificate "iOS Development" found:  No "iOS Development" signing certificate matching team ID "7JR7EMM59C" with a private key was found.
[14:44:18]: ▸ Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.4'
[14:44:18]:
[14:44:18]: ⬆  Check out the few lines of raw `xcodebuild` output above for potential hints on how to solve this error
[14:44:18]: 📋  For the complete and more detailed error log, check the full log at:
[14:44:18]: 📋  /Users/Shared/Jenkins2/workspace/BA_BUILD_ios_appstore/build/log/BrandedApp-BrandedApp.log
[14:44:18]:
[14:44:18]: Looks like fastlane ran into a build/archive error with your project
[14:44:18]: It's hard to tell what's causing the error, so we wrote some guides on how
[14:44:18]: to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
[14:44:18]: Before submitting an issue on GitHub, please follow the guide above and make
[14:44:18]: sure your project is set up correctly.
[14:44:18]: fastlane uses `xcodebuild` commands to generate your binary, you can see the
[14:44:18]: the full commands printed out in yellow in the above log.
[14:44:18]: Make sure to inspect the output above, as usually you'll find more error information there
[14:44:18]:
+------------------+----------------------------------+
|                    Lane Context                     |
+------------------+----------------------------------+
| DEFAULT_PLATFORM | ios                              |
| PLATFORM_NAME    | ios                              |
| LANE_NAME        | ios build_and_upload_to_appstore |
+------------------+----------------------------------+
[14:44:18]: Error building the application - see the log above

+------+-----------------------------------+-------------+
|                    fastlane summary                    |
+------+-----------------------------------+-------------+
| Step | Action                            | Time (in s) |
+------+-----------------------------------+-------------+
| 1    | Verifying fastlane version        | 0           |
| 2    | default_platform                  | 0           |
| 3    | git rev-list HEAD --count         | 0           |
| 4    | update_info_plist                 | 0           |
| 5    | Switch to ios appstore_build lane | 0           |
| 💥   | gym                               | 232         |
+------+-----------------------------------+-------------+

[14:44:18]: fastlane finished with errors

fastlane env:
[08:46:32]: Generating fastlane environment output, this might take a few seconds...
🚫 fastlane environment 🚫

### Stack

| Key                         | Value                                       |
| --------------------------- | ------------------------------------------- |
| OS                          | 10.13.6                                     |
| Ruby                        | 2.3.3                                       |
| Bundler?                    | true                                        |
| Git                         | git version 2.15.2 (Apple Git-101.1)        |
| Installation Source         | ~/.rvm/gems/ruby-2.3.3/bin/fastlane         |
| Host                        | Mac OS X 10.13.6 (17G65)                    |
| Ruby Lib Dir                | ~/.rvm/rubies/ruby-2.3.3/lib                |
| OpenSSL Version             | OpenSSL 1.0.2o  27 Mar 2018                 |
| Is contained                | false                                       |
| Is homebrew                 | false                                       |
| Is installed via Fabric.app | false                                       |
| Xcode Path                  | /Applications/Xcode.app/Contents/Developer/ |
| Xcode Version               | 9.4.1                                       |

### System Locale

| Variable | Value       |   |
| -------- | ----------- | - |
| LANG     | en_US.UTF-8 | ✅ |
| LC_ALL   | en_US.UTF-8 | ✅ |
| LANGUAGE |             |   |

### fastlane files:

`./Fastfile`

```ruby
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "1.94.0"

### fastlane gems

| Gem      | Version | Update-Status      |
| -------- | ------- | ------------------ |
| fastlane | 2.96.1  | 🚫 Update available |
| deliver  | 2.0.1   | ✅ Up-To-Date       |

### Loaded fastlane plugins:

**No plugins Loaded**

Loaded gems

| Gem                       | Version      |
| ------------------------- | ------------ |
| did_you_mean              | 1.0.0        |
| executable-hooks          | 1.4.2        |
| bundler-unload            | 1.0.2        |
| rubygems-bundler          | 1.4.4        |
| bundler                   | 1.16.2       |
| io-console                | 0.4.5        |
| CFPropertyList            | 2.3.6        |
| concurrent-ruby           | 1.0.5        |
| i18n                      | 1.0.1        |
| minitest                  | 5.11.3       |
| thread_safe               | 0.3.6        |
| tzinfo                    | 1.2.5        |
| activesupport             | 5.2.0        |
| public_suffix             | 2.0.5        |
| addressable               | 2.5.2        |
| atomos                    | 0.1.2        |
| babosa                    | 1.0.2        |
| claide                    | 1.0.2        |
| clamp                     | 0.6.5        |
| colored                   | 1.2          |
| colored2                  | 3.1.2        |
| highline                  | 1.7.10       |
| commander                 | 4.4.5        |
| commander-fastlane        | 4.4.6        |
| declarative               | 0.0.10       |
| declarative-option        | 0.1.0        |
| fastimage                 | 2.1.3        |
| dotenv                    | 2.4.0        |
| emoji_regex               | 0.1.1        |
| excon                     | 0.62.0       |
| multipart-post            | 2.0.0        |
| faraday                   | 0.15.1       |
| unf_ext                   | <IP_ADDRESS>      |
| unf                       | 0.1.4        |
| domain_name               | 0.5.20180417 |
| http-cookie               | 1.0.3        |
| faraday-cookie_jar        | 0.0.6        |
| faraday_middleware        | 0.12.2       |
| gh_inspector              | 1.1.3        |
| jwt                       | 2.1.0        |
| little-plugger            | 1.1.4        |
| multi_json                | 1.13.1       |
| logging                   | 2.2.2        |
| memoist                   | 0.16.0       |
| os                        | 0.9.6        |
| signet                    | 0.8.1        |
| googleauth                | 0.6.2        |
| httpclient                | 2.8.3        |
| mime-types-data           | 3.2016.0521  |
| mime-types                | 3.1          |
| uber                      | 0.1.0        |
| representable             | 3.0.4        |
| retriable                 | 3.1.1        |
| google-api-client         | 0.21.2       |
| json                      | 2.1.0        |
| mini_magick               | 4.5.1        |
| multi_xml                 | 0.6.0        |
| plist                     | 3.4.0        |
| rubyzip                   | 1.2.1        |
| security                  | 0.1.3        |
| naturally                 | 2.1.0        |
| simctl                    | 1.6.4        |
| slack-notifier            | 2.3.2        |
| terminal-notifier         | 1.8.0        |
| unicode-display_width     | 1.3.2        |
| terminal-table            | 1.8.0        |
| tty-screen                | 0.6.4        |
| tty-cursor                | 0.5.0        |
| tty-spinner               | 0.8.0        |
| word_wrap                 | 1.0.0        |
| nanaimo                   | 0.2.5        |
| xcodeproj                 | 1.5.9        |
| rouge                     | 2.0.7        |
| xcpretty                  | 0.2.8        |
| xcpretty-travis-formatter | 1.0.0        |
| houston                   | 2.2.4        |
| mini_portile2             | 2.3.0        |
| nokogiri                  | 1.8.2        |
| slather                   | 2.4.5        |

If I run bundle update fastlane, it gives
Jenkins_Ning_Yi:fastlane jenkins2$ bundle update fastlane
Unable to find a spec satisfying xcpretty (>= 0) in the set. Perhaps the lockfile is corrupted?

I checked the raw xcodebuild log, it's weird that it says archive succeeded, despite some logging issues in the middle, but I don't know why fastlane still says failed:
Signing Identity:     "iPhone Developer: Xuan Liu (M827MT3LNY)"
Provisioning Profile: "iOS Team Provisioning Profile: com.appannie.app.APIV1"
                      (305a5d29-0e6c-4408-b666-2083eb8d5669)

    /usr/bin/codesign --force --sign 59394104F8BE65435E4324129B5BC7F7D7040282 --entitlements /Users/Shared/Jenkins2/workspace/BA_BUILD_ios_appstore/build/Build/Intermediates.noindex/ArchiveIntermediates/BrandedApp/IntermediateBuildFilesPath/BrandedApp.build/Release-iphoneos/BrandedApp.build/BrandedApp.app.xcent --timestamp=none /Users/Shared/Jenkins2/workspace/BA_BUILD_ios_appstore/build/Build/Intermediates.noindex/ArchiveIntermediates/BrandedApp/InstallationBuildProductsLocation/Applications/BrandedApp.app

Validate build/Build/Intermediates.noindex/ArchiveIntermediates/BrandedApp/InstallationBuildProductsLocation/Applications/BrandedApp.app
    cd /Users/Shared/Jenkins2/workspace/BA_BUILD_ios_appstore
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/Shared/Jenkins2/workspace/BA_BUILD_ios_appstore/vendor/bundle/ruby/2.3.0/bin:/Users/jenkins2/.rvm/gems/ruby-2.3.3/bin:/Users/jenkins2/.rvm/gems/ruby-2.3.3@global/bin:/Users/jenkins2/.rvm/rubies/ruby-2.3.3/bin:/Users/jenkins2/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Volumes/android-sdk-macosx/platform-tools:/Volumes/android-sdk-macosx/tools"
    export PRODUCT_TYPE=com.apple.product-type.application
    builtin-validationUtility /Users/Shared/Jenkins2/workspace/BA_BUILD_ios_appstore/build/Build/Intermediates.noindex/ArchiveIntermediates/BrandedApp/InstallationBuildProductsLocation/Applications/BrandedApp.app

Touch build/Build/Intermediates.noindex/ArchiveIntermediates/BrandedApp/BuildProductsPath/Release-iphoneos/BrandedApp.app.dSYM
    cd /Users/Shared/Jenkins2/workspace/BA_BUILD_ios_appstore
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/Shared/Jenkins2/workspace/BA_BUILD_ios_appstore/vendor/bundle/ruby/2.3.0/bin:/Users/jenkins2/.rvm/gems/ruby-2.3.3/bin:/Users/jenkins2/.rvm/gems/ruby-2.3.3@global/bin:/Users/jenkins2/.rvm/rubies/ruby-2.3.3/bin:/Users/jenkins2/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Volumes/android-sdk-macosx/platform-tools:/Volumes/android-sdk-macosx/tools"
    /usr/bin/touch -c /Users/Shared/Jenkins2/workspace/BA_BUILD_ios_appstore/build/Build/Intermediates.noindex/ArchiveIntermediates/BrandedApp/BuildProductsPath/Release-iphoneos/BrandedApp.app.dSYM

** ARCHIVE SUCCEEDED **

I use my dev machine to install latest fastlane, it shows a bit different error code:
[10:42:06]: ▸ Generating 'BrandedApp.app.dSYM'
[10:42:08]: ▸ Running script 'Run Script'
[10:42:08]: ▸ Running script '[CP] Embed Pods Frameworks'
[10:42:15]: ▸ Running script '[CP] Copy Pods Resources'
[10:42:16]: ▸ Running script 'Run Script'
[10:42:23]: ▸ Touching BrandedApp.app (in target: BrandedApp)
[10:42:23]: ▸ /var/folders/8v/6dg7d6mx2850sv1gp8ts9thm0000gn/T/SchemeScriptAction-VG3L8l: line 2: : command not found
[10:42:24]: ▸ Archive Succeeded
[10:42:25]: Generated plist file with the following values:
[10:42:25]: ▸ -----------------------------------------
[10:42:25]: ▸ {
[10:42:25]: ▸   "method": "app-store",
[10:42:25]: ▸   "uploadSymbols": true
[10:42:25]: ▸ }
[10:42:25]: ▸ -----------------------------------------
[10:42:25]: $ /usr/bin/xcrun /Users/xuanliu/.rvm/gems/ruby-2.3.3/gems/fastlane-2.108.0/gym/lib/assets/wrap_xcodebuild/xcbuild-safe.sh -exportArchive -exportOptionsPlist '/var/folders/8v/6dg7d6mx2850sv1gp8ts9thm0000gn/T/gym_config20181130-62785-1fosn7t.plist' -archivePath build/archive/BrandedApp_9943\ 2018-11-30\ 10.38.29.xcarchive -exportPath '/var/folders/8v/6dg7d6mx2850sv1gp8ts9thm0000gn/T/gym_output20181130-62785-i1gmob'  -allowProvisioningUpdates

RVM detected, forcing to use system ruby
Now using system ruby.
+ xcodebuild -exportArchive -exportOptionsPlist /var/folders/8v/6dg7d6mx2850sv1gp8ts9thm0000gn/T/gym_config20181130-62785-1fosn7t.plist -archivePath 'build/archive/BrandedApp_9943 2018-11-30 10.38.29.xcarchive' -exportPath /var/folders/8v/6dg7d6mx2850sv1gp8ts9thm0000gn/T/gym_output20181130-62785-i1gmob -allowProvisioningUpdates
2018-11-30 10:42:26.729 xcodebuild[68209:22187766] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/8v/6dg7d6mx2850sv1gp8ts9thm0000gn/T/BrandedApp_2018-11-30_10-42-26.728.xcdistributionlogs'.
error: exportArchive: Code signing "FLAnimatedImage.framework" failed.

Error Domain=IDEDistributionPipelineErrorDomain Code=0 "Code signing "FLAnimatedImage.framework" failed." UserInfo={NSLocalizedDescription=Code signing "FLAnimatedImage.framework" failed., NSLocalizedRecoverySuggestion=View distribution logs for more information.}

** EXPORT FAILED **

+ shell_session_update
/Users/xuanliu/.rvm/gems/ruby-2.3.3/gems/fastlane-2.108.0/gym/lib/assets/wrap_xcodebuild/xcbuild-safe.sh: line 62: shell_session_update: command not found
[10:44:41]: Exit status: 70

+---------------+-------------------------+
|            Build environment            |
+---------------+-------------------------+
| xcode_path    | /Applications/Xcode.app |
| gym_version   | 2.108.0                 |
| export_method | app-store               |
| sdk           | iPhoneOS12.1.sdk        |
+---------------+-------------------------+

[10:44:42]: ▸ Validate /Users/xuanliu/appannie/development/brandapp/build/Build/Intermediates.noindex/ArchiveIntermediates/BrandedApp/InstallationBuildProductsLocation/Applications/BrandedApp.app (in target: BrandedApp)
[10:44:42]: ▸     cd /Users/xuanliu/appannie/development/brandapp
[10:44:42]: ▸     builtin-validationUtility /Users/xuanliu/appannie/development/brandapp/build/Build/Intermediates.noindex/ArchiveIntermediates/BrandedApp/InstallationBuildProductsLocation/Applications/BrandedApp.app
[10:44:42]: ▸ ** ARCHIVE SUCCEEDED **

I don't know why there is code sign issue:
Error Domain=IDEDistributionPipelineErrorDomain Code=0 "Code signing "FLAnimatedImage.framework" failed." UserInfo={NSLocalizedDescription=Code signing "FLAnimatedImage.framework" failed., NSLocalizedRecoverySuggestion=View distribution logs for more information.}

** EXPORT FAILED **

but later it says ** ARCHIVE SUCCEEDED ** again

If I ran
XuanLiuLaptop:brandapp xuanliu$ /usr/bin/xcrun /Users/xuanliu/.rvm/gems/ruby-2.3.3/gems/fastlane-2.108.0/gym/lib/assets/wrap_xcodebuild/xcbuild-safe.sh -exportArchive -exportOptionsPlist '/var/folders/8v/6dg7d6mx2850sv1gp8ts9thm0000gn/T/gym_config20181130-62785-1fosn7t.plist' -archivePath build/archive/BrandedApp_9943\ 2018-11-30\ 10.38.29.xcarchive -exportPath '/var/folders/8v/6dg7d6mx2850sv1gp8ts9thm0000gn/T/gym_output20181130-62785-i1gmob'  -allowProvisioningUpdates

it somehow passed:
XuanLiuLaptop:brandapp xuanliu$ /usr/bin/xcrun /Users/xuanliu/.rvm/gems/ruby-2.3.3/gems/fastlane-2.108.0/gym/lib/assets/wrap_xcodebuild/xcbuild-safe.sh -exportArchive -exportOptionsPlist '/var/folders/8v/6dg7d6mx2850sv1gp8ts9thm0000gn/T/gym_config20181130-62785-1fosn7t.plist' -archivePath build/archive/BrandedApp_9943\ 2018-11-30\ 10.38.29.xcarchive -exportPath '/var/folders/8v/6dg7d6mx2850sv1gp8ts9thm0000gn/T/gym_output20181130-62785-i1gmob'  -allowProvisioningUpdates
RVM detected, forcing to use system ruby
Now using system ruby.
+ xcodebuild -exportArchive -exportOptionsPlist /var/folders/8v/6dg7d6mx2850sv1gp8ts9thm0000gn/T/gym_config20181130-62785-1fosn7t.plist -archivePath 'build/archive/BrandedApp_9943 2018-11-30 10.38.29.xcarchive' -exportPath /var/folders/8v/6dg7d6mx2850sv1gp8ts9thm0000gn/T/gym_output20181130-62785-i1gmob -allowProvisioningUpdates
2018-11-30 10:52:05.857 xcodebuild[69256:22224608] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/8v/6dg7d6mx2850sv1gp8ts9thm0000gn/T/BrandedApp_2018-11-30_10-52-05.856.xcdistributionlogs'.
Exported BrandedApp to: /var/folders/8v/6dg7d6mx2850sv1gp8ts9thm0000gn/T/gym_output20181130-62785-i1gmob
** EXPORT SUCCEEDED **

Because the archive succeeded, but the rest did not - you see all the errors in the xcodebuild output. Also the fastlane run fails with Error Domain=IDEProfileLocatorErrorDomain Code=1 "No profiles for 'com.appannie.app.APIV1' were found" UserInfo={NSLocalizedDescription=No profiles for 'com.appannie.app.APIV1' were found, NSLocalizedRecoverySuggestion=Xcode couldn't find any iOS App Store provisioning profiles matching 'com.appannie.app.APIV1'.}.
The simplest solution would probably be to let fastlane take care of the profiles, preferably with match. That will remove "Xcode takes care of it" that currently seems to fail.

May be fastlane is trying to locate provisioning profile in the following path:
Fastlane tries to find "Provisioning Profiles" folder under that user (the user trying to perform the operations). Jenkins2 in your case
(In your case)
/Users/Shared/Jenkins2/Library/MobileDevice/Provisioning Profiles/
OR
/Users/Shared/Library/MobileDevice/Provisioning Profiles/
Copy the profiles into the above folder.
Refer here: https://github.com/fastlane/fastlane/issues/13365#issuecomment-443456460
I hope this solution will help.

hi all, I tried to use my dev machine to install fastlane 2.108.0 and with my Xcode 10.1, it somehow successfully archived and could be uploaded to iTunes automatically.
I then updated our CI to fastlane 2.108.0 as well, however it still failed with same errors. I then checked the CI Xcode is 9.4.1, and I have checked the signing certificates are in key chain on both CI and my dev machine.
The project setting is "Let Xcode manage signing automatically", which means I don't have any manual profiles, though I did clicked "download manual profiles" on CI Xcode, but it does not help.
So I'm guessing it's because of the logging in failed and Xcode cannot handle the signing? Or could this be a bug with fastlane + Xcode 9.4.1?
I cannot upgrade the CI server's Xcode because some reasons. I was told I don't have to use fastlane match to manage the profiles since Xcode can handle it, all I have to do is to set xcargs   |  -allowProvisioningUpdates

I'm stuck on the same issue with XCode 10 and Jenkins CI. I am able to archive directly using the command line on the build server, but fastlane fails with this error on Jenkins. What could be the issue?

It's not me who should update.. I already give enough information from my side.

Check you're signed into your account in Xcode under:
Xcode > Preferences > Accounts

This might help: https://forums.developer.apple.com/thread/112606


PSTR should implement From<*mut u8>

Other equivalent types such as BOOL implement From so this would provide feature parity

Just realised that this is not the norm for trivial transparent types - many other types that wrap T do not implement from


Update README.md

remove grammatical mistakes

I am a GSSOC participant. Please check my pull request

Please don't make PRs without creating issues.


Feature Request: Browser debugging with javascript coming off different subdomain

VSCode Version: 1.0.0
OS Version: Win7 Professional 64bit
Umbraco v4

Steps to Reproduce:

Your local webroot: <drive>:\ <webroot>\ <yoursite>
Your local js directory: <drive>:\ <webroot>\ <yoursite>\ <jspath>\file.js
Your local website: http://abc.xyz.something/ pointing to yoursite (you may have multiple subdomains pointing to different sites, umbraco style)
Your javascript delivery: http://js.xyz.something/ <jspath>/file.js
Firing chrome browser debugger on http://abc.xyz.something/ will start Chrome and goes to the page but can't hook onto the javascript, potentially because of routing confusion?

Suggestion:
Improve chrome browser debugging to allow for custom subdomain/host binding so that browser debugging will hook properly

@pipja can you please report this against the Chrome Debug extension?


Update dependency dev/pytest to v8.2.2

This PR contains the following updates:

Package
Type
Update
Change

dev/pytest (changelog)
project.optional-dependencies
patch
==8.2.1 -> ==8.2.2

Release Notes

pytest-dev/pytest (dev/pytest)
v8.2.2
Compare Source
pytest 8.2.2 (2024-06-04)
Bug Fixes

#12355: Fix possible catastrophic performance slowdown on a certain parametrization pattern involving many higher-scoped parameters.
#12367: Fix a regression in pytest 8.2.0 where unittest class instances (a fresh one is created for each test) were not released promptly on test teardown but only on session teardown.
#12381: Fix possible "Directory not empty" crashes arising from concurent cache dir (.pytest_cache) creation. Regressed in pytest 8.2.0.

Improved Documentation

#12290: Updated Sphinx theme to use Furo instead of Flask, enabling Dark mode theme.
#12356: Added a subsection to the documentation for debugging flaky tests to mention
lack of thread safety in pytest as a possible source of flakyness.
#12363: The documentation webpages now links to a canonical version to reduce outdated documentation in search engine results.

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

cf https://github.com/robert-koch-institut/mex-common/pull/203


Google account challenge authentication fails with 'Unable to log in: HTTP Error 400: Bad Request'

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2020.01.24
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

 »  youtube-dl "https://www.youtube.com/playlist?list=WL" -u<EMAIL_ADDRESS>-v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.youtube.com/playlist?list=WL', '-u', 'PRIVATE', '-v']
Type account password and press [Return]:
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.01.24
[debug] Python version 3.8.1 (CPython) - Linux-5.4.14-arch1-1-x86_64-with-glibc2.2.5
[debug] exe versions: ffmpeg 4.2.2, ffprobe 4.2.2
[debug] Proxy map: {}
[youtube:watchlater] Downloading login page
[youtube:watchlater] Looking up account info
[youtube:watchlater] Logging in
WARNING: Unable to log in: HTTP Error 400: Bad Request
[youtube:watchlater] WL: Downloading webpage
ERROR: This playlist does not exist.
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/youtube.py", line 3238, in _real_extract
    _, playlist = self._extract_playlist('WL')
  File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/youtube.py", line 2738, in _extract_playlist
    raise ExtractorError(message, expected=True)
youtube_dl.utils.ExtractorError: This playlist does not exist.

Description

When I was looking into an issue with Google account login with invidious, I tried to see if youtube-dl also had the same login issue, and it turns out it does.
When trying to log in with a Google email and password, regardless of 2FA being enabled or not, the login will always fail with the message Unable to log in: HTTP Error 400: Bad Request.
I looked into the specific requests that are being made by the auth handler. The authentication is successfully passing the lookup stage where it makes a request to https://accounts.google.com/_/signin/sl/lookup, but gets back a 400 response when making a challenge request to /_/signin/sl/challenge. What seems to have happened is Google changed something internally on this endpoint that breaks the existing authentication.
If this is a duplicate issue, the issue it is a duplicate of is not clear to me at all. In #23832 there are four separate issues that are linked to as justification that this specific issue is a duplicate of one of the others. However, the error output of each issue differs subtly from this one.
#15184: It reaches the 2FA prompt (Type 2-step verification code and press [Return]:), so the challenge request must have succeeded at that point.
#15423: The author mentions supplying an authentication code from Google Authenticator after giving a password, so this is after the challenge step.
#15926: The specific error is different (WARNING: Unable to login: Invalid password/Unable to download webpage: HTTP Error 404: Not Found)
#17216: The specific error is different (WARNING: Unable to login: Invalid password)
None of these issues contain a Unable to log in: HTTP Error 400: Bad Request error. The newest one is from August 2018 and the oldest is January 2018.
On the other hand there are numerous issues all created after April 2019 which were marked as "duplicate" with similar circumstances as this issue with little or no followup:
#23856
#23813
#23769
#23449
#22925
#22725
#21691
#21677
#21313
#21285
#21065
#21054
#20814
#20755
I do not believe this issue is a duplicate of #11270 as stated in this issue. That issue is from November 2016 and appears to be separate: the original author appeared to write about an issue related to a DNS configuration at first, but several people followed up on the issue years later around May 2019 on this seemingly unrelated issue that just happened to share the same error message. I would find it suspicious if the number of independent reports of this issue suddenly increased after April 2019 (the earliest mention of this bug) after no other similar issues since the one in 2016.
Even so the commit which closed issue #11270 (baf67a6) has not fixed this bug. I tested the same code change independently by making the requests to Google's challenge endpoint in a different language and still got a 400 response. See here for the code.
Someone mentioned that it could be solved by adding cookies to the request but I haven't verified this.
And after looking through the entire list of issues I cannot find one which is currently open that has the same reproduction of the log output. It might just be that I can't locate it myself so I would appreciate being able to know which one it is the duplicate of if there actually is one.
In reproducing this bug my account had 2FA enabled, but even after disabling it the same 400 response was returned. Thus, I do not believe this issue has anything to do with 2FA, so the PR at #18521 would probably not fix it (the PR adds code that runs after the challenge request succeeds, but in this case the challenge request is not succeeding so it will never reach the 2FA stage).
I'm not sure what's going on if so many other people are running across this issue but the issues they open are being closed with no explanation or even a cursory mention of what issue this is a duplicate of. Would it be possible to receive some kind of an explanation of what is happening with this bug? It seems that some people have been unable to download private playlists like Watch Later for almost a year due to this issue. And if you choose to close this issue as another duplicate, would it be possible to at least indicate which issue it is a duplicate of?

And if you choose to close this issue as another duplicate, would it be possible to at least indicate which issue it is a duplicate of?

Dear @dstftw ,
Do you even read what the reporter wrote?

Copying the cookies from both google.com and youtube.com, merging the files, and feeding that to youtube-dl works for me. Still getting the Error 400: Bad Request message, but youtube-dl does successfully log into YouTube and downloads purchased content only available after logging in with my credentials.
Perhaps the Bad Request error message is causing people to assume it's not working.

Do you even read what the reporter wrote?
Guarantee nope. Wish someone else would take over responding to bug reports or he'd remove the massive wall of text the program outputs saying to report a bug.

Just want to drop in and say I'm experiencing the same issue, logging in with a google account.

Also having this issue.

I am getting this issue too:
"[youtube] Logging in
WARNING: Unable to log in: HTTP Error 400: Bad Request"

I am not able to download private playlists:
WARNING: Unable to log in: HTTP Error 400: Bad Request
ERROR: This playlist does not exist.

I can confirm that this worked for me https://github.com/ytdl-org/youtube-dl/issues/21313#issuecomment-499496235

@dstftw This is not a duplicate. The only similar issue is https://github.com/omarroth/invidious/issues/754, which is a separate issue. I believe this may have been confused at some point along the way.
Please reopen this issue.

Also having this issue.

same

Reopening as a flag for YT login overhaul.


ERROR:simp_le:1417: CA marked some of the authorizations ...... ?

Sorry but my english is not so good ;-)
I have installed on OMV5 .... Nextcloud with nginx-proxy:alpine and letsencrypt-nginx-proxy-companion.
My problem is that when I call the web interface the following error occurs
503 Service Temporarily Unavailable
nginx/1.17.6
What is my mistake ?
2020/06/12 15:20:29 Received signal: terminated,
2020/06/12 15:20:29 Received signal: terminated,
Info: Custom Diffie-Hellman group found, generation skipped.,
Reloading nginx proxy (597afb93b8ae5d3950eb88d473331183b8e3f729df52c1ef28bd6fa1f9b620a1)...,
2020/06/12 15:20:31 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification '',
2020/06/12 15:20:31 [notice] 85#85: signal process started,
2020/06/12 15:20:32 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/signal_le_service',
2020/06/12 15:20:32 Watching docker events,
2020/06/12 15:20:32 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/signal_le_service',
/etc/nginx/certs/xxxxx.ddns.net /app,
Reloading nginx proxy (597afb93b8ae5d3950eb88d473331183b8e3f729df52c1ef28bd6fa1f9b620a1)...,
2020/06/12 15:20:32 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification '',
2020/06/12 15:20:32 [notice] 109#109: signal process started,
Creating/renewal xxxxx.ddns.net certificates... (xxxxx.ddns.net),
2020-06-12 13:20:35,325:INFO:simp_le:1450: Generating new certificate private key,
2020-06-12 13:20:41,413:ERROR:simp_le:1417: CA marked some of the authorizations as invalid, which likely means it could not access http://example.com/.well-known/acme-challenge/X. Did you set correct path in -d example.com:path or --default_root? Are all your domains accessible from the internet? Please check your domains' DNS entries, your host's network/firewall setup and your webserver config. If a domain's DNS entry has both A and AAAA fields set up, some CAs such as Let's Encrypt will perform the challenge validation over IPv6. If your DNS provider does not answer correctly to CAA records request, Let's Encrypt won't issue a certificate for your domain (see https://letsencrypt.org/docs/caa/). Failing authorizations: https://acme-v02.api.letsencrypt.org/acme/authz-v3/5188884885,
Challenge validation has failed, see error log.,
,
Debugging tips: -v improves output verbosity. Help is available under --help.,
/app,
Sleep for 3600s,

Hi @malcomxcia, i have the same problem with the docker-compose example on Nextcloud docker with nginx proxy and  letsencrypt-nginx-proxy-companion. I can ping my website and also curl works. But when i call http:/.well-known/acme-challenge/ i get an 404 error.
I tested my website also on: https://check-your-website.server-daten.de and there i get:

Fatal: Check of /.well-known/acme-challenge/random-filename has a timeout. Creating a Letsencrypt certificate via http-01 challenge can't work. You need a running webserver (http) and an open port 80. If it's a home server + ipv4, perhaps a correct port forwarding port 80 extern ⇒ working port intern is required. Port 80 / http can redirect to another domain port 80 or port 443, but not other ports. If it's a home server, perhaps your ISP blocks port 80. Then you may use the dns-01 challenge. Trouble creating a certificate? Use https://community.letsencrypt.org/ to ask.

My logs from this container are:
2020-06-13 20:44:59,747:DEBUG:urllib3.connectionpool:433: https://acme-v02.api.letsencrypt.org:443 "POST /acme/authz-v3/5219337779 HTTP/1.1" 200 988
2020-06-13 20:44:59,748:DEBUG:acme.client:1124: Received response:
HTTP 200
Server: nginx
Date: Sat, 13 Jun 2020 20:44:59 GMT
Content-Type: application/json
Content-Length: 988
Connection: keep-alive
Boulder-Requester: 88750544
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
Replay-Nonce: 0102YvHpPlbHKatJ2b1JHC13Fu8LT-JkaItl5Qp09EMzumo
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800

{
  "identifier": {
    "type": "dns",
    "value": "chaparron.ml"
  },
  "status": "invalid",
  "expires": "2020-06-20T20:44:48Z",
  "challenges": [
    {
      "type": "http-01",
      "status": "invalid",
      "error": {
        "type": "urn:ietf:params:acme:error:connection",
        "detail": "Fetching http://chaparron.ml/.well-known/acme-challenge/vpJtGoiLPLYTyc1BiqM0QWty8yGk0RHw3Rq392bV1Js: Timeout during connect (likely firewall problem)",
        "status": 400
      },
      "url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/5219337779/SGQp3w",
      "token": "vpJtGoiLPLYTyc1BiqM0QWty8yGk0RHw3Rq392bV1Js",
      "validationRecord": [
        {
          "url": "http://chaparron.ml/.well-known/acme-challenge/vpJtGoiLPLYTyc1BiqM0QWty8yGk0RHw3Rq392bV1Js",
          "hostname": "chaparron.ml",
          "port": "80",
          "addressesResolved": [
            "<IP_ADDRESS>"
          ],
          "addressUsed": "<IP_ADDRESS>"
        }
      ]
    }
  ]
}
2020-06-13 20:44:59,749:DEBUG:acme.client:1153: Storing nonce: 0102YvHpPlbHKatJ2b1JHC13Fu8LT-JkaItl5Qp09EMzumo
2020-06-13 20:44:59,750:ERROR:simp_le:1417: CA marked some of the authorizations as invalid, which likely means it could not access http://example.com/.well-known/acme-challenge/X. Did you set correct path in -d example.com:path or --default_root? Are all your domains accessible from the internet? Please check your domains' DNS entries, your host's network/firewall setup and your webserver config. If a domain's DNS entry has both A and AAAA fields set up, some CAs such as Let's Encrypt will perform the challenge validation over IPv6. If your DNS provider does not answer correctly to CAA records request, Let's Encrypt won't issue a certificate for your domain (see https://letsencrypt.org/docs/caa/). Failing authorizations: https://acme-v02.api.letsencrypt.org/acme/authz-v3/5219337779
2020-06-13 20:44:59,750:DEBUG:simp_le:1134: Removing validation file at /usr/share/nginx/html/.well-known/acme-challenge/vpJtGoiLPLYTyc1BiqM0QWty8yGk0RHw3Rq392bV1Js
Challenge validation has failed, see error log.

Debugging tips: -v improves output verbosity. Help is available under --help.
/app
Symlinked domains:
Enabled domains: chaparron.ml
Disabled domains:
Sleep for 3600s

I also changed my DNS Server to another provider but this also did not fix the problem.
I hope @buchdag can help us.

I have this issue as well, seems like the validation file is not being placed in the html folder for nginx.

In my case, certificates were not updated due to an issue with linking /usr/share/nginx/html in the companion container with the one in the nginx-proxy container. It seems like --volumes-from=nginx-proxy part didn't work for some reason. Removing and creating the companion container helped.

I have this issue as well, seems like the validation file is not being placed in the html folder for nginx.

https://github.com/nginx-proxy/docker-letsencrypt-nginx-proxy-companion/blob/master/docs/Invalid-authorizations.md

The challenge files are automatically cleaned up after the authorization process, wether it succeeded or failed, so trying to curl them from the outside won't yeld any result.

Inactive issue, closing.


DRILL-7607: support dynamic credit based flow control

DRILL-7607: support dynamic credit based flow control
Description
change the static credit based flow control to dynamic credit based flow control.
The logic is as below:
Initially, the sender sends the batch according to the initial static sender semaphore. After the receiver receives enough data ,it calculates the runtime credit value , sends the runtime credit value to the sender as the ACK response.  Then the sender receives this runtime credit value, changes to this runtime credit value from the initial credit value.
The runtime generated credit value will only be generated one time. It will not be changed again to make the flow control logic simple.
The ACK response credit value has three type numeric value with different meaning:
-1 : meaning ACK for a fail response
0 :  no runtime credit value to suggest to the sender , the sender still sends its data as its initial static credit value(current: 3)
value > 0  :    meaning a suggested runtime credit value from the receiver.
Documentation
NO
Testing

TestBitRpc.testConnectionBackpressure

TestBitRpc.testConnectionBackpressureWithDynamicCredit

Anyone could explain the CI error about the protobufs ?

@weijietong, Drill uses protobufs not only for java code but also for native c++ client. Looks like you have regenerated them only for java. As it is pointed in the error message, you may copy the output and apply it as the patch, so they will be up to date.

@vvysotskyi how to apply the path ? I have regenerated the native cpp code, but still failed at the CI error. thanks!

@weijietong the logs of the job show error because of version incompatibility:
https://github.com/apache/drill/pull/2000/checks?check_run_id=474177778
 #error This file was generated by a newer version of protoc which is
 #error incompatible with your Protocol Buffer headers.  Please update
 #error your headers.

@paul-rogers could you please help to review?

@weijietong, see the comment above about using config options to enable and configure this feature. If we can add those, then we can fall back to existing behavior if the new behavior causes problems. For now, I'd leave the feature turned off. Then, as you use the feature, and work out any issues, we can add additional RM (ideas discussed above), and enable the feature by default.
Does this sound reasonable? If so, please let me know when you're ready for another review and I'll be happy to do one.

@paul-rogers agree with your two configure item advice.   But I suggest to configure Enable/disable this feature item as system level .  Also by adding another enableDynamicFC at the BitControll.Collector , users can give a hint to a query to specify whether its query will enable this feature, that's to say it's a query level option.
To spooling , I think it's been used if the planner choose to use MergeJoin or StreamingAgg.  You could see the HashToMergeExchange which is the only class to set the spooling item as true.

@paul-rogers please give a final review ,thanks.

Still on a pre-product stage at our env. But as I mentioned above , we could give a query a hint to open this feature not apply to all the queries, so queries like select user_id  will benefit from this feature. Also we normally push down query to our storage, so the query execution level will not suffer from large data batch transfer . It's different from systems based on parquet and HDFS plugin. So we also expect the query execution level to accept data more rapidly from the storage plugin to release the storage server resource as soon as possible. Otherwise the storage server level's execution pipeline will not be closed until the query level finished sending out all its data.

@arina-ielchiieva has applied your advice ,thanks.

+1 from my side.

Looks good, +1.
Seems to me that two things need to happen after this PR. First, is to find a way to run a stress/performance test to ensure that the potential extra memory usage is not an issue. Second is to, at some point, continue with our resource management efforts and to 1) allocate memory to the receivers they can use as their buffer pool, and 2) standardize batch size so the receiver knows roughly the sizes to expect. This work is beyond the scope of this PR.


Source Code Error in code-line-number

On macOS, the 'reverse()' has a side effoect, which change the origin variable lines. And this leads to a bug when the code is wrapped.

please update this to follow the contributing guidelines.

This code does not work properly when line feeds are enabled. I checked the source code and the lines variable reads the contents of the code box and then splits the contents of each line of code based on a newline character such as '\n'. To get rid of meaningless blank lines, the code uses the reverse method to index directly to the last line and then performs a blank line check. However, the author did not realize that the reverse method does not return a completely new list, but rather a modified version of the original list. This causes the line count to be displayed incorrectly when there is a line break in the code, because he is traversing all lines of code backwards.
Translated with www.DeepL.com/Translator (free version)


BUG - When deploying to an ABAP system, the BAS destination URL is being referenced instead of the SAP BTP destination URL

Description
Found when testing https://github.com/SAP/open-ux-tools/issues/687
Sample SAP BTP destination;
#
Description=OData Serivce URL
Type=HTTP
HTML5.DynamicDestination=true
Authentication=NoAuthentication
WebIDEUsage=odata_abap
Name=northwind
WebIDEEnabled=true
ProxyType=Internet
URL=https\://services.odata.org

These destination properties are only for display purposes
When deploying the ABAP app using verbose mode, the payload is being sent as;
<entry xml:base="https://northwind.dest" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
	<id>https://northwind.dest/Repositories('ZTRAJL2403')</id>
	<title type="text">Repositories('ZTRAJL2403')</title>
	<updated>2023-03-27T20:14:07.950Z</updated>
	<category scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" term="/UI5/ABAP_REPOSITORY_SRV.Repository"/>
	<link href="Repositories('ZTRAJL2403')" rel="edit" title="Repository"/>
	<content type="application/xml">
		<m:properties>
			<d:Name>ZTRAJL2403</d:Name>
			<d:Package>--TRANSPORT</d:Package>
			<d:Description>Travel App</d:Description>
			<d:ZipArchive/>
			<d:Info/>
		</m:properties>
	</content>
</entry>

The xml:base and id are showing the BAS destination host northwind.dest instead of the destination URL property https://services.odata.org
Also, if the ABAP app is successfully deployed, the frontend URL shown to the user is;
App available at https://northwind.dest/sap/bc/ui5_ui5/sap/mypp

instead of
App available at https://services.odata.org/sap/bc/ui5_ui5/sap/mypp

Expected results
The payload to create or update an existing ABAP app should show the SAP BTP destination URL, similarly for the frontend log as well.
Actual results
Showing the BAS destination URL which is only applicable for BAS and shouldnt be referenced.
Screenshots
Version/Components/Environment
Add any other context about the problem here
OS:

[x] Mac OS
[x] Windows
[ ] Other

Root Cause Analysis
Problem
{describe the problem}
Fix
{describe the fix}
Why was it missed
{Some explanation why this issue might have been missed during normal development/testing cycle}
How can we avoid this
{if we don’t want to see this type of issues anymore what we should do to prevent}

Validated and test locally.


Fixed work sounds crash

Fixed the nasty work sounds crash that slipped into develop by hiding behind the traitor IntelliJ
A SolObject source had to be passed into OggSoundManager so some method parameters were switched from Hull to SolShip

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!


adding extra TOC item functionality

This implements the ability to control some extra things in the left TOC using options in the toctree directive. It is slightly less-hacky than #11 but still a bit hacky :-)
Basically, we override the base TocTree directive, check it for a few extra options that we support, and then store them for use later when rendering the HTML. We also store the page on which the TOC was listed, as well as the first item of the TOCtree.
Then, when the sidebar HTML is rendered, we check each child and see if it was stored when a toctree special option was called. Here's the behavior that we currently support:

If :expand_sections: is given in a toctree directive, then the children of the parent page will always be shown in the left TOC
If :divider: is given, then a horizontal rule is placed before the first item of the toctree directive.
If :header: is given, then a header is placed before the first item of the toctree directive.

I'm curious what @chrisjsewell thinks about this one...it's a little bit tricky but I think a bit cleaner than having people put things in the toctree content itself.

also, see the built docs for how this looks:
https://30-244496643-gh.circle-artifacts.com/0/html/index.html
for reference, here are the toctrees that are defined on the first index page that let us do this:
```{toctree}
:maxdepth: 1
:header: Main docs
layout
notebooks
```
```{toctree}
:divider:
:header: Reference items
demochapter1/index
limits
```


Add tests for withdrawals provider

Closes #10342

It has a bunch of conflicts due to new helpers that were added, can you pls resolve them?

It has a bunch of conflicts due to new helpers that were added, can you pls resolve them?

on it, apologies for the delay

random_block(s) function arguments grow even bigger -.- Let's leave it as-is for this PR, but we should refactor this into using struct for optional fields

Created an issue & assigned myself, can pick it up next https://github.com/paradigmxyz/reth/issues/10457 . I'm unsure which  lablels to add though


Implement per site restriction for users

This PR allows to restrict permissions on different sites to different users

[Current coverage][cc-pull] is 92.83%

Merging [#249][cc-pull] into [develop][cc-base-branch] will decrease coverage by -0.12%

@@            develop       #249   diff @@
==========================================
  Files            19         19
  Lines          1185       1213    +28
  Methods           0          0
  Messages          0          0
  Branches        143        146     +3
==========================================
+ Hits           1102       1126    +24
- Misses           38         41     +3
- Partials         45         46     +1

Powered by Codecov. Last updated by [9c228df...5a3b645][cc-compare]
[cc-base-branch]: https://codecov.io/gh/nephila/djangocms-blog/branch/develop?src=pr
[cc-compare]: https://codecov.io/gh/nephila/djangocms-blog/compare/9c228df8133fcef0a1f9d745fbb6b2c8022bd5de...5a3b6454b443168d632f4ac24c470c67a5e7983e
[cc-pull]: https://codecov.io/gh/nephila/djangocms-blog/pull/249?src=pr

Coverage decreased (-0.2%) to 96.62% when pulling 5a3b6454b443168d632f4ac24c470c67a5e7983e on feature/per_sites_restrictions into 9c228df8133fcef0a1f9d745fbb6b2c8022bd5de on develop.

Coverage decreased (-0.01%) to 96.78% when pulling 01880591b7899ca33ee6647ced366493a9783107 on feature/per_sites_restrictions into 9c228df8133fcef0a1f9d745fbb6b2c8022bd5de on develop.


Improvements to FreeBSD tty code.

 Issue by johalun
Saturday Sep 03, 2016 at 18:41 GMT
Originally opened as https://github.com/Cloudef/wlc/pull/194

johalun included the following code: https://github.com/Cloudef/wlc/pull/194/commits

 Comment by Cloudef
Monday Sep 05, 2016 at 19:13 GMT

There seems to be quite lots of indent / space changes, can you fix those before I check further.

 Comment by johalun
Monday Sep 05, 2016 at 19:26 GMT

Ah you're right.. I thought it was tabs that had been converted to spaces automatically but I see that indent is changed. Will fix it!

 Comment by Cloudef
Monday Sep 05, 2016 at 20:36 GMT

You could separate the parts that are different into functions into own files, provide tty_backend struct that contains the function prototypes. Have something like wlc_tty_backend_init(&backend); at begin of wlc_tty_init, the implementation that gets called for wlc_tty_backend_init would depend on platform (linux or bsd), by telling cmake which .c file to compile. tty.h would contain the prototype for wlc_tty_backend_init, but implementation would be in the platform specific file.
If that makes sense. Above is also really easy to modify so that tty backends could be loaded from .so's (plugins), but I don't think we ever need that. (Or at least I hope there doesn't exist multiple tty apis on single platform)

 Comment by johalun
Monday Sep 05, 2016 at 19:52 GMT

We end up with#ifdefs all over the place.. Maybe cleanest to put in separate files?


go-utils: Deprecate event-broker, introduce better error handling for failed SendingCloudEvents

For Keptn 0.8.0, do we still need event-broker as a config option in go-utils (in keptnOptions)?
As far as I know we are not using event-broker anymore, but go-utils still refers to it as a Keptn Configuration Option and uses it somehow...
I just ran into the problem that my cloudevents would not appear in Keptn, and the reason was that I have set eventbroker in my service.yaml manifest to
          env:
            - name: EVENTBROKER
              value: 'http://event-broker/keptn'

Also, I did not get an error message when using keptnHandler.SendCloudEvent.

Clean-up task:

[ ] Please check the manifests of keptn/keptn whether there is an env for the event broker. If there is, please remove it.

Clean-up task:

[ ] Please check the manifests of keptn/keptn whether there is an env for the event broker. If there is, please remove it.


Called Option::unwrap() on a None value, warning in simple hello world Rocket app

This compiles and runs fine but there is a rust-analyzer warning present in 2.776 and 2.768 but not in 2.760 and earlier versions of rust-analyzer.
 ::::::::::::::
Cargo.toml
::::::::::::::
[package]
name = "foobar"
version = "0.0.1"
edition = "2018"

[dependencies]
rocket = "0.4"
::::::::::::::
src/main.rs
::::::::::::::
#![feature(decl_macro, proc_macro_hygiene)]
#[macro_use]
extern crate rocket;

#[get("/hello")]
fn status() -> String {
    format!("rust-analyzer No warnings in this function")
}

// Compiles fine but rust-analyzer highlights function with:
// called `Option::unwrap()` on a `None` value

#[get("/foobar/<_a>")]
fn foobar(_a: bool) -> String {
    format!("rust-analyzer Warnings in this function")
}

fn main() {
    rocket::ignite()
        .mount("/", routes![status, foobar])
        .launch();
}

This is happening to me as well using rust-analyzer 2021-11-08 on arch

Possibly a dupe of https://github.com/rust-analyzer/rust-analyzer/issues/10710.

This is still occurring on latest nightly release.

Here's a smaller reproduction that builds on stable Rust 1.57.0:
[package]
name = "macro-test"
version = "0.0.0"
edition = "2021"
publish = false

[lib]
# Needed because `unquote`'s syn dependency isn't set up correctly. It's hopefully not relevant.
proc_macro = true

[dependencies]
proc-macro2 = "1.0.34"
quote = "1.0.10"
syn = "1.0.83"
unquote = "0.0.6"

use quote::quote;
use syn::parse::ParseStream;
use unquote::unquote;

#[allow(dead_code)]
fn parse(input: ParseStream) -> syn::Result<()> {
    unquote!(input, a); // <--
    Ok(())
}

Settings (not minimal):
{
    "rust-analyzer.cargo-watch.command": "clippy",
    "rust-analyzer.rainbowHighlightingOn": true,
    "rust-analyzer.procMacro.enabled": true,
    "rust-analyzer.procMacro.enable": true,
    "rust-analyzer.cargo.loadOutDirsFromCheck": true,
    "rust-analyzer.checkOnSave.command": "clippy",
    "rust-analyzer.experimental.procAttrMacros": true,
    "rust-analyzer.cargo.allFeatures": true,
    "rust-analyzer.checkOnSave.extraArgs": [
        "--locked"
    ],
    "rust-analyzer.updates.channel": "nightly"
}

cargo expand:
#![feature(prelude_import)]
#[prelude_import]
use std::prelude::rust_2021::*;
#[macro_use]
extern crate std;
use quote::quote;
use syn::parse::ParseStream;
use unquote::unquote;
#[allow(dead_code)]
fn parse(input: ParseStream) -> syn::Result<()> {
    let input = input;
    let mut prev_span = input.cursor().span();
    if input.call(<syn::Ident as syn::ext::IdentExt>::parse_any)?
        != syn::parse::Parser::parse2(<syn::Ident as syn::ext::IdentExt>::parse_any, {
            let mut _s = ::quote::__private::TokenStream::new();
            ::quote::__private::push_ident(&mut _s, "a");
            _s
        })
        .unwrap()
    {
        return Err(syn::Error::new(input.cursor().span(), "Expected `a`"));
    };
    Ok(())
}
const _: () = {
    extern crate proc_macro;
    #[rustc_proc_macro_decls]
    #[allow(deprecated)]
    static _DECLS: &[proc_macro::bridge::client::ProcMacro] = &[];
};

Error:
[{
	"resource": "/C:/Users/Tamme/Documents/Projekte/macro-test/src/lib.rs",
	"owner": "rustc",
	"code": {
		"value": "macro-error",
		"target": {
			"$mid": 1,
			"external": "https://rust-analyzer.github.io/manual.html#macro-error",
			"path": "/manual.html",
			"scheme": "https",
			"authority": "rust-analyzer.github.io",
			"fragment": "macro-error"
		}
	},
	"severity": 8,
	"message": "called `Option::unwrap()` on a `None` value",
	"source": "rust-analyzer",
	"startLineNumber": 7,
	"startColumn": 5,
	"endLineNumber": 7,
	"endColumn": 23
}]

Rust Analyzer Client output (abbreviated):
INFO [25.12.2021, 18:38:34]: Extension version: 0.3.875
INFO [25.12.2021, 18:38:34]: Using configuration {
  […]
}
INFO [25.12.2021, 18:38:34]: PersistentState: { serverVersion: '0.3.875' }
INFO [25.12.2021, 18:38:34]: Using server binary at c:\Users\Tamme\.vscode\extensions\matklad.rust-analyzer-0.3.875\server\rust-analyzer.exe

Rust Analyzer Language Server Trace appears to be empty.

Hi, I am having this same issue with rocket. I use rustc 1.56.0-nightly (0035d9dce 2021-08-16) with coc-rust-analyzer  0.57.0

@MiroFurtado, @Tamschi, @oren0e see https://github.com/rust-analyzer/rust-analyzer/issues/10710#issuecomment-962559112.

@MiroFurtado, @Tamschi, @oren0e see #10710 (comment).
Updating to a newer version of Rocket might fix it.

I'm not using Rocket and I'm on stable, so that's not the issue/fix for me, unfortunately.

(A separate comment since @lnicola already saw the previous reply.)
Should I open a separate issue?
It looks like my problem is likely unrelated then, if this error message can be caused by not implemented endpoints generally.

@MiroFurtado, @Tamschi, @oren0e see #10710 (comment).
Updating to a newer version of Rocket might fix it.

Unfortunately I can't use the rc version of rocket for various stability and dependency issues, so that fix is not for me either. Any chance to work it out in rust-analyzer itself?

this also occurred to me with realworld-rust-rocket. Any updates?

Same Here.
nightly-x86_64-unknown-linux-gnu (default)
rustc 1.60.0-nightly (09cb29c64 2022-02-15)

I hope https://github.com/rust-analyzer/rust-analyzer/pull/11797 has properly fixed this. If not, please leave a comment.

Not for me. I still have
macro-error: called Option::unwrap() on a None value

error in my vim (I use coc.nvim with rust-analyzer) on each one of my endpoints with rocket

Presumably because of the same issue as https://github.com/rust-analyzer/rust-analyzer/issues/10772#issuecomment-1076533915

@oren0e If you're still using the same nightly version as in https://github.com/rust-analyzer/rust-analyzer/issues/10570#issuecomment-1002088217, it is quite outdated. We can't reasonably support outdated nightly versions.


Lab 04 - Implement numeronym

Fixes #67
Changes proposed in this PR:

Implement the numeronym
Add test cases

Codecov Report

Merging #120 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #120   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          35     36    +1
  Lines         475    486   +11
=====================================
+ Hits          475    486   +11

Impacted Files
Coverage Δ

04_numeronym/jack/numeronym.go
100% <100%> (ø)

Continue to review full report at Codecov.

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

Sorry, I will close this PR now in preparation for the next training in a few weeks in Melbourne - feel free to re-open it if you want to continue work on it.


chore: tooltips

Add tooltip for SAML connections and fix typo in another tooltip. I have linked for now to the best location I could find in our docs, the link was marked tbd in the ticket. It links out here, which has a reference to OIDC vs SAML in one of the bullets below.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 71.64%. Comparing base (6912dc4) to head (c5808e2).

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #1238   +/-   ##
=======================================
  Coverage   71.64%   71.64%
=======================================
  Files         315      315
  Lines       10960    10960
  Branches     2550     2550
=======================================
  Hits         7852     7852
  Misses       3108     3108

Flag
Coverage Δ

unitests
71.64% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Please provide documentation in two flavours: TypeScript AND JavaScript (JavaScript-friendly docs)

Documentation is

[ ] Missing
[X] Confusing
[ ] Outdated
[ ] Not sure?

Explain in Detail
Motivation
More and more companies renounce usage of TypeScript, JSDocs is still in use nowadays, and when we part-time developers (especially beginners) open Vite.js documentation such as HMR API docs and see TypeScript notation, all we want to do is just rollback to Rollup, or something even simpler such as esbuild
Your Suggestion for Changes
Please provide docs to be read in both flavours then, i.e. TypeScript and JavaScript, similarly how Node.js docs provide toggleable CJS / ESM snippets
Reproduction
https://vitejs.dev/guide/api-hmr.html#hmr-api
Steps to reproduce
Also examples, examples, examples. Scrolled all yours docs and could not find how to build a simple watcher using JavaScript API . Meanwhile, scrolling Rollup took me a minute, rollup.watch. Have nothing else to say, you will sort it out yourself, folks.

There aren't many code examples that use TypeScript specifically, e.g. https://vitejs.dev/guide/ssr.html has many examples and they are all in JS.
For https://vitejs.dev/guide/api-hmr.html#hmr-api, the only TypeScript syntax is the first code block. We have to present the type contract in some way, and it's not code you're copying anyways, just an easy-to-glance reference of the API. Rollup is no different: https://rollupjs.org/configuration-options/#onlog
I don't think it's worth putting time in this so I'm closing for now.

That reference does not help at all, because JavaScript does not have interfaces. We can emulate Mixins using Object.create syntax, and only maybe we can emulate Interface using function or class syntax with a couple conventions kept in mind. I am coming from Golang/C , meaning background helps, but your code is not, it means I do disagree with an argument.

 Better look up for example how to write conventional interfaces. A crude example of my own written types util library. Plain JavaScript typed-getters
Now you're not so smart anymore, folks ! ♥


Migration of certs already created with original client.

Question :
I have some certs on a server created with original client.
I switched to docker and docker-compose, I would like to use letsencryt-companion with old certs.
Can I copy old certs then how can I do in order that companion use them directly ?
Best regards.

Hi @kevin-lot
By original client, do you mean certbot or simp_le ?

Let say you have a certificate for www.example.tld obtained with certbot on the same machine where you are running docker and nginx-proxy + the LE companion, and your LE companion container is named your-le-container.
First, create the /etc/nginx/certs/www.example.tld folder inside your docker volume for certificates:
docker exec your-le-container mkdir -p /etc/nginx/certs/www.example.tld

Then copy the existing certificate, chain, full chain and private key inside this folder with the correct names (only the private key has a different name between certbot and simp_le):
sudo docker cp -L /etc/letsencrypt/live/www.example.tld/cert.pem your-le-container:/etc/nginx/certs/www.example.tld/
sudo docker cp -L /etc/letsencrypt/live/www.example.tld/chain.pem your-le-container:/etc/nginx/certs/www.example.tld/
sudo docker cp -L /etc/letsencrypt/live/www.example.tld/fullchain.pem your-le-container:/etc/nginx/certs/www.example.tld/
sudo docker cp -L /etc/letsencrypt/live/www.example.tld/privkey.pem your-le-container:/etc/nginx/certs/www.example.tld/key.pem

sudo will probably be necessary because the folders inside /etc/letsencrypt/live aren't world readable. Don't forget the -L flag to docker cp or you'll end up copying the symlinks rather than the actual files.
Then create your proxyed service with VIRTUAL_HOST and LETSENCRYPT_HOST both set to www.example.tld as you would normaly do. If the certificate is still valid for more than 30 days, the container will use the existing files you just copied into it.
If the certificate is a SAN certificate, be sure to put the name of the folder you created inside /etc/nginx/certs first in the LETSENCRYPT_HOST environment variable.
Example: you have a SAN certificate covering example.tld, www.example.tld and whatever.tld inside /etc/letsencrypt/live/example.tld. Create the /etx/nginx/certs/example.tld folder inside the container, copy the files, then put example.tld first inside the LETSENCRYPT_HOST environment variable of the proxyed container (so either LETSENCRYPT_HOST=example.com,www.example.com,whatever.tld or LETSENCRYPT_HOST=example.com,whatever.tld,www.example.com)
Let me know if something is unclear.


Variable input size for Recurrent Neural Network in Keras

I have two datasets, both have a lot of rows, for each row I have in the first dataset 10 columns (extracted features) in the second dataset I have 18 columns(features extracted). Now I would like to train a Recurrent Neural Network (in Keras) with both datasets but having different input_size (the columns). This is my code:
time_steps = 1  # the height of the image
  input_size = 10  # extracted features dataset 1
 BATCH_SIZE = 1
 num_class = 7
  model = Sequential()
 model.add(LSTM(batch_input_shape=(BATCH_SIZE, time_steps, input_size), units=n_hidden_units, recurrent_dropout=0.3, activation='tanh', recurrent_activation='hard_sigmoid'))
  model.add(Dense(num_class))
  model.add(Activation('softmax'))
model.compile(optimizer='nadam',loss='categorical_crossentropy', metrics=['accuracy'])
 model.fit(data, target, epochs=25, batch_size=1, verbose=False)
prediction = model.predict_classes(data_test, batch_size=1)
The above code is only for the first dataset and how you can see the input_size=10 is equal to the number of features for dataset one.
My question is how can I do, if I would like to train a Recurrent like above where the input_size become variable?

From what I understand, you have two datasets with different number of input dimensions and you want to train the same recurrent network for both the datasets.
This is not possible because varying the input dimensions changes the dimension of the variables that define the network. However, a possible way out could be reducing the dimensionality of the datasets to a common number.


[SPARK-14772][PYTHON][ML] Fixed Params.copy method to match Scala implementation

What changes were proposed in this pull request?
Fixed the PySpark Params.copy method to behave like the Scala implementation.  The main issue was that it did not account for the _defaultParamMap and merged it into the explicitly created param map.
How was this patch tested?
Added new unit test to verify the copy method behaves correctly for copying uid, explicitly created params, and default params.

Ping @holdenk @jkbradley , please take a look when you get a chance - thanks!

Test build #72263 has started for PR 16772 at commit 8881992.

Let me try and take a look tomorrow - I'm in transit today.

Test build #72263 has finished for PR 16772 at commit 8881992.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72263/
Test FAILed.

Merged build finished. Test FAILed.

Test build #72270 has started for PR 16772 at commit c25c127.

Test build #72270 has finished for PR 16772 at commit c25c127.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72270/
Test FAILed.

Merged build finished. Test FAILed.

Test build #72271 has started for PR 16772 at commit ce59d74.

Test build #72271 has finished for PR 16772 at commit ce59d74.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72271/
Test PASSed.

Merged build finished. Test PASSed.

ping @holdenk - mind taking a look?

LGTM
Merging with master
@BryanCutler would you mind sending a backport PR against branch-2.1 to run Jenkins tests?
Thank you!

well...will merge after new tests

jenkins test this please

Test build #3581 has started for PR 16772 at commit ce59d74.

Test build #73383 has started for PR 16772 at commit ce59d74.

Test build #3581 has finished for PR 16772 at commit ce59d74.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

OK merging now.  @BryanCutler do let me know if you don't have time to send a backport--thanks!

Test build #73383 has finished for PR 16772 at commit ce59d74.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/73383/
Test PASSed.

Merged build finished. Test PASSed.

Thanks @jkbradley!  I'll do a backport later tonight
On Feb 23, 2017 6:09 PM, "asfgit"<EMAIL_ADDRESS>wrote:
Closed #16772 https://github.com/apache/spark/pull/16772 via 2f69e3f
https://github.com/apache/spark/commit/2f69e3f60f27d4598f001a5454abc21f739120a6
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/spark/pull/16772#event-975421332, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AEUwdTNi511olIIv6OnLjBdjru4DCVyoks5rfjvAgaJpZM4L0hqD
.


descriptastorus and scipy all updated and the code crashed

A new version of descriptastorus and scipy will cause a crash if you follow the original setup procedure:
AttributeError: module 'scipy.stats' has no attribute 'gibrat'
I tried descriptastorus-2.4.2 and scipy-1.6.2, and the problem may disappear.
I hope the author should point out all versions of the requirements because maybe several years later other requirements will be updated.

Thank you for pointing this out.


Doesn't show the character properly just before git branch text

Attached screenshots for both hyper and with default MAC terminal

Hi @abhilash-experiments
You may install any powerline compatible font.
Refer here https://github.com/denysdovhan/spaceship-prompt/blob/master/docs/Troubleshooting.md#whats-the-weird-symbol-for-git-branch


Implement operator.contains for empty Tuples

This PR implements x in ().

@brandonwillard thank you for submitting this, I have added it to the queue for review. It seems like there are some public CI failures that you could perhaps look into in the meantime.

All right, after that change, I'm not sure what those errors are about.  There seems to be some sort of timeout while attempting to obtain a compiler lock.

@brandonwillard Congratulations on your first contribution to Numba!

My pleasure, and thanks for taking the time to look over this—especially given that wildly mistaken overload.
Final thought/follow-up: would it actually be better to have an empty tuple inherit from Sequence instead?

@brandonwillard, the Sequence type implies iterable but due to the typing limitation we can't make mix-typed tuple to be iterable; e.g.:
for val in (1, 2.3, "str"):   # type inference can't determine type of `val`
    ...


Support fixing "menu not found" error when started through mvim with default menus disabled.

While investigating issue #1230, I added let did_install_default_menus = 1 to my .vimrc. This disables the generation of Vim's default menus, per gui.txt. It also causes an error to be generated when using mvim to start MacVim from the Terminal:
Error detected while processing /Users/Josh/Documents/Dotfiles/vim/vimrc[6]../Applications/MacVim.app/Contents/Resources/vim/runtime/syntax/syntax.vim[25]../Applications/MacVim.app/Contents/Resources/vim/runtime/filetype.vim[2366]../Applications/MacVim.app/Contents/Resources/vim/runtime/menu.vim:
line 1306:
E334: Menu not found: File.New\ Window

When did_install_default_menus is used this way, menu.vim's calls to macmenu fail to find any menus, since they were never generated. This change introduces a similar global variable, did_install_default_mac_menus that can be set similarly to skip the macmenu calls and avoid the errors. This more easily supports the use-case where somebody wants to completely redefine the menu structure, which isn't common, but is what led me down this rabbit hole in the first place.
I considered a few other approaches. They all have pros and cons, this seemed like the simplest overall:

menu.vim aggressively sets did_install_default_menus to make the script reentrant. We could set the variable after all the macmenu commands finish, letting one variable control both. However, this would make managing upstream merges harder, especially if anything now or in the future causes the script to return early.
macmenu could be changed, adding ! support, so that macmenu! would silently ignore missing menus. This would probably introduce more upstream merge challenges, and wouldn't support the "I'd like to completely skip generating these menus" scenario.

I explicitly did not update delmenu.vim to reset the new variable. It would be more correct to do so, but would create an upstream merge conflict for no appreciable benefit: if menu.vim is resourced at runtime, macmenu has no effect anyway. That could be fixed, but that's a much bigger change.
This is a fairly niche change, so I'm entirely convinced it's worth pulling in, but I did the work so I figured I'd see what folks thought.

Hi @jpetrie sorry I did not get around to reviewing this PR. Can you reopen it?
I think we have a simpler change that we could make though: just move all the macm (macmenu) calls to be within the did_install_default_menus block. This way we don't have to move the setting of did_install_default_menus till later. It still makes merging from upstream slightly harder since the macmenu call will be somewhere in the middle of the file instead of all the way in the end but I think it's unlikely it's going to cause issues. menu.vim isn't a frequently updated file anyway, and a giant chunk of code addition like this is easy to merge and resolve.
This way we don't have to define a new variable which seems confusing to me.

Ok I just did the change that I mentioned. Should be fixed now.


the head config to support function in doc theme

@shuding I was solving my issue described here #379, and I found what is the issue.
This PR will add a support for passing a function in config.head configuration for Docs theme.
To support config.head as a function we need to have latest code from core branch for renderComponent metod:
const renderComponent = <T,>(
  ComponentOrNode: React.FC<T> | React.ReactNode,
  props: T,
  functionOnly?: boolean
) => {
  if (!ComponentOrNode) return null
  if (typeof ComponentOrNode === 'function') {
    if (functionOnly) return ComponentOrNode(props)
    return <ComponentOrNode {...props} />
  }
  return ComponentOrNode
}

Note that this is not a function we have in latest tag (v2.0.0-beta.5). The functionOnly is added later.
Important part is we have functionOnly and in case it is true we return  ComponentOrNode(props). And that is what will make config.head as a function to be rendered into the Head.
Also we need to do what my PR suggest to call renderComponent with the functionOnly = true, because only in that case we will support both cases for config.head: function and Element.
Example of the config.head as a function we will support after this PR, and releasing new tag.
  head: ({title, meta}) => (
    <>
      <meta name="description" content={meta.description ? meta.description: "Default description"} />
    </>
  ),

@B2o5T @shuding What is the replacement for meta.description in beta 25? The page won't render showing me that it doesn't recognize meta.description in my theme config.
I'm using this example for testing:
head: ({title, meta}) => (
<>
<meta name="description" content={meta.description ? meta.description: "Default description"} />
</>
),

https://github.com/shuding/nextra/blob/09b4102c9141944b4b67b072cc5566993d78a44b/examples/swr-site/theme.config.tsx#L128


Name resource group after the region

e.g. AzureFunctions-WestUS
This avoids some tricky issues when you create one in two regions.

fixed in f2aaf05ba36955b53a7e2326f1d3758e8e480418


section class to tailwind

ref #9013

From

https://bulma.io/documentation/layout/section/

use instead px-6 py-12

Hey, I'd like to take up this issue.

:wave:


[9.0.0RC3] Preset themes (skins) are initialized after updating.

Updated to 8.5.5 -> 9.0.0RC3.
(I wanted to test it with 9.0.0RC4, but I got an error and gave up.)
At this time, 8.5.5 was pre-built with the Elemental's "Night Road" preset.
Since Elemental++ also had a preset for "Night Road", I assumed it would be newly applied in the update.
However, when I actually updated, it changed to the "default".
I think it is inevitable that "Blue Sky" and "Royal", which are not in Elemental++, will be replaced by "Default" in the update.
However, I think that "Night Road" should be replaced by "Night Road" in Elemental++.

This will be resolved in the next release candidate. You can already see it start to work in the current 9.0 branch, which separates the concept of "skins" (which are a 9.0+ feature with Atomik, etc...) and theme customizer presets, which are now back into Elemental. The Elemental customizer still doesn't work fully yet, but it's getting close and will be fixed in the next RC.


cluster store and advertise info does not show in docker info when reload configuration

HI ,All
I read pr #18587, and found that cluster options and cluster advertise has been supported in docker engine > 1.10.0.
And I found when two of above options are written in /etc/docker/daemon.json and reloaded, nothing will show in docker info  related to cluster store and advertise.
However if we execute service docker restart, the following info will show:
Cluster store: etcd://<IP_ADDRESS>:12379
Cluster advertise: <IP_ADDRESS>:12376

Output of docker version:
root@ubuntu:/etc/docker# docker version
Client:
 Version:      1.10.2
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   c3959b1
 Built:        Mon Feb 22 21:37:01 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.10.2
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   c3959b1
 Built:        Mon Feb 22 21:37:01 2016
 OS/Arch:      linux/amd64

Output of docker info:
root@ubuntu:/etc/docker# docker version
Client:
 Version:      1.10.2
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   c3959b1
 Built:        Mon Feb 22 21:37:01 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.10.2
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   c3959b1
 Built:        Mon Feb 22 21:37:01 2016
 OS/Arch:      linux/amd64
root@ubuntu:/etc/docker# docker info
Containers: 1
 Running: 0
 Paused: 0
 Stopped: 1
Images: 38
Server Version: 1.10.2
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 44
 Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
 Volume: local
 Network: bridge null host
Kernel Version: 3.19.0-25-generic
Operating System: Ubuntu 14.04.3 LTS
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 1.954 GiB
Name: ubuntu
ID: Q2ZC:GWDN:27OH:GRMH:G6QU:W7QP:4TIX:Q5F6:YEVK:45XP:EXHC:HOB5
WARNING: No swap limit support

Steps to reproduce the issue:
1.vi /etc/docker/daemon.json, and write
{
    "cluster-advertise": "<IP_ADDRESS>:12376",
    "cluster-store": "etcd://<IP_ADDRESS>:12379"
}

save and exit
2.kill -SIGHUP DOCKER_PID
3.show docker info and no cluster store and cluster advertise show in the result
root@ubuntu:~# docker info
Containers: 1
 Running: 0
 Paused: 0
 Stopped: 1
Images: 38
Server Version: 1.10.2
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 44
 Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
 Volume: local
 Network: bridge null host
Kernel Version: 3.19.0-25-generic
Operating System: Ubuntu 14.04.3 LTS
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 1.954 GiB
Name: ubuntu
ID: Q2ZC:GWDN:27OH:GRMH:G6QU:W7QP:4TIX:Q5F6:YEVK:45XP:EXHC:HOB5
WARNING: No swap limit support

4.service docker restart and docker info
root@ubuntu:~# service docker restart
docker stop/waiting
docker start/running, process 2019
root@ubuntu:~# docker info
Containers: 1
 Running: 0
 Paused: 0
 Stopped: 1
Images: 38
Server Version: 1.10.2
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 44
 Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
 Volume: local
 Network: bridge null host
Kernel Version: 3.19.0-25-generic
Operating System: Ubuntu 14.04.3 LTS
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 1.954 GiB
Name: ubuntu
ID: Q2ZC:GWDN:27OH:GRMH:G6QU:W7QP:4TIX:Q5F6:YEVK:45XP:EXHC:HOB5
WARNING: No swap limit support
Cluster store: etcd://<IP_ADDRESS>:12379
Cluster advertise: <IP_ADDRESS>:12376

and both cluster store and cluster advertise show in the result.
@calavera
Do the cluster store and advertise work?
Work and just no result in docker info?
Or no work ?

I found that in docker 1.10.2 cluster-advertise and cluster-store is not supported in config reloading, while in docker/master, it is already supported.