Only check links in changed files (for PR builds) or the service directory (for release builds)

This change aligns the C++ CI pipeline with the 4 P0 language ( .Net, Java, Python, TypeScript) pipelines in how they treat link validation.
For PullRequest builds, it checks against all changed files, for release builds, it checks all the files within the service directory.
Pull Request Checklist
Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:
See the detailed list in the contributing guide.

[ ] C++ Guidelines
[ ] Doxygen docs
[ ] Unit tests
[ ] No unwanted commits/changes
[ ] Descriptive title/description

[ ] PR is single purpose
[ ] Related issue listed

[ ] Comments in source
[ ] No typos
[ ] Update changelog
[ ] Not work-in-progress
[ ] External references or docs updated
[ ] Self review of PR done
[ ] Any breaking changes?

Ping :).

Consistency across languages is good.
That said, I like the way C++ checks all the links in the repo rather than just the files changed, which results in early detection of broken links that would otherwise remain dormant, unless modified. Any link could potentially break, especially when coming from an external source.
I would prefer if we understood why other languages do it differently, and maybe have them re-evaluate their position instead.
@weshaggard shouldn't we check all links in the repo to catch broken links, or is that happening elsewhere already (maybe nightly builds)?

@weshaggard shouldn't we check all links in the repo to catch broken links, or is that happening elsewhere already (maybe nightly builds)?

For other languages we are trying to scope them to only things in their area. I will also add they do have a nightly build that does check all the links in the repo so there is still some coverage of the other files in the repo.

I will also add they do have a nightly build that does check all the links in the repo so there is still some coverage of the other files in the repo.

That's great. As long as we do the same in C++, my concern of having dormant broken links within the repo would be resolved. Thanks!
I am not super familiar with our engsys yml files, can you point to an example where the nightly build validates this in other repos, and then I can compare that with what C++ is doing.

/azp run cpp - core

I will also add they do have a nightly build that does check all the links in the repo so there is still some coverage of the other files in the repo.

That's great. As long as we do the same in C++, my concern of having dormant broken links within the repo would be resolved. Thanks!
I am not super familiar with our engsys yml files, can you point to an example where the nightly build validates this in other repos, and then I can compare that with what C++ is doing.

For .NET and the other tier 1 languages they have an aggregate-reports pipeline that runs night and checks all links. See https://github.com/Azure/azure-sdk-for-net/blob/main/eng/pipelines/aggregate-reports.yml#L47. Cpp might want to do something similar or maybe have the nightly core pipeline check all the links. I leave that up to you.

Cpp might want to do something similar or maybe have the nightly core pipeline check all the links.

That's a good idea. @LarryOsterman, after the change in this PR, I don't believe we will have link verification in nightly builds, so we need to turn that on.
@danieljurek, where would we add the verify-links step for nightly builds? I don't think live.tests.yml is the right place for that, correct?
https://github.com/Azure/azure-sdk-for-cpp/blob/5a348b6766cc58903a3c8ee2effc841ae06194c9/eng/pipelines/templates/jobs/live.tests.yml#L1

/azp run cpp - core

/azp run cpp - keyvault

/azp run cpp - core

/azp run cpp - core

Cpp might want to do something similar or maybe have the nightly core pipeline check all the links.

That's a good idea. @LarryOsterman, after the change in this PR, I don't believe we will have link verification in nightly builds, so we need to turn that on.
@danieljurek, where would we add the verify-links step for nightly builds? I don't think live.tests.yml is the right place for that, correct?
https://github.com/Azure/azure-sdk-for-cpp/blob/5a348b6766cc58903a3c8ee2effc841ae06194c9/eng/pipelines/templates/jobs/live.tests.yml#L1

Looking at the way the pipelines are configured, it appears that the nightly tests are also running link validation. I will confirm before proceeding with the PR.

Cpp might want to do something similar or maybe have the nightly core pipeline check all the links.

That's a good idea. @LarryOsterman, after the change in this PR, I don't believe we will have link verification in nightly builds, so we need to turn that on.
@danieljurek, where would we add the verify-links step for nightly builds? I don't think live.tests.yml is the right place for that, correct?
https://github.com/Azure/azure-sdk-for-cpp/blob/5a348b6766cc58903a3c8ee2effc841ae06194c9/eng/pipelines/templates/jobs/live.tests.yml#L1

Looking at the way the pipelines are configured, it appears that the nightly tests are also running link validation. I will confirm before proceeding with the PR.

I just verified that the links are verified within the service directory on all pipeline runs outside the azp run command. That should apply to nightly pipeline runs.


You have any sample design?

I made this package work in parts in my design. After numerous tests and ways of doing, did not work 100%.
I wonder if there is a project where I can base myself?

@jefferson-william Do you want sample project or files for grunt-require-rev?
You can fine usage examples on README and test/fixture/.

Example for default options
=> https://github.com/heavymery/grunt-require-rev/tree/master/test/fixtures/default_options
Example for custom options
=> https://github.com/heavymery/grunt-require-rev/tree/master/test/fixtures/custom_options

And expected result is located on test/expected/.
https://github.com/heavymery/grunt-require-rev/tree/master/test/expected


Device: _TZE200_ckud7u2l - TS0601

Manufacturer
_TZE200_ckud7u2l
Model
TS0601
Battery Type
AA
Battery Quantity
2

These only mark 100% or 5% nothing in between


feature request: u-boot should support extlinux.conf.once for a 'bootnext' experience

sudo efibootmgr --bootnext XXXX allows, via nvram, a one-time boot override to be specified.
On many Tow-Boot/u-boot platforms nvram isn't available, and something like extlinux is being used. I think grub has non-nvram mechanisms for doing this as well.
The request comes down to u-boot looking for an extra extlinux.conf file, maybe named extlinux.conf.once or extlinux.conf.bootnext or some such. U-boot would read that file, delete it, then (try to) boot it.

To elaborate, I am interested in automating rpi updates, and validating them.
I think I have most of a strategy down to test u-boot upgrades, but I also want to be able to test both the mainline and foundation kernels automatically. My Pi config default boots mainline, but has the ability to boot a "Foundation" specialisation. This issue's requested functionality would allow me to programmatically hack up a Foundation-specific extlinux conf and then boot it a single time for validation purposes. (Rather than the alternative, which is to interactive catch u-boot and pick the specialisation boot).
Another alternative to this would be having my testing automation simply change the kernel in use and re-deploy but that's not ideal and this functionality is generally useful.

Functionality could be generally useful to allow the operating system to mark a new "unknown if bootable" generation bootable on the first boot.
That OS could update the boot entries list, keep the current booted generation as active and default, add a .once entry. When booting the new generation, the OS would have an built-in way (hand-waves) to update the boot entries list with the new one as good.


Owner name bug? Bushman family as an example

There is an interesting discrepancy at least between the Prod database and what is viewed in WestDAAT.
Story
Michelle mentioned to me in the office today that she coincidentally came across water rights in her family's name in Arizona local database search (while looking into terminology stuff). So she was curious if her family has water rights through WestDAAT. I looked and found a bunch of rights in her family name.
Expected
The download function worked perfectly fine to show the list in this example in Idaho (see the WestDAAT link below and the CSV downloaded file)
Unexpected (bug?)
When I visit many of the landing pages of these 10 example sites, I see owner names that have nothing to do with Bushman at all. Also, those names dont show up at all in the downloaded CSV file.
Speculation
Is the Mapbox in Prod out of data compared to the database? There could be an issue in DPL's code that generates the sites for Mapbox/landing pages. No idea.
https://westdaat.westernstateswater.org/?state=N4Ig7gTiBcoIYBsEHsDGcAuBLZA7A8mLgKZTQgBGArgM4AWAtnLiADQgAOyCAngliRgBtUFgAmxXNgBmWUjBDTiARgAsAVgAcysZtSoxATgrri61QHZ1AZmsAGO6k2qxcAEyaAbGxCuMcGFExBSU1LR09A2NTcytbBycXdy8fDB4OYgUAMWJMKghM9g4IZAyIbGIaQIBfdgBzYmQGYgwIHkCQVGRkCDEBTErhISEAWmVxgDoNOzc7C09PN09VQ2tPVlU3KbdDB08LTbnPLQBdVlHx5QnrQ3VDVU03DXtzNw2tzfVlrxvVO1UAWcLpMbtY3Oo3MpwcpNJpDJp3lN-g4wcp5oZlHZlECxpMNIY3ITtJtYQTETcCVDnPMHhZrDjLlN1DMjotlqt1pttrs7PtDvNTicziA0hkFAAFbg8Op4EDVeXC3AIPpZLAIDCkAAimACsBACEwWAwVAkMFwVCQ7BQuDqRpNmWg5stviwBVQ2DwVWg1nYfjgkoEGC9Fnl7CYHA6AC9ugwADLEABuxAQMGU1muUOUnlscLuykMFgR%2BsNxtN0C5fwxDi%2BLPUXyteFtpYduKum2sXkLkLcB3G8qAA
Downlaodd file
WaterAllocations.csv

Are we are talking about water rights in AZ that that have a 'Bushman' name to the owner?  The example given was for ID.
The attached WaterAllocations.csv is empty.

This same error does not appear on the UAT.  If I had to guess, it something to do with uploading the data from UAT -> to PROD, and updating the Maptiler of the PROD too.

For the water rights that should be in AZ under the bushman name, it's possible that our scripts may have removed that info.  They break their QANTITIY value out in different value, it's possible it was removed.

Here is what shows up in WestDAAT now. I think this looks good to me.
@rwjam Is the screenshot table from Excel(?) related at Bushman owner name or was this just an example of the different units AZ provides?
https://westdaatstaging.westernstateswater.org/?state=N4Ig7gTiBcoIYBsEHsDGcAuBLZA7A8mLgKZTQgBGArgM4AWAtnLiADQg0abE0wDaIAIIAtEAF12AB2QIAngiwl%2BEkLgQATLADEsCDKQAimODFAJMWDFXXEYuKknYpcAc0vXb0e45CaIxVGw8XmgAZnZ1YwAFZEUMEIB2AF8k9iZJUxAAL2RkBgAZYgA3YgQYAFYAOgAGABYAJlD6hIBGeuqANnqATnLepwsrGxgmyo7Q0NqW7uqADm7e0LanPDchzwBaFuqEypbQ8oba7oSO8tDuyZSgA


tmpop: validator set in proofs

Add validator set in tendermint proofs.
Tested with a byzantine node and fixed a few issues.

This change is

Reviewed 5 of 5 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Reviewed 5 of 5 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Reviewed 5 of 5 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

cs/evidences/evidences.go, line 268 at r1 (raw file):

	// We need 2/3 of the votes for the proof to be accepted.
	if 3*votesPower < 2*validatorSet.TotalVotingPower() {

I'm not sure that's correct.
If we have 3 nodes with 1 vote and only 2 nodes have voted then:
(6 < 6) == false => we'll return true even though we should return false. We must have strictly more than 2/3 of the votes.

Comments from Reviewable

Review status: all files reviewed at latest revision, 1 unresolved discussion.

cs/evidences/evidences.go, line 268 at r1 (raw file):
Previously, such (Adrien Montfort) wrote…
I'm not sure that's correct.
If we have 3 nodes with 1 vote and only 2 nodes have voted then:
(6 < 6) == false => we'll return true even though we should return false. We must have strictly more than 2/3 of the votes.

I thought the condition was that if you had exactly 2/3 then it worked...I'll double-check Tendermint's doc, thanks for raising this.

Comments from Reviewable

Reviewed 1 of 1 files at r2.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

Comments from Reviewable

Reviewed 5 of 5 files at r1.
Review status: all files reviewed at latest revision, 2 unresolved discussions.

cs/evidences/evidences.go, line 213 at r1 (raw file):

}

// validateValidatorSet verifies that the signed header

nit: headers

Comments from Reviewable

Reviewed 1 of 1 files at r3.
Review status: all files reviewed at latest revision, 2 unresolved discussions.

cs/evidences/evidences.go, line 213 at r1 (raw file):
Previously, simonvadee (Simon Vadée) wrote…
nit: headers

Done.

Comments from Reviewable

Reviewed 1 of 1 files at r3.
Review status: all files reviewed at latest revision, 2 unresolved discussions.

Comments from Reviewable

Reviewed 1 of 1 files at r3.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

Comments from Reviewable

Review status: all files reviewed at latest revision, all discussions resolved.

cs/evidence_tendermint_test.go, line 62 at r3 (raw file):

		Address:     pk3.Address(),
		PubKey:      pk3,
		VotingPower: 21,

changing this to 20 would test that we actually need 2/3+ (and not just 2/3)

Comments from Reviewable

Reviewed 1 of 1 files at r4.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

cs/evidence_tendermint_test.go, line 62 at r3 (raw file):
Previously, such (Adrien Montfort) wrote…
changing this to 20 would test that we actually need 2/3+ (and not just 2/3)

Done.

Comments from Reviewable

Review status: all files reviewed at latest revision, 1 unresolved discussion.

cs/evidence_tendermint_test.go, line 62 at r3 (raw file):
Previously, t-bast (Bastien Teinturier) wrote…
Done.

thx!

Comments from Reviewable

Reviewed 1 of 1 files at r5.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Self-host all JS/CSS/Assets

MaxCDN is down, causing twimoji to fail, causing the JS on the page to fail. We shouldn't be pointing at remote servers and should instead self-host everything. Fix that, and fix the frontend.

Fixed with f8b7c72f4184d9b5a9d4fedb16ae19db15350c03, d2fcbfb39e754e71ce28b976251549dc781d89d4, 0f74c16eaadb9da0dd48af00f63a1df8d5037c6a and 92373c336d2f75af8f8117ed26fc6a056c5a259b.


*.Dockerfile: Manually bump the image tags to 4.8

This is needed to properly substitute in the release prow configurations.

/test all


Add power metering to power outlet

Added current electricity load to Xiaomi Zigbee power outlet. The packet appears to only be sent when there is a significant change in load, so not sure exactly how accurate the readings are however.

I don't own a Xiaomi Zigbee Outlet, and nobody else has commented trying out your code changes, so I can only judge based on what I see in the code.
It looks good to me, so I'm going to merge the pull request after adding v1.1 to the header note so a version number can be used from now on. I'm also going to add you as a contributor in the header notes.
Thanks!


Document Sonatype IQ Server Requirements

Include in documentation known supported versions of Sonatype IQ Server.

Tested on IQ 150 and works, assuming baseUrl has been set.
FYI @maurycupitt


Blur in MDDialog

Description of the Feature
It would be nice if there was an option to have blur behind a dialog like in the picture below:

it would need to take a picture of the background,
store it in memory and apply a x blur and a y blur, as seen in the kivymd russian article

The blur effect is not mentioned inside the material IO spec. Should we still consider this as an enhancement to kivyMD?

@podraco I think not. The blur effect can be added on its own if needed. It should not be part of the API of the KivyMD library.

Then this issue should be closed, do you agree?


syntax::parse::token::InternedString usage updates

I was trying to build against rustc 1.0.0-dev (a08504bb3 2015-02-07 09:55:14 +0000) and had to make some changes to src/racer/ast.rs.  Admittedly I am quite new to Rust but hope this is correct and helps!

Hi @nyx
Thanks for this. The linux nightlies aren't as up to date yet (are you on osx?). I'll merge when they catch up
Cheers,
Phil

@phildawes yep I'm building on OS X, apologies for not noting that earlier. thanks!

Merged. Thanks again!


testing the semantics and compiler

We need a set of programs to explore the semantics of MicroCode. I'll paste some here.

I'm outputting the JSON whenever a compile is done. Here is the JSON for the happy/sad program:
{"progdef":{"P":[{"R":[{"S":["S2"],"A":["A5"],"F":["F3"],"M":["M15(0000001010000001000101110)"]},{"S":["S2"],"A":["A5"],"F":["F4"],"M":["M15(0000001010000000111010001)"]},{"S":[],"A":[]}]},{},{},{},{}]}}

Here's program testing some other stuff (any button press, page change):
{"progdef":{"P":[{"R":[{"S":["S2"],"A":["A5"],"F":["F3"],"M":["M15(0000001010000001000101110)"]},{"S":["S2"],"A":["A5"],"F":["F4"],"M":["M15(0000001010000000111010001)"]},{"S":["S2"],"A":["A1"],"M":["M2"]},{"S":[],"A":[]}]},{"R":[{"S":["S2"],"A":["A5"],"M":["M15(0000000000000000000000000)"]},{"S":["S2"],"A":["A1"],"M":["M1"]},{"S":[],"A":[]}]},{},{},{}]}}


Add support to FileField

[ ] generic file
[ ] imgs

Now support, but how to facilitate uploading?


Bundler/DuplicatedGroup raises false positive when the same groups are defined with different sources

Rubocop 1.56 introduced new Bundler/DuplicatedGroup cop, which complains on our gemfile
We use both standard rubygems repository as well as private github gems storage, nesting private gems into source private_github_repo block. This is how our Gemfile looks like:
# frozen_string_literal: true

source 'https://rubygems.org'
source 'https://gems.contribsys.com/' do
  gem 'sidekiq-pro', '7.1.3'
end

git_source(:github) { |repo| "https://github.com/#{repo}" }

source 'https://rubygems.pkg.github.com/private-org' do
  gem 'private-runtime-dependency'

  group :development, :test do
    gem 'private-dev-dependency'
  end
end

ruby '3.2.2'

gem 'rails', '~> 7'

group :development, :test do
  gem 'bundler-audit', '~> 0.9.0'
end

group :development, :test do
  gem 'web-console', '>= 4.1.0'
end

group :test do
  gem 'factory_bot_rails'
end

This Gemfile has group :development, :test block defined twice: on line 13, nested into source block, and on line 22, without nesting.
Expected behavior
No offense should be reported, since block defined on line 13 has extra options (source) which the block on line 22 does not have
Actual behavior
Rubocop registers offence for line 22, claiming that "the same" group was declared on line 13:
$ bundle exec rubocop --debug Gemfile 2>&1 | sed s,`pwd`,'[Rails.root]',g
For [Rails.root]: configuration from [Rails.root]/.rubocop.yml
configuration from [Rails.root]/vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.18.0/config/default.yml
configuration from [Rails.root]/vendor/bundle/ruby/3.2.0/gems/rubocop-performance-1.18.0/config/default.yml
Default configuration from [Rails.root]/vendor/bundle/ruby/3.2.0/gems/rubocop-1.56.0/config/default.yml
configuration from [Rails.root]/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.20.2/config/default.yml
configuration from [Rails.root]/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.20.2/config/default.yml
configuration from [Rails.root]/vendor/bundle/ruby/3.2.0/gems/rubocop-capybara-2.18.0/config/default.yml
configuration from [Rails.root]/vendor/bundle/ruby/3.2.0/gems/rubocop-capybara-2.18.0/lib/../config/default.yml
configuration from [Rails.root]/vendor/bundle/ruby/3.2.0/gems/rubocop-factory_bot-2.23.1/config/default.yml
configuration from [Rails.root]/vendor/bundle/ruby/3.2.0/gems/rubocop-factory_bot-2.23.1/lib/../config/default.yml
configuration from [Rails.root]/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.23.2/config/default.yml
configuration from [Rails.root]/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.23.2/config/default.yml
Use parallel by default.
Skipping parallel inspection: only a single file needs inspection
Inspecting 1 file
Scanning [Rails.root]/Gemfile
Loading cache from /Users/artemignatyev/.cache/rubocop_cache/ea73f893fd75fed6eb3813edaaceafed125998c9/431d3268f19f244d7cfb330d6e2b8d2d9996286a/11f439d95cfe2aa0aebd37556039f22050a11e81
W

Offenses:

Gemfile:22:1: W: Bundler/DuplicatedGroup: Gem group development, test already defined on line 13 of the Gemfile.
group :development, :test do
^^^^^^^^^^^^^^^^^^^^^^^^^

1 file inspected, 1 offense detected
Finished in 0.4624439999461174 seconds

Steps to reproduce the problem

Author a gemfile, that has the same group defined within different source blocks (or one nested within the source block and one defined at top level)
Run rubocop against this Gemfile

RuboCop version
$ bundle exec rubocop -V
1.56.0 (using Parser <IP_ADDRESS>, rubocop-ast 1.29.0, running on ruby 3.2.2) [arm64-darwin21]
  - rubocop-performance 1.18.0
  - rubocop-rails 2.20.2
  - rubocop-rspec 2.23.2

I my case it simply fails:
An error occurred while Bundler/DuplicatedGroup cop was inspecting /home/ixti/Projects/sidekiq-pauzer/Gemfile.
undefined method `value' for s(:hash,
  s(:pair,
    s(:sym, :optional),
    s(:true))):RuboCop::AST::HashNode
/home/ixti/.gem/ruby/3.2.2/gems/rubocop-1.56.0/lib/rubocop/cop/bundler/duplicated_group.rb:63:in `map'
/home/ixti/.gem/ruby/3.2.2/gems/rubocop-1.56.0/lib/rubocop/cop/bundler/duplicated_group.rb:63:in `block in duplicated_group_nodes'
/home/ixti/.gem/ruby/3.2.2/gems/rubocop-1.56.0/lib/rubocop/cop/bundler/duplicated_group.rb:69:in `block in group_declarations'

1.56.0 (using Parser <IP_ADDRESS>, rubocop-ast 1.29.0, running on ruby 3.2.2) [x86_64-linux]
  - rubocop-capybara 2.18.0
  - rubocop-performance 1.18.0
  - rubocop-rake 0.6.0
  - rubocop-rspec 2.23.2

# frozen_string_literal: true

source "https://rubygems.org"

gem "appraisal"
gem "rake"

group :test do
  gem "sidekiq"

  gem "capybara"

  gem "rack"
  gem "rack-session"
  gem "rack-test"

  gem "rspec"
  gem "rspec-parameterized"
  gem "simplecov"

  gem "rubocop", require: false
  gem "rubocop-capybara", require: false
  gem "rubocop-performance", require: false
  gem "rubocop-rake", require: false
  gem "rubocop-rspec", require: false
end

group :development, optional: true do
  gem "debug"

  gem "guard"
  gem "guard-rspec"
end

group :doc, optional: true do
  gem "asciidoctor"
  gem "yard"
end

gemspec


[Install error] The engine "node" is incompatible with this module.

$ yarn
yarn install v1.22.10
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version "^12.20.0 || ^14.13.1 || >=16.0.0". Got "15.11.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

As the error says, and as is detailed in the 2.0.0 release notes & migration guide, your version of Node.js is unsupported:

Expected version "^12.20.0 || ^14.13.1 || >=16.0.0". Got "15.11.0"

Node.js 15.x went out of support first of April this year, and stopped receiving security updates since first of July. Therefore this new version does no longer actively support them.
You can either use the --ignore-engines to your yarn command, or upgrade to Node.js 16.x which is supported.


Simple data drift trigger

Add a simple DataDriftTrigger to supervisor.

The DataDriftTrigger launches drift detection every N new data points. Data used in detection are data trained in the previous trigger and all the untriggered new data. Embedding is computed using the previous trained model. It uses detection algorithms implemented by Evidently. Drift result is the majority of all drift metrics.
Trigger.inform returns a Generator instead of List.
Add tokenizer for text data to Evaluator proto.

TODOs

Add drift detection config schema.

Hey @jenny011, is this ready for review again (Xianzhe mentioned something like this at the office today)? Do you want to fix CI first or should I go through it first, or do you need some more time? thank you!


Observing 500 Internal server error on Huawei RTN905-2F model for DOMAIN=live across APIs randomly

Observing 500 Internal server error on Huawei RTN905-2F model for DOMAIN=live across APIs randomly
Devices are in connected state.
pkg : 1.1.0.a_impl
http://xx:xx/core-model-1-4:network-control-domain=live/control-construct=CO17694/firmware-1-0:firmware-collection

{
"code": 500,
"message": "Internal Server Error"
}

Tested with latest  MWDI version 1.1.2.g_impl, Issue is no longer observed.
For Huawei RTN905-2F model we are able to get 200 response.
http://XXXXXXX:XXX/core-model-1-4:network-control-domain=cache/control-construct=CO17694


Bugfix for cas insensitive searches for a file path

This will fix #1587 by using the case-lowering of the database instead of Python and SQLite.

I think I finally see what the problem is here: lower() in SQLite transparently converts BLOBs to strings. See:
sqlite> select quote(x'034445');
X'034445'
sqlite> select quote(lower(x'034445'));
'de'

Meaning that calling lower() on the data in the table is producing a string, but we're still passing in a BLOB containing the lower-cased query string from Python. SQLite considers a string/BLOB comparison to be false.
>>> c.execute('select ? = ?', (buffer("hi"), "hi")).fetchone()[0]
0
>>> c.execute('select lower(?) = ?', (buffer("hi"), "hi")).fetchone()[0]
1

It would be really nice, then, if we could just pass in the file_path string as a string, not a blob, and do the comparison without any more conversions. But SQLite won't let us convert an arbitrary byte sequence to a string. :cry:
In fact, we're already inviting trouble by calling lower(?) on the BLOB data stored in the database: if it doesn't match SQLite's internal encoding (which it certainly might not! We don't even know which encoding SQLite was compiled with), converting to a string causes an error:
>>> c.execute('select lower(?)', (buffer(u'caf\xe9'.encode('latin1')),)).fetchone()

(That's on my SQLite, which happens to have a UTF-8 internal encoding. This Latin1-encoded string happens to be invalid UTF-8.)
Anyway, I think the conclusion to all of this is that we can't rely on SQLite's internal BLOB-to-TEXT, which is implicitly invoked by lower(). I think the only alternative is to sort out how to use LIKE to get its case-insensitive behavior.

Note that LIKE seems to work fine with arbitrary binary BLOBs:
>>> c.execute('select ? like ?', (buffer(u'caf\xe9'.encode('latin1')), buffer('caf%'))).fetchone()[0]
1

And that it is indeed case-insensitive, even for BLOBs:
>>> c.execute('select ? like ?', (buffer('X'), buffer('x'))).fetchone()[0]
1

Woohoo!

Everything you mentioned is now implemented and seems to work perfectly :smile:

AWESOME! :sparkles: I'm so glad this works. This is a nice, simple solution.
One tiny comment above; then feel free to hit the merge button if you like. :rocket:


[PE-D] The size of the GUI does not scale with the size of the window

It seems that the GUI size is fixed, not sure if this is intentional but the team may want to look into making it resizable, especially for users with smaller laptops or who want to enlarge the GUI.

Labels: type.FunctionalityBug severity.Low
original: honganhcs/ped#6

picking this up


Hypothesis plugin always generates None for Optional, first element for Union

Initial Checks

[X] I have searched GitHub for a duplicate issue and I'm sure this is something new
[X] I have searched Google & StackOverflow for a solution and couldn't find anything
[X] I have read and followed the docs and still think this is a bug
[X] I am confident that the issue is with pydantic (not my code, or another library in the ecosystem like FastAPI or mypy)

Description
Using the Hypothesis plugin for pydantic models with st.builds(MyModel) whose attributes are annotated with either Optional or Union does not cover all possible values:

Attributes annotated with Optional[X] always draw None instead of combinations of None and an instance of X
Attributes annotated with Union[X, Y, ...] always draw an instance of X if Y can be cast as an instance of X

Example Code
The following code always passes:
from pydantic import BaseModel
from hypothesis import given, settings, strategies as st, Verbosity

from typing import Optional, Union

class MyModel(BaseModel):
    first: Union[str, float]
    second: Optional[str]

@settings(verbosity=Verbosity.verbose)
@given(st.builds(MyModel))
def test_my_model(inst):
    assert isinstance(inst.first, str)
    assert inst.second is None

if __name__ == "__main__":
    test_my_model()

Additional Insights
In the case of (1), a model whose attributes are all optional will only ever generate a single instance with all-None values; i.e. Hypothesis believes it has exhausted the search space even when its cardinality is 2^ℵ0!
In the case of (2), it appears that different types are in fact generated, but then cast to the first type if this is possible. For instance:
class MyModel(BaseModel):
     value: Union[str, float]

Will always generate str values, but they can have values that appear to have been cast from floats such as '-6.25685292950329e+16'.
Conversely, the following works as expected:
class MyModel(BaseModel):
     value: Union[float, str]

And will generate values for value which are both floats and strings. The exception to this rule is Union[None, X] and Union[X, None], which being equivalent to Optional[X] always generates None.
Python, Pydantic & OS Version
pydantic version: 1.10.4
            pydantic compiled: False
                 install path: /Users/matthew/.pyenv/versions/3.8.9/envs/test-pydantic/lib/python3.8/site-packages/pydantic
               python version: 3.8.9 (default, Aug  2 2022, 15:32:31)  [Clang 13.1.6 (clang-13<IP_ADDRESS>)]
                     platform: macOS-12.6-x86_64-i386-64bit
     optional deps. installed: ['typing-extensions']

Affected Components

[ ] Compatibility between releases
[ ] Data validation/parsing
[ ] Data serialization - .model_dump() and .model_dump_json()
[ ] JSON Schema
[ ] Dataclasses
[ ] Model Config
[ ] Field Types - adding or changing a particular data type
[ ] Function validation decorator
[ ] Generic Models
[ ] Other Model behaviour - model_construct(), pickling, private attributes, ORM mode
[X] Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

Slight addendum: there doesn't appear to be any heirarchy/dependency between type annotations after the first in a Union; for instance neither Union[str, MyEnum, float] and Union[str, float, MyEnum] fails, but will still always generate a str.

Duplicate of https://github.com/pydantic/pydantic/issues/4898


List of attributes in Djot

Is there a place to look for all legal and possible attributes that will work in Djot?
I see some examples in the documentation, and want to know where those came from. Do we need to specify every attribute ourselves or are there some predefined attributes?
For example there are attributes for setting languages, collars etc. but how would a new user explore available attributes?

There are no predefined attributes. How attributes are handled is renderer-specific. The HTML renderer just passes them through as attributes of the element.  Filters can do what they like with them.

Ok, so attributes like caps, lang etc. is specific for the format which Djot converts to, and that's the reason?
So one can research LATEX, HTML etc. and find which attributes is legal syntax and use them as wanted in the Djot source document?
If the above is true, then it is very very interesting.
Sendt fra min Mac Mini via Apple Mail

Den 13. jan. 2023 kl. 18.09 skrev John MacFarlane @.***>:
There are no predefined attributes. How attributes are handled is renderer-specific. The HTML renderer just passes them through as attributes of the element. Filters can do what they like with them.
—
Reply to this email directly, view it on GitHub https://github.com/jgm/djot/issues/188#issuecomment-1382148384, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGGLXRS7LVBDBSSTKZ6BCYDWSGD45ANCNFSM6AAAAAAT2H33FQ.
You are receiving this because you authored the thread.


fix: sync language files

Description
sync language files
Linked Issues/Tasks
Type of change
Refactoring
Tests
No test

Sorry, I've forgot about German. I have removed it from this PR


fix: redact token secrets in state show methods

Fixes https://github.com/JuliaComputing/PkgAuthentication.jl/issues/32.

Would be good to document on this PR how the output mentioned in #32 looks now.


Drop support of then keyword

@amohamedali Just a reminder: Remember to add This closes issue #ISSUE_NUMBER in the description for automatically close related issues.

Oops my bad I will added from now on.
This closes issue #548
Otherwise it seems strange to raise an unexpected token 'then' as 'then' now on doesn't become a "token" no ?

@amohamedali You should let it return the same kind of error message as following code
case int
when 0 foo
  foo
end

I believe that'll be something like unexpected token Ident 'foo', and in this case it should be unexpected token Ident 'then'.
And you should edit this PR's description and put the closing issue line in it instead of in the comment.


Cannot activate iOS paste in the editor window

The online playground is a wonderful resource. I just realized that I cannot paste code into the editor’s window using my iPhone.  The copy/paste dialog does not activate.
I have the latest iOS and tried to do so in chrome and the DuckDuckGo browser. Neither worked.

Duplicate of #451

I just tested the solution to use the Style: simple configuration in iOS chrome and DuckDuckGo. It works.  Thank you. - E


Update Invoke-O365Ninja.ps1

Set the $socmailbox variable to be a mandatory parameter

Thanks for the update! I didn't include this as a required parameter as this is not required for all of the options within the script. However, you raise a good point, and this won't work if this parameter is not specified. So, I'll be committing an update later today, that remediates this further down in the script:
if ( -Not $socMailbox ) {
Write-Host "Target mailbox -socMailbox is required for this option" -ForegroundColor Red
Break;
}
Thanks!

This change has been made in the last push - please test it out and let me know if you run into any issues.
Thanks again!


TypeError occurs when parsing a Markdown document with footnotes after parsing a Markdown document without footnotes using the same Marked object

Extension Name: marked-footnote
Extension Version: v1.2.1
Project Version:
Device: [e.g Desktop] all of devices
OS@version (or Browser):
Node And NPM Version:

Description
I found a TypeError occurs when parsing a Markdown document with footnotes after parsing a Markdown document without footnotes using the same Marked object.
Error: making content2 raises error.
description: TypeError: Cannot read properties of undefined (reading 'filter')
Please report this to https://github.com/markedjs/marked.
    at Object.tokenizer (https://cdn.jsdelivr.net/npm/marked-footnote@1.2.1:7:1092)
    at https://cdn.jsdelivr.net/npm/marked@11.1.0:7:22564
    at Array.some (<anonymous>)
    at ne.inlineTokens (https://cdn.jsdelivr.net/npm/marked@11.1.0:7:22548)
    at ne.lex (https://cdn.jsdelivr.net/npm/marked@11.1.0:7:19159)
    at lex (https://cdn.jsdelivr.net/npm/marked@11.1.0:7:18986)
    at oe.parse (https://cdn.jsdelivr.net/npm/marked@11.1.0:7:33689)
    ...

The error does not occur in version 1.2.0.
To Reproduce (⚠ read below)
Parse a Markdown document with footnotes after parsing a Markdown document without footnotes using the same Marked object.
<EMAIL_ADDRESS>Expected Behavior
No errors occurs.
Actual Behavior
An error occurs.
Additional Information

The issue has been addressed in v1.2.2 🚀

Thanks!


Teams Screen Sharing showing only Taskbar and Black Background instead of Apps

Hi!
I have an issue with Teams Screen Sharing in an AVD session where my peer does not see my applications, but just the taskbar and a black background. It is a multi-monitor setup, but I am sure that I selected the correct monitor (since I shared all of them, one by one) Not sure if this is a problem with Teams on AVD or has something to do with the Remote Desktop Client. How do I troubleshoot this? Teams is installed in "WVD Media Optimized" mode (or something similar sounding) and is otherwise working normally (camera/microphone redirection).
Best wishes,
Remo

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

ID: 5f43e914-5ede-6f18-2fbc-165f3386f7cb
Version Independent ID: a9489295-572d-ff60-6bff-a44390ac4031
Content: What's new in the Windows Desktop client
Content Source: WindowsServerDocs/remote/remote-desktop-services/clients/windowsdesktop-whatsnew.md
Product: windows-server
Technology: remote-desktop-services
GitHub Login: @Heidilohr
Microsoft Alias: helohr

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Error during installation (0x80073CF3) from MSIX on Windows 10

Dev Home version
0.1001.389.0
Windows build number
10.0.19045.2193
Other software
No response
Steps to reproduce the bug
Installing Dev Home.
Expected result
No response
Actual result
This error:

Included System Information
Windows 10 Pro
Included Extensions Information
No response

I got Dev Home to install from the Microsoft Store, but this error is still a thing.

I got Dev Home to install from the Microsoft Store, but this error is still a thing.

I got Dev Home to install from the Microsoft Store, but this error is still a thing.

As a data point, someone was able to update their existing store install to the latest package, and then also separately install it (after uninstalling first) and didn't hit any dependency errors. Store seems to be installing something the MSIX does not.

Lowering severity since the Dev Home stub is now included on Windows 10, installation (even when started by the MSIX) seems to be working. Please let me know if anyone sees differently.


Dispatch API/Service share Database connection

Both the dispatch and the service are connecting to the database. This is probably not the best design option. Communication between the API and service should be through messages, not the database.

Agreed. But, things like job status, simulation status and results are required by frontend, so in this scenario, we need to have a DB connection with API. Now, service is accessing DB to check and update job status, since service is the only part which can interact with HPC, only service will have the info about job updates, so you need me to create a message subscriber (@MessagePattern) in API and then store the job status updates received from service (via MQ) into DB through API. Is that right?


PR within private repo was not created by the greenkeeperio-bot, but in my name

For a private repo of an organization the pull request ist created in my name (i'm the one approved who the access to the organization).
For my own public repository everything works fine.
Is this a constraint for private org repos or a bug?
The pull request by greenkeeper, which was created in my name:

The correct pull request within the public repo:

Hey @LarsHassler,
thanks for reporting this.
Unfortunately this is a constraint for private repos, because the Greenkeeper Bot doesn't have access to your repo and can't open pull requests on it.
For the time being we recommend using a bot account for private repos, but with GitHub Integrations on the way (and we're hard at work to make use of them asap) I'm happy to report that this problem will soon be gone. This is because Integrations can act on their own behalf, and don't need to act as a user.
I'll keep this issue open for other to find and discuss and will happily close with the launch of our GitHub integration.
Thanks again,
Stephan

Thanks for the quick reply.
I'd thought so, but found no other issue or any mention in the faq.

I'm happy to tell you that we've just rolled out the new Greenkeeper that is based on GitHub integrations.
With the new Greenkeeper this issue is resolved and you can try it out today: https://github.com/integration/greenkeeper
Installing the integration will automatically enable Greenkeeper for all repos that you can grant access for, and that have a package.json file present.
Please be aware that this is currently in its early phase. Before installing it we recommend disabling the old Greenkeeper.
Thanks for your feedback.
We'd love to hear what you think about the new Greenkeeer as well.
Best,
Stephan


Retrying of connection

Hi,
how could I retry the connection made by arcl_api_server.py?
Sometimes it drops out the connection.
Kindly,
Jonathan

Hi Jonathan,
If the ARCL server stops responding it occasionally happens because it receives a message that it is not made to handle. Messages like these include common ones like Stopped, undocking failed, failed to reach goal and other errors. See the implementation of the parser class here: https://github.com/OmronAPAC/Omron_AMR_ROS2/blob/master/src/om_aiv_navigation/om_aiv_navigation/action_server.py on how to handle outlier messages that the AMR might send.
Regards,
Zeon

Hey,
the same happens if i connect by using telnet to the robot. The omron robot "kicks out" the telnet client, same happens with arcl server.
-Jonathan

Hi Jonathan,
From my experience, the robot works completely fine when you open multiple telnet connections but my computer is often connected via LAN instead of WLAN. It could be a network error on your end but I will get back to you on this behaviour if I come across anything.
Regards,
Zeon

closing non-active issues


Implement new design of the continuous delivery pipeline for TestGrid

Description:
Latest strategy of CD for TestGrid can be found in [1] . Need to implement these changes.
[1] - https://docs.google.com/document/d/1Fu-06SfyxMDYBrKjYRqN4Dwg8JqSI4DPSL0rYSIUHZc/edit?usp=sharing

With the current TestGrid CICD flow which include executing integration tests in Dev environment, most of the aspects have been covered ATM. Hence closing the issue.
@sameerawickramasekara  The document contains findings of a good research. You are encouraged to write a blog with those content as well :)


feat(transformer): async-to-generator plugin.

Tests are still not passed. A lot need to do yet.

It appears that the iteration of the ast tree incurs performance degradation. However, it necessitates the duplication of statements for replacement. Are there alternative approaches that could be considered?

@7086cmd Can you hold onto this and let us take a look first? We may end up implementing this differently with architectural changes.

@7086cmd Can you hold onto this and let us take a look first? We may end up implementing this differently with architectural changes.

Ok. It does need some refactor, especially when it comes some polyfills here, we'd better do as what babel does: from js text to ast, which is visually more vibrant and more convenient. Replacing to multiple statements is also a handful problem.

For this PR, I would prefer what esbuild does: more visible and no need for refactor for multiple statements here: https://esbuild.github.io/try/#dAAwLjIzLjEALS10YXJnZXQ9Y2hyb21lNTAAYXN5bmMgZnVuY3Rpb24gYSgpIHsKICAgIGF3YWl0IDE7Cn0KCmFzeW5jIChkKSA9PiB7CiAgICBhd2FpdCAyOwogICAgYXdhaXQgZCgpCn0K.

I've not dug into this in full, but at first glance, it looks like this is using ESBuild's technique, rather than Babel's.
I can see why you've chosen to do that, but I'm afraid we need to follow @babel/plugin-transform-async-to-generator exactly.
There's a couple of reasons for this:
1. Runtime performance
ESBuild's technique is easier to implement, and maybe faster, but the code it generates will be slower at runtime.
Input:
async function foo() {
  await bar();
}

Babel output:
var foo = _asyncToGenerator(function*() {
  yield bar();
});

ESBuild output:
function foo() {
  return __async(this, null, function*() {
    yield bar();
  });
}

Babel's version creates a single function foo. But ESBuild's version has the cost of generating a new function function*()  every time you call foo.
Basically, Babel's version is better.
2. Testing
Our testing infra depends on passing Babel's tests. Sometimes it's annoying that we have to produce exactly same output as Babel, even in cosmetic things like variable naming. But the advantage is that we don't have to write loads of tests ourselves. I don't know about you, but I don't particularly enjoy writing tests!
Once we have the transformer passing all Babel's tests, our next step will be run the transformer on all source files for the top 3000 npm packages, like monitor-oxc does. We'll compare Oxc's output to Babel's output transforming the same files. Bombarding our transformer with so many test cases will no doubt reveal many bugs, and once we fix them we can have extremely high confidence that the transformer is behaving correctly. But for this to work, we need Oxc's transformer to emulate Babel exactly.
Only once we've got all that passing, then we'll bootstrap ourselves, and we can start making Oxc produce better output than Babel. But we haven't got to that stage yet.

Wow! The recent changes you've made took this from a -70% perf regression to only -1%/-2% (and of course we should expect some perf hit from adding a new transform - nothing comes for free).

Hello @overlookmotel and @Dunqing,
It appears that in babel, these functions share a common wrap_function helper. Given the complexity of the scenarios, I propose that I address several common situations in this PR and handle the remaining cases in subsequent PRs, and this approach ensures that the async_to_generator and async_generator_function share a unified wrap_function helper.

Thanks for your work! I am going to merge this PR and then complete this plugin later

Thanks for your work! I am going to merge this PR and then complete this plugin later

Thanks! Just a heads-up: this PR is from my personal forked repository, so we can't merge it using Graphite. If that's inconvenient, I'm willing to reopen it from the origin repository.

Thanks! Just a heads-up: this PR is from my personal forked repository, so we can't merge it using Graphite. If that's inconvenient, I'm willing to reopen it from the origin repository.

It doesn't matter, I have been rebasing the main branch


Unexpected failures with incorrect permissions in the IIASA database system

When a user has access to a Scenario Explorer database instance but no permission to view any models (or no scenarios exist), querying data from the API fails with an error similar to
  if nmissing == len(indexer):
      if use_interval_msg:
          key = list(key)
              raise KeyError(f"None of [{key}] are in the [{axis_name}]")
E KeyError: "None of [Index(['model', 'scenario', 'version', 'is_default', 'run_id'], dtype='object')] are in the [columns]"

The pyam.iiasa module should check that a response exists before casting to an IamDataFrame.

Seems that this isn't yet fully resolved, see https://github.com/IAMconsortium/pyam/issues/693#issuecomment-1231479261...


(proposal update) Add HuggingFace Space pushing capability to the HFModelPusher

integrated HuggingFace Space pushing capability into the HFModelPusher component proposal(#174)
cc: @sayakpaul

how this can be merged? maybe I need /lgtm from others?

/lgtm

/merge


use arrow for date/datetime/time conversions from/to str/int/float in fields.

Also improve DateTime, Date and Time field tests (test_fields.py)

Done in https://github.com/js-next/js-ng/commit/ce3c2860e0bfe251c4a307a5f053d5e39d45b0be.

Verified
Release date field accepts integers(unix  timestamp) and strings too


Feature: Make the contributors StackedAvatars component reusable

Type of feature
🍕 Feature
Current behavior
The contributor's avatar list has been built 3 times in 3 different places. Let's make this a reusable component.
Suggested solution
Port this code into one reusable component
https://github.com/open-sauced/hot/blob/main/src/components/HotRepositories.tsx#L126-L132
https://github.com/open-sauced/hot/blob/main/src/components/PostList.tsx#L69-L77
https://github.com/open-sauced/hot/blob/main/src/components/Hero.tsx#L108 - not implemented yet https://github.com/open-sauced/hot/issues/265
Additional context
related https://github.com/open-sauced/hot/issues/286
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Contributing Docs

[X] I agree to follow this project's Contribution Docs

.take


Prompts partials

🔧 Changes
Adds support for prompts partials API.
📚 References

https://auth0.com/docs/customize/universal-login-pages/customize-signup-and-login-prompts

🔬 Testing

Unit tests included
Must use an enterprise account with a custom domain and branding to manually test successfully

📝 Checklist

[x] All new/changed/fixed functionality is covered by tests (or N/A)
[x] I have added documentation for all new/changed functionality (or N/A)

Codecov Report
Attention: 228 lines in your changes are missing coverage. Please review.

Comparison is base (54e9a30) 72.32% compared to head (d9b1f46) 71.32%.

Files
Patch %
Lines

internal/cli/prompts_partials.go
36.74%
206 Missing and 4 partials :warning:

internal/display/prompts_partials.go
0.00%
18 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #979      +/-   ##
==========================================
- Coverage   72.32%   71.32%   -1.00%
==========================================
  Files          93       95       +2
  Lines       12754    13105     +351
==========================================
+ Hits         9224     9347     +123
- Misses       2980     3204     +224
- Partials      550      554       +4

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

Closing this in respect to #1031


Configuring a route with "redirect" property causes BlueBird warnings

I'm submitting a bug report

Library Version:
1.0.1

Please tell us about your environment:

Operating System:
Windows 10

Browser:
all

Language:
all

Current behavior:
specifying "redirect" property in a route configuration, causes BlueBird warnings about "Warning: a promise was rejected with a non-error: [object Object]"
This comes from the router method:
  function _buildNavigationPlan(instruction, forceLifecycleMinimum) {
    var prev = instruction.previousInstruction;
    var config = instruction.config;
    var plan = {};

    if ('redirect' in config) {
      var redirectLocation = _resolveUrl(config.redirect, getInstructionBaseUrl(instruction));
      if (instruction.queryString) {
        redirectLocation += '?' + instruction.queryString;
      }

      return Promise.reject(new Redirect(redirectLocation));
    }

I tired creating a gist given the link in the Issue Template, however i can't replicate it in a Gist - i'm assuming the bluebird promises library isn't included in gists?
Expected/desired behavior:
Not to create a warning in the console everytime that specific route is redirected

What is the motivation / use case for changing the behavior?
Less warnings in the console

I understand that this is a BlueBird "quirk", however I'm posing the question as to whether Aurelia adjusts its use of BlueBird to stop these warnings? or if we need to go to BlueBird and propose a "don't warn me when a promise is rejected with a non-error" flag?

The same warning is thrown for:
config.mapUnknownRoutes({ redirect:'home'});
is there any way to suppress it ?

If you don't want these to show then you need to disable them in your bluebird config:
If you're using Aurelia CLI you can change it within the main.js file.
Promise.config({
  warnings: false
});

@jagonalez I'm aware of this, thanks
This "silence all warnings" flag isn't the solution, by disabling ALL warnings (for the issue mentioned above) I might be losing out on other warnings that it may be trying to warn me about

@ry8806 I agree - it's not ideal. In our app we're using environment variables to turn on warnings only for debugging.
Looking at the w3 specification Promise.reject should return an Error object:
The w3 specification for Promises recommends that reject return an instance of Error. https://www.w3.org/2001/tag/doc/promises-guide#reasons-should-be-errors

Promise rejection reasons should always be instances of the ECMAScript Error type, just like synchronously-thrown exceptions should always be instances of Error as well.

Bluebird's docs explain why:
https://github.com/petkaantonov/bluebird/blob/master/docs/docs/warning-explanations.md

Due to a historic mistake in JavaScript, the throw statement is allowed to be used with any value, not just errors, and Promises/A+ choosing to inherit this mistake, it is possible to reject a promise with a value that is not an error.

The only way to stop the console warnings is to change the code to return an Error or not use Promise.reject for redirection.
@EisenbergEffect - What are your thoughts?

Updates on this? This has been bugging me for a while now.

I get why the warning is thrown, and valid, but I don't see why we'd reject a promise to do a redirect.
If we HAVE to use promise rejection, couldnt this issue be solved by inheriting redirects from Error? Or adding the needed property stubs (.stack and .message) to the redirect class?

I get this is a low profile issue but could we get an official response on whether we should expect this to be handled or if the only workaround is to disable warning?

I'm now hitting this problem, and would like to know if there's any status change on how to fix it?

@Kukks for the record, the problem is just a warning being logged to the console?
I think a good, viable long term fix would be to allow resolving a redirect as well. I agree that while the reject notation half makes sense, it half doesn't. PRs welcome if someone wants to take a stab at that.

@davismj I've been digging into the router recently and noticed a few places where promises aren't being returned from one internal method to the next. For example in the app-router, _queueInstruction calls _dequeueInstruction but doesn't return it. So what happens to the promise that's returned by _dequeueInstruction? I can't help but wonder if this is intended for some kind of asynchrony, or if this was overlooked at some point? I'm fairly sure that this sort of thing is what causes the promise warnings.

@fkleuver as I didn't write the code and there aren't a lot of comments, I can't say for sure whether or not the highly async architecture was the right way to go. I've noticed the same things and they seem like a liability to me as well, but they're (a) deep and (b) pervasive, so I'm not in any place to start messing with them.
That said, as far as I understand, this particular issue is caused when aurelia internals reject() Redirects to cancel navigation instead of resolving. This is wrong in the strictest interpretation of promises, in which reject() is the async version of a throw, and bluebird tells anyone who will listen.

Can we change this?
Or we can't?
Should we?
Or just keep in mind for vNext?

As davismj pointed out, it seems my earlier comment isn't applicable to this specific issue. I'd go with his suggestion to allow redirects to be resolved as being the point of action here.
I seem to recall someone was working on that in another PR but I can't find it right now.
I might take a stab at it if no one else is working on it. Could you double check?

I remember too.. there were an issue where a question was asked..
do we really want to fix a warning? when nothing is really broken?
Is it really that easy to distract developers?

Technically it's an uncaught error, and that's certainly not a good thing.

Technically-shmecnically
It works?
don't change it!
(-:
How's that for an argument?

@fkleuver No one is working on it as far as I know.

The fix introduced in 487c33d50fa938c9e725180877f6510ecae89db5 causes a much more serious error when redirecting in a sub-router config: TypeError: Cannot read property 'childRouter' of undefined is thrown because determineWhatToLoad(…) tries to interpret the Redirect plan as a regular plan because the rejection needs to be handled in more places than just the one checked in 487c33d50fa938c9e725180877f6510ecae89db5.

I concur with @rluba , after doing a "clean" install this morning referencing<EMAIL_ADDRESS>(since Feb 2018), I got<EMAIL_ADDRESS>which is causing the TypeError: Cannot read property 'childRouter' of undefined error. Manually installing<EMAIL_ADDRESS>fixed it though.

Same boat, broke our prodcution builds since we get rid of package lock
json file due to other weird crazy errors from aurelia when we leave it in
On Tue, Jun 19, 2018 at 10:37 AM Stefan Buys<EMAIL_ADDRESS>wrote:

I concur with @rluba https://github.com/rluba , after doing a "clean"
install this morning referencing<EMAIL_ADDRESS>(since Feb
2018), I got<EMAIL_ADDRESS>which is causing the TypeError: Cannot
read property 'childRouter' of undefined error. Manually installing
<EMAIL_ADDRESS>fixed it though.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aurelia/router/issues/480#issuecomment-398320707, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABu-_mjzjdrVBxsMedsiu28RsF3Guo-xks5t-Lg0gaJpZM4MjrVJ
.

Yep agreed, https://github.com/aurelia/router/pull/603 should be merged asap. Sorry for breaking your apps!

It'll be getting pulled in today.

Shouldn't this be reopened since #597 was reverted?


No HTML parser set

Edit: I was importing an out of date version

@Einsteinium108 What version did you import? This repo hasn't been updated in years.


Reducer buckets have been rebuilt in this iteration.

Thank you very much for your work.
But during the process of using your project, I discovered some issues.
This causes the program to pause running.
This issue seems to be caused by the PyTorch version (because my CUDA version needs to be consistent with PyTorch to successfully set up the environment, so I did not use the author's version). I will try changing the Torch version or data reading method in the future.

Looking at the picture, it took 20 minutes for the output to appear. “The reducer buckets have been rebailt in this iteration”My version:pip install torch==1.13.1+cu116 torchvision==0.14.1+cu116 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu116

Thank you for your feedback. Using the provided versions of torch and CUDA results in similar environment errors, and CUDA 11.6 fails to install selective_scan effectively. Therefore, I recommend using CUDA 11.8 with the corresponding torch 2.1.2 environment.


Any plan to make third party Independent js in version control via using bower asset?

This is what I was doing when I first developed the module. I was including the JS libraries in composer via bower, but I saw two issues:

It is a lot of files to download if you plan to use just a particular theme
Some libraries wasn't bower enabled, and I didn't plan on maintaining bower packages for them

Is that related to your previous bug entry?


Fixes plus release

Description
[Describe what this change achieves]
Issues Resolved
[List any existing issues this PR resolves]
Contribution Check List

[ ] All tests pass.
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable

This change is

:shipit:


[zh] Drop cloud-controller-manager reference

We no longer generate reference for CCM.

/lgtm
/approve


Add arith.addi reduction

Fixes https://github.com/microsoft/triton-shared/issues/12. Happy to add more tests if you'd like.

@microsoft-github-policy-service agree

@makslevental thanks!
@nhat-nguyen can you please review

@makslevental , looks like your new test is failing. Please take a look.

Thanks @makslevental for the help! Code changes look good to me. Just need to fix the lit test and we're good to go. :)

Thanks @makslevental!


[26.x][WFLY-15918] Use java.transaction.xa JPMS module together with java.s…

…ql module where necessary
https://issues.redhat.com/browse/WFLY-15918
Upstream: #15096
Blocks: https://github.com/wildfly/wildfly-core/pull/4985

/retest

Closing; this doesn't work with SE 8.


feat: add osmosis flag for swapping

Description
Added Osmosis flag to disable/enable swapping.
The OSMO feature flag is still there to disable at the plugin level
Notice

[x] Have you followed the guidelines in our Contributing guide?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[x] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk
None

Testing
Test with enabled/disable feature flag REACT_APP_FEATURE_OSMOSIS_SWAP to see if OSMO shows up in the sell asset for Trade

Engineering
Test with enabled/disable feature flag REACT_APP_FEATURE_OSMOSIS_SWAP to see if OSMO shows up in the sell asset for Trade

Operations
Test with enabled/disable feature flag REACT_APP_FEATURE_OSMOSIS_SWAP to see if OSMO shows up in the sell asset for Trade

Screenshots (if applicable)

you'll need to take this into consideration as part of this PR https://github.com/shapeshift/web/blob/wallet-id-redux/src/components/Trade/hooks/useSwapper/utils.ts#L197


Can't clone over https Invalid Token

I can't seem to clone my repository over https. I have this configured over an apache reverse proxy if that is potentially an issue. the log just reads this:
2016/02/17 06:55:38 [...routers/repo/http.go:122 HTTP()] [E] invalid token

Hi,
I think you're cloning with wrong user name and password.

It never requested a username and password.

Because you set git to remember one?

this is only a problem with private repositories.

If it is a private repository, Gogs will always ask for a username and password.
If you did not see Gogs ask, that means Git remembers that.

ping @pollend

I tired another computer and it still complains about the token.  It works find with an ssh key though so ill probably just use that. I don't actually know what is wrong.

You should probably check logs from Gogs server, see if any erorrs there.

Close due to lack of feedback.
You can continue the discussion on https://discuss.gogs.io/.

thanks for the help anyways. sorry, I couldn't of been of much help resolving this. I couldn't find much in the logs to really help resolve this.

@pollend if you're using any reverse proxy, can clone without it, see if it works.

Sorry to reopen this ticket, but I am not able to clone/push/whatever through an apache reverse proxy (but I can navigate through the website with my browser without any problem, and create repos too).
I can clone/push/whatever without it, so my user/password is correct, but through reverse proxy, I constantly get "invalid token" ("2016/04/22 11:36:52 [...routers/repo/http.go:122 HTTP()] [E] invalid token").
Any idea ?
Thanks :)

@AlexGhiti does it work without reverse proxy?

Yes it does, to summarize:

with reverse proxy on: I can navigate through the website, but I can't clone any repos, I get "invalid token".
without reverse proxy: Everything works.

@AlexGhiti any chance your reverse proxy does not pass HTTP Basic Auth header right?

Good idea !
Actually, in my apache setup, I had added a basic authentication to access any of my website this way:
<Location /gogs>
AuthType Basic
AuthName "Restricted Files"
(Following line optional)
AuthBasicProvider file
AuthUserFile "/home/**/.config/apache/passwords"
Require user **

When I removed this from my config file, I can clone/push/everything over my reverse proxy !
However, I'm not entirely sure to understand how this would raise problem: does the basic authentication of my apache server intercept every http basic auth packets and does not transmit them to gogs server ?
Anyway, thank you for your idea !

@AlexGhiti I think the problem is, Apache pass the auth, but the auth info does not get pass to Gogs correctly.

I'm also experiencing this issue.

Fresh installation of Gogs version <IP_ADDRESS>3
Create admin account
Create private repository
Try to push to repository

touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin http://server:3000/knedlsepp/gogs-configuration.git
git push -u origin master

Username for 'http://server:3000': knedlsepp
knedlsepp@server:3000':
remote: invalid token
fatal: Authentication failed for 'http:/server:3000/knedlsepp/gogs-configuration.git/'


Missing required failure message for CollectionInputFilter

CollectionInputFilter fails without error message when is required but data is empty or not set.

Is this fixed? Using the latest version, and it seems indeed that the collection input filter does not have some sort of default message when required is true and an empty array is given. Need to extend the input filter for now.

Issue is still exists. @weierophinney  can you confirm this?

Any updates on this? Problem still exists.

Please provide us with a minimal coffee sample that demonstrates the issue; right now, we'd be doing guess work.

Example Input Filter
$factory     = new \Zend\InputFilter\Factory();
$inputFilter = $factory->createInputFilter(
[
    'collection-element' => [
		'type'         => \Zend\InputFilter\CollectionInputFilter::class,
		'required'     => true,
		'input_filter' => [
			'type'  => [
				'required'     => true,
				'validators' => [
					[
						'name'    => \Zend\Validator\Between::class,
						'options' => [
							'min' => 50,
							'max' => 100,
						],
					],
				],
			],
			'price' => [
				'required'     => true,
				'validators' => [
					[
						'name'    => \Zend\Validator\Between::class,
						'options' => [
							'min' => 50,
							'max' => 100,
						],
					],
				],
			],
		],
	],
]
);

First Try, when you have a problem with empty error message
$inputFilter->setData([]);
var_dump($inputFilter->isValid());
var_dump($inputFilter->getMessages());

Second Try with Valid error messages if provided some data
$inputFilter->setData([
	'collection-element' => [
		0 => [

		],
	],
]);
var_dump($inputFilter->isValid());
var_dump($inputFilter->getMessages());

Output is:
First try
boolean false

array (size=1)
  'collection-element' =>
    array (size=0)
      empty

Second try
false

array (size=1)
  'collection-element' =>
    array (size=1)
      0 =>
        array (size=2)
          'type' =>
            array (size=1)
              'isEmpty' => string 'Value is required and can't be empty' (length=36)
          'price' =>
            array (size=1)
              'isEmpty' => string 'Value is required and can't be empty' (length=36)

No error message is generated.
Compare the Input class and the CollectionInputFilter class in this case:
https://github.com/zendframework/zend-inputfilter/blob/a2962cf00f86a58f2192ba63b572606dacbe1c20/src/Input.php#L410-L415
https://github.com/zendframework/zend-inputfilter/blob/a2962cf00f86a58f2192ba63b572606dacbe1c20/src/CollectionInputFilter.php#L171-L213

Do you have any updates related this issue?

I have a solution for this. Please have a look into pull request #170


refactor: use dev msg formatter around

Issue or need
In #747 a function was introduced to format dev messages to be output to the console. However there are places where dev messages are emitted that aren't using that formatter hence message formats may not be consistent

Proposed changes
Use the dev message formatter around
Also introduce the convention of using a MODULE_NAME constant to define the module when printing messages. Applies that to Open Graph & Twitter Card modules

Quick reminders

🤝 I will follow Code of Conduct
✅ No existing pull request already does almost same changes
👁 Contributing docs are something I've taken a look at
📝 Commit messages convention has been followed
💬 TSDoc comments have been added or updated indicating API visibility if API surface has changed.
🧪 Tests have been added if needed. For instance, if adding new features or fixing a bug. Or removed if removing features.
⚙ API Report has been updated if API surface is altered.

#749  👈
main

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

Join @davidlj95 and the rest of your teammates on  Graphite


Missing static files

Getting the following errors in browser console after running make Sucre.up.

GET<EMAIL_ADDRESS>404 (Not Found)
GET<EMAIL_ADDRESS>404 (Not Found)
Error: Source layer "park" does not exist on source "openmaptiles" as specified by style layer "park".
Error: Source layer "park" does not exist on source "openmaptiles" as specified by style layer "park_outline".

Let me see if I can repro. I got  CORS issue with those files if I had the public url set as <IP_ADDRESS> and accessed via localhost, but I haven't seen a 404 recently.

Ah, it's because the volume mount was removed from the nginx image. I know it's a bummer to have all those volume mounts in there, so I'm actually wondering if it makes more sense to actually just bundle the static files into the image? They're static, and fairly small.

looks like they're static as in common regardless of map/place? Yeah, including such files in the image directly seems reasonable to me.

How about moving everything currently in tileserver/assets into the nginx image?
I can take a look at that. Only thing I'm not super clear on is if/how https://github.com/ellenhp/headway/blob/main/tileserver/style/style.json.template is actually used right now or if it's just copied into the volume and not actually used yet.

The tileserver-gl-light image serves it out of the data directory. It's so confusing. I want to move not only sprites but also fonts into the nginx image, possibly using a second builder image. If we could serve the style separately from the tileserver that might also be nice. Theoretically the tileserver provides actual value because it has its own interface on 8000 (which I exposed, didn't I.... didn't mean to let that get through, but I added so many SVGs that the self-review was overwhelming)
Anyway, theoretically the tileserver provides actual value, but I'm very frustrated with its config options so I think that moving everything except the tiles out of the tileserver sounds good to me.

I was working on this but I have obligations this evening so it'll have to wait til tomorrow.
A few things I ran into: OSM Liberty (which I ended up picking over OSM bright) prefers Roboto Regular, Roboto Medium and Robot Condensed Italic, compared to Noto Sans which is what OSM bright uses. So we'll need to swap out the TTFs and then update the licensing information in COPYRIGHT_NOTICE.md. tileserver-gl-light actually was doing a best-effort subtitution but if we're serving these as static files the name needs to match exactly.

Unless I made an egregious mistake, style.json.template should undergo environment variable substitution during the tileserver image startup process and then end up at a path where the tileserver can serve it to clients via a /styles/... path.
On June 1, 2022 6:04:45 PM PDT, 3nprob @.***> wrote:

Got it. What I'm currently looking at is moving both of these into the frontend, so the resulting files would be generated by yarn build and and output into the dist folder.
Any insight into what's happening/supposed to happen with style.json.template? :)
--
Reply to this email directly or view it on GitHub:
https://github.com/ellenhp/headway/issues/43#issuecomment-1144310089
You are receiving this because you commented.
Message ID: @.***>

You should be able to adjust the build process to do the same thing during nginx startup? Or potentially even put a style into the frontend if you can make it all relative to the public url. Most mapbox styles hardcode a domain for like the tile sources and stuff but it might work with a url relative to the current domain maybe. If it gets too complicated though I can look at it tomorrow. The way mapbox styles work is really confusing.
On June 1, 2022 6:04:45 PM PDT, 3nprob @.***> wrote:

Got it. What I'm currently looking at is moving both of these into the frontend, so the resulting files would be generated by yarn build and and output into the dist folder.
Any insight into what's happening/supposed to happen with style.json.template? :)
--
Reply to this email directly or view it on GitHub:
https://github.com/ellenhp/headway/issues/43#issuecomment-1144310089
You are receiving this because you commented.
Message ID: @.***>

I just realized that I think I want to veto putting the fontnik dependency into the frontend because I want to be able to do frontend development on my laptop which has an arm64 architecture. Fontnik fails to build its dependencies during the npm install on my laptop. The backend already doesn't work on my laptop because of some valhalla issues but the frontend should remain working if possible.
On June 1, 2022 6:04:45 PM PDT, 3nprob @.***> wrote:

Got it. What I'm currently looking at is moving both of these into the frontend, so the resulting files would be generated by yarn build and and output into the dist folder.
Any insight into what's happening/supposed to happen with style.json.template? :)
--
Reply to this email directly or view it on GitHub:
https://github.com/ellenhp/headway/issues/43#issuecomment-1144310089
You are receiving this because you commented.
Message ID: @.***>

I just realized that I think I want to veto putting the fontnik dependency into the frontend because I want to be able to do frontend development on my laptop which has an arm64 architecture. Fontnik fails to build its dependencies during the npm install on my laptop. The backend already doesn't work on my laptop because of some valhalla issues but the frontend should remain working if possible.

I haven't tried on arm64 yet but this resolved the build errors I had at least: https://github.com/mapbox/node-fontnik/pull/178

It looks like it might not be maintained at all. :/ Short-term do you want to stick with a docker container? Installation of the package seems to succeed as long as it's on a platform that has binaries in the mapbox S3 bucket, so as long as we control node version, platform and architecture we should be fine.
Longer term, either they accept the patch and we can point to the NPM package in the frontend or worst case scenario I'll probably set up an organization account for this project and we can fork fontnik under that organization account. I'd prefer to avoid taking on that maintenance burden but better to have the software build than to rely entirely on the binaries forever, IMO.

Yeah, there're several deps there that don't seem to be touched since node 10~12, with quite a few deprecations popping up...
Let's see if the dependency-forking rabbit hole I'm down right now leads anywhere :sweat_smile:

Godspeed! Drop an update here if you do/don't get somewhere. Short-term it would be nice to fix this specific issue the easy way, maybe just with a volume mount. I'll probably do that tomorrow morning if you don't have a PR up by then. But it would be really nice to have all of the tools build from source. I'm uneasy with the fact that we can't really build styles at all without using binaries sitting in a mapbox S3 bucket.

Still WIP but moving the generation scripts into dev-dependencies of frontend and making it part of the frontend bundling here: #45

@3nprob I think this can be closed since I fixed the missing static files issue originally reported, but if you want to revive #45 at some point that would be cool too! It seemed like some good work was happening there.

Unless I made an egregious mistake, style.json.template should undergo environment variable substitution during the tileserver image startup process and then end up at a path where the tileserver can serve it to clients via a /styles/... path.
On June 1, 2022 6:04:45 PM PDT, 3nprob @.***> wrote:

Got it. What I'm currently looking at is moving both of these into the frontend, so the resulting files would be generated by yarn build and and output into the dist folder.
Any insight into what's happening/supposed to happen with style.json.template? :)
--
Reply to this email directly or view it on GitHub:
https://github.com/ellenhp/headway/issues/43#issuecomment-1144310089
You are receiving this because you commented.
Message ID: @.***>


Kicker recipe will fail if any of directories contain space character.

I had issue with kicker failing on directory that contains space character in its name.
execute("/usr/bin/python #{File.expand_path("~/.dyci/scripts/dyci-recompile.py")} #{"\"%s\"" % File.expand_path(file)}")

Replacing execute command in .kick file with the one above should fix it. The only difference is that I added quotation marks surrouding the file path using string format operator.

thanks, updated


swagger-ui change URL

Description
We put our connexion application in k8s. But when we access swagger-ui via https://example.com/v0/ui, it is redirected to http://<IP_ADDRESS>:5000/v0/ui so we cannot use swagger UI. All other URLs in example.com are not redirected, so we think the problem is in swagger-ui.
Expected behaviour
When access https://example.com/v0/ui, we shall be about to access swagger-ui
Actual behaviour
When access https://example.com/v0/ui, we are redirected to http://<IP_ADDRESS>:5000/v0/ui.
Steps to reproduce
Additional info:
Output of the commands:

python --version

$ python --version
Python 3.7.2+

pip show connexion | grep "^Version\:"

$ pip show connexion | grep "^Version:"
Version: 2.2.0

hey @czchen,
Can you please provide the servers block of your specification? Also, are you explicitly setting base_path?
This may be caused by a trailing-slash redirect. Can you try https://example.com/v0/ui/ (with trailing slash) and let me know if you are still having the issue?
I think the issue may also fixed by #823 - the goal of that diff is to fix connexion behavior when behind a reverse-proxy.

The servers block is:

servers:
  - url: /v0

I don't set base_path
https://example.com/v0/ui/ does not have this issue.

ok, thanks for the info.
Are you using aiohttp or flask?
On Wed, Feb 27, 2019, 1:58 AM ChangZhuo Chen (陳昌倬<EMAIL_ADDRESS>wrote:

The servers block is:

servers:

url: /v0

I don't set base_path

https://example.com/v0/ui/ does not have this issue.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/zalando/connexion/issues/887#issuecomment-467470319,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAlPScaHxA6Pndz__Fl2gtXQYfrTcxlAks5vRUt4gaJpZM4bPWRO
.

flask

My guess is that strict_slashes in werkzeug is causing a redirect, but it's redirecting to your local IP, not the host you are exposing the site on.
Can you include the output of a verbose curl request?
Your original post states that the redirect is from:

https://example.com/v0/ui, we are redirected to http://<IP_ADDRESS>:5000/v0/ui.
But I would expect the redirected url to include the trailing slash like so:
https://example.com/v0/ui redirected to http://<IP_ADDRESS>:5000/v0/ui/

Also if you have time, can you try out #823 and see if that fixes your issue?
I've been trying to get that merged for a while to fix this type of problem.

The following is output of `curl --verbose http://exampke.com/v0/ui.
ps. We change our auth sidecar from keycloak-gatekeeper to nginx, the redirect URL is also changed.
< HTTP/1.1 301 MOVED PERMANENTLY
< Content-Type: text/html; charset=utf-8
< Date: Sat, 02 Mar 2019 03:17:04 GMT
< Location: http://example.com:8080/v0/ui/
< Server: nginx/1.13.12
< Content-Length: 263
< Connection: keep-alive
<
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>Redirecting...</title>

Redirecting...

* Connection #0 to host example.com left intact

You should be redirected automatically to target URL: http://localhost:5000/v0/ui/.  If not click the link.%

ps. We change our auth sidecar from keycloak-gatekeeper to nginx, the redirect URL is also changed.
Do you have any output to show this behavior?

I think this may be related to your nginx configuration.
I wasn't able to reproduce your issue.
Here's what I did:
cd /tmp/
git  clone https://github.com/zalando/connexion.git
cd connexion/
touch Pipfile
pipenv install -e .[swagger-ui]
pipenv shell
cd examples/openapi3/helloworld/
python hello.py

After this I tried to access the ui without the trailing slash, and the redirect looks correct to me:
✔ ~ > curl -vv localhost:9090/v1.0/ui

*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to localhost (<IP_ADDRESS>) port 9090 (#0)
> GET /v1.0/ui HTTP/1.1
> Host: localhost:9090
> User-Agent: curl/7.58.0
> Accept: */*
>
* HTTP 1.0, assume close after body
< HTTP/1.0 301 MOVED PERMANENTLY
< Content-Type: text/html; charset=utf-8
< Content-Length: 267
< Location: http://localhost:9090/v1.0/ui/
< Server: Werkzeug/0.14.1 Python/3.6.7
< Date: Thu, 07 Mar 2019 01:10:14 GMT
<
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>Redirecting...</title>

Redirecting...

* Closing connection 0

You should be redirected automatically to target URL: http://localhost:9090/v1.0/ui/.  If not click the link.

✔ ~ >curl -vv localtest.me:9090/v1.0/ui

*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to localtest.me (<IP_ADDRESS>) port 9090 (#0)
> GET /v1.0/ui HTTP/1.1
> Host: localtest.me:9090
> User-Agent: curl/7.58.0
> Accept: */*
>
* HTTP 1.0, assume close after body
< HTTP/1.0 301 MOVED PERMANENTLY
< Content-Type: text/html; charset=utf-8
< Content-Length: 273
< Location: http://localtest.me:9090/v1.0/ui/
< Server: Werkzeug/0.14.1 Python/3.6.7
< Date: Thu, 07 Mar 2019 01:10:35 GMT
<
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>Redirecting...</title>

Redirecting...

* Closing connection 0

You should be redirected automatically to target URL: http://localtest.me:9090/v1.0/ui/.  If not click the link.

✔ ~ > curl -vv connexion.localtest.me:9090/v1.0/ui

*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to connexion.localtest.me (<IP_ADDRESS>) port 9090 (#0)
> GET /v1.0/ui HTTP/1.1
> Host: connexion.localtest.me:9090
> User-Agent: curl/7.58.0
> Accept: */*
>
* HTTP 1.0, assume close after body
< HTTP/1.0 301 MOVED PERMANENTLY
< Content-Type: text/html; charset=utf-8
< Content-Length: 293
< Location: http://connexion.localtest.me:9090/v1.0/ui/
< Server: Werkzeug/0.14.1 Python/3.6.7
< Date: Thu, 07 Mar 2019 01:10:45 GMT
<
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>Redirecting...</title>

Redirecting...

* Closing connection 0

I've changed the ticket type to question.
Feel free to close the ticket. Otherwise, if you post your configuration I can try to help you debug it.

url navigator other "server" -> "url", I need update swagger.json > server > url


Massive error

I'm crying((

I beg you, please help me solve this incredible problem!
Thanks.

your certificate on your OS system need to update

your certificate on your OS system need to update

Unfortunately, I did not find how to fix this! Can you please tell me how to do this?

your certificate on your OS system need to update

Unfortunately, I did not find how to fix this! Can you please tell me how to do this?

change your DNS, because your DNS block connection to binance

your certificate on your OS system need to update

Unfortunately, I did not find how to fix this! Can you please tell me how to do this?

change your DNS, because your DNS block connection to binance

Sorry, but how can I do this?)

Install a new ssl


Basic image selection based on few keywords

Based on the keywords generated from the text analysis feature, make a image URL appear to the server. Hard coding is accepted at this stage.

Solved