undefined method `assets' for #Rails::Application::Configuration:0x007fd97c239e90

Hey all -
I'm trying to install this for the first time on an existing Rails app but I'm getting
/Users/chintanparikh/.rvm/gems/ruby-2.3.1/gems/railties-5.0.0.rc1/lib/rails/railtie/configuration.rb:95:in `method_missing': undefined method `assets' for #<Rails::Application::Configuration:0x007fd97c239e90>
I'm not too sure why - I'm definitely not running Rails in API-only mode.
Here's my assets.rb (where it's erroring out).
# Be sure to restart your server when you modify this file.

# Version of your assets, change this if you want to expire all your assets.
#Rails.application.config.assets.version = '1.0'

# Add additional assets to the asset load path
# Rails.application.config.assets.paths << Emoji.images_path

# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
# Rails.application.config.assets.precompile += %w( search.js )
# Add client/assets/ folders to asset pipeline's search path.
# If you do not want to move existing images and fonts from your Rails app
# you could also consider creating symlinks there that point to the original
# rails directories. In that case, you would not add these paths here.

# NOTE MOVED THIS ALL INTO APPLICATION.RB

# Rails.application.config.assets.precompile += %w( server-bundle.js )

# Add folder with webpack generated assets to assets.paths
# Rails.application.config.assets.paths << Rails.root.join("app", "assets", "webpack")

Rails.application.assets.precompile += %w( server-bundle.js )
Rails.application.assets.paths << Rails.root.join("app", "assets", "webpack")

type = ENV["REACT_ON_RAILS_ENV"] == "HOT" ? "non_webpack" : "static"

Rails.application.assets.precompile +=
  [
    "application_#{type}.js",
    "application_#{type}.css"
  ]

And my development.rb
Rails.application.configure do
  config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }
  # Settings specified here will take precedence over those in config/application.rb.

  # In the development environment your application's code is reloaded on
  # every request. This slows down response time but is perfect for development
  # since you don't have to restart the web server when you make code changes.
  config.cache_classes = false

  # Do not eager load code on boot.
  config.eager_load = false

  # Show full error reports.
  config.consider_all_requests_local = true

  # Enable/disable caching. By default caching is disabled.
  if Rails.root.join('tmp/caching-dev.txt').exist?
    config.action_controller.perform_caching = true

    config.action_mailer.perform_caching = false

    config.cache_store = :memory_store
    config.public_file_server.headers = {
      'Cache-Control' => 'public, max-age=172800'
    }
  else
    config.action_controller.perform_caching = false

    config.action_mailer.perform_caching = false

    config.cache_store = :null_store
  end

  # Don't care if the mailer can't send.
  config.action_mailer.raise_delivery_errors = false

  # Print deprecation notices to the Rails logger.
  config.active_support.deprecation = :log

  # Raise an error on page load if there are pending migrations.
  config.active_record.migration_error = :page_load

  # Debug mode disables concatenation and preprocessing of assets.
  # This option may cause significant delays in view rendering with a large
  # number of complex assets.
  #config.assets.debug = true

  # Asset digests allow you to set far-future HTTP expiration dates on all assets,
  # yet still be able to expire them through the digest params.
  #config.assets.digest = true

  # Adds additional error checking when serving assets at runtime.
  # Checks for improperly declared sprockets dependencies.
  # Raises helpful error messages.
  #config.assets.raise_runtime_errors = true

  # Raises error for missing translations
  # config.action_view.raise_on_missing_translations = true

  # Use an evented file watcher to asynchronously detect changes in source code,
  # routes, locales, etc. This feature depends on the listen gem.
  config.file_watcher = ActiveSupport::EventedFileUpdateChecker
end

Here's my Gemfile:
source 'https://rubygems.org'

ruby '2.3.1'
gem 'rails', '~> 5.0.0.rc1'
gem 'pg'
gem 'therubyracer', platforms: :ruby
gem 'turbolinks'
gem 'jbuilder', '~> 2.0'
gem 'sdoc', '~> 0.4.0', group: :doc
gem 'listen'
gem 'kaminari'
gem "paperclip"
gem 'dotenv-rails'
gem 'swagger-docs'
gem "react_on_rails", "~> 5"

# For Authentication
gem 'devise'

group :development, :test do
  gem 'byebug'
end

group :development do
  gem 'web-console', '~> 2.0'
  gem 'spring'
end

gem 'rails_12factor', group: :production

I'm not too sure where to start debugging this - any help would be appreciated!

@chintanparikh Please use v6 rc.X of react on Rails and compare your setup to https://github.com/shakacode/react-webpack-rails-tutorial/ and let me know what you find.

Turns out I did have the asset pipeline disabled - fixed it by adding the appropriate gems back in. In case anyone comes across this in the future,  I needed the following in my gemfile:
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'

# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 2.7.2'

# Use jquery as the JavaScript library
gem 'jquery-rails'


src error in html validator

When i check html validation it shows error Element img is missing required attribute src.
WE Expecting no errors at the time of html validation.
we are used latest version from cdn

please resolve issue ASAP.
Regards,
Saisudhakar.
Thank you.

Hello!
This is not an issue I can solve in my script, if you want W3C valid HTML markup before JavaScript is executes, you can place a placeholder src in your HTML markup.
Anyway if you don’t do that, you'll still have W3C valid HTML after JavaScript is executed.

Please read the new section of the README, Do NOT use placeholder images until the end of the section.

Got it,Thank you for your Quick response.


Implement creation of new datasets via importing ISO-compliant XML files

We need to support the creation of new EMC datasets by means of letting users import them from previously-existing XML files, as long as they are ISO 19115 compliant
Implementation shall allow users to upload a batch of xml files, which will be imported asynchronously. When the import is finished, the user shall receive an email notification with the status of the import and with notice of any failures

It would be good if the implementation prepares for multiple formats, even if the initial PR only supports ISO 19115 XML files.

'import' = 'upload'
more than being ISO 19115 compliant, they must be SANS 1878 compliant
the workflow must handle one or more files
minimum mandatory field compliance should result in success (creation of a private record that enters the usual approval process)
non-compliance in either format or content should result in an informative error response per file so the user knows what to fix before trying again

@Samweli @Fanevanjanahary please take notes as this may affect your work
this issue is related to #290, the minimum set of fields required to be SANS 1878 is defined as follows (few fields needs more clarification to check their suitability for EMC):
DATASET_MINIMAL_SET_OF_FIELDS = [
    "title",
    "name",
    "metadata_standard_name",
    "metadata_standard_version",
    "notes",
    "purpose",
    "status",
    "metadata_point_of_contact-0-organizational_role",
    "reference_date",
    "iso_topic_category",
    "owner_org",
    "private",
    "dataset_language",
    "metadata_language",
    "dataset_character_set",
    "lineage-0-lineage_statement",
    "lineage-0-process_step_description",
    "distribution-0-distributor_contact",
    "maintainer",
    "spatial",
    "equivalent_scale",
    "spatial_representation_type",
    "spatial_reference_system",
    "metadata_date_stamp",
]

as per the ticket, one or many files can be uploaded at once , if a file contains the minimum mandatory set of fields, the dataset will be created out of the xml file file, regardless of it being uploaded as a single file or within a set of files, each file is checked for the minimum set, maximum set and empty file checks, the following error and info messages appears with each corresponding cases:
1. when there is a field not covered by the maximum set of fields, the dataset creation is rejected from the xml file, and the system returns a message states the violating field name and the file name that contains it (to address multiple files uploads), it would appear both if the user is using the UI or uploading via CLI (using the xml_parser blueprint url), the message reads as "field "file_name" in the file "file_name" is not within the maximum set of allowed xml fields", the maximum set of fields is defined at the end of this comment, the following images illustrate a case where a maximum check is violated (UI and cli).

2. if there is a field required by the minimum set of fields and not provided with the uploaded xml file(s), the system sends a message stating the required field and the file it's in, it reads as "field "field name" is a required field, missed in file "file name"", images below illustrate a case where a minimum field is missed (UI and cli).

3. if the xml file is empty the system sends an error message as "file "filename" is empty!", this is also the case where the file has only one opening dataset tag without content, the following images illustrate the behavior (UI and cli)

4. if there is a case where parsing xml file is not correctly done for unknown reasons, the system sends general message reads "something went wrong during dataset creation"
5. when one package is created, a message of "package "package title" were created" is returned.
6. when all the packages are created (in case multiple files are uploaded without problems) the system returns "all packages were created" message
the following images shows where all the packages are created

7. when there are multiple files uploaded, and some of them has errors while others are created, this is reflected both in the UI (via multiple messages)  and cli, the cli return a list of info_msgs and error_msgs, (msgs = messages)

8. when files are uploaded, an email will be sent to the creator holding both info messages and error messages, the following image illustrates an email sent to my personal gmail account, this needs the testing, staging and production sites to enable SMTP services, @tharanathkartoza please take notes

the maximum set of fields is as follows:
DATASET_FULL_SET_OF_FIELDS = [
    "title",
    "name",
    "featured",
    "metadata_standard_name",
    "metadata_standard_version",
    "notes",
    "purpose",
    "acknowledgement",
    "status",
    "metadata_point_of_contact-0-individual_name",
    "metadata_point_of_contact-0-position_name",
    "metadata_point_of_contact-0-contact_point_address_city",
    "metadata_point_of_contact-0-contact_point_address_administrative_area",
    "metadata_point_of_contact-0-contact_point_postal_code",
    "metadata_point_of_contact-0- contact_point_electronic_mail_address",
    "metadata_point_of_contact-0-organizational_role",
    "owner_org",
    "private",
    "reference_date",
    "iso_topic_category",
    "sasdi_theme",
    "tag_string",
    "license_id",
    "url",
    "version",
    "dataset_language",
    "metadata_language",
    "dataset_character_set",
    "lineage-0-level",
    "lineage-0-lineage_statement",
    "lineage-0-process_step_description",
    "lineage-0-process_step_datetime_from",
    "lineage-0-process_step_datetime_to",
    "lineage-0-processor_individual_name",
    "lineage-0-processing_owner_org",
    "lineage-0-processor_position_name",
    "lineage-0-processor_address_city",
    "lineage-0-processor_address_administrative_area",
    "lineage-0-processor_postal_code",
    "lineage-0-processor_electronic_mail_address",
    "distribution-0-distributor_contact",
    "distribution-0-distribution_order_process",
    "distribution-0-units_of_distribution",
    "distribution-0-distribution_online_source",
    "maintainer",
    "maintainer_email",
    "maintenance_information-0-maintenance_and_update_frequency",
    "maintenance_information-0-maintenance_date_of_next_update",
    "maintenance_information-0-user_defined_maintenance_frequency",
    "maintenance_information-0-update_scope",
    "maintenance_information-0-update_scope_description",
    "maintenance_information-0-maintenance_notes",
    "spatial",
    "equivalent_scale",
    "spatial_representation_type",
    "spatial_reference_system",
    "temporal_reference_system",
    "reference_system_additional_info-0-temporal_extent_period_duration_from",
    "reference_system_additional_info-0-temporal_extent_period_duration_to",
    "minimum_vertical_extent",
    "maximum_vertical_extent",
    "metadata_date_stamp",
]

@Samweli note the maximum and minimum sets are defined in constants.py, i believe this is particularly important for you because the DCPR requests won't be converted to EMC datasets if the minimum set given is not covering the new one.

@Mohab25 so is this done? What is it waiting for?

Running curl command from terminal says the metadata records were successfully created:

However, the records don't appear on the site:

This is one of the XML files uploaded containing all the mandatory SANS 1878 fields:

Running the correct curl command with updated XMLs based on @Mohab25 's example dataset:

The new metadata records reflect on the site:


Error 'No such module SwiftCharts' in Xcode 8.0

Hi,
I am using Swift 3.0 and Xcode 8.0. I am getting the compilation error ' No such module SwiftCharts'. Here is my pod file.
platform :ios, '8.0'
target 'xxxxx' do
Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
pod 'SwiftCharts', :git => 'https://github.com/i-schuetz/SwiftCharts.git', :branch => 'master'
end
Please help.
Rafeeq

Could you please provide more details? Do you see errors in compilation of SwiftCharts?

Same error here. There are no errors on the code, but the compiller says:
Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
Once I try to convert it, I get hundreds of errors.
I tried deleting the folder or even creating a new project

I have also had the same issue yesterday, tho I have varied the platform to :ios, '9.0' and :ios, '10.0' to see if it made a difference - it didn't.

I created an empty project, init pod with SwiftCharts as dependency and got errors related with Swift version. The generated pod project doesn't have the correct Swift version. This could be fixed by updating cocoa pods (sudo gem update cocoapods --pre) and running pod install again.
See http://stackoverflow.com/questions/39380939/alamofire-xcode-8-swift-3-results-in-786-compile-errors for more details.
After updating cocoapods, if you still have problems you can also clean pods and install/update again:
rm -rf "${HOME}/Library/Caches/CocoaPods"
rm -rf "`pwd`/Pods/"
pod update

Let me know if it works! If it doesn't try with an empty project, like I did, so we can locate better the source of the problem.

I already fixed it, I deleted the Pods folder and then install again. Finally I converted the code to swift 3.0. It worked

Which code?

The entire SwiftCharts lib.
I'll try to use your method later on

SwiftCharts master is already in Swift 3.0 - you must have had a cached version or something.

I know that, it says so on the readme, but XCode says that library it is not on that version... maybe it is doing some catching and not downloading the last version? I have no idea.

The project's settings are correct, as you can see here (look for SWIFT_VERSION / LastSwiftMigration = 0800). It looks to me like entirely cocoapods issue.

Thanks for the tips! For now it is working for me.
Thanks for this awesome library

Thanks ;) Try to get it working with the online version, having this local port is not a good idea.

Big improvement - only 5 errors - same one in init of 5 .swift files:
Swift Compiler Error Group
/Pods/SwiftCharts/SwiftCharts/ChartCoordsSpace.swift:93:204: @escaping attribute only applies to function types
/Pods/SwiftCharts/SwiftCharts/Layers/ChartPointsViewsLayer.swift:25:116: @escaping attribute only applies to function types
/Pods/SwiftCharts/SwiftCharts/Layers/ChartPointsCandleStickViewsLayer.swift:13:117: @escaping attribute only applies to function types
/Pods/SwiftCharts/SwiftCharts/Layers/ChartPointsSingleViewLayer.swift:16:117: @escaping attribute only applies to function types
/Pods/SwiftCharts/SwiftCharts/Layers/ChartPointsTouchHighlightLayer.swift:27:165: @escaping attribute only applies to function types

What about you investigate the issue a little? As mentioned above after upgrading cocoapods issue was fixed, so it's very likely something related with your local configuration.

missed that - my apologies.  Updated Xcode and it compiles... now to use, thanks again


Add setting for choosing the columns to display

This idea is inspired by Datadog/Grafana logs interfaces. They let us choose what columns to show. For example, I'd like to see the logger name, not just timestamp, level and message.

This plugin is great! We also would really benefit from being able to specify what column/fields are showing in console.  We would like to see logger name and thread name


allow iteration without taking references

see Manishearth/rust-clippy#1398

Please first read the docs about chunks (and group by) https://docs.rs/itertools/0.5.8/itertools/trait.Itertools.html#method.chunks
This is emphasized in the docs. Patches are welcome if you find a better way to implement them :wink:


Fix Clippy lints

While using this parser as a Rust crate in a larger tree-sitter project that I'm working on, I noticed that it was failing several Clippy lints for having redundant static lifetimes:
PS C:\Users\alexs\projects\tree-sitter-racket> cargo clippy
   Compiling tree-sitter-racket v0.3.0 (C:\Users\alexs\projects\tree-sitter-racket)
warning: constants have by default a `'static` lifetime
  --> bindings/rust/lib.rs:34:24
   |
34 | pub const NODE_TYPES: &'static str = include_str!("../../src/node-types.json");
   |                       -^^^^^^^---- help: consider removing `'static`: `&str`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes
   = note: `#[warn(clippy::redundant_static_lifetimes)]` on by default

warning: constants have by default a `'static` lifetime
  --> bindings/rust/lib.rs:38:30
   |
38 | pub const HIGHLIGHTS_QUERY: &'static str = include_str!("../../queries/highlights.scm");
   |                             -^^^^^^^---- help: consider removing `'static`: `&str`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes

warning: constants have by default a `'static` lifetime
  --> bindings/rust/lib.rs:40:26
   |
40 | pub const LOCALS_QUERY: &'static str = include_str!("../../queries/locals.scm");
   |                         -^^^^^^^---- help: consider removing `'static`: `&str`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes

warning: constants have by default a `'static` lifetime
  --> bindings/rust/lib.rs:41:24
   |
41 | pub const TAGS_QUERY: &'static str = include_str!("../../queries/tags.scm");
   |                       -^^^^^^^---- help: consider removing `'static`: `&str`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes

warning: `tree-sitter-racket` (lib) generated 4 warnings (run `cargo clippy --fix --lib -p tree-sitter-racket` to apply 4 suggestions)
    Finished dev [unoptimized + debuginfo] target(s) in 0.91s
PS C:\Users\alexs\projects\tree-sitter-racket>

This pull request makes the recommended edits. I compared the build artifacts and found that the change resulted in no differences between the binaries.

thanks


tori/pcx17544

Summary

Screenshots (optional)

Documentation checklist

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

Created a PR by accident when I went to push it to the original PR. Closing.


Unable to archive my flutter app: Command PhaseScriptExecution failed with a nonzero exit code

Here is my flutter doctor -v
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.4 21F79 darwin-arm, locale zh-HK)
    • Flutter version 3.0.5 at /Users/user/flutter_2_3_05
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (5 days ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
    • Xcode at /Users/user/Desktop/Xcode/13/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).

[✓] VS Code (version 1.69.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.44.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome 103.0.5060.114

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.

I had tried a lot of different method from similar issues but none of them works for me, this makes me really confused, when I tried to use flutter build ipa --verbose
It comes with an error of
Command PhaseScriptExecution failed with a nonzero exit code
and I think it might be caused by this:
Target release_unpack_ios failed: Exception: Binary
But I'm not able to find any solution of this.
I've also tried downgrade my flutter version from 3.0.5 to 2.10 and flutter master and Xcode 13 or upgrade to Xcode 14, all those are able to run flutter run to build on simulator but none of them are able to run flutter build ipa
I've also tried to archive it using Xcode but it shows the same issue of Command PhaseScriptExecution failed with a nonzero exit code
Here is my Podfile:
Podfile.txt
Podfile.lock
Podfile.lock.txt
Generated.xcconfig
Generated.xcconfig.txt
Release.xcconfig
Release.xcconfig.txt
project.pbxproj
project.pbxproj.txt
flutter build ipa --verbose
https://drive.google.com/file/d/1eS4uP5qpwWPSPM8gfMfacJ2qabvuZh4t/view?usp=sharing
Error from archive in Xcode
xcode_archive.txt
any suggestion?
Please help, and Thank you for spending time to understand my issue.

Hello @MGTKenYCS. Have you tried the solution here?

@exaby73 Thank you for your help.
Yes, I tried, the error appear before the build folder appeared again, which mean the build folder did not show up but the error occurred.
the error is the same Target release_unpack_ios failed: Exception: Binary
when I run flutter build ios, the error switched to
2022-07-20 09:44:46.711 xcodebuild[7073:25081] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension
    Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
    2022-07-20 09:44:46.711 xcodebuild[7073:25081] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension
    Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore

Can you check this issue (https://github.com/flutter/flutter/issues/97659) as well. Seems to be very similar to yours. I believe you need to add the arm64 architecture in your xcode project

Thank You!, I solved the problem by deleting code below inside ios/Runner.xcodeproj/project.pbxproj
EXCLUDED_ARCHS = arm64;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;

and it works!
Thank you very much!


feat: Add drag and drop && improve UI a tad

CHANGES:

Added drag & drop (no library)
Added a cooler scale selector (also no lib)
Added a faux-drop zone so users know they can drag and drop
linted and ran prettier write on ALL files.

https://github.com/user-attachments/assets/4ccab773-e42d-44b3-ada1-a4e1619bc4bd

Updating every file with this drag and drop feature and the new ui, closing PR.


1.18.2 abandoned?

I see no 1.18.2 release since Aug 19 this year. Is there any chance that the development progress in the 1.19 branch will ever be back-ported to 1.18? Like so many others, I'm still stuck on 1.18 in my modpack since so many mods haven't been updated yet.

There was actually a 1.18.2 release about a month ago, it's on the 1.18 branch, not the 1.18.2 one (just just to confuse people).
Regardless, I'm not doing any 1.18.2 stuff myself, but others are welcome to backport any fixes.

I'm not seeing this release on Modrinth. Did it not make it to there?


R9: Web Application: Browser reqs: The software  shall operate in modern web browsers

Visually inspected using Firefox.

Completed.
SQA


Migrate project to Forte.Optimizely.ContentUsage name

This PR migrates EpiContentUsage project to Forte.Optimizely.ContentUsage.
Whole src/EpiContentUsage is moved to Forte.Optimizely.ContentUsage.

[ ] We still need to update repository name to Forte.Optimizely.ContentUsage.

@Fifok Keep in mind we have to update the release pipeline accordingly


Support for IIIF Presentation API 3.0

Based on sauterl's work. Passed test for following kind of annotation.
{
            "id": `${this.baseUrl}/c/3/${canvasUuid}/ap/c/a/${annoUuid}`,
            "type": "Annotation",
            "motivation": "supplementing",
            "body": {
                "type": "TextualBody",
                "value": comment,
                "format": "text/plain",
                "language": "zh-Hants"
            },
            "target": `${this.baseUrl}/c/3/${canvasUuid}#${fragmentSelector}`,
}

Although not sure what following code means in hasExternalResourceV3
Object.keys(anno.body).length === 1

Thank you for the PR! Could you add a unit test for your code?
There are some existing v2 tests in __tests__/lib/ocrFormats.test.js that you could add to.


NUMBA_DISABLE_JIT breaks @generated_jit

Reporting a bug

[ ] I am using the latest released version of Numba (most recent is visible in
the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG). (no: 0.45.1)
[x] I have included below a minimal working reproducer (if you are unsure how
to write one see http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports).

I'm using numba.generated_jit as suggested in this conversation. I'd like to do a CI run with NUMBA_DISABLE_JIT=1 to improve my coverage a little, however the functions decorated with generated_jit now behave very differently:
With NUMBA_DISABLE_JIT
In [1]: import os

In [3]: os.environ['NUMBA_DISABLE_JIT'] = '1'

In [4]: import numba

In [5]: @numba.generated_jit(nopython=True)
   ...: def foo(value, other_value):
   ...:     return lambda value, other_value: 3
   ...:

In [6]: foo(1, 2)
Out[6]: <function __main__.foo.<locals>.<lambda>(value, other_value)>

Without NUMBA_DISABLE_JIT:
In [1]: import os

In [4]: import numba

In [5]: @numba.generated_jit(nopython=True)
   ...: def foo(value, other_value):
   ...:     return lambda value, other_value: 3
   ...:

In [6]: foo(1, 2)
Out[6]: 3

Thanks for the report. Without looking I know I can reproduce this :) This problem also impacts numba.extending.overload when used to overload a user defined function stub. I don't think there's a workaround possible at present, code change will be required.

As a short-term stop-gap, should generated_jit just return a function that raises NotImplementedError with a reference to this issue when jit-ing is disabled?

I also just ran into this issue and it took me a while to find out what was going on. I would certainly favor raising an exception or at least a warning when generated_jit is used with NUMBA_DISABLE_JIT.

Hi does this NUMBA_DISABLE_JIT functionality work yet?
I would like to run tests with this flag toggled to 0 and 1 accordingly.
Which release is this aimed for?


Add ovirt provider e2e test

A very raw attempt to create an e2e test that adds an oVirt provider and checks that it is added successfully. The relies on existing environments, and expects the following environment variables to be set:
OVIRT_USERNAME
OVIRT_PASSWORD
OVIRT_CACERT
OVIRT_URL

The test can be run using the new target in the Makefile:
$ make e2e

@liranr23 works on that now, will get in to kubev2v/forklift


interest: update ForwardingHint format

This is marked as draft because it's not yet tested for interoperability with other libraries and applications.
Please give feedback on the design.

This has been tested with ndnpeek.
https://gerrit.named-data.net/c/ndn-tools/+/6565 patchset 1

No need to wait for other libraries.
This implementation supports both formats.


2.0 in global namespace

I'm using v1 and just using it via the global namespace. is this still possible?

No, we use commonjs right now as you can see in this commit: https://github.com/sindresorhus/query-string/commit/a4a45c12f76e4c727930f012e036319ae6c452cb. If you need browser support just use browserify.

Yes $ a=$npm_package_name; browserify -r ./index:$a -s $a index.js -o browser.js with browserify, or just stay on v1. The only change is to make it vanilla CommonJS.
Duplicate of #20.

I don't use browserify or requirejs.. I need to keep my dependencies light.
On 5/5/15, Arthur Verschaeve<EMAIL_ADDRESS>wrote:

Closed #21.

Reply to this email directly or view it on GitHub:
https://github.com/sindresorhus/query-string/issues/21#event-297629911

--
Thanks
-Blake Niemyjski

Could we look into using umd definition so you support amd/commonjs/browser
in 4 lines of code?
Thanks
-Blake Niemyjski
On Tue, May 5, 2015 at 3:47 PM, Blake Niemyjski<EMAIL_ADDRESS>wrote:

I don't use browserify or requirejs.. I need to keep my dependencies light.
On 5/5/15, Arthur Verschaeve<EMAIL_ADDRESS>wrote:

Closed #21.

Reply to this email directly or view it on GitHub:
https://github.com/sindresorhus/query-string/issues/21#event-297629911

--
Thanks
-Blake Niemyjski

Then use 1.x.x.

@sindresorhus thanks for your help, I wish this support umd: https://github.com/umdjs/umd would it be considered if someone did a pull request?

Again, use browserify if you need to use in the browser https://github.com/sindresorhus/query-string/commit/a4a45c12f76e4c727930f012e036319ae6c452cb.

No. There's no good reason every module should include that junk. Just use browserify and you can use any module on npm without problem. Webpack is good too. Manually including UMD wrapped scripts in your HTML is the past. Use a builder.

Your module is very generic and useful outside of node with no
dependencies. Hence I used it. It might be junk but it allows others
to use your library without extra work (amd/commonjs/global). Just
what I want to do add a new build task and more dependencies to
webpack/browserify a single dependency... when it would add .05kb to a
module. If you want to support the future you should be using es6
modules and not commonjs...
On 5/5/15, Sindre Sorhus<EMAIL_ADDRESS>wrote:

No. There's no good reason every module should include that junk. Just use
browserify and you can use any module on npm without problem. Webpack is
good too. Manually including UMD wrapped scripts in your HTML is the past.
Use a builder.

Reply to this email directly or view it on GitHub:
https://github.com/sindresorhus/query-string/issues/21#issuecomment-99220384

--
Thanks
-Blake Niemyjski

Bears repeating:

Then use 1.x.x.

Just
what I want to do add a new build task and more dependencies to
webpack/browserify a single dependency...

I'm not asking you to add a build chain just for this dependency. I'm saying your life would be a lot easier if you used a builder like browserify or webpack for all your dependencies.

If you want to support the future you should be using es6
modules and not commonjs...

For the foreseeable future those nice ES6 modules will still need to be transpiled down for older browsers using a build chain.

I'm not trying to be difficult here. I've just decided I'm done adding all this junk to all my modules when users are better off using something like browserify and webpack. You're of course free to whatever you want, but I'm not interested in supporting that.


Allow add/remove users to workspace chat

Details

Allow anyone to be added/removed to the workspace chat via the Invite/Remove button of the members page using the RoomMembersPage instead of ReportParticipantsPage
Fixed Issues

$ https://github.com/Expensify/App/issues/35391
PROPOSAL: https://github.com/Expensify/App/issues/35391#issuecomment-2040742869
Tests

Login to New Expensify app
Go to a Workspace chat
Go to the Workspace chat Details page
Go to Members page
Click on the Invite Button
Verify you can Add Users to the Workspace chat - Add several users with different types of personal details: Known, Unknown, expesifail, ... (We have a known server issue that when adding unknown users, they immediately disappear. This issue has not been introduced and will not be fixed in this PR.)
Still on the  Members page click on Remove button
Verify you can Remove Users to the Workspace chat

[x] Verify that no errors appear in the JS console

Offline tests

Same as Tests

[x] Verify that no errors appear in the JS console

QA Steps

Same as Tests
PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

https://github.com/Expensify/App/assets/95647348/6dab48eb-fe27-481f-82a8-a394bcbb8184

iOS: mWeb Safari

https://github.com/Expensify/App/assets/95647348/5ef28785-f9c6-4b20-97c5-806cf48000aa

MacOS: Chrome / Safari

https://github.com/Expensify/App/assets/95647348/2a145e66-a668-43ff-839c-8f9a423144bd

MacOS: Desktop

https://github.com/Expensify/App/assets/95647348/4f28f674-1849-49f6-8d31-a4c56c351089

@mananjadhav Sorry, but I had to redo our PR, again, I couldn't solve the problem with signing the commits.
Can you help me with videos for Android? I'm waiting for a flat cable to arrive for my main computer, on this notebook I can't build Android :/

@mananjadhav Sorry, but I had to redo our PR, again, I couldn't solve the problem with signing the commits.
Can you help me with videos for Android? I'm waiting for a flex cable to arrive for my main computer, on this notebook I can't build Android :/

No worries. I'll finish checklist today and also upload the Android videos.

Reviewer Checklist

[x] I have verified the author checklist is complete (all boxes are checked off).
[x] I verified the correct issue is linked in the ### Fixed Issues section above
[x] I verified testing steps are clear and they cover the changes made in this PR

[x] I verified the steps for local testing are in the Tests section
[x] I verified the steps for Staging and/or Production testing are in the QA steps section
[x] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[x] I checked that screenshots or videos are included for tests on all platforms
[x] I included screenshots or videos for tests on all platforms
[ ] I verified tests pass on all platforms & I tested again on:

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

[x] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[x] I verified proper code patterns were followed (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I verified that this PR follows the guidelines as stated in the Review Guidelines
[x] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

@brunovjk I can still see the commits are not signed. Can you please fix that?

Thank you @mananjadhav.

🚀 Deployed to staging by https://github.com/jasperhuangg in version: 1.4.77-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.77-11 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.77-11 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Update Zinc used by the Scala plugin to 1.6.1

Fixes https://github.com/gradle/gradle/issues/15491
Context
The currently used version of zinc is havily outdated and missing a lot of new fixes.  It's also being depracated and will most likely stop working at some point with Scala 3
Contributor Checklist

[x] Review Contribution Guidelines
[x] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[x] Make sure all contributed code can be distributed under the terms of the Apache License 2.0, e.g. the code was written by yourself or the original code is licensed under a license compatible to Apache License 2.0.
[x] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[x] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[x] Provide unit tests (under <subproject>/src/test) to verify logic
[x] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[x] Ensure that tests pass sanity check: ./gradlew sanityCheck
[x] Ensure that tests pass locally: ./gradlew <changed-subproject>:quickTest

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

@ljacomet could you take a look at it?

@tgodzik Any updates on this? Thanks!

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

Looks like running all tests on CI raises a number of problems. Can you reproduce the issues in org.gradle.scala.compile.* tests?

I will take a look as soon as possible, just got back from vacation so that might take a bit, but hopefully I should get it fixed by next week.

Looks like running all tests on CI raises a number of problems. Can you reproduce the issues in org.gradle.scala.compile.* tests?

@ljacomet The tests should be fixed, I added a section for the Zinc compatibility table and added a section for potential breaking changes

@bot-gradle test

OK, I've already triggered the following builds for you:

@bot-gradle test this

@ljacomet I haven't noticed that some of the tests were failing, but they should be fixed now, protobuf was dropped from zinc (shaded version exists). It is still in Scala 3, but that is most likely related to the fact that the bridge resides in the compiler itself instead of Zinc,

@tgodzik Could you rebase this against the release branch?
I would like to try to get it in 7.5.
You will then need to change the target branch to release as well.

I have done the rebase and change of base branch.

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

Sorry some internal error occurs, please contact the administrator @blindpirate

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

@bot-gradle test this

I have done the rebase and change of base branch.

Thanks, sorry that I didn't get to it right away!

No worry, my ability to help steer this was quite spotty 😉

@bot-gradle test and merge

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


chore(RecoveryPhrase): Add UI for removing recovery seed from the account

What this PR does 📖
Adds the UI for removing/deleting the mnemonic phrase from the account.


Dockerfile cleanups

Remove libnuma.so (since numactl-libs includes it)
Signed-off-by: Phil Cameron<EMAIL_ADDRESS>

@rajatchopra PTAL


"koa-range" has been unmaintained for many years. It is recommended to find someone else to maintain it.

https://www.npmjs.com/package/koa-range
"koa-range" has been unmaintained for many years. It is recommended to find someone else to maintain it.
https://github.com/koajs/koa-range

I see you've been making PRs. I will add you as a maintainer

I see you've been making PRs. I will add you as a maintainer

It is recommended to find someone else to maintain it

https://www.npmjs.com/package/@masx200/koa-range
@jonathanong


Create a Release for Milestone 1

Closing this issue as a release has been created under the tag v0.0.1

I did create the release, sorry I should have first added this to project

Yeah no worries, so I think now we are pretty set to go
I will create the documentation for our submission, thanks!


Jenkins-collector issue

Hi,
I am using Jenkins 2.x and trying to configure Hygieia to get the Jenkins jobs details in the dashboard. I am using Hygieia 2.0.4 release. I am able to fetch the total number of jobs in the Jenkins but when I select the build widget in the console and select a specific job to get the status I am getting below error:
ERROR c.c.d.collector.DefaultHudsonClient - Client exception loading build details: 403 Forbidden. URL =http://localhost:8080/job/abc/10
This is the Jenkins properties file:
dbname=databasename
dbhost=localhost
dbport=27017
dbusername=databaseuser
dbpassword=databasepassword
jenkins.cron=0 * * * * *
jenkins.pageSize=1000
jenkins.folderDepth=10
jenkins.servers[0]=http://admin:d3d4248abd81ec6771ea7e6ba287e3f3@localhost:8080
logging.file=./logs/jenkins.log
jenkins.saveLog=true
What I am missing here?
Thanks

The below properties file did work for me , compare and edit, try it out. If it doesnt work, give a shout.
Database Name
dbname=dashboard
Database HostName - default is localhost
dbhost=localhost
Database Port - default is 27017
#dbport=27017
MongoDB replicaset
#dbreplicaset=[false if you are not using MongoDB replicaset]
#dbhostport=[host1:port1,host2:port2,host3:port3]
Database Username - default is blank
dbusername=db
Database Password - default is blank
dbpassword=dbpass
Collector schedule (required)
jenkins.cron=0 0/5 * * * *
The page size
#Jenkins.pageSize=1000
The folder depth - default is 10
#jenkins.folderDepth=10
Jenkins server (required) - Can provide multiple
jenkins.servers[0]=http://localhost:8080
If using username/token for api authentication
(required for Cloudbees Jenkins Ops Center) see sample
<EMAIL_ADDRESS>Another option: If using same user# Database Name
dbname=dashboard
Database HostName - default is localhost
dbhost=localhost
Database Port - default is 27017
#dbport=27017
MongoDB replicaset
#dbreplicaset=[false if you are not using MongoDB replicaset]
#dbhostport=[host1:port1,host2:port2,host3:port3]
Database Username - default is blank
dbusername=db
Database Password - default is blank
dbpassword=dbpass
Collector schedule (required)
jenkins.cron=0 0/5 * * * *
The page size
#Jenkins.pageSize=1000
The folder depth - default is 10
#jenkins.folderDepth=10
Jenkins server (required) - Can provide multiple
jenkins.servers[0]=http://localhost:8080
If using username/token for api authentication
(required for Cloudbees Jenkins Ops Center) see sample
<EMAIL_ADDRESS>Another option: If using same username/password Jenkins auth,
set username/apiKey to use HTTP Basic Auth (blank=no auth)
#jenkins.usernames=
#jenkins.apiKeys=
Determines if build console log is collected - defaults to false
jenkins.saveLog=true
name/password Jenkins auth,
set username/apiKey to use HTTP Basic Auth (blank=no auth)
jenkins.usernames=
jenkins.apiKeys=
Determines if build console log is collected - defaults to false
jenkins.saveLog=true

@DevOps575
looks like you missed below two lines in your code:
jenkins.usernames[0]=
jenkins.apikeys[0]=
above statement, will resolve your 403 issue.

@DevOps575
how are you generating jenkins api for the admin user?
looks like issue is with api key.
Please check and let me know

Hi,
I am generating API Token from Jenkins console for admin user and using it in the property file. I also tried by adding the below keys in the property file:
jenkins.usernames[0]=admin
jenkins.apiKeys[0]=
API Token seems to be fine as I am able to get the total number of jobs in Hygieia but not the details of individual job in dashboard after selecting the job name from dashboard.
2017-07-21 08:18:00,021 INFO  c.c.d.collector.CollectorTask - -----------------------------------
2017-07-21 08:18:00,058 INFO  c.c.d.collector.CollectorTask - Fetched jobs                     0s
2017-07-21 08:18:00,067 INFO  c.c.d.collector.CollectorTask - New jobs               17        0s
2017-07-21 08:18:00,082 INFO  c.c.d.collector.CollectorTask - New builds              0        0s
2017-07-21 08:18:00,082 INFO  c.c.d.collector.CollectorTask - Finished                         0s
2017-07-21 08:19:00,000 INFO  c.c.d.collector.CollectorTask - Running Collector: Hudson
2017-07-21 08:19:00,018 INFO  c.c.d.collector.CollectorTask - -----------------------------------
On selecting job in the build widget in Hygieia console I am getting this error:
2017-07-21 08:23:00,029 ERROR c.c.d.collector.DefaultHudsonClient - Unknown error in getting build details. URL=http://localhost:8080/job/abc/10/
java.lang.NullPointerException: null
at com.capitalone.dashboard.collector.DefaultHudsonClient.getString(DefaultHudsonClient.java:370) ~[jenkins-collector.jar!/:2.0.4]
at com.capitalone.dashboard.collector.DefaultHudsonClient.addChangeSets(DefaultHudsonClient.java:235) ~[jenkins-collector.jar!/:2.0.4]
at com.capitalone.dashboard.collector.DefaultHudsonClient.getBuildDetails(DefaultHudsonClient.java:188) ~[jenkins-collector.jar!/:2.0.4]
at com.capitalone.dashboard.collector.HudsonCollectorTask.addNewBuilds(HudsonCollectorTask.java:193) [jenkins-collector.jar!/:2.0.4]
at com.capitalone.dashboard.collector.HudsonCollectorTask.collect(HudsonCollectorTask.java:95) [jenkins-collector.jar!/:2.0.4]
at com.capitalone.dashboard.collector.HudsonCollectorTask.collect(HudsonCollectorTask.java:32) [jenkins-collector.jar!/:2.0.4]
at com.capitalone.dashboard.collector.CollectorTask.run(CollectorTask.java:63) [core-2.0.4.jar!/:2.0.4]
Thanks

JFYI - In the above comment I forget to mention the apiKey value. This is what I set:
jenkins.usernames[0]=admin
jenkins.apiKeys[0]=1add7858efed99b86d21a5f2e23acc98
Thanks

I have taken the latest code from the master branch and it is working fine now.

@DevOps575  - Please reopen if you have anymore issues.

Same problem


Missing string in translations

Describe your problem
Missing string (untranslatable)
Strings in CMS core and strings it lang files not same:
file: bl-kernel/admin/views/edit-content.php
'tip'=>$L->g('Write the tags separated by comma'),
file: bl-kernel/admin/views/new-content.php
'tip'=>$L->g('Write the tags separated by comma')
and in all lang files:
"write-the-tags-separated-by-commas": "Write the tags separated by comma.",
Steps to reproduce the problem

Open project
Check described files

Bludit version
3.12.X (current)
PHP version
Doesn't matter
PHP logs
Doesn't matter

Well spotted.
This is because of the lack of "s" in comma
You should create a pull request so that the error can be corrected.

This is because of the lack of "s" in comma

You are quite right, unfortunately I haven't permission to make any changes (or pull requests) in Bludit core.
I hope anybody will fix it instead of me or will give access to do it for my account.

@hide-me really you don't have permissions ? that is strange is open public the PR..

The correct string would be Write the tags separated by a commas correct?

The correct string would be Write the tags separated by a commas correct?

Yes it is :) @dignajar

Hello, with the new version of Bludit v4.0 rc1, I would like to close the old Github issues. If you feel that your issue is not resolved in the latest version, create a new ticket.

Help and Support use the Forum https://forum.bludit.org
Bugs and new requests here in Github https://github.com/bludit/bludit/issues


Add bicycle kinematic model

[ ] test with hardware

Hardware tests show the Kalman message entries only appear flimnap_whipple and not in flimnap_kinematic. Quick tests also indicate (subjectively) that feedback torque is correct (using HandlebarStatic).


Make shell_out_compact automatically pull timeouts off the resource + remove uses of shell_out_compact_timeout

Collapses down the API a bit better.
I've got some possibly overly paranoid gating to make sure this wouldn't affect anyone's cookbooks, but at the same time this only affects shell_out_compact(), not shell_out() itself.
It found and fixed at least one reported bug:  #6288
Since portage is a compile-from-source I bumped the default timeout up to 3600 on that one and it now should obey user-set timeouts.
Code timeouts always take precedence now, then the new_resource.timeout, then it applies the 900 timeout if that is nil.
closes #6288

My only worry is the naming of maybe_add_timeout, do we want to leave that as an instance method or maybe make it a module method so it doesn't get dumped into everything that uses the mixin?

Flip side, leaving it as an instance method allows hackery like redefining it in your resource/provider?

hmm, right, i'll have to fix this properly but have other work to do so i'll have to come back to this...


NA OFI: specify tcp port to use and handle port conflict

If a port is already used it seems that the OFI plugin uses another port that does not correspond to the one that was passed. The port number returned from NA_Addr_to_string is the same though, which is an issue.

This will be resolved as part of #246


[v1alpha2] Suppport customized port

https://github.com/kubeflow/tf-operator/pull/526#discussion_r180700751

I am working on it. While we have to define a key word to use in code as the customized port. Maybe tfjob-port lgtm


alternative solution -> meteor-desktop

Hey,
please consider pointing people to an alternative solution in the readme -> meteor-desktop.
Thanks for your project as this was an inspiration for me 👍

Please note your solution does not support offline application, as a bundle without need for a dedicated server.
a Wanda is trying to maintain this abandonned solution somehow.


Argument 1 passed to HyperfExt\Jwt\Claims\Factory::__construct() must be of the type int or null, string given,

[ERROR] Argument 1 passed to HyperfExt\Jwt\Claims\Factory::__construct() must be of the type int or null, string given, called in /mnt/c/Users/lixwo/Project/Cattery/CatteryAPI/vendor/hyperf/di/src/Resolver/ObjectResolver.php on line 99[56] in /mnt/c/Users/lixwo/Project/Cattery/CatteryAPI/vendor/hyperf-ext/jwt/src/Claims/Factory.php
[ERROR] #0 /mnt/c/Users/lixwo/Project/Cattery/CatteryAPI/vendor/hyperf/di/src/Resolver/ObjectResolver.php(99): HyperfExt\Jwt\Claims\Factory->__construct()
#1 /mnt/c/Users/lixwo/Project/Cattery/CatteryAPI/vendor/hyperf/di/src/Resolver/ObjectResolver.php(66): Hyperf\Di\Resolver\ObjectResolver->createInstance()
#2 /mnt/c/Users/lixwo/Project/Cattery/CatteryAPI/vendor/hyperf/di/src/Resolver/ResolverDispatcher.php(62): Hyperf\Di\Resolver\ObjectResolver->resolve()
#3 /mnt/c/Users/lixwo/Project/Cattery/CatteryAPI/vendor/hyperf/di/src/Resolver/DepthGuard.php(73): Hyperf\Di\Resolver\ResolverDispatcher->Hyperf\Di\Resolver\{closure}()

        if ($token = $this->auth->guard('api')->attempt(['name' => $request_data['account'], 'password' => $request_data['password']])) {
            if ($this->auth->guard('api')->check()) {
                return $response->json(CommonUtil::jsonTemplate(0, [
                    'access_token' => $token,
                    'token_type' => 'bearer',
//                    'expires_in' => $this->auth->guard('api')->factory()->getTTL() * 60
                ], "登录成功"));
            }
        } else {
            return $response->json(CommonUtil::jsonTemplate(4033));
        }

这问题我也遇到了，.env中定义的是数字，但是程序识别出来就是字符串，所以在配置文件中把所有数字类型的转一下就可以解决这个报错
`<?php
declare(strict_types=1);
/**

This file is part of hyperf-ext/jwt

@link     https://github.com/hyperf-ext/jwt

@contact<EMAIL_ADDRESS>

@license  https://github.com/hyperf-ext/jwt/blob/master/LICENSE
/
return [
/
|--------------------------------------------------------------------------

JWT Authentication Secret

Don't forget to set this in your .env file, as it will be used to sign

your tokens. A helper command is provided for this:

php bin/hyperf.php gen:jwt-secret

Note: This will be used for Symmetric algorithms only (HMAC),

since RSA and ECDSA use a private/public key pair (See below).

Note: This value must be encoded by base64.

*/

'secret' => env('JWT_SECRET'),
/*
|--------------------------------------------------------------------------

JWT Authentication Keys

The algorithm you are using, will determine whether your tokens are

signed with a random string (defined in JWT_SECRET) or using the

following public and private keys. A helper command is provided for this:

php bin/hyperf.php gen:jwt-keypair

Symmetric Algorithms:

HS256, HS384 & HS512 will use JWT_SECRET.

Asymmetric Algorithms:

RS256, RS384 & RS512 / ES256, ES384 & ES512 will use the keys below.

*/

'keys' => [
/*
|--------------------------------------------------------------------------
| Public Key
|--------------------------------------------------------------------------
|
| Your public key content.
|
*/
 'public' => env('JWT_PUBLIC_KEY'),

 /*
 |--------------------------------------------------------------------------
 | Private Key
 |--------------------------------------------------------------------------
 |
 | Your private key content.
 |
 */

 'private' => env('JWT_PRIVATE_KEY'),

 /*
 |--------------------------------------------------------------------------
 | Passphrase
 |--------------------------------------------------------------------------
 |
 | The passphrase for your private key. Can be null if none set.
 |
 | Note: This value must be encoded by base64.
 |
 */

 'passphrase' => env('JWT_PASSPHRASE'),

],
/*
|--------------------------------------------------------------------------

JWT time to live

Specify the length of time (in seconds) that the token will be valid for.

Defaults to 1 hour.

You can also set this to null, to yield a never expiring token.

Some people may want this behaviour for e.g. a mobile app.

This is not particularly recommended, so make sure you have appropriate

systems in place to revoke the token if necessary.

Notice: If you set this to null you should remove 'exp' element from 'required_claims' list.

*/

'ttl' => (int) env('JWT_TTL', 3600),
/*
|--------------------------------------------------------------------------

Refresh time to live

Specify the length of time (in seconds) that the token can be refreshed

within. I.E. The user can refresh their token within a 2 week window of

the original token being created until they must re-authenticate.

Defaults to 2 weeks.

You can also set this to null, to yield an infinite refresh time.

Some may want this instead of never expiring tokens for e.g. a mobile app.

This is not particularly recommended, so make sure you have appropriate

systems in place to revoke the token if necessary.

*/

'refresh_ttl' => (int) env('JWT_REFRESH_TTL', 3600 * 24 * 14),
/*
|--------------------------------------------------------------------------

JWT hashing algorithm

Specify the hashing algorithm that will be used to sign the token.

possible values: HS256, HS384, HS512, RS256, RS384, RS512, ES256, ES384, ES512

*/

'algo' => env('JWT_ALGO', 'HS512'),
/*
|--------------------------------------------------------------------------

Required Claims

Specify the required claims that must exist in any token.

A TokenInvalidException will be thrown if any of these claims are not

present in the payload.

*/

'required_claims' => [
'iss',
'iat',
'exp',
'nbf',
'sub',
'jti',
],
/*
|--------------------------------------------------------------------------

Persistent Claims

Specify the claim keys to be persisted when refreshing a token.

sub and iat will automatically be persisted, in

addition to the these claims.

Note: If a claim does not exist then it will be ignored.

*/

'persistent_claims' => [
// 'foo',
// 'bar',
],
/*
|--------------------------------------------------------------------------

Lock Subject

This will determine whether a prv claim is automatically added to

the token. The purpose of this is to ensure that if you have multiple

authentication models e.g. App\User & App\OtherPerson, then we

should prevent one authentication request from impersonating another,

if 2 tokens happen to have the same id across the 2 different models.

Under specific circumstances, you may want to disable this behaviour

e.g. if you only have one authentication model, then you would save

a little on token size.

*/

'lock_subject' => true,
/*
|--------------------------------------------------------------------------

Leeway

This property gives the jwt timestamp claims some "leeway".

Meaning that if you have any unavoidable slight clock skew on

any of your servers then this will afford you some level of cushioning.

This applies to the claims iat, nbf and exp.

Specify in seconds - only if you know you need it.

*/

'leeway' => (int) env('JWT_LEEWAY', 0),
/*
|--------------------------------------------------------------------------

Blacklist Enabled

In order to invalidate tokens, you must have the blacklist enabled.

If you do not want or need this functionality, then set this to false.

*/

'blacklist_enabled' => env('JWT_BLACKLIST_ENABLED', true),
/*
| -------------------------------------------------------------------------

Blacklist Grace Period

When multiple concurrent requests are made with the same JWT,

it is possible that some of them fail, due to token regeneration

on every request.

Set grace period in seconds to prevent parallel request failure.

*/

'blacklist_grace_period' => (int) env('JWT_BLACKLIST_GRACE_PERIOD', 0),
/*
|--------------------------------------------------------------------------

Blacklist Storage

Specify the handler that is used to store tokens in the blacklist.

*/

'blacklist_storage' => HyperfExt\Jwt\Storage\HyperfCache::class,
];
`

感谢老哥


marathon-lb: Bump to v1.8.0

https://jira.mesosphere.com/browse/DCOS_OSS-1312

@ryadav88 please review. Seems like @kensipe was tagged before as well. Who should I be asking for reviews?


Sort report by time

Hi @shahzebsiddiqui, I may need some suggestions on documentation and filtering logics in filter_by_start_end.

Hi @shahzebsiddiqui, all above suggestions have been addressed including the latest comment on tag. Thank you!

Thanks @Xiangs18 this looks great. Excellent job!!!


Add option to query serverless OpenSearch instances

What is this feature?
This PR adds the possibility to also query OpenSearch Serverless services.
Special notes for your reviewer:
PR in Grafana to add the needed changes: https://github.com/grafana/grafana/pull/60344

@svennergr version selection is not applicable for OpenSearch serverless. Can we hide the version option on serverless selection

@svennergr version selection is not applicable for OpenSearch serverless. Can we hide the version option on serverless selection

Thanks, fixed in a1bfd1a.


Unexpected error of "id attribute value should be larger to accommodate hidden union type field"

The following flatbuffer schema does not compile with flatcc,
but is okay with flatc
table Alice {

}

table Bob {

}

union Bar {
    a:Alice,
    b:Bob,
}

table Foo {
  bar:Bar (id: 1);
}

Error message:
test.fbs:16:12: error: 'id': id attribute value should be larger to accommodate hidden union type field
output failed

This issue only happens if union id is set to 1. Set to other id works.
table Alice {

}

table Bob {

}

union Bar {
    a:Alice,
    b:Bob,
}

table Foo {
  a:uint64 (id: 0);
  bar:Bar (id: 2);
}

Thanks. The union logic assumed 1 was the smallest id, when in fact 0 is a valid id.
Fixed in https://github.com/dvidelabs/flatcc/commit/354a5f905162cf5ae3bdfbfbc9d6c57411ec3404


(#37) Implement note rule CPMR0068

Description Of Changes
This implements the note rule CPMR0068 that verifies whether the owners
field matches the authors field or not.
This is equivalent to what is implemented in Package Validator, and
should be enhanced in the future.
Motivation and Context
To include as many rules as we can that is implemented by Package Validator.
Testing

Create a nuspec file.
Update the tags element to contain the tag notSilent
Run choco pack on the created nuspec file.
Verify the rule CPMR0068 is flagged.
Repeat previous steps with different letter casing.

Operating Systems Testing

Windows 10

Change Types Made

[ ] Bug fix (non-breaking change).
[x] Feature / Enhancement (non-breaking change).
[ ] Breaking change (fix or feature that could cause existing functionality to change).
[ ] Documentation changes.
[ ] PowerShell code changes.

Change Checklist

[x] Requires a change to the documentation.
[ ] Documentation has been updated.
[x] Tests to cover my changes, have been added.
[x] All new and existing tests passed?
[ ] PowerShell code changes: PowerShell v3 compatibility checked?

Related Issue
Fixes #37

@AdmiringWorm can you please update the testing steps here?  They don't seem to reflect what is actually being implemented within this PR.  Could they be a copy/paste from the last PR?

@AdmiringWorm can you please update the testing steps here? They don't seem to reflect what is actually being implemented within this PR. Could they be a copy/paste from the last PR?

I have updated the testing steps now. And yes, you are right with it being a copy/paste from the last PR.

@AdmiringWorm thanks for getting that updated, and for getting this new rule added!


Lua issue while migrating to templates

Hi, when i cloned this repo the lua was working, however when i try to migrate the lua into flake or module templates i am getting errors that modules cannot be found. I am not that good with lua or nix so this is just my skill issue. Help appreciated.
    # flake.nix
    luaPath = "${./lua/myLuaConf}";

-- lua/myLuaConf/init.lua
-- i tried removing myLuaConf. from the lua files but then a slightly different error tell me that plugins cannot be loaded
require("myLuaConf.plugins")
require("myLuaConf.LSPs")
require('myLuaConf.format')
if nixCats('debug') then
  require('myLuaConf.debug')
end

tree -L 3
.
├── lua
│  └── myLuaConf
│     ├── debug
│     ├── format
│     ├── LSPs
│     ├── plugins
│     └── init.lua
├── overlays
│  └── default.nix
├── flake.lock
└── flake.nix

lua error on startup
Error detected while processing /nix/store/1nnvi6r112qxrcvyhws7ijrnwr6agjri-init.lua:
E5113: Error while calling lua chunk: /nix/store/1nnvi6r112qxrcvyhws7ijrnwr6agjri-init.lua:2: /nix/store/1nnvi6r112qx
rcvyhws7ijrnwr6agjri-init.lua../nix/store/3256jm73f52aakaslqpj7d84yh9677is-init.vim[13]../nix/store/6n49qncsxfkxshi5q
6yw9hfna0avjw0w-nixCats-special-rtp-entry-LuaConfig/init.lua: Vim(source):E5113: Error while calling lua chunk: ...hf
na0avjw0w-nixCats-special-rtp-entry-LuaConfig/init.lua:1: module 'myLuaConf.plugins' not found:
        no field package.preload['myLuaConf.plugins']
        no file '/nix/store/k85k151qrrl98gfbj5z00h36a5kj4fwy-luajit-2.1.1693350652-env/share/lua/5.1/myLuaConf/plugin
s.lua'
        no file '/nix/store/k85k151qrrl98gfbj5z00h36a5kj4fwy-luajit-2.1.1693350652-env/share/lua/5.1/myLuaConf/plugin
s/init.lua'
        no file '/nix/store/k85k151qrrl98gfbj5z00h36a5kj4fwy-luajit-2.1.1693350652-env/lib/lua/5.1/myLuaConf/plugins.
so'
        no file '/nix/store/k85k151qrrl98gfbj5z00h36a5kj4fwy-luajit-2.1.1693350652-env/lib/lua/5.1/myLuaConf.so'
stack traceback:
        [C]: in function 'require'
        ...hfna0avjw0w-nixCats-special-rtp-entry-LuaConfig/init.lua:1: in main chunk
        [C]: in function 'source'
        /nix/store/1nnvi6r112qxrcvyhws7ijrnwr6agjri-init.lua:2: in main chunk
stack traceback:
        [C]: in function 'source'
        /nix/store/1nnvi6r112qxrcvyhws7ijrnwr6agjri-init.lua:2: in main chunk
Press ENTER or type command to continue

https://github.com/Doosty/nixCats-nvim-flake

An easier way to think of it is this. Whatever path you put in luaPath, is going to be copied to the store, and nvim is gonna look there instead of ~/.config/nvim

I actually had to copy over init.lua from the toplevel directory in your repo for everything to function correctly. I first added init.lua with only require('myLuaConf') and that fired up the app without a startup error however all the keybinds were broke and that gave me a clue that much more of lua is missing and so i found the needed file in the repo.
I also just want to say thanks alot for your work, i love that i can manage my configs with nix and use nix run anywhere to get to my editor.

To see what info is being passed, there are several user commands starting with NixCats
They are outlined in :h nixCats at the bottom.
One of those pieces of info will be the path to your config directory in the store. You can take a look at it there if you like to understand what is going on better.

Sorry posted with wrong account before.

Also, I just realized, you have no init.lua
Its a normal config folder it needs an init.lua at the root of it.
Like, at the same level as your flake.nix

And thanks for the words of encouragement :)
I knew what I wanted so I made it :)
The nixExpressionFlakeOutputs template is my personal one stripped down in a template, Its literally the outputs function from flake.nix, but in a default.nix that you call like a function and recieve the normal flake outputs.
I then export the packages from the top level of my system flake so that I can nix run them from anywhere, and also have it be inside my system flake :)
My personal config has gotten a little complicated lol but its still just the nixExpressionFlakeOutputs template


[Docs] Discrepency in the intro

https://zendframework.github.io/zend-permissions-rbac/intro/ mentions
To create a role, extend the abstract class Zend\Permission\Rbac\AbstractRole or use the default role class, Zend\Permission\Rbac\Role. You can instantiate a role and add it to the RBAC container or add a role directly using the RBAC container addRole() method.

But AbstractRole no longer exists in the package. And the migration guide suggests a different way of doing things.

This repository has been closed and moved to laminas/laminas-permissions-rbac; a new issue has been opened at https://github.com/laminas/laminas-permissions-rbac/issues/4.


Fix that after a while, docker-desktop has deploys fail, with error "Docker is not responding. Maybe Docker is out of disk space? [...]"; seems to be memory issue

Likely related to WSL memory limits being reached.
Notes:

On my desktop, the WSL memory limit is 8gb.

Possibly related posts/issues:

https://stackoverflow.com/a/66797264

Cases

2024-05-19 (v-desktop): Docker-desktop showed memory usage of 8.01gb at time of failed deploy. (ie. at WSL memory limit)
2024-05-23 (v-desktop): Issue happened; DD was not showing memory-usage yet, but did show an images list; pressed "Stop" on app-server, to free up a bit of memory; DD then showed memory usage of 8.01gb (ie. at WSL memory limit); Lens was then able to reconnect.

Toward resolution
Notes:

Shutting down Docker Desktop, then starting it again, seems to fix the issue temporarily. (that + killing the app-server pod in DD, appears to reduce memory usage by ~450mb)

Next time issue happens, try running in WSL/Ubuntu (in sudo bash): sync; echo 3 > /proc/sys/vm/drop_caches (reduced memory usage by ~2.3gb; unsure if actually helps with the deploy problem though, since it might be "illusory" savings if was just caching memory that would have been auto-dropped as needed anyway)

Found a possible fix: (from: WuvXPC8xpSfvdt)
[wsl]
kernelCommandLine = systemd.unified_cgroup_hierarchy=1 cgroup_no_v1=all

[experimental]
autoMemoryReclaim=gradual

Except I replaced "gradual" with "dropCache" in the above. (note: "dropCache" is the default as of WSL2 v2.2.1)

Found a possible fix: (from: https://github.com/microsoft/WSL/issues/8725#issuecomment-1260627017)
[wsl]
kernelCommandLine = systemd.unified_cgroup_hierarchy=1 cgroup_no_v1=all

[experimental]
autoMemoryReclaim=gradual

Except I replaced "gradual" with "dropCache" in the above. (note: "dropCache" is the default as of WSL2 v2.2.1)


Frontend looks strange

I have attached two screenshots shots, one screenshot for each type of bug, there are similar bugs in other places, but it looks like they originate from the same component. In the first one, buttons overlap with the heading of the block. In the second one, the heading of the dynamic block (text "Approve") is hidden by the top navigation bar.

Indeed the (generated) UI is not responsive and could be improved certainly. However the way the software is used in the company - using higher screen resolutions - is not a blocking issue.
As we plan to move to a new framework (Apache Isis) version this year we are likely to address UI issues during the upgrade project.


Installing/Using Seaborn

I have big issues completing the installation of seaborn. In Jupyterlab it does not let me install it and i have no other way of using python...
import seaborn as sns
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[2], line 1
----> 1 import seaborn as sns
ModuleNotFoundError: No module named 'seaborn'
I am quite stuck with this issue and i do not know how else i can solve it.

I need more details. How did you try to install it?
You can probably do inside Jupyter
!pip install seaborn

I tried to install it using different commands i found online. Everytime i get the same Error.

OSError                                   Traceback (most recent call last)
Cell In[3], line 1
----> 1 get_ipython().system('pip install seaborn')
File /lib/python3.11/site-packages/IPython/core/interactiveshell.py:2653, in InteractiveShell.system_piped(self, cmd)
2648     raise OSError("Background processes not supported.")
2650 # we explicitly do NOT return the subprocess status code, because
2651 # a non-None value would trigger :func:sys.displayhook calls.
2652 # Instead, we store the exit_code in user_ns.
-> 2653 self.user_ns['_exit_code'] = system(self.var_expand(cmd, depth=1))
File /lib/python3.11/site-packages/IPython/utils/_process_emscripten.py:11, in system(cmd)
10 def system(cmd):
---> 11     raise OSError("Not available")
OSError: Not available

Please provide detailed description of the process you took. I'm unable to understand the problem from thus error message


Установка агента на весь чек

Hello @mini4! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file tests.py:

Line 816:1: E303 too many blank lines (3)
Line 861:11: W292 no newline at end of file


Add random sport for teams in en and en-AU locales

This pull adds the ability to assign a random sport using Faker::Team.sport and comes with a passing test.

Fixed.


Try yarn 2; solve 'yarn link' dependency lack; maybe try lerna; solve missing command in workspaces

1 Try to install yarn 2 locally
2 Find the way to add linked dependencies to package.json automatically (not by manual adding the field)
3 Check how to up the dependencies version across the packages
4 Solve workspace  problem with missing commands https://next.yarnpkg.com/cli/workspaces/foreach

call 'yarn' in root leads to error with linked dependencies!


Instructions to add this to my Slack?

This looks really cool! Could you add some instructions to get an instance of this running on someone else's Slack organization?

Yep!


Remove token deploy in anticipation of removal of the soroban only built-in token

What
The soroban-only built-in token is being removed in https://github.com/stellar/rs-soroban-env/pull/607. This is the corresponding sdk change required for updating soroban-test-wasms in rs-soroban-env. This PR does not add support for deploy the Stellar Asset Contract. That can be added in later after we decide what that feature would look like.
Note that the rs-soroban-env version is not being bumped in this PR. That can be done in a later commit once the rs-soroban-env PR is merged.

This is the corresponding sdk change required for updating soroban-test-wasms in rs-soroban-env. This PR does not add support for deploy the Stellar Asset Contract. That can be added in later after we decide what that feature would look like.

I think this change will make it harder to experiment with contracts that interact with tokens because it'll require every developer wanting to interact with a contract to develop their own. I guess soon enough there will be a standard WASM token contract that people can use for testing? It feels like we're going to have a testing hole though.
This doesn't need to block this, just noticing.

Ignore my message above, I misunderstood. I see that there is still the SAC for testing within the SDK.


updated nnx.training

This PR does the following:

added docstrings to nnx.training classes
added return types for method signatures

:fire:

Codecov Report
Attention: Patch coverage is 0% with 11 lines in your changes missing coverage. Please review.

Project coverage is 0.00%. Comparing base (abf36e5) to head (d30b682).
Report is 19 commits behind head on main.

Files
Patch %
Lines

flax/nnx/nnx/training/metrics.py
0.00%
11 Missing :warning:

Additional details and impacted files
@@          Coverage Diff           @@
##            main   #3975    +/-   ##
======================================
  Coverage   0.00%   0.00%
======================================
  Files        102     104     +2
  Lines      13208   13366   +158
======================================
- Misses     13208   13366   +158

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


Safari 8 Crash after AUTH accept

Confirmed on Yosemite and Safari 8, probably crash when playing sound or trying to show desktop notification. So much for HTML5!

Should be fixed in 15.01.28-087bda2c5f7e+

Confirmed as working in 15.01.28-087bda2c5f7e+


When only password text field is present, login fails

When the trying to fill in a page that only has a password prompt (e.g. the GitHub confirm password screen that shows when performing sensitive operations), login fails.  I'm guessing it's because the extension is filling the username into the password field.  I have verified the stored password is correct by using pass -c to copy the stored password into the clipboard.

I'm using Chrome 57 on Ubuntu 16.04 (x64)

Yep, this happens on the Gmail 2-step login screen, as well.

also on Mailman's List Administrator Password <input name="adminpw" type="password">

Also happens on ProtonMail's sensitive operation modal, where there's a field for the password and a field for 2FA.

Also on the general Google account login page.

This has been fixed in master, I tested on Github confirm password screen and Google login page. Let me know if you spot a website where this doesn't work.

@maximbaz Fyi, login does not work on https://www.namecheap.com/myaccount/login.aspx
There are both username and password fields but browserpass only fills in the password and leaves the username empty.

Thanks for the heads up! Apparently I've fixed this earlier today together with the fix for #169, I'll release 2.0.3 very soon which will include the code fix.

 Thank you very much for your effort @maximbaz !


Answer redirect by filter for direct proxy requests trick is broken

I've built a caching proxy server, which provides a Web UI for its contents or browsing history and for full text search results. This is implemented with filters which answers responses with content, errors or with a 302 Found state to redirect. Redirects are neccessary for the modify/redirect pattern. It works fine with LittleProxy up to 78e41b2a79c99f88897668370b60204e7ad0bfa8.
@jekh I think it's introduced with #204. Please, have a look at this test. It's working in this branch, but it fails in master.
Update: fails means: the browser is not redirected to another URL and waits until timeout occours.

One of the changes in #204 is that connections won't be automatically closed after short-circuit responses. Generally this is a good thing, but if you were relying on the automatic connection closure to indicate "end-of-message", it may cause your responses to "hang". You can force LP to close the connection by adding the "Connection: close" header to your short-circuit responses. Alternately, you can enable chunked Transfer-Encoding, or set an appropriate Content-Length. See RFC 7230, section 3.3.3 for details on indicating message body length.

Thank you, the redirect works well with:
HttpHeaders.setHeader(answer, Names.CONNECTION, Values.CLOSE);

A Content-Length is working only, if the message has a content, since a length of 0 hasn't worked for me.

Glad it's working for you. Content-Length of 0 should work, though (assuming there is no entity body on your message). What happened when you set Content-Length to 0?

I've tried a redirect by a DefaultHttpResponse (no Full) without a content, without Connection: close header, but with Content-Length: 0 header. -> This won't fix the blocking behavior.

Did you try with a DefaultFullHttpResponse with a Content-Length: 0 header? It shouldn't make a difference if there is no entity content, but I'd like to investigate further. Did you have aggregation turned on (i.e. non-zero buffer values in the HttpFiltersSourceAdapter)?
The test you linked to earlier in this issue seems to be gone -- do you have a test or a snippet of code that you know hangs with Content-Length 0? I'd like to try to get it fixed, because always closing connections is not a very efficient way to use a proxy server. (As an alternative, for now, you could set the Transfer-Encoding to Chunked instead of adding the Connection: close header.)

Hi Jason,
use this Test
https://github.com/ganskef/LittleProxy/blob/proxy_web_ui_test/src/test/java/org/littleshoot/proxy/ProxyWebUiTest.java
It's been renamed, see PR #224
Aggregation was off in the test, but it's always on in my proxy, where
I've tried it manually. Chunked should be set there, but it won't work
... means blocking occurs with redirect.
Answering content works well. So closing on redirect is not a problem
(for me).
Am 31.07.2015 um 16:53 schrieb Jason Hoetger:

Did you try with a DefaultFullHttpResponse with a Content-Length: 0
header? It /shouldn't/ make a difference if there is no entity content,
but I'd like to investigate further. Did you have aggregation turned on
(i.e. non-zero buffer values in the HttpFiltersSourceAdapter)?
The test you linked to earlier in this issue seems to be gone -- do you
have a test or a snippet of code that you know hangs with Content-Length
0? I'd like to try to get it fixed, because always closing connections
is not a very efficient way to use a proxy server. (As an alternative,
for now, you could set the Transfer-Encoding to Chunked instead of
adding the Connection: close header.)
—
Reply to this email directly or view it on GitHub
https://github.com/adamfisk/LittleProxy/issues/222#issuecomment-126717773.


WSL support?

I'm running ubuntu from WSL, is this the reason for this error?
  File "/home/myname/.local/pipx/venvs/colmi-r02-client/lib/python3.12/site-packages/bleak/backends/bluezdbus/manager.py", line 243, in async_init
    bus = MessageBus(bus_type=BusType.SYSTEM, auth=get_dbus_authenticator())
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/myname/.local/pipx/venvs/colmi-r02-client/lib/python3.12/site-packages/dbus_fast/aio/message_bus.py", line 200, in __init__
    super().__init__(bus_address, bus_type, ProxyObject, negotiate_unix_fd)
  File "src/dbus_fast/message_bus.py", line 169, in dbus_fast.message_bus.BaseMessageBus.__init__
  File "src/dbus_fast/message_bus.py", line 729, in dbus_fast.message_bus.BaseMessageBus._setup_socket
  File "src/dbus_fast/message_bus.py", line 702, in dbus_fast.message_bus.BaseMessageBus._setup_socket
FileNotFoundError: [Errno 2] No such file or directory

I don't think WSL is supported. There's no support for Bluetooth access from within WSL from a quick google and bleak (the Bluetooth library I use) doesn't support WSL either
As a workaround, I believe it would work if you installed it on windows directly


File not found error for "hh.hpp" during raftlib compilation using pkgconfig

Describe the bug
Raftlib code compilation gives "file does not exist error" for "raftinc/hh.hpp." On inspection, the file is included in defs.hpp but doesn't exist anywhere in the source code. Not sure if its renamed or removed completely
Steps To Reproduce

run any example (the sum example in the getting started section of raftlib), and it doesn't compile using pkg-config by throwing the error

Expected behavior
Raftlib example code to compile

Ok, looks like I made a mistake with using a gist as a submodule. Let me see the best way to fix this. Test cases pass (which we need to fix) b/c cmake just skips over since it's not a fatal error.
Message received is below, will update ticket when I have it resolved.
INFO Initializing sub-module /RaftLib/git-dep/highwayhash from git repo!
fatal: remote error: upload-pack: not our ref fe62635a9c42eb310245d3bdbe3c05184f8d1089
fatal: the remote end hung up unexpectedly
Fetched in submodule path 'git-dep/highwayhash', but it did not contain fe62635a9c42eb310245d3bdbe3c05184f8d1089. Direct fetching of that commit failed.
-- Performing Test COMPILER_SUPPORTS_CXX17
-- Performing Test COMPILER_SUPPORTS_CXX17 - Success

Need to update header file copy routines so that hh.hpp ends up in the right place after install, then pig-config will be able to find without modification. Will push that next.

For now, the non-string names feature is a bit experimental. String names are the way to go so, let's not use -DSTRING_NAMES=0 outside of the build tree. Once we're ready and that feature is suitably setup for prime time, we can add full support for external builds in PKG_CONFIG. I'm a bit hesitant now given all the test cases really need to be duplicated for that configuration. The reason I haven't yet, is, as it turns out string names for the most part are just as fast as integer ones. That being said, there were two issues, one where we had a gist download issue (fixed that), a second where the header file isn't installed from the highwayhash folder (have't fixed that yet), and another with defs.hpp on windows (fixed that one). Closing for now, will fix the install issue once we've finished duplicating a sufficient number of the test cases.

One more issue I need to fix, documenting here in case it's useful. For pkg-config compile to work properly, we need to define STRING_NAMES=1, will fix momentarily.

Correction, now we're good! Apologies about that @ameyand98, I'll have to figure out a better way to add out of tree builds into the test cases so include errors like that can be caught earlier.


How to open it? insert not working?

So, i have injected it. but i cant open it? insert doesnt work.
Or have something gone wrong in injecting?

It injected fine on my machine, you prob not injected due to LoadLibrary call got blocked on steam and injecting without "-insecure" flag