make -C build  Linking CXX executable faiss_test error

Hello, I encountered the following problems, I do not know how to solve, could you help me to take a look？
[ 96%] Building CXX object tests/CMakeFiles/faiss_test.dir/test_pq_encoding.cpp.o
[ 96%] Building CXX object tests/CMakeFiles/faiss_test.dir/test_sliding_ivf.cpp.o
[ 98%] Building CXX object tests/CMakeFiles/faiss_test.dir/test_threaded_index.cpp.o
[ 98%] Building CXX object tests/CMakeFiles/faiss_test.dir/test_transfer_invlists.cpp.o
[100%] Linking CXX executable faiss_test
/mnt/c/GOPATH/src/github.com/facebookresearch/faiss/build/tests/faiss_test: symbol lookup error: /mnt/c/GOPATH/src/github.com/facebookresearch/faiss/build/tests/faiss_test: undefined symbol: _ZNK5faiss5Index6assignElPKfPll
CMake Error at /usr/share/cmake/Modules/GoogleTestAddTests.cmake:77 (message):
Error running test executable.
Path: '/mnt/c/GOPATH/src/github.com/facebookresearch/faiss/build/tests/faiss_test'
Result: 127
Output:

Call Stack (most recent call first):
/usr/share/cmake/Modules/GoogleTestAddTests.cmake:173 (gtest_discover_tests_impl)
make[2]: *** [tests/CMakeFiles/faiss_test.dir/build.make:311: tests/faiss_test] Error 1
make[2]: *** Deleting file 'tests/faiss_test'
make[2]: Leaving directory '/mnt/c/GOPATH/src/github.com/facebookresearch/faiss/build'
make[1]: *** [CMakeFiles/Makefile2:1520: tests/CMakeFiles/faiss_test.dir/all] Error 2
make[1]: Leaving directory '/mnt/c/GOPATH/src/github.com/facebookresearch/faiss/build'
make: *** [Makefile:146: all] Error 2
make: Leaving directory '/mnt/c/GOPATH/src/github.com/facebookresearch/faiss/build'

I ignored the error,and I go run falt.go,then I meet this:
github.com/DataIntelligenceCrew/go-faiss
/usr/bin/ld: $WORK/b032/_x002.o: in function _cgo_66e7c26abcb0_Cfunc_faiss_ParameterSpace_free': /tmp/go-build/cgo-gcc-prolog:49: undefined reference to faiss_ParameterSpace_free'
collect2: error: ld returned 1 exit status

Make sure libfaiss_c.so is installed in a place where the linker will find it like /usr/lib. You might need to run sudo ldconfig after installing it (on Linux). If could also use the CGO_LDFLAGS environment variable to set the linker flags if the lib is not installed system-wide.


HCA metric

HI, sorry to bother you again.
In testing code, there are only contain Acc_leaf and MTA(25 or 100) metrics. NO HCA metric? right?

test.py is for evaluating MTA (and Acc) and HCA can be obtained with meter['consistency'] in eval_one_epoch().


Mac notarization is failing on team-id

New Issue Checklist

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

Issue Description
The "fastlane notarize"  tool is failing on setting the correct team-id.
The same command has previously worked for several months until recently.
I have tried setting FASTLANE_ITC_TEAM_ID in the .env file, but with no luck.
Command executed
bundle exec fastlane run notarize package:"$EXPORT_PATH/$PRODUCT_NAME.zip" bundle_id:"$PRODUCT_BUNDLE_IDENTIFIER" print_log:"true" verbose:"true"
Complete output when running fastlane, including the stack trace and command used
[✔] 🚀
[23:00:40]: ----------------------
[23:00:40]: --- Step: notarize ---
[23:00:40]: ----------------------
[23:00:40]: $ xcrun notarytool submit PATH/TO/APP.zip --output-format json --wait --apple-id APPLE_ID --password PASS --team-id
[23:00:40]: ▸ Error: Missing value for '--team-id <team-id>'
[23:00:40]: ▸ Usage: notarytool submit <options>
[23:00:40]: ▸ See 'notarytool submit --help' for more information.
[23:00:40]: Exit status of command 'xcrun notarytool submit PATH/TO/APP.zip--output-format json --wait --apple-id APPLE_ID --password PASS --team-id ' was 64 instead of 0.
Error: Missing value for '--team-id <team-id>'
Usage: notarytool submit <options>
  See 'notarytool submit --help' for more information.

[23:00:40]: Error polling for notarization info: Error: Missing value for '--team-id <team-id>'
Usage: notarytool submit <options>
  See 'notarytool submit --help' for more information.

Looking for related GitHub issues on fastlane/fastlane...

Found no similar issues. To create a new issue, please visit:
https://github.com/fastlane/fastlane/issues/new
Run `fastlane env` to append the fastlane environment to your issue
bundler: failed to load command: fastlane (/Users/radu/.rbenv/versions/2.6.5/bin/fastlane)
JSON::ParserError: [!] 859: unexpected token at 'Error: Missing value for '--team-id <team-id>'
Usage: notarytool submit <options>
  See 'notarytool submit --help' for more information.
'
  /Users/radu/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/json-2.6.1/lib/json/common.rb:216:in `parse'
  /Users/radu/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/json-2.6.1/lib/json/common.rb:216:in `parse'
  /Users/radu/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.198.1/fastlane/lib/fastlane/actions/notarize.rb:85:in `notarytool'
  /Users/radu/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.198.1/fastlane/lib/fastlane/actions/notarize.rb:42:in `run'
  /Users/radu/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.198.1/fastlane/lib/fastlane/runner.rb:263:in `block (2 levels) in execute_action'
  /Users/radu/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.198.1/fastlane/lib/fastlane/actions/actions_helper.rb:69:in `execute_action'
  /Users/radu/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.198.1/fastlane/lib/fastlane/runner.rb:255:in `block in execute_action'
  /Users/radu/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.198.1/fastlane/lib/fastlane/runner.rb:229:in `chdir'
  /Users/radu/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.198.1/fastlane/lib/fastlane/runner.rb:229:in `execute_action'
  /Users/radu/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.198.1/fastlane/lib/fastlane/one_off.rb:42:in `run'
  /Users/radu/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.198.1/fastlane/lib/fastlane/one_off.rb:22:in `execute'
  /Users/radu/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.198.1/fastlane/lib/fastlane/commands_generator.rb:225:in `block (2 levels) in run'
  /Users/radu/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
  /Users/radu/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
  /Users/radu/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
  /Users/radu/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.198.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:117:in `run!'
  /Users/radu/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
  /Users/radu/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.198.1/fastlane/lib/fastlane/commands_generator.rb:353:in `run'
  /Users/radu/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.198.1/fastlane/lib/fastlane/commands_generator.rb:42:in `start'
  /Users/radu/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.198.1/fastlane/lib/fastlane/cli_tools_distributor.rb:122:in `take_off'
  /Users/radu/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.198.1/bin/fastlane:23:in `<top (required)>'
  /Users/radu/.rbenv/versions/2.6.5/bin/fastlane:23:in `load'
  /Users/radu/.rbenv/versions/2.6.5/bin/fastlane:23:in `<top (required)>'

<details>
  <pre> [REPLACE THIS WITH YOUR INFORMATION] </pre>
</details>

Environment
✅ fastlane environment ✅
Stack

Key
Value

OS
11.6.1

Ruby
2.6.5

Bundler?
false

Git
git version 2.29.2

Installation Source
~/.rbenv/versions/2.6.5/bin/fastlane

Host
macOS 11.6.1 (20G224)

Ruby Lib Dir
~/.rbenv/versions/2.6.5/lib

OpenSSL Version
OpenSSL 1.1.1d  10 Sep 2019

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
13.1

Swift Version
5.5.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
#     https://docs.fastlane.tools/plugins/available-plugins
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:mac)

platform :mac do

  desc "Notarize App"
  lane :notarize do

  end

end

`./fastlane/Appfile`
# app_identifier("[[APP_IDENTIFIER]]") # The bundle identifier of your app
# apple_id("[[APPLE_ID]]") # Your Apple email address

# For more information about the Appfile, see:
#     https://docs.fastlane.tools/advanced/#appfile

fastlane gems

Gem
Version
Update-Status

fastlane
2.198.1
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.3.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

terminal-table
1.8.0

plist
3.6.0

addressable
2.8.0

multipart-post
2.0.0

word_wrap
1.0.0

optparse
0.1.1

tty-screen
0.8.1

tty-cursor
0.7.1

tty-spinner
0.9.3

artifactory
3.0.15

babosa
1.0.4

colored
1.2

highline
2.0.3

commander
4.6.0

faraday-cookie_jar
0.0.7

gh_inspector
1.1.3

mini_magick
4.11.0

naturally
2.2.1

security
0.1.3

xcpretty-travis-formatter
1.0.1

dotenv
2.7.6

bundler
1.17.2

simctl
1.6.8

retriable
3.1.2

memoist
0.16.2

multi_json
1.15.0

signet
0.16.0

googleauth
1.1.0

httpclient
2.8.3

google-apis-core
0.4.1

google-apis-playcustomapp_v1
0.6.0

rexml
3.2.5

nanaimo
0.3.0

colored2
3.1.2

claide
1.0.3

CFPropertyList
3.0.5

atomos
0.1.3

xcodeproj
1.21.0

unicode-display_width
1.8.0

public_suffix
4.0.6

excon
0.89.0

ruby2_keywords
0.0.5

faraday-rack
1.0.0

faraday-patron
1.0.0

faraday-net_http_persistent
1.2.0

faraday-net_http
1.0.1

faraday-httpclient
1.0.1

faraday-excon
1.1.0

faraday-em_synchrony
1.0.0

faraday-em_http
1.0.0

faraday
1.8.0

unf_ext
0.0.8

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.4

faraday_middleware
1.2.0

fastimage
2.2.5

json
2.6.1

rubyzip
2.3.2

jwt
2.3.0

trailblazer-option
0.1.2

declarative
0.0.20

uber
0.1.0

representable
3.1.1

mini_mime
1.1.2

os
1.1.4

webrick
1.7.0

google-apis-androidpublisher_v3
0.14.0

rake
13.0.6

digest-crc
0.6.4

google-apis-storage_v1
0.10.0

google-apis-iamcredentials_v1
0.8.0

google-cloud-errors
1.2.0

google-cloud-env
1.5.0

google-cloud-core
1.6.0

google-cloud-storage
1.35.0

emoji_regex
3.2.3

aws-eventstream
1.2.0

aws-sigv4
1.4.0

aws-partitions
1.540.0

jmespath
1.4.0

aws-sdk-core
3.124.0

aws-sdk-kms
1.52.0

aws-sdk-s3
1.109.0

forwardable
1.2.0

logger
1.3.0

date
2.0.0

stringio
0.0.2

ipaddr
1.2.2

openssl
2.1.2

zlib
1.0.0

mutex_m
0.1.0

ostruct
0.1.0

strscan
1.0.0

io-console
0.4.7

fileutils
1.1.0

etc
1.0.1

mini_portile2
2.4.0

nokogiri
1.10.9

psych
3.1.0

generated on: 2021-12-08

I experienced the same issue. Notarization was working prior to upgrading the fastlane gem in my project and then it stopped. I was able to resolve it, posting my experience here in case it helps you or others searching in the future.
I had to set the FL_NOTARIZE_ASC_PROVIDER environment variable to my apple developer team ID.
I came to this conclusion by looking at the notarize docs where I found the asc_provider configuration option. Further, looking at the source of the notarize action I found that the --team-id argument was being set from asc_provider. By setting asc_provider to my team_id everything started working.
It looks like this problem was introduced by https://github.com/fastlane/fastlane/pull/19235 which added support for notary tool.

@johndbritton You are a lifesaver! I struggled so much with this, your solution works like a charm!

It seems like this issue should be marked as a regression and fixed, not sure how to reopen @joshdholtz.

Will add to my list to look into! Unless somebody else wants to tackle 😊 I got quite a bit on my list right now 😉

I think it'd be relatively easy for me to submit a fix, but I'd need some direction as to what the expected / desired behavior is here.
In my project I have FASTLANE_TEAM_ID set and prior to this regression the notarize action was working fine (I'm assuming it used that value). I believe the changes in https://github.com/fastlane/fastlane/pull/19235 made it so that --team-id was pulled from FL_NOTARIZE_ASC_PROVIDER. I don't really know what "ASC" is or why it has been changed to use that.
If you can suggest how this should work I can try to make a fix.

This issue is still valid and outstanding, but I was able to work around it in my project.
As I'm not an expert in Fastlane I can't make a fix myself without further guidance on the desired solution.

The fact that a parameter called asc_provider is actually used as a team_id is so confusing... if it wasn't for this issue, I would have never figure it out

@ospfranco it's a bug.
By default if no parameter is passed it takes a itd_team_id.
https://github.com/fastlane/fastlane/blob/5c1621dd7edd9338fa1222efcc18fea6480aa85f/fastlane/lib/fastlane/actions/notarize.rb#L256
it should instead use a WWRTeamID (team_id from Appfile).
https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/customizing_the_notarization_workflow
% xcrun notarytool store-credentials "AC_PASSWORD"
               --apple-id "AC_USERNAME"
               --team-id <WWDRTeamID>
               --password <secret_2FA_password>

It's quite simple fix, maybe in free time i will do this.

Still valid

This issue is still outstanding.

With the comment of @johndbritton I was able to solve the issue with --password option by peeking into line #85 in notarize.rb and adding the environment variable as needed, thank you. I've moved on to new issue. Thanks for your support.


Invalidate signin cookies upon changing User to inactive

UserManager.UpdateSecurityStampAsync(userId);
Refs:

https://stackoverflow.com/a/19505060/212978
https://docs.microsoft.com/en-us/aspnet/identity/overview/features-api/account-confirmation-and-password-recovery-with-aspnet-identity

Imported from JIRA:
[CTS-167] Invalidate signin cookies upon changing User to inactive
(original by Douglas Waldron)

Obviated by #501


Add Logging

Add logging for console

This is an ongoing effort now. Logging has been added to the project


Sorting lookup elements on bases of length in descending order

Sorting lookup elements on bases of length in descending order, so the larger value of lookup should be matched first. The generator matches the first value and return.
Unsorted lookup
lookup:

one
twenty
twenty one

if input is "twenty one". it matched with "one" and "twenty"
After storing in descending order

twenty one
one
twenty

now if if input is "twenty one", it matched with "twenty one"

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

/stale


trouble running the django-webapp example

Hi
Chances are good that I'm doing something wrong, as nix has a tendency to break my brain 😕
I'm trying to get the django-webapp example to run, but i'm running into errors when building or creating a shell
Steps to reproduce
nix flake init --template github:pyproject-nix/uv2nix#django-webapp
then nix develop . results in the following error:
error: builder for '/nix/store/ppq81pljmf4q0zri3km570ql3z8zif2h-hatchling-1.26.3.drv' failed with exit code 2;
       last 25 log lines:
       > Running phase: patchPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > Executing pyprojectConfigurePhase
       > Finished executing pyprojectConfigurePhase
       > Running phase: buildPhase
       > Executing pyprojectBuildPhase
       > Creating a wheel...
       > warning: Ignoring invalid `SSL_CERT_FILE`. File does not exist: /no-cert-file.crt.
       > Building wheel...
       > Traceback (most recent call last):
       >   File "<string>", line 11, in <module>
       >   File "/build/hatchling-1.26.3/src/hatchling/build.py", line 58, in build_wheel
       >     return os.path.basename(next(builder.build(directory=wheel_directory, versions=['standard'])))
       >                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       >   File "/build/hatchling-1.26.3/src/hatchling/builders/plugin/interface.py", line 90, in build
       >     self.metadata.validate_fields()
       >   File "/build/hatchling-1.26.3/src/hatchling/metadata/core.py", line 266, in validate_fields
       >     self.core.validate_fields()
       >   File "/build/hatchling-1.26.3/src/hatchling/metadata/core.py", line 1366, in validate_fields
       >     getattr(self, attribute)
       >   File "/build/hatchling-1.26.3/src/hatchling/metadata/core.py", line 677, in license
       >     from packaging.licenses import canonicalize_license_expression
       > ModuleNotFoundError: No module named 'packaging.licenses'
       > error: Build backend failed to build wheel through `build_wheel` (exit status: 1)
       For full logs, run 'nix log /nix/store/ppq81pljmf4q0zri3km570ql3z8zif2h-hatchling-1.26.3.drv'.
error: 1 dependencies of derivation '/nix/store/cgia0gqcphc3p3kxn9vi703j6yam72il-django-webapp-dev-env.drv' failed to build
error: 1 dependencies of derivation '/nix/store/mdndflxpdmd9yzfa2lxd32nm9fmrzvpi-nix-shell-env.drv' failed to build

running nix build .#docker also results in a similar error:
error: builder for '/nix/store/ppq81pljmf4q0zri3km570ql3z8zif2h-hatchling-1.26.3.drv' failed with exit code 2;
       last 25 log lines:
       > Running phase: patchPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > Executing pyprojectConfigurePhase
       > Finished executing pyprojectConfigurePhase
       > Running phase: buildPhase
       > Executing pyprojectBuildPhase
       > Creating a wheel...
       > warning: Ignoring invalid `SSL_CERT_FILE`. File does not exist: /no-cert-file.crt.
       > Building wheel...
       > Traceback (most recent call last):
       >   File "<string>", line 11, in <module>
       >   File "/build/hatchling-1.26.3/src/hatchling/build.py", line 58, in build_wheel
       >     return os.path.basename(next(builder.build(directory=wheel_directory, versions=['standard'])))
       >                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       >   File "/build/hatchling-1.26.3/src/hatchling/builders/plugin/interface.py", line 90, in build
       >     self.metadata.validate_fields()
       >   File "/build/hatchling-1.26.3/src/hatchling/metadata/core.py", line 266, in validate_fields
       >     self.core.validate_fields()
       >   File "/build/hatchling-1.26.3/src/hatchling/metadata/core.py", line 1366, in validate_fields
       >     getattr(self, attribute)
       >   File "/build/hatchling-1.26.3/src/hatchling/metadata/core.py", line 677, in license
       >     from packaging.licenses import canonicalize_license_expression
       > ModuleNotFoundError: No module named 'packaging.licenses'
       > error: Build backend failed to build wheel through `build_wheel` (exit status: 1)
       For full logs, run 'nix log /nix/store/ppq81pljmf4q0zri3km570ql3z8zif2h-hatchling-1.26.3.drv'.
error: 1 dependencies of derivation '/nix/store/rz8kixkpcx6dcq5pxxhr8lr96f8wv2af-django-webapp-0.1.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/pp4zn1z7018y86kvzhh698ypxfq4cbz4-django-webapp-env.drv' failed to build
error: 1 dependencies of derivation '/nix/store/a4ldlypzg6avswrdg2pc846jzd7rbmf0-django-webapp-base.json.drv' failed to build
error: 1 dependencies of derivation '/nix/store/m7ksag5ca2y5awfdgqb1gi7555ylmfch-django-webapp-conf.json.drv' failed to build
error: 1 dependencies of derivation '/nix/store/iaxhqqf54ibb2hp7595z1x8rv60pi252-stream-django-webapp.drv' failed to build
error: 1 dependencies of derivation '/nix/store/mnpf58mfbdxky8fcgsqgpin50dwri71a-django-webapp.tar.gz.drv' failed to build

packaging.licenses is a relatively new thing, and the version contained in uv.lock for the django example was too old to work with the current hatchling version.
All that's needed was a version bump.
One observation:

Maybe flake templates should be shipped without a uv.lock
I added a lock file to make the examples work OOTB.
Because flake templates lack a mechanism to update embedded locks post checkout it might be a better idea to have a little bit of initial friction in setting things up to avoid stale dependencies.


DiffableTextFont implementation made easier.

It should be restricted to system fonts. Monospacing can then use /withDesign(_:).

Solved by ef81f9eec57b5a17e96712d7fe387982059397e7 in dev branch.


Node envconfig

Exposed some parameters to be configured via the cli or env variables.
If this approach is acceptable, then I'll create a new PR for metrics configuration, as node currently uses MapMetricsBackend instead of Graphql.

Codecov Report
Patch has no changes to coverable lines.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files Changed
Coverage

nodes/nomos-node/src/config.rs
0.00%

nodes/nomos-node/src/lib.rs
ø

nodes/nomos-node/src/main.rs
0.00%

...omos-services/data-availability/src/backend/mod.rs
0.00%

nomos-services/data-availability/src/lib.rs
0.00%

:loudspeaker: Thoughts on this report? Let us know!.


how to set the ScottPlot default color to black when the interface is using a black theme?

Question: (Can you tell me how to set the ScottPlot default color to black when the interface is using a black theme?)
ScottPlot Version: (ScottPlot.WPF 5.0.35)
Code Sample: See

Thanks

Hello, you can access the graphic-related design settings here.
https://scottplot.net/cookbook/5.0/Styling/


Visualization

I've seen your docs on visualization, and everything is explained with 1D function.
However,
in the program description you shown the visualization of a 2D function.
My question is:
How to implement visualization for 2D functions?
We just iterate the optimizer._gp.fit(x_obs, y_obs) two times?
Thank you

Hi @Daniele-Dondi,
see #18 for some code.

Hi @Daniele-Dondi,
if I'm understanding your question right, you would like to plot some 2D optimization results?
See the code here (cell 13) and also #18 for some examples.

Hi @Daniele-Dondi,
the code used to create the animated gif is discussed in #18. If you want to generally plot 2D-optimization results (i.e. no animation), see the code I linked in the constraints notebook, specifically the bottom left cell (axs[1, 0]) should do what you want.

Thank you,
I'm trying to extract that section from your code.

I inserted your function in the step to step optimizer.
Annoingly all the figures could be visualized only at the end.
Anyway it is saving correctly at each step.
I post here my code:
from bayes_opt import BayesianOptimization
from bayes_opt.logger import JSONLogger
from bayes_opt.event import Events
from bayes_opt.util import load_logs
from bayes_opt import UtilityFunction
import numpy as np
import matplotlib.pyplot as plt

def black_box_function(x,y):
    """Function with unknown internals we wish to maximize.

    This is just serving as an example, for all intents and
    purposes think of the internals of this function, i.e.: the process
    which generates its output values, as unknown.
    """
    value=x ** 3 - (y - 1) ** 2 -x**2 -x*y
    if value<0: value=0
    return value

def plot_target_estimation(pbounds, optimizer, next_point, cycle):

    # Setup the grid to plot on
    num_points=300
    x = np.linspace(pbounds['x'][0]-0.1, pbounds['x'][1]+0.1, num_points)
    y = np.linspace(pbounds['y'][0]-0.1, pbounds['y'][1]+0.1, num_points)
    xy = np.array([[x_i, y_j] for y_j in y for x_i in x])
    X, Y = np.meshgrid(x, y)

    fig, axs = plt.subplots(constrained_layout=True, figsize=(4,4))

    # Extract & unpack the optimization results
    max_ = optimizer.max
    res = optimizer.res
    x_ = np.array([r["params"]['x'] for r in res])
    y_ = np.array([r["params"]['y'] for r in res])

    Z_est = optimizer._gp.predict(xy).reshape(num_points,num_points)
    axs.contourf(X, Y, Z_est, cmap=plt.cm.coolwarm)
    axs.set_title('Target estimated, cycle n.'+str(cycle+1))
    axs.scatter(x_, y_, c='red', s=80, edgecolors='black') #add evaluated points
    axs.scatter(next_point['x'], next_point['y'], c='white', s=80, edgecolors='black') #add future point
    fig.savefig("Cycle "+str(cycle+1))
    return fig

utility = UtilityFunction(kind="ucb", kappa=2.5, xi=0.0)
figures=[]

# Bounded region of parameter space
pbounds = {'x': (2, 4), 'y': (-3, 3)}
MaxIterations=10

optimizer = BayesianOptimization(
    f=None,
    pbounds=pbounds,
    verbose=2,
    random_state=1
)

logger = JSONLogger(path="./logs.log")
optimizer.subscribe(Events.OPTIMIZATION_STEP, logger)

for cycle in range(MaxIterations):
     next_point = optimizer.suggest(utility)
     print("Next point to probe is:", next_point)
     figures.append(plot_target_estimation(pbounds, optimizer, next_point, cycle))
     ask=input('Press ENTER to perform the measurement')
     target = black_box_function(**next_point)
     optimizer.register(params=next_point, target=target)
     print(target, next_point)

for figure in figures: #show all the figures
    figure.show()

print('\nMAXIMUM:',optimizer.max)

Hi @Daniele-Dondi,
glad to see things worked out for you. I will close this issue. Feel free to make a new issue, if you run into other problems.


Chore - Adjust composer.json to require CraftV 5.0.0

Summary:
Update the composer.json file to set the required version of Craft CMS to 5.0.0, replacing the current requirement of 5.0.0-beta.1.
Description:
The current composer.json specifies Craft CMS version 5.0.0-beta.1 as a dependency. With the stable release of Craft CMS 5.0.0, we need to update the dependency to ensure that our project uses the latest stable version.
This task involves modifying the composer.json file to require "craftcms/cms": "^5.0.0" and ensuring that the application functions correctly with this version.
Acceptance Criteria:
Update the composer.json file to reflect "craftcms/cms": "^5.0.0" in the require section.
Run composer update to ensure dependencies are resolved correctly.
Verify that the project runs smoothly with Craft CMS 5.0.0 and that all existing functionality is intact.

PR #46

Thank you! Released as 4.1.3


Removed limitation for B2B that no longer exists

We've made updates to provide feature parity for Groups and B2B users in Gov cloud.

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

Adding @Justinha for visibility.
Do you know if the remaining B2B limitations are still valid or should they also be removed?


Find some miss match, in ics07 updatestate

Bug Summary

https://github.com/cosmos/ibc-rs/blob/8d5178d0cdc0329fa89f5050807b8aa0290f64a2/crates/ibc/src/clients/ics07_tendermint/client_state.rs#L455
ibc-rs use header height to get consensus_state, but in ibc-go use clientState height to get consensus_state.
https://github.com/cosmos/ibc-go/blob/92ad328f8e811f4c4abc8194fd228731072f8b12/modules/light-clients/07-tendermint/proposal_handle.go#L49
Details

Version

This is the analogous line in ibc-go, which also uses the header height.

This is wrong. The line I reference here is just part of an optimization that we do in ibc-rs that ibc-go doesn't do: if the header to update was already installed, then we skip the rest of the verification.
The correct analogous line is this one. This checks out with ibc-go; we also use the trusted height.

EDIT: we do check that these 2 values be the same here. I'd still like to know why we don't just use Header::TrustedHeight directly.

This was also wrong, only the revision number is checked to be the same, which makes sense (we ensure that the previously installed header, at height trusted_height, has the same revision number as the header we're attempting to install.
All this being said, there does not appear to be any issue with our implementation there.


bufferRequests is not buffering request most of the times.

we are trying to implement buffer requests to prevent out calls getting cancelled on page unload or specific events.
https://experienceleague.adobe.com/en/docs/analytics/implementation/vars/functions/bufferrequests
We are setting s.bufferRequests(true) before our linktrack call fires from the code, most of the time, when this is done programetically, we do not see the request getting buffered, but when we so the same by adding it to console, the buffer request works, is there a flag or something we can log to see if the flag is set or not, just to debug the possiblity of this working on some cases ?
 if (bufferRequests) {         s_dell.bufferRequests(true);         setTimeout(function () {             s_dell.bufferRequests(false);         }, 5000);     }
This is how we are using, and most of the times calls are getting triggered immediatly instead of getting buffered.

Please help !

If session storage is available then buffered requests are stored in under key AppMeasurement.requests with an account suffix details. Please share if you have an example where this can consistently be reproduced.

Hi @liljenback , we are able to consistently reproduce this, i can show you the example, is there a way to connect ?

It is recommended to keep the buffer requests feature turned on until the page unloads. In this case the timer might complete too early resulting in another request attempt which gets cancelled.


Create new publications drawer

Within the Platform, many of our evidence strings are backed by publications with a PubMed ID. Currently, we display either:

The single PubMed ID if there is only 1 publication
A link labelled x entries that opens the publications drawer, which displays the list of PubMed IDs

For example, the screenshot below shows both implementations found in the Reactome section on the evidence page for CFTR and cystic fibrosis

To improve usability of the publications drawer, we would like to call the Europe PMC API and use their search endpoint to retrieve the publication citation and abstract - see example query. This would be similar to we offer in the Text Mining section on the evidence page.
There is considerable variability of the number of publications found in a single evidence string. For example, we have 4 evidence strings from Cancer Gene Census that build the association between EGFR and lung adenocarcinoma and the number of publications range from 2 to 630.

To ensure that we do not overload the Europe PMC API, we should apply some front-end logic where we restrict the number of publications shown to 10 and only query the Europe PMC API for 10 records at a time. This is similar to what we currently do with the classic version of the Platform - see EGFR and lung cancer in the classic view along with the Europe PMC API query for the first 10 results.
While this component would initially be used within the drawer component on the evidence page, the title/citation/abstract style could be adapted for the Text Mining evidence section and the Bibliography sections on the profile pages.

The Europe PMC team have responded - see below:

/search endpoint has a limit of 1000 characters including booleans for a single request. Therefore it would be better to use the POST method for a longer query since it does not have the same limit. Please remember to set the pageSize parameter to 1000. Note that the syntax for multiple PMID searches is SRC:MED AND (EXT_ID:12458655 OR EXT_ID:16046457 OR EXT_ID:12458656) for a search of three PMIDS. The /search API query looks like this: https://www.ebi.ac.uk/europepmc/webservices/rest/search?query=SRC:"MED" AND (EXT_ID:12458655 OR 16046457 OR 12458656).
I also want to mention that we have an open source component that supplies a widget to display citations details in a web site, if that's helpful. Please see https://github.com/EuropePMC/biojs-vis-pmccitation.
You may find it useful to join our Developer Forum, where you can discuss using the APIs with Europe PMC developers and fellow users: https://groups.google.com/a/ebi.ac.uk/forum/#!forum/epmc-webservices

Based on their response, I think a POST request would be best given the limit of 1000 characters with a GET request. @ireneisdoomed analysed the Platform evidence and the evidence string from Cancer Gene Census for lung adenocarcinoma and EGFR has the largest number of PubMed IDs (630). We should be able to set the pageSize parameter to 1000 and set the sort parameter to P_PDATE_D to retrieve all publications sorted by publication date (most recent first). This would allow Platform users to search and sort the results.

Ticket closed as work completed and reviewed and merged into main


Position anchor

Description
Implements the position-anchor property.
Related Issue(s)
#179
Steps to test/reproduce
View the demo in a browser that needs the polyfill, and apply the polyfill.
Show me

[x] Update Tests
[x] Confirm CSSTree parsing .class#id as .class #id is not an internal bug
[x] Support auto value (defer until later)

@jgerigmeyer  This is ready for re-review at your convenience.
I did opt to leave out support position-anchor: auto, which is "equivalent to omitting the anchor element in anchor()", as implicit anchors are still pending in the spec, it isn't tested yet in WPT, and it isn't implemented yet in Chrome.

This does introduce a new regression in anchor-position-multicol-colspan-001.html, .target 3.  This is related to #192.
This change passes 12 new subtests, mostly in areas where position-anchor is not the primary concept under test.

@jamesnw I'm happy for you to merge this if you don't have more changes!


WIP: raidboss: cn eden

I'll test tomorrow and check whether there are any problems.

I assume also the memory offsets need to be adjusted to use the 5.1 versions?

I assume also the memory offsets need to be adjusted to use the 5.1 versions?

It's patch 5.05 and the offsets remain the same as 5.01.

cn client is on v5.05 according to this.

Is this still a work in progress? Is this ready to be merged?

Is this still a work in progress? Is this ready to be merged?

Yes, you can merge it now. O(∩_∩)O~


SIGBUS Error During Training with Multiple GPUs

Hello,
I have been running the Alpaca LoRA model training using multiple GPUs on my system, but I encountered a SIGBUS (Signal 7) error during training. The issue seems to be related to memory access, but I'm not sure what the exact root cause is.
Here is a brief overview of my setup:
Number of GPUs: 5
System Memory: 64 GB
GPUs: Tesla K80 and GeForce GTX 1070
CUDA Version: 11.2
Training using the finetune.py script
Modified WORLD_SIZE and --nproc_per_node to 5, and cuda_visible_devices to 0,1,2,3,4
The error message I received is as follows:
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
==================================================
finetune.py FAILED
--------------------------------------------------
Failures:
  <NO_OTHER_FAILURES>
--------------------------------------------------
Root Cause (first observed failure):
[0]:
  time      : 2023-03-29_22:03:17
  host      : finetune-job-96q2q
  rank      : 4 (local_rank: 4)
  exitcode  : -7 (pid: 10)
  error_file: <N/A>
  traceback : Signal 7 (SIGBUS) received by PID 10
==================================================

I also noticed a tokenizer class mismatch warning in the logs, which I am not sure if it is related to the SIGBUS error:
The tokenizer class you load from this checkpoint is 'LLaMATokenizer'.
The class this function is called from is 'LlamaTokenizer'.

I have tried reseating the memory in the GPU rig and verifying system memory usage, but the issue persists. I would appreciate any guidance or suggestions to resolve this issue.
Full log of last run:
https://gist.github.com/sfxworks/e44f68ab456c10e6acf7dcf3caafe6e3
Thank you!

The tokenizer warning you can ignore.
Since you have mixed gpus, I'd begin with trying with one kind of GPU only at a time, see what it gives.

I tried with one GPU, the same issue occurs. I am now trying to eliminate the use of the Telsa k80 so I can use cuda 12.1 + driver 530 and see if that helps at all.

Tried many different images...
Last one was the pytorch image.
Multi:
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: -7) local_rank: 2 (pid: 6) of binary: /opt/conda/bin/python
Traceback (most recent call last):
  File "/opt/conda/bin/torchrun", line 33, in <module>
    sys.exit(load_entry_point('torch==1.13.1', 'console_scripts', 'torchrun')())
  File "/opt/conda/lib/python3.10/site-packages/torch/distributed/elastic/multiprocessing/errors/__init__.py", line 346, in wrapper
    return f(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/torch/distributed/run.py", line 762, in main
    run(args)
  File "/opt/conda/lib/python3.10/site-packages/torch/distributed/run.py", line 753, in run
    elastic_launch(
  File "/opt/conda/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 132, in __call__
    return launch_agent(self._config, self._entrypoint, list(args))
  File "/opt/conda/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 246, in launch_agent
    raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
=================================================
finetune.py FAILED
-------------------------------------------------
Failures:
  <NO_OTHER_FAILURES>
-------------------------------------------------
Root Cause (first observed failure):
[0]:
  time      : 2023-03-30_10:51:51
  host      : finetune-job-dnpfz
  rank      : 2 (local_rank: 2)
  exitcode  : -7 (pid: 6)
  error_file: <N/A>
  traceback : Signal 7 (SIGBUS) received by PID 6
=================================================

Single:
Loading checkpoint shards:   0%|          | 0/33 [00:00<?, ?it/s]Error invalid device function at line 508 in file /mmfs1/gscratch/zlab/timdettmers/git/bitsandbytes/csrc/ops.cu

Dockerfile:
#FROM harbor.home.sfxworks.net/docker/smellslikeml/alpaca-lora
FROM harbor.home.sfxworks.net/docker/pytorch/pytorch:latest
RUN apt-get update -y && apt-get install -y git
WORKDIR /app
COPY . .
RUN pip install -r requirements.txt
ENV BASE_MODEL=decapoda-research/llama-7b-hf
RUN cp /opt/conda/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda117.so /opt/conda/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cpu.so

Trying the official image I also get this issue. I wonder if it's memory related https://github.com/facebookresearch/llama/issues/55

Tried many different images...
Last one was the pytorch image.
Multi:
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: -7) local_rank: 2 (pid: 6) of binary: /opt/conda/bin/python
Traceback (most recent call last):
  File "/opt/conda/bin/torchrun", line 33, in <module>
    sys.exit(load_entry_point('torch==1.13.1', 'console_scripts', 'torchrun')())
  File "/opt/conda/lib/python3.10/site-packages/torch/distributed/elastic/multiprocessing/errors/__init__.py", line 346, in wrapper
    return f(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/torch/distributed/run.py", line 762, in main
    run(args)
  File "/opt/conda/lib/python3.10/site-packages/torch/distributed/run.py", line 753, in run
    elastic_launch(
  File "/opt/conda/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 132, in __call__
    return launch_agent(self._config, self._entrypoint, list(args))
  File "/opt/conda/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 246, in launch_agent
    raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
=================================================
finetune.py FAILED
-------------------------------------------------
Failures:
  <NO_OTHER_FAILURES>
-------------------------------------------------
Root Cause (first observed failure):
[0]:
  time      : 2023-03-30_10:51:51
  host      : finetune-job-dnpfz
  rank      : 2 (local_rank: 2)
  exitcode  : -7 (pid: 6)
  error_file: <N/A>
  traceback : Signal 7 (SIGBUS) received by PID 6
=================================================

Single:
Loading checkpoint shards:   0%|          | 0/33 [00:00<?, ?it/s]Error invalid device function at line 508 in file /mmfs1/gscratch/zlab/timdettmers/git/bitsandbytes/csrc/ops.cu

Dockerfile:
#FROM harbor.home.sfxworks.net/docker/smellslikeml/alpaca-lora
FROM harbor.home.sfxworks.net/docker/pytorch/pytorch:latest
RUN apt-get update -y && apt-get install -y git
WORKDIR /app
COPY . .
RUN pip install -r requirements.txt
ENV BASE_MODEL=decapoda-research/llama-7b-hf
RUN cp /opt/conda/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda117.so /opt/conda/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cpu.so

hey, have you solved the problem already? please share it with us, thx! I just met with the exact god damn error "Signal 7 (SIGBUS) received by PID..."

How many gpus?
What command line did you use? (full params please)

torchrun --nproc_per_node=8 --master_port=29005  finetune.py
--base_model='/remote-home/alpaca-llama-lora-7B-13B-65B/llama-13b-hf'
--data_path 'data/data-10w.json'
--output_dir='output/lora-alpaca-13'
--batch_size 128
--micro_batch_size 2
--num_epochs 2
I have encountered the same problem. Can you help me？

Dunno if it helps, but I just hit SIGBUS error with torchrun and it was related to small shared memory (/dev/shm). It might be about not enough RAM available or small shm in docker container/k8s pod as in my case.

Dunno if it helps, but I just hit SIGBUS error with torchrun and it was related to small shared memory (/dev/shm). It might be about not enough RAM available or small shm in docker container/k8s pod as in my case.

Just want to point out that it solved my issue runnnig  Pytorch multi-gpu training in a docker container, thanks @ofilip

Can confirm adding 1Gi EmptyDir /dev/shm to my container solved SIGBUS for multi-GPU training with pytorch-lightning ref https://www.sobyte.net/post/2022-04/k8s-pod-shared-memory/

Dunno if it helps, but I just hit SIGBUS error with torchrun and it was related to small shared memory (/dev/shm). It might be about not enough RAM available or small shm in docker container/k8s pod as in my case.

Solves my issue with Pytorch Lightning ddp_fork mode, could not train with more than 2 gpus.
I added following lines to the kubernetes pod config
volumes:
  - emptyDir:
      medium: Memory
      sizeLimit: 512Mi
    name: cache-volume
...
volumeMounts:
  - mountPath: /dev/shm
    name: cache-volume


Wont resolve dependencies

Hello @amelkor,
thanks for providing this. Can you please share a simple demo unity project? Somehow I can't get it to work, there is no game object created at runtime and no dependencies are resolved.
Nevertheless the logging seems to work fine
<color=green>INFO [Microsoft.Hosting.Lifetime] - Application started. Press Ctrl+C to shut down.</color>
<color=green>INFO [Microsoft.Hosting.Lifetime] - Hosting environment: Production</color>
<color=green>INFO [Microsoft.Hosting.Lifetime] - Content root path: /Users/xyz/project</color>

<color=green>INFO [Microsoft.Hosting.Lifetime] - Application is shutting down...</color>

Im using Unity 2020.3.9f1 on macOS 11.3.1, maybe that's a problem?
Have a nice day!

Sure, I'll push the demo I had for testing a bit later today

Just discovered that I didn't push the latest fixes into the repo, so here they are now - please delete and install the package in your project again, that should resolve the issues.
Also check out the demo project for examples.
Let me know if this works for you

Thanks for the demo, helped a lot :)
Got it "working" now but sadly there seems to be an issue with unity and macOS or maybe something related with this. Starting the demo spawns the 15 cubes and then crashes unity instantly with

Failed to get ipc connection from UnityShaderCompiler shader compiler! /Applications/Unity/Hub/Editor/2020.3.9f1/Unity.app/Contents/Tools/UnityShaderCompiler
Launching external process: /Applications/Unity/Hub/Editor/2020.3.9f1/Unity.app/Contents/Tools/UnityShaderCompiler
No explicit failure code handling for error of type 22

If you deactivate the GameHost Script on the GameHost GameObject and reactive it once it is running it spawns the 15 cubes and does not crash and the "print message" button works too, but doing anything with the shader of the cubes instantly crashes unity with the same error

Shader compiler initialization error: Failed to get ipc connection from UnityShaderCompiler shader compiler! /Applications/Unity/Hub/Editor/2020.3.9f1/Unity.app/Contents/Tools/UnityShaderCompiler

I got no mac to check unfortunately,you can try to change the DefaultExecutionOrder attribute value from -65500 to smth like -500 or whatever. Maybe on mac Unity needs to execute some internal scripts and that collides with the GameHost when it instantiates cubes. You can remove cubes instantiation from the demo, it's just an example.
Also, I usually create IHost and initialize all the services in a separate "Init" scene, just to be sure that all the stuff is prepared before the main/menu scene


[Loc] added updated strings for 2-14-2024

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 41.759%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
30829

Relevant Lines:
69083

💛  - Coveralls


Create Mainhub View

According to figma,
Use Material Ui components.
Its important that the profile Button is accessible.

general view done, implementation of redirected pages follows


change className of Control.Text, when validation is false

The Problem
How i can change className of Control.Text, when validation is false ?

See "How do I add conditional class names based on field state?" here: http://davidkpiano.github.io/react-redux-form/docs/guides/faqs.html

functions in mapProps are called each time, when value changed, but i want change className onBlur event ... i try use updateOn='blur', it's not working...

I a facing the same issue. @khaninD  were you able to resolve the issue. I am using LocalForm in my case.

Try to use it:
<Component :
mapProps={{
  className: (field) => {
    if (!field.fieldValue.valid) {
      return "errorClass";
    }
    else {
      return "anotherClass");
    }
}}


Example: reformat dpll

Thank you for cleaning up the code!

no problem, thanks for your contribution!
I will go ahead and merge this one. The benchmark is still running, but if something goes wrong I'll open another PR.


Suggestion: Macro results for Ranged Attacks needs more info.

The Ranged Attacks skill macro needs to show additional information in the results.
In the case if Firearms, it would be nice that the results show the weapon's RCL value to help determine how many shots (if more than one is fired) hits the target. What you have to due now is click the Macro button, look at the results in chat then go back to the character sheet and see what it's RCL value is t calculate the number of hits. If part of the chat results it would make things a bit faster.
This is only true for items that have a ROF of 2 or more.

Version 1.3.7 added RCL to Macro results. Completed 08/07/2019.


Unable to Create Lore

Hello,
I am trying to set up the Lore Expansion mod to work in a Modpack I am making. Only problem, whenever I try to give the lore to my testing player, it says that the category I have put in is not a valid lore category.
The code is as following:
{
"key": {
"id": "wake",
"category": "overworld"
},
"content": {
"title": "Wake",
"body":"Blah blah blah.",
"audio": "",
"autoplay": false
},
"sortingIndex": 1,
"autoAdd": false,
"defaultLore": true
}

When I try to tell it to /lore give overworld wake, all it does is tell me that "overworld" is not a valid Lore category. This has happened with every category I have tried, including "en_US", "lore1", and "begin".
When I try to find it in the Creative Tab, it doesn't show up. It doesn't show up in NEI or anywhere else, either.
I am using Lore Expansion 1.0.6.
I also had this problem when copy and pasting the tutorial code here on GitHub into the json file.
Have I done something wrong?
Thank you for your time!

I do not support nor maintain the 1.7.10 version.

Since you still use the same Curse site as the previous author and still offer 1.7.10 versions, wouldn't it be helpful to post a link to the old documentation? https://github.com/dmillerw/LoreExpansion_old/wiki/JSON-Documentation

I don't particularly care about being helpful when it comes to 1.7.

And you are part of the reason why devs have a bad name and why as a modpack developer I wouldn't support you. Dev snobbery at its best

There's very little reason to support an old and, in my opinion, deprecated version of minecraft. Just means more work for the developers that could be spent on working on the current version.

Hey, yeah, I totally get not supporting it man. I figured it out on my own, Teagan75 you can drop it. It’s fine, working with old versions is bullcrap and you should probably appreciate what growlith1223 has done already. There’s no need to pester them more.

lol it's not me that should be getting the appreciation, this isn't my mod

Oh oops

CRAP I meant TehNut sorry I just looked at the argument

The comment he gave was rude. I wasn’t asking for support or fixes. Just one link on the damn Curse page because it’s helpful and nice. The dev’s comment sums up what is wrong with the MC community. There are plenty of other helpful mod devs out there worthy of my support.

I mean, he literally doesn't owe us anything cause he's another actual human being who has actual human being things to do that don't involve this at all times of day. If you could find something, and I could find something, it kinda doesn't matter that much? I'm sure other people can find it. And he has a right to be a little short if he doesn't support the version anymore.
Please, can we stop bothering him on this thread? He did nothing wrong, it's his work and we don't have any right to pester him about it.

 One of the few who gets it. ♥


Add save starters

no

no

Why not? The save starters must work in wrapper offline 1.3.0

That's planned for a later update. Some of the devs are kinda lazy and, while it works similar to saving movies, I myself have not been able to figure out how to get the starters fully working

That's planned for a later update. Some of the devs are kinda lazy and, while it works similar to saving movies, I myself have not been able to figure out how to get the starters fully working

Okay then.


Use .scoped block in sidekiq plugin?

Question: Is there any reason not to do:
Rollbar.scoped(scope) do
  yield
end

in Rollbar::Sidekiq#call ?
The problem: I have worker code that catches errors and calls Rollbar.log, but the resulting payload has none of the job information provided by the Rollbar::Sidekiq middleware

It looks safe and reasonable to do if enabled via a config option, keeping the current default behavior.

hoping to work on this today


ci(workflow): add cache to workflows using actions/setup-node

Description
Add cache to workflows using actions/setup-node
Context
setup-node GitHub Action just released a new option to add cache to steps using it.
You can find the details here: https://github.blog/changelog/2021-07-02-github-actions-setup-node-now-supports-dependency-caching/

🤖 This PR has been generated automatically by this octoherd script, feel free to run it in your GitHub user/org repositories! 💪🏾

very strange though – one of the jobs keeps timing out…

very strange though – one of the jobs keeps timing out…

Very strange... Checking the logs there is a strange missing test file or something like that.

I think the job should be manually killed: https://github.com/simplabs/ember-cookies/runs/2987332114?check_suite_focus=true


filter on payload of errorstore/message log not user friendly in new GUI

❗ please do not add sensitive information in issues, you can provide extra information via email using issue number as reference ❗
Describe the issue
In "old GUI"  has the possibility to filter/search on the content of the messages in the errorstore. there is no search field for message in the new GUI.
the requested functionality is to be able to filter messages on based on the existence of a certain string in the message
UPDATE
we were testing with 7.6 and the extra field is added.
the functionality works but is not clear to the user

If you open a message and push the back button the filter is cleared (also in other interaction the filter is cleared
there is no obvious trigger moment to start the filtering (should be more clear how this works)
the processing message is not in your screen, if you scroll down you see a message not similar to the other "progress bar" images
the total numbers do not change based on the filtered documents (fixed in 7.4)

as we cannot upgrade and want to investigate a production issue a work around would be appreciated
** if available please provide workaround via SQL statement **
Reporter
jjansenvr on behalve of Fop

To Reproduce
Steps to reproduce the behavior:

Go to an adapter with errostor or messagelog
open filter section
no message filed to do a filter on message content

Screenshots

Configuration
n/a

Input
Please provide an example of the input message.
Alternatively, provide a Ladybug report.

Environment
IAF 7.6.x

Additional Environment

DBMS:  Oracle

Additional Context

This feature is supposed to be introduced in 7.6.1-20210915.155501. Is the regarding ibis using an older version of the framework?

Can you check the latest F!F version for user friendliness and when not user friendly enough suggest what would need to be done to make it user friendly enough?

UPDATE
we were testing with 7.6 and the extra field is added.
the functionality works but is not clear to the user
If you open a message and push the back button the filter is cleared (also in other interaction the filter is cleared
there is no obvious trigger moment to start the filtering (should be more clear how this works)
the processing message is not in your screen, if you scroll down you see a message not similar to the other "progress bar" images


[WIP] add new gauge metrics

This PR aims to solve https://github.com/heptio/velero/issues/1077
First I registered 2 new Gauges (number of backups and restores). I'm assuming we don't need GaugeVec here since we don't need grouping.
I could verify they were properly registered:
$ curl -s localhost:8585/metrics | grep -e "^velero_"
velero_backup_attempt_total{schedule=""} 0
velero_backup_failure_total{schedule=""} 0
velero_backup_success_total{schedule=""} 0
velero_backup_total 1
velero_restore_attempt_total{schedule=""} 0
velero_restore_failed_total{schedule=""} 0
velero_restore_success_total{schedule=""} 0
velero_restore_total 25
velero_restore_validation_failed_total{schedule=""} 0
velero_volume_snapshot_attempt_total{schedule=""} 0
velero_volume_snapshot_failure_total{schedule=""} 0
velero_volume_snapshot_success_total{schedule=""} 0

Now I'm trying to figure out what's the best place to collect the actual metrics values.
I'm thinking on collecting number of backups on backup_controller using something like:
backups, err := c.lister.List(labels.Everything())
c.metrics.SetBackupCountGauge(len(backups));

Am I on the right direction ?
PS. Thanks for the patience, this is my first experience with Velero's codebase (and Go, to be honest)

Sorry, I randomly picked a Good first issue from the issue list , I'm actually just trying to learn some Go.
This is the thread  where the use case is described?

@nrb ,
Regarding the  number of backups deleted metric, I think a good place to increment it is:
https://github.com/heptio/velero/blob/409116fce85d913490d1e1e02a73d375a04f9a9b/pkg/controller/backup_deletion_controller.go#L360
Agree ?

Yes, that looks like the right place.

The original issue was mainly requesting the count on backups, not restore. Must we add restore too for symmetry or can we skip it?
Things look fine so far pending the issues raised.

Must we add restore too for symmetry or can we skip it?

Worth considering leaving them out for now. My hunch is that someone will eventually be interested in that info for parity, but it also looks like properly counting restores is more complex, which I think justifies a separate PR.
@fabito does leaving the restore counts out of this PR entirely, then filing an issue for getting the restore parts added/fixed work for you?

It makes sense @nrb, I'll remove restore_total from this PR and then we can open a separate issue to address restore metrics.

Sorry I'm late to the party here, but finally caught up on this.  Here's what I'd propose doing:

focus this PR solely on #1059, and specifically only the deletion attempt/failure/success counter metrics. It looks like there's a good start already for this.
do a separate PR to address #1077.  I think for that one we want to add gauge metrics (which can go up or down - they can just be arbitrarily set to any value).  The values for these metrics would be based on the current count of backups and restores (either by counting custom resource instances, or by counting the contents of the object storage bucket - TBD).  We could set these metrics in one of a number of places:

in the backup sync controller (which periodically syncs backups in the obj storage bucket into the cluster as CRs)
in resync functions in the backup / restore controller
in a new metrics updater type, running in a goroutine and updating these things periodically

@skriss ,
I'll create a separate PR for #1077.
Do the assumptions in the initial comment make sense ?

@fabito let me think a little about where it makes sense to update the gauge metrics for #1077.  I may need a few days, super busy right now :/ I'll update further on issue #1077.


Feature: sort table

https://github.com/ctripcorp/apollo/issues/2516

Coverage remained the same at 54.067% when pulling e6a72d613c35938598cab20122e2dcb5602de275 on bigflybrother:sdsd into 17261b68ad46a54ff5383885002c0fd755b17df2 on ctripcorp:master.

Make sense to me, we will take a look soon.

Codecov Report

Merging #2705 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #2705      +/-   ##
============================================
- Coverage     50.49%   50.48%   -0.01%
+ Complexity     2082     2081       -1
============================================
  Files           413      413
  Lines         12664    12664
  Branches       1293     1293
============================================
- Hits           6395     6394       -1
  Misses         5817     5817
- Partials        452      453       +1

Impacted Files
Coverage Δ
Complexity Δ

.../apollo/internals/RemoteConfigLongPollService.java
79.62% <0%> (-0.62%)
27% <0%> (-1%)

Continue to review full report at Codecov.

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

It looks like a good idea to use last modified time to sort the release status...

It looks like a good idea to use last modified time to sort the release status...

Or both supported?
What do you think? @bigflybrother

Tested in my local env, looks good to me.
hope your more contributions to UI. @bigflybrother


Indirect dependency files(.props) are not written to the "Include" "lib" directory

Module A depends on module B, and module B depends on module C, write in the conanfile.yml:
requirements:

moduleB/[1.0]
Module A generates the conan directory, the .props of module B and module C, but module C conan_modulec_vars_debug_x64.props the "ConanmodulecncludeDirectories", "ConanmodulecLibraryDirectories","Conanmodule_managerLibraries" in the .props are empty. I don't want to populate module A's yml with dependency module C. Can you fix this issue?

Hi @JohnnyKrr,
Thank you for your issue. I would need more information to be able to help you. Could you describe with more detail why do you mean by "module"? Is that a project inside your VS solution or a conan dependency?
I would need a minimal reproducible example to be able to debug it. Than you 😄

Hi @JohnnyKrr,
Sorry for the late reply.
Regarding the information provided, you are right. ProjectC is not a direct requirement of ProjectA and should not be included in its requirements.
Maybe the issue is in the package of Project C as the property file appears to be empty. Did you check that the contents of the package are right?
Please let me know if this is still an issue; I will gladly help. Thanks!


[TokenClassificationRecord] Alignment issues when token is a white space

Describe the bug
Not sure if this is really a bug, but it would be nice to support cases where the tokens are white spaces. We are encountering a lot of these cases in the med7 dataset for the metrics blog post.
To Reproduce
from rubrix.server.tasks.token_classification.api.model import CreationTokenClassificationRecord
from spacy import load

nlp = load("en_core_web_sm")
text = "every four (4)  "

record = {
    "text": text,
    "tokens": list(map(str, doc)),  # ['every', 'four', '(', '4', ')', ' ']
    "prediction": {"agent": "mock", "entities": [{"start": 0, "end": 16, "label": "mock"}]},
}

CreationTokenClassificationRecord.parse_obj(record)

# AssertionError: Provided entity span every four (4)   is not aligned with provided tokens.

Expected behavior
Accept entity
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS [e.g. iOS]:
Browser [e.g. chrome, safari]:
Rubrix Version [e.g. 0.10.0]:
ElasticSearch Version [e.g. 7.10.2]:
Docker Image (optional) [e.g. rubrix:v0.10.0]:

Additional context
Add any other context about the problem here.

cc @frascuchon

Anyway, maybe we can improve the error message, making focus on irrelevant whitespaces in mention

Since we cannot resolve span alignment when spaces are included as tokens and spans definition also contains spaces, I vote for trying to clean the provided record info, what's mean:

Remove all empty tokens from the record token
Adjust the span definition when starting or ending with spaces (instead of raising an error)

For example, the result for your record with this approach will be:
{
  'text': 'every four  (4)',
  'tokens': [ 'every', 'four', '(', '4', ')'],
  'prediction': {
    'agent': 'mock',
    'score': None,
    'entities': [
      {
        'start': 0, 'end': 15, 'label': 'mock', 'score': 1.0
      }
    ],
  }
}

Does it make sense, @dcfidalgo?


Can not apply overlay style using [cmdk-overlay] selector

Summary
I add some styling to [cmdk-overlay] as recommended in the docs and I'm seeing the styling being applied in the DOM, but I do not see the div for [cmdk-overlay] anywhere in the UI (screenshot)

Here's a short snippet of my code
import React from "react";
import { Input } from "antd";
import { Command } from "cmdk";
import "./CommandKMenu.css";

const CommandKMenu = () => {
  const [inputValue, setInputValue] = React.useState("");
  const [isCmdkMenuOpen, setIsCmdkMenuOpen] = React.useState(false);

  return (

 setIsCmdkMenuOpen(true)}>
        {/* 🟡 ⬇ This is just an input that acts as a button to open/close our CMD+K Dialog */}
        <Input prefix={<SearchOutlined />} placeholder="Search pages, services, docs, etc (⌘ + K)" />

        <Command.Dialog
          open={isCmdkMenuOpen}
          onOpenChange={setIsCmdkMenuOpen}
          className="sdi-menu"
        >
          <Command
            ref={ref}
            onKeyDown={.....}
            label="Command Menu"
          >
            <Command.Input
              autoFocus
              placeholder="Search pages, services, docs..."
              onValueChange={(value: string) => {
                setInputValue(value);
              }}
              value={inputValue}
            />
             {/* Route Options..... */}
          </Command>
        </Command.Dialog>

  );
};

export default CommandKMenu;

[cmdk-overlay] {
  background: red;
}

Am I missing something?
Code Sandbox
Adding a Code Sandbox where I am experiencing the same issue
Code Sandbox link: https://codesandbox.io/s/cmdk-dialog-forked-rrh7vc

Yes, you are missing styles that render the overlay over the entire page, which you must provide manually (not all overlays are equal). For example, to cover the entire screen you likely want the following styles:
position: fixed;
inset: 0;


Suggestions for ABDM interface improvements, file editing options and takeover function for download links without suffixes!

Dear @amir1376 , AB Download Manager is a great application, since I recommended it to my friends around me, they all fell in love with it and think that it has a lot of potential to grow and is the best open source application to replace IDM!
I'm going to make a few small suggestions here that I hope you'll consider:
ABDM's native UI is too small to work perfectly on large screens, I hope it can be adapted to HD resolution; secondly, the font display is not obvious in dark color mode, I hope it can be improved to improve the font size and color, and maybe a separate option can be added to set the interface font.
The newly added file editing function of ABDM is very good, and I hope that the viewing items of the downloaded web pages can be transferred from the secondary settings menu to the main interface of the editing window. Considering the excellent data storage method of ABDM, it is possible to add a note function, and to add relevant display parameters in the display column of the main interface.
The search function is too simple, it is suggested to add some simple search syntax, such as [create time], input “ct:” to search by specified time; [filename], input “fn:” to search only the name of the file;[comment], input “cm:” to search file comment.
Some users have suggested to close the file download window automatically, but you didn't seem to take it into account, maybe because didn't explain it clearly? I would like to it here and explain in detail the reason for adding this feature.
The separate file download window is usually used to check the thread usage or the download log during the download, after the download is finished, these functions are not needed, so the separate download window should be closed automatically after the download is finished, instead of occupying the taskbar or the desktop all the time, the automatic closing of this window can reduce a lot of unnecessary processes.
Or you can add a silent download option to hide the separate download window after the download starts.
Also when using ABDM, I found that its takeover seems to be realized by the suffix, it can't take over the download link without suffix, in some net disk such as: mega or in some forums download the file, ABDM can't take over, similar download URL such as: [https://www.sordum.org/downloads/?st-desktop.ini-editor] and [job.php?action=download&aid=4525632] won't be taken over, even if copied to the application, the download will only download as an html webpage or a file like job.php, not the correct file.
I didn't find the option to take over the download links without suffixes in the browser extension, I hope in the next updates, the option will be added or the function to take over the downloads without suffixes will be realized.
Congrats on your great and excellent work to help many users who need it! Let us applaud you!

Hi there. thank you for your feedback

ABDM's native UI is too small to work perfectly on large screens, I hope it can be adapted to HD resolution; secondly, the font display is not obvious in dark color mode, I hope it can be improved to improve the font size and color, and maybe a separate option can be added to set the interface font.

yes I will work on it later

The separate file download window is usually used to check the thread usage or the download log during the download, after the download is finished, these functions are not needed,

I agreed! I will do that whenever I add a new page for completion dialog. to separate it from the progress page.
For now the download progress page acts as a Download "Properties" page and "Completion" Page
which causes problems. lets imagine that download is in 90% and user opens that properties to press "Open File"... on download completion the app will close that "Properties Page" instead which is not good for this UI because user don't expect this close behavior

I found that its takeover seems to be realized by the suffix, it can't take over the download link without suffix, in some net disk such as: mega or in some forums download the file, ABDM can't take over, similar download URL such as: [https://www.sordum.org/downloads/?st-desktop.ini-editor] and [job.php?action=download&aid=4525632] won't be taken over, even if copied to the application, the download will only download as an html webpage or a file like job.php, not the correct file.
I didn't find the option to take over the download links without suffixes in the browser extension, I hope in the next updates, the option will be added or the function to take over the downloads without suffixes will be realized.

this app is a download manager that can takeover default downloads from browser and does not capture links that are not directly downloaded by browser
for example: Mega does not download its content using browser's download manager. instead it download its content itself (probably using javascript) then gives it to the browser for saving.
If I want to handle this I have to implement the logic for all websites that do such a thing and also track their changes. separately!

Dear @amir1376 ,I searched with the AI assistant, [https://www.sordum.org/downloads/?st-desktop.ini-editor] and [jobs.php? action=download&aid=4525632] AI Introduction Links like this use PHP's header function to set the HTTP response header, specifying the file type, description, and size. A call to the readfile function reads and outputs the contents of the file, triggering a download. It looks like this link is a jump link, is it not possible to monitor the follow-up of such a jump link?


Wave Removes StartupProbes

If you add a startupProbe to any deployment/pod with a wave annotation that will be removed by wave. This is probably caused by an old version of the kubernetes API used in wave.

Yes; I think you are right

This is an understandable duplicate of #118

Will be fixed by #145

Fixed with #145


Delete .gitattributes

This file is a a relic from when PROJ's code (vendor code) was in the pyproj repo.  Github's linguist had to be told to ignore that code when calculating the amount of Python versus C code for it percent Language in the repo (PROJ dwarfs pyproj in lines of code).

Thanks 👍 🦃


Create version

Create please version in composer.json and tag for proper install by composer, e.g.
composer require magento2translations/language_nl_nl 0.0.1

I have persisted this pull request https://github.com/Magento2Translations/language_nl_nl/pull/5 it might help?


How to place Task Groups on Interest Group Page

GBWG Interest Group

https://www.tdwg.org/community/gbwg/

We would like to place the Task Force(s) higher up on the page. I can add the header "Task Forces" below "Motivation and Scope", but what markup syntax do I have to use to move the TF thumbnail(s) to this spot?

I think the TF thumbnails are automatically generated from the type of heading, so clicking on Edit this page should reveal the types of markup required to add the proper header.

@gdadade the thumbnails are on the bottom by default. But you can force it to a specific place by adding :
<!-- subpages -->

I have done so in https://github.com/tdwg/website/pull/283. @gkampmeier can you review and accept?

ok thanks! I made the edits and created a pull request :)

Ok, resolved.


Add support for random intervals

For tasks that should run at an irregular interval, this adds the following syntax:
schedule.every(10).to(20).hours.do(job)

The scheduler picks a random value in that range as the actual interval used when scheduling the next run.

This looks like a really cool feature to have. @dbader, would you be able to merge it into master?

Let's link this to #89.

@Michael-F-Bryan I agree this looks useful and has a small footprint. Let's aim for getting this into the next release 😃
@grampajoe Apologies for my super slow response here. But we'll ship this after all :-)

In terms of next steps we'll have to:

rebase this to master so it builds cleanly
at some point write more in depth docs / add a FAQ item for it so people can find it

Hey @dbader, no problem, I'm not in a hurry 😜
I'll rebase and see about filling out the docs. Thanks!

Perfect – adding an FAQ item would probably enough for now. Thanks @grampajoe :)

Note the __repr__ method needs updating within the Job class otherwise the logger will print out the job is running every interval and not taking into consideration the randomness.
unit = self.unit[:-1] if self.interval == 1 else self.unit
uninterval = '%s %s' % (self.interval, unit) if self.latest is None else '%(interval)s %(unit)s to %(latest)s %(unit)s' % dict(interval=self.interval, latest=self.latest, unit=unit)

And then return runinterval in place of the interval and unit arguments.

Any news?

Quick update here: We still need updated docs and look into what @eth0izzle pointed out.

@dbader Closing this in favor of #154, in which @gilbsgilbs added the finishing touches.


MVC Example - donation form integrate with Stripe, ApplePay, Payment Request API

Related Links:

https://developers.google.com/web/fundamentals/payments/
https://github.com/GoogleChrome/appr-wrapper
https://developer.apple.com/documentation/applepayjs
https://stripe.com/elements
https://stripe.com/apple-pay

Create a payment microservice?


Question about doc

When you talk about env-configuration.json file.
It's like prod-configuration.json and dev-configuration.json or only a single file with variables for each environment ?
How do you set this file ?
Need some specific keys inside ?
Do you have an example of config file ?
edit:
I just re read readme.
I supose this answer me:
This will copy the file src/env-configuration/YOURENV.json to www/env-configuration.json

Hi @movrack
Yes, exactly.
The file should be named env-configuration.json and be inside the www folder. It's your configuration, so you put any key you want, there is no specific key needed.
I will update the doc and add a more detailed explanation.
Feedbacks are more than welcome!

You mean :
The file must be named src/env-configiguration.json and will be copied as  www/env-configuration.json.

The Provider loads the env-configuration.json fil inside the www folder.
If you use the copy executable I made, you can make a configuration file for each of your environments. Just put it in the "src/env-configuration/" folder.
For example, you can have:
src/env-configuration/dev.json
src/env-configuration/prod.json

If you run:
node copy-env-config.js --env dev

Then it will copy the src/env-configuration/dev.json to www/env-configuration.json


Allowing specific principal ARNs to perform actions on the bucket takes error out.

I wan't to set specific principal ARNs to perform actions on the bucket like your example, i get the following Error:
Error: error creating S3 bucket ACL for eu-central-1-dev-tfstate: MissingSecurityHeader: Your request was missing a required header │ 	status code: 400, request id: Q6N4T82Q9GWV1WHZ, host id: KTS0mCcH/V8spcasgOewvbBNe9i/zc5aBIWMcmJFTXDDTpGZpoymVy0Z5Rr1uSjmuvD962XkNxA= │  │   with module.s3_tf_bucket.aws_s3_bucket_acl.default[0], │   on .terraform/modules/s3_tf_bucket/main.tf line 143, in resource "aws_s3_bucket_acl" "default": │  143: resource "aws_s3_bucket_acl" "default" {
My main.tf:
data "aws_iam_group" "user_ids" {
  group_name = var.group_name
}

module "s3_tf_bucket" {
  source  = "cloudposse/s3-bucket/aws"
  version = "2.0.2"

  name                = "tfstate"
  environment         = "eu-central-1"
  stage               = "dev"
  versioning_enabled  = true
  acl = ""

  grants = [

    for uid in data.aws_iam_group.user_ids.users[*].user_id:
    {
      "id"          : uid
      "type"        : "CanonicalUser"
      "permissions" : ["FULL_CONTROL"]
      "uri"         : null
    }
  ]
}

The result with terraform apply:
Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

module.s3_tf_bucket.aws_s3_bucket.default[0]: Creating...
module.s3_tf_bucket.aws_s3_bucket.default[0]: Creation complete after 2s [id=eu-central-1-dev-tfstate]
module.s3_tf_bucket.data.aws_iam_policy_document.bucket_policy[0]: Reading...
module.s3_tf_bucket.data.aws_iam_policy_document.bucket_policy[0]: Read complete after 0s [id=561002259]
module.s3_tf_bucket.aws_s3_bucket_public_access_block.default[0]: Creating...
module.s3_tf_bucket.aws_s3_bucket_versioning.default[0]: Creating...
module.s3_tf_bucket.aws_s3_bucket_server_side_encryption_configuration.default[0]: Creating...
module.s3_tf_bucket.aws_s3_bucket_acl.default[0]: Creating...
module.s3_tf_bucket.data.aws_iam_policy_document.aggregated_policy[0]: Reading...
module.s3_tf_bucket.data.aws_iam_policy_document.aggregated_policy[0]: Read complete after 0s [id=561002259]
module.s3_tf_bucket.aws_s3_bucket_server_side_encryption_configuration.default[0]: Creation complete after 0s [id=eu-central-1-dev-tfstate]
module.s3_tf_bucket.aws_s3_bucket_public_access_block.default[0]: Creation complete after 0s [id=eu-central-1-dev-tfstate]
module.s3_tf_bucket.time_sleep.wait_for_aws_s3_bucket_settings[0]: Creating...
module.s3_tf_bucket.aws_s3_bucket_versioning.default[0]: Creation complete after 2s [id=eu-central-1-dev-tfstate]
module.s3_tf_bucket.time_sleep.wait_for_aws_s3_bucket_settings[0]: Still creating... [10s elapsed]
module.s3_tf_bucket.time_sleep.wait_for_aws_s3_bucket_settings[0]: Still creating... [20s elapsed]
module.s3_tf_bucket.time_sleep.wait_for_aws_s3_bucket_settings[0]: Still creating... [30s elapsed]
module.s3_tf_bucket.time_sleep.wait_for_aws_s3_bucket_settings[0]: Creation complete after 30s [id=2022-06-29T06:18:02Z]
module.s3_tf_bucket.aws_s3_bucket_ownership_controls.default[0]: Creating...
module.s3_tf_bucket.aws_s3_bucket_ownership_controls.default[0]: Creation complete after 1s [id=eu-central-1-dev-tfstate]
╷
│ Error: error creating S3 bucket ACL for eu-central-1-dev-tfstate: InvalidArgument: Invalid id
│ 	status code: 400, request id: 8G6YBZ7Z0VM2Q2DJ, host id: 425ealDMwTar9IAPxE3JgEIELCMQG/ZIn+XmP9IfvVeAXeRFkHqgbqSyQM3QYm7m4swJb7C8q+I=
│
│   with module.s3_tf_bucket.aws_s3_bucket_acl.default[0],
│   on .terraform/modules/s3_tf_bucket/main.tf line 143, in resource "aws_s3_bucket_acl" "default":
│  143: resource "aws_s3_bucket_acl" "default" {

Happens to me as well on version 0.49.0

I am closing this as "invalid" because

I cannot reproduce the error
An API error such as MissingSecurityHeader: Your request was missing a required header is an error in the Terraform AWS provider

You can reopen this issue or open a new issue if you can reproduce the error with AWS provider version >= 4.9.0 and s3-bucket version >= 3.0.0


remove shallowEqual check from componentWillReceiveProps

https://github.com/Dashed/orwell/blob/a4c3c26dc58518286f2ba2113260f5e18cf59c6a/src/index.js#L120
this is legacy code from connectToStores.
Rationale:

Defer this check to shouldComponentUpdate since shouldComponentUpdate is always called beyond the initial render when either the parent re-renders or when a cursor emits an event.
!shallowEqual(this.props, nextProps, cursorCompare) may not properly return true when all props are Probe cursors produced through minitrue.

fixed by https://github.com/Dashed/orwell/commit/95116620e6003b6a17374b5ae7124780fc99531d


error ffmpeg exited with code 1

Describe The Bug:
Error ffmpeg exited with code 1 after added Reolink cameras.
Video is not displayed in Home app.
If I open camera link in VLC streaming is working
Logs:
ffmpeg -rtsp_transport http -re -i<EMAIL_ADDRESS>-t 1 -vf scale=480:270 -f image2 -
[Cameras] Start streaming video from Terasa with 1280:720@30fps (299kBit)
/home/hoobs/.hoobs/node_modules/ffmpeg-for-homebridge/ffmpeg -rtsp_transport http -re -i<EMAIL_ADDRESS>-map 0:0 -vcodec copy -pix_fmt yuv420p -r 30 -f rawvideo -tune zerolatency -b:v 299k -bufsize 299k -maxrate 299k -payload_type 99 -ssrc 15928439 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params fgLJ6SG6gOj+/uD5DEKJ0IiWWwOvH1ZhDMPrg4ak srtp://<IP_ADDRESS>:57529?rtcpport=57529&localrtcpport=57529&pkt_size=1316 -loglevel debug
ffmpeg version 4.2.git-47773f7 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1+deb9u1) 20170516
configuration: --pkgconfigdir=/build/workspace/lib/pkgconfig --prefix=/build/workspace --pkg-config-flags=--static --extra-cflags=-I/build/workspace/include --extra-ldflags=-L/build/workspace/lib --extra-libs='-lpthread -lm' --enable-static --disable-debug --disable-shared --disable-ffplay --disable-doc --enable-openssl --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-runtime-cpudetect --enable-libfdk-aac --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-decoder=h264 --enable-network --enable-protocol=tcp --enable-demuxer=rtsp --enable-omx-rpi --enable-mmal
libavutil      56. 40.100 / 56. 40.100
libavcodec     58. 68.102 / 58. 68.102
libavformat    58. 38.100 / 58. 38.100
libavdevice    58.  9.103 / 58.  9.103
libavfilter     7. 75.100 /  7. 75.100
libswscale      5.  6.100 /  5.  6.100
libswresample   3.  6.100 /  3.  6.100
libpostproc    55.  6.100 / 55.  6.100
Splitting the commandline.
Reading option '-rtsp_transport' ...
matched as AVOption 'rtsp_transport' with argument 'http'.
Reading option '-re' ... matched as option 're' (read input at native frame rate) with argument '1'.
Reading option '-i' ... matched as input url with argument<EMAIL_ADDRESS>Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:0'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'copy'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv420p'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '30'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'rawvideo'.
Reading option '-tune' ...
matched as AVOption 'tune' with argument 'zerolatency'.
Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '299k'.
Reading option '-bufsize' ...
matched as AVOption 'bufsize' with argument '299k'.
Reading option '-maxrate' ...
matched as AVOption 'maxrate' with argument '299k'.
Reading option '-payload_type' ...
matched as AVOption 'payload_type' with argument '99'.
Reading option '-ssrc' ...
matched as AVOption 'ssrc' with argument '15928439'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'rtp'.
Reading option '-srtp_out_suite' ...
matched as AVOption 'srtp_out_suite' with argument 'AES_CM_128_HMAC_SHA1_80'.
Reading option '-srtp_out_params' ...
matched as AVOption 'srtp_out_params' with argument 'fgLJ6SG6gOj+/uD5DEKJ0IiWWwOvH1ZhDMPrg4ak'.
Reading option 'srtp://<IP_ADDRESS>:57529?rtcpport=57529&localrtcpport=57529&pkt_size=1316' ... matched as output url.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url<EMAIL_ADDRESS>Applying option re (read input at native frame rate) with argument 1.
Successfully parsed a group of options.
Opening an input file<EMAIL_ADDRESS>[http @ 0x2780710] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy,data'
[tcp @ 0x2782290] Original list of addresses:
[tcp @ 0x2782290] Address 192.168.1.xxx port 554
[tcp @ 0x2782290] Interleaved list of addresses:
[tcp @ 0x2782290] Address 192.168.1.xxx port 554
[tcp @ 0x2782290] Starting connection attempt to 192.168.1.xxx port 554
[tcp @ 0x2782290] Successfully connected to 192.168.1.xxx port 554
[http @ 0x2780710] request: GET /h264Preview_01_main HTTP/1.1
User-Agent: Lavf/58.38.100
Range: bytes=0-
Connection: close
Host: 192.168.1.xxx:554
Icy-MetaData: 1
x-sessioncookie: b9490890287af815
Accept: application/x-rtsp-tunnelled
Pragma: no-cache
Cache-Control: no-cache
<EMAIL_ADDRESS>Input/output error
Exiting normally, received signal 15.
[Cameras] ERROR: FFmpeg exited with code 1

Homebridge Config:
[
    {
        "name": "Terasa",
        "videoConfig": {
            "source": "-rtsp_transport http -re -i<EMAIL_ADDRESS>            "maxStreams": 2,
            "maxWidth": 1280,
            "maxHeight": 720,
            "maxFPS": 30,
            "mapvideo": "0",
            "mapaudio": "1",
            "vcodec": "copy",
            "audio": false,
            "debug": true
        }
    },
    {
        "name": "Entrance",
        "videoConfig": {
            "source": "-rtsp_transport http -re -i<EMAIL_ADDRESS>            "maxStreams": 2,
            "maxWidth": 1280,
            "maxHeight": 720,
            "maxFPS": 30,
            "mapvideo": "0",
            "mapaudio": "1",
            "vcodec": "copy",
            "audio": true,
            "debug": true
        }
    },
    {
        "name": "Nadstresek",
        "videoConfig": {
            "source": "-rtsp_transport http -re -i<EMAIL_ADDRESS>            "maxStreams": 2,
            "maxWidth": 1280,
            "maxHeight": 720,
            "maxFPS": 30,
            "mapvideo": "0",
            "mapaudio": "1",
            "vcodec": "copy",
            "audio": true,
            "debug": true
        }
    }
]

Environment:
Raspberry Pi 4 Model B Rev 1.1
Linux HOOBS 3.2.4

I am receving that error if I try to view the camera feed in the Home app on Mac, but stream works fine on my Home app on iphone.
Node.js Version: 12.16.3
NPM Version: 6.14.4
Homebridge Version:1.04
Homebridge Camera FFmpeg Version: 1.1.1
Homebridge Config UI X Plugin Version: 4.19.0
Operating System: MacOS

I am receving that error if I try to view the camera feed in the Home app on Mac, but stream works fine on my Home app on iphone.

For me it the same on mac and iphone..

Use h264 as the codec or adapt the cameras video stream, your cameras stream is probably not compatible with what iOS expects for HomeKit camera streams.

I have set vcodec = h264 and it is still not working..
In log I can see a lot of messages:
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
I can not see option how to adapt camera video stream in settings (Reolink RLC 410).

Did you try using the system ffmpeg?
            "videoProcessor": "/usr/local/bin/ffmpeg",

or /usr/bin/ffmpeg - whatever which ffmpeg returns.

There is not difference if I use this setting.
Still getting error:
<EMAIL_ADDRESS>Input/output error
Exiting normally, received signal 15.
[Cameras] ERROR: FFmpeg exited with code 1

-rtsp_transport http -re -i rtsp://.......
remove the -rtsp_transport http, have you opened the link in VLC? Id assume you have the wrong URL for the stream type youre trying to use.

I have a Reolink camera setup and mine is working as expected using the below stream setting.
-rtsp_transport tcp -re -i rtsp://user:pw@<IP_ADDRESS>:554/h264Preview_01_main
I received the same error when experimenting with alternate codec options. h264 and libx264 work for me.

I have a Reolink camera setup and mine is working as expected using the below stream setting.
-rtsp_transport tcp -re -i rtsp://user:pw@<IP_ADDRESS>:554/h264Preview_01_main
I received the same error when experimenting with alternate codec options. h264 and libx264 work for me.

yea hes calling HTTP as the protocol over rtsp...


crashed due to missing fabricloader on quilt server?

Hi, I wanted to add desolation to my server which is run on quilt and 1.20.1. I wanted to add it in to the pack after I had checked the previous mods all were working and not causing a problem. however, when trying to start up the server with desolation it crashed and told me I needed fabricloader. If you can help me wish this issue I would definitely appreciate it :)
crash-2023-12-22_<IP_ADDRESS>14-quilt_loader.txt

Sorry; this answer is pretty late.  Desolation for 1.20.1 requires Fabric Loader version 0.14.25 or newer.  The Quilt Loader you were using only provides 0.14.24.  I'm not sure how to tell what version of Quilt Loader is required; their changelog does not seem to show what version of Fabric Loader each Quilt Loader provides.
-- Error 1 --

Desolation requires version [0.14.25, ∞) of fabricloader, which is missing!

[...]

<game>/libraries/org/quiltmc/quilt-loader/0.22.0/quilt-loader-0.22.0.jar:
#######################################
#  Loaded by  'quilt_loader'          #
#  Name     = 'Quilt Loader'          #
#  ID       = 'quilt_loader'          #
#  Version  = '0.22.0'                #
#  LoadType = IF_REQUIRED             #
#  Provides   'fabricloader' 0.14.24  #
#######################################


Sample Javascript Code for Calling Cloud Code on Localhost

[x] You've met the prerequisites: https://github.com/ParsePlatform/parse-server/wiki/Parse-Server-Guide#prerequisites.

[x] You're running the latest version of Parse Server: https://github.com/ParsePlatform/parse-server/releases

[x] You've searched through existing issues: https://github.com/ParsePlatform/Parse-Server/issues?utf8=✓&q=is%3Aissue Chances are that your issue has been reported or resolved before.

[x] You have filled out every section below. Issues without sufficient information are more likely to be closed.

--
Issue Description
I have Parse-Server hosted locally and I have the Parse-Server-Example test working. I'm able to call the example cloud code function using the test code (/test) that Parse-Server-Example uses. When I replace the main.js file with my legacy cloud code (from Parse.com hosted server), I can't seem to figure out how to call it. The Parse-Server-Example /test call to my replaced cloud code works just fine. I just can't seem to call the cloud code from my own javascript. Here's my client side javascript code:
function helloMyParse(){
Parse.initialize("myAppId", "myMastKey");
Parse.serverURL = 'http://<IP_ADDRESS>:1337/parse';
Parse.cloud = './cloud/main.js';
Parse.Cloud.run('hello',
    {
    XXXXXXX
    }, {
        success: function(results) {
Any ideas greatly appreciated!

Above code throws the following error:
 Failed to load resource: the server responded with a status of 404 (Not Found)   http://<IP_ADDRESS>:1337/parse/1/functions/hello
The Parse-Server-Example/test code calls my Cloud Code just fine.  But, I can't follow the sample code in that example.  I gather from various sources that the above code is how to properly call Parse-Server Cloud Code.  Would be great to have a simple proper javascript method for calling Parse-Server Cloud Code.
I asked same question on Stackoverflow, but not getting very far there:
[http://stackoverflow.com/questions/39665496/calling-locally-hosted-parse-server-cloud-code-with-javascript(url)
Describe your issue in as much detail as possible.
see above
Steps to reproduce
Expected Results
call Cloud Code
Actual Outcome
see above
Environment Setup

Server

parse-server version
Operating System:    Linux
Hardware:             Raspberry Pi3
Localhost or remote server? Localhost

Database

MongoDB version: 3.0.9
Storage engine:
Hardware:        Raspberry Pi 3
Localhost or remote server? Localhost

Logs/Trace
You can turn on additional logging by configuring VERBOSE=1 in your environment.
[FILL THIS OUT]

Hi @	srmurrayray, I put an answer and a question on your stackoverflow question.  I'll keep an eye on it and try to help.

No solutions there.....

I removed the "Parse.cloud = './cloud/main.js';" line.  Still getting the same 404 error.  Did not see any new answers on Stackoverflow.  I've scoured the web for answers of how to use Javascript to call Parse-Server Cloud Code.  Nothing other than the Parse-Server-Example/test which uses XHR, which I don't understand.

Alrighty, I'm pretty sure I can help you out.  I've got some questions: http://stackoverflow.com/questions/39665496/calling-locally-hosted-parse-server-cloud-code-with-javascript/39678505#39678505