RN 0.64.3 and duplicate [CP] Prepare Artifacts build phase causing errors

Has anyone been able to build an emulator app using react-native-firebase and firestore-ios-sdk-frameworks on react-native 0.63.4? I haven't been able to (well, I haven't been able to seamlessly).
Here's my environment:
System:
    OS: macOS 10.15.6
    CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
    Memory: 30.86 MB / 8.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 10.15.3 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 7.0.10 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.9.3 - /Users/andersonaddo/.rbenv/shims/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.7, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK: Not Found
  IDEs:
    Android Studio: 3.4 AI-183.6<IP_ADDRESS>22156
    Xcode: 11.7/11E801a - /usr/bin/xcodebuild
  Languages:
    Java: 12.0.1 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.13.1 => 16.13.1
    react-native: 0.63.4 => 0.63.4
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Due to some the changes that I had to implement when upgrading, my podfile now looks like this:
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '11.0'

project 'app',
        'Dev.Debug' => :debug,
        'Dev.Release' => :release,
        'Prod.Debug' => :debug,
        'Prod.Release' => :release

target 'app' do
  # Pods for app
  config = use_native_modules!
  use_react_native!(:path => config["reactNativePath"])

  pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '7.3.0'
  pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
  pod 'react-native-geolocation', path: '../node_modules/@react-native-community/geolocation'
  pod 'RNFS', :path => '../node_modules/react-native-fs'

  # Pods for react-native-permissions
  permissions_path = '../node_modules/react-native-permissions/ios'
  pod 'Permission-PhotoLibrary', :path => "#{permissions_path}/PhotoLibrary"
  pod 'Permission-Camera', :path => "#{permissions_path}/Camera"
  pod 'Permission-Notifications', :path => "#{permissions_path}/Notifications"

  target 'appTests' do
    inherit! :complete
    # Pods for testing
  end

  # Enables Flipper.
  #
  # Note that if you have use_frameworks! enabled, Flipper will not work and
  # you should disable these next few lines.
  use_flipper!(configurations: ['Dev.Debug', 'Prod.Debug'])
  post_install do |installer|
    flipper_post_install(installer)
  end

end

One notable difference this podfile has from its predecessor is that the inherit mode in the "appTests" target has moved from inherit! :search_paths to inherit! :complete.
I think because of this, I'm getting this error when attempting to build from xcode:
Multiple commands produce '/Users/andersonaddo/Library/Developer/Xcode/DerivedData/app-brcjfkvaegkdwhfoswuqsjdgdpga/Build/Products/Prod.Debug-iphonesimulator/cocoapods-artifacts-Prod.Debug.txt':
1) That command depends on command in Target 'app' (project 'app'): script phase “[CP] Prepare Artifacts”
2) That command depends on command in Target 'appTests' (project 'app'): script phase “[CP] Prepare Artifacts”

And alas, the [CP] Prepare Artifacts script looks like this:

And this phase is in both targets, hence the error.
I think it has to do with the inherit! :search_paths vs inherit! :complete change, but I also think that if this was a problem others were facing  it would've been mentioned somewhere, no?

Hey @andersonaddo
I feel like I have
I (temporarily) de-integrated it on RNFB https://github.com/invertase/react-native-firebase/blob/b4fb97698eb2579da3937bc6fed5dc4267f56aa1/tests/ios/Podfile#L15 but that was from leveldb collisions on local compiles, it actually worked in CI and it is react-native 0.63.4 https://github.com/invertase/react-native-firebase/blob/b4fb97698eb2579da3937bc6fed5dc4267f56aa1/tests/package.json#L28 - you should get try out the tests project to verify it locally
My work project is on react-native 0.63.4 and uses it successfully
mike@isabela:~/work/Kullki/ksocialscore/packages/public-app (rebranding) % cat package.json |grep "\"react-native\""
    "react-native": "^0.63.4",
mike@isabela:~/work/Kullki/ksocialscore/packages/public-app (rebranding) % cat ios/Podfile|grep 'sdk-frameworks'
  pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => $FirebaseSDKVersion

The only issues I've seen are leveldb collisions :thinking:

Hey @andersonaddo
I feel like I have
I (temporarily) de-integrated it on RNFB https://github.com/invertase/react-native-firebase/blob/b4fb97698eb2579da3937bc6fed5dc4267f56aa1/tests/ios/Podfile#L15 but that was from leveldb collisions on local compiles, it actually worked in CI and it is react-native 0.63.4 https://github.com/invertase/react-native-firebase/blob/b4fb97698eb2579da3937bc6fed5dc4267f56aa1/tests/package.json#L28 - you should get try out the tests project to verify it locally
My work project is on react-native 0.63.4 and uses it successfully
mike@isabela:~/work/Kullki/ksocialscore/packages/public-app (rebranding) % cat package.json |grep "\"react-native\""
    "react-native": "^0.63.4",
mike@isabela:~/work/Kullki/ksocialscore/packages/public-app (rebranding) % cat ios/Podfile|grep 'sdk-frameworks'
  pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => $FirebaseSDKVersion

The only issues I've seen are leveldb collisions :thinking:

Wait a second there - you are on an old Xcode, that's a cardinal sin man :-). Xcode "current stable" is a general requirement for iOS development at all times, and you'll likely want cocoapods 1.10 as well - same general expectation.
The last iOS release + Xcode release was fairly abrupt in fact with some breaking changes and not much warning on the release with Apple Silicon support and a bunch of new APIs, those things have to be adopted almost immediately or you can't access the App Store. In general that "adopt new APIs or App Store rejects you", "Have to update Xcode so you can adopt APIs" drives the requirement of Xcode updates which creates that general dev expectation that it's up to date
I bet that fixes it

Wait a second there - you are on an old Xcode, that's a cardinal sin man :-). Xcode "current stable" is a general requirement for iOS development at all times, and you'll likely want cocoapods 1.10 as well - same general expectation.
The last iOS release + Xcode release was fairly abrupt in fact with some breaking changes and not much warning on the release with Apple Silicon support and a bunch of new APIs, those things have to be adopted almost immediately or you can't access the App Store. In general that "adopt new APIs or App Store rejects you", "Have to update Xcode so you can adopt APIs" drives the requirement of Xcode updates which creates that general dev expectation that it's up to date
I bet that fixes it

Thanks for the reply Mike. Will definitely update my stuff and check back.
I'm skeptical that will fix this particular error though; one thing I noticed about your linked podfile is that RNFB doesn't configue a test target. It looks like the Xcode project will have only the main app target - hence no duplicate build phases and no errors.
I think I can disable the test target and do away with the error. I don't think it's useful either; RN just comes with it by default. But the fact that it's there by default (I'm guessing you've heavily edited the RNFB test podfile from the default?) is what made me make this issue as I surmised others would face this problem as well.

Thanks for the reply Mike. Will definitely update my stuff and check back.
I'm skeptical that will fix this particular error though; one thing I noticed about your linked podfile is that RNFB doesn't configue a test target. It looks like the Xcode project will have only the main app target - hence no duplicate build phases and no errors.
I think I can disable the test target and do away with the error. I don't think it's useful either; RN just comes with it by default. But the fact that it's there by default (I'm guessing you've heavily edited the RNFB test podfile from the default?) is what made me make this issue as I surmised others would face this problem as well.

https://github.com/mikehardy/rnfbdemo/blob/master/make-demo.sh specifically does not edit from default other than to slice in RNFB :smile:
However, it does disable frameworks for leveldb errors. If you edit that script to exclude the database module, you should be able to get around the leveldb issues and see if it reproduces with standard react-native template

https://github.com/mikehardy/rnfbdemo/blob/master/make-demo.sh specifically does not edit from default other than to slice in RNFB :smile:
However, it does disable frameworks for leveldb errors. If you edit that script to exclude the database module, you should be able to get around the leveldb issues and see if it reproduces with standard react-native template

Right, I'll put that on my pile of things to do. Will get back to ya in a lil bit.

Right, I'll put that on my pile of things to do. Will get back to ya in a lil bit.

Did my investigations; your script (unsurprisingly, haha) was a big help.

It was due to me having an outdated CocoaPods.

Did my investigations; your script (unsurprisingly, haha) was a big help.

It was due to me having an outdated CocoaPods.

cocoapods 1.10 (vs 1.9 causing problems) has shown itself to be needed for a variety of things. This could be in a FAQ or even on a minimum versions page as a strong suggestion maybe. It caught a few people out in the Notifee repo as well, you are not alone! Glad the demo script helped

cocoapods 1.10 (vs 1.9 causing problems) has shown itself to be needed for a variety of things. This could be in a FAQ or even on a minimum versions page as a strong suggestion maybe. It caught a few people out in the Notifee repo as well, you are not alone! Glad the demo script helped

You could update the cocoapods_version in the podspec to enforce the 1.10 requirement at install time.

You could update the cocoapods_version in the podspec to enforce the 1.10 requirement at install time.

@paulb777 of course - good idea

@paulb777 of course - good idea


Links in card look like regular text

Example:
https://outline.phase2tech.com/?path=/story/content-card--card-with-title-header
Hover above Quis istum dolorem timet?, and you'll noticed that it's a link but it looks like the rest of the text.

This should be easily resolved by wrapping the content with an outline-styled-text component, which will pass styles into the user generated content. We consider this to be like WYSIWYG content from the consumer. Who knows what they'll send us, so we cover all generic content styles with the mentioned component.


Add Contributor Guide for how to get started.

Another point that comes into my mind (I'll be the 1st happy to use it :p):

[ ] Add a short contributor guide (how to git clone, install the environment, install the package, etc)

Originally posted by @rcaneill in https://github.com/DocOtak/gsw-xarray/issues/1#issuecomment-1020935497

I can work on a minimal guide to add in the readme (we can move this to the doc when they are ready).

Closed by #8


Create a documentation site containing usage examples

We need a website for the project that contains detailed documentation and guides for usage for each component and hook.  Even a basic gitbook would do for a start.
wagmi is a good example that we can use as a reference. Shoutout to Rahat for suggesting this.

[ ] #252
[ ] Deploy Gitbook to Vercel
[ ] Migrate existing docs that we have in READMEs to the Gitbook
[ ] Write in-depth guides and examples

That's a great idea.
I'd like to write the in-depth guides and examples for web3-ui.

In light of the fact that Gitbook doesn't support dark mode, I'd like to propose that we build something custom for ourselves, because I think that'd be a good chance for us to teach some more advanced details of setting up a project with static content like this.
Happy to take the lead on this if that sounds good to yall. imo stack would be:

Nextjs
Chakra for styling
mdx for Markdown pages with embeddable React components
Shiki for highlighting

@with-heart I agree with you. Even I'm up for this task. ☝

@with-heart I think that project would be great from the educational POV. I think we should go ahead with it for that reason.
While that project gets done, I propose using Gitbook as a temporary solution so that we have something up. Does that sound good?


Cannot set v6 address to "IPFS API URL"

Describe the bug
I can't set "http://[::1]:5001" to IPFS API URL.
To Reproduce
Steps to reproduce the behavior:

Enter target string to textarea.
System said that "Can't construct address: Invalid URL"

Expected behavior
Textarea allows IPv6 address.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Windows 10
Browser: latest Brave
Version: 1.10.97 Chromium: 83.0.4103.116（Official Build） (64-bit)

Thank you for reporting this, I confirm this is a bug.

Error occurs inside of ipfs-http-client

This looks like a regression I believe we fixed it once in the past in https://github.com/ipfs-shipyard/ipfs-companion/issues/668
Perhaps problem will go away after we switch to the latest version – retry after finishing #811

If someone wants to help, then checking if latest ipfs-http-client can talk to http://[::1]:5001 and commenting here would be useful.

ipfs-http-client creates valid ipv6 URLs so I'll removed custom fixups in https://github.com/ipfs-shipyard/ipfs-companion/pull/931
go-ipfs does not recognize http://[::1]:5001 as localhost Origin and returns 403 Forbidden error:

I fixed that in https://github.com/ipfs/go-ipfs/pull/7731 but we need to wait for new go-ipfs release

This will ship in v2.16 but will require go-ipfs 0.8+ to be fully fixed.
Closing just for sake of clarity that nothing else is left to do in ipfs-companion.


Help - running brew cask style fails to build/install rubocop-cask native extensions

I recognize in advance that what I'm facing is almost certainly a local environment issue for me, but I've run out of options.  I've tried some local Ruby experts here, but no-one can work out why this does not work for me. I've read as much as I can about homebrew-cask around contributing a new Cask.  I've successfully created a new fork+branch to add a cask for PCP (see [1] below).
brew cask audit Casks/pcp.rb passes ok, which is good. However, brew cask style Casks/pcp.rb fails to install `rubocop-cask' gem:
[ homebrew-cask ](master)$ brew cask style Casks/pcp.rb
==> Installing or updating 'rubocop-cask' gem
Building native extensions.  This could take a while...
ERROR:  Error installing rubocop-cask:
	ERROR: Failed to build gem native extension.

    /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby mkrf_conf.rb

"/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby" -rubygems /Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/bin/rake RUBYARCHDIR=/Users/psmith/.gem/ruby/2.0.0/gems/rainbow-2.2.1/lib RUBYLIBDIR=/Users/psmith/.gem/ruby/2.0.0/gems/rainbow-2.2.1/lib
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: No such file or directory -- /Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/bin/rake (LoadError)

Gem files will remain installed in /Users/psmith/.gem/ruby/2.0.0/gems/rainbow-2.2.1 for inspection.
Results logged to /Users/psmith/.gem/ruby/2.0.0/gems/rainbow-2.2.1/ext/gem_make.out
Error: Failed to install/update the 'rubocop-cask' gem.

It appears that my underlying system Ruby isn't able to install these gems for some reason.  I do use rbenv but I'm pretty confident that Homebrew is not being influenced by rbenv at all.  I've tried setting/removing rbenv global|local|shell to more modern Ruby versions but I don't get any further.  It does appear to always refer back to the underlying mac OS System Ruby (which I believe is what you'd expect).
I'm not sure what has happened to my environment to pollute it, so if anyone has any pointers I would appreciate it.
I have captured my brew cask doctor state in this gist:  https://gist.github.com/tallpsmith/7a065a723895ae1a59d1a85af765f4ff

[1] - My new Cask (only 1 commit so far) - https://github.com/tallpsmith/homebrew-cask/commit/8bb88ddc1c191780f1c49b7fd2d2d4a453c6287c

The first thing I notice is that the first entry in your $PATH is /Users/psmith/.rbenv/shims - perhaps that has something to do with the error you are experiencing?

What about brew style does it work?
Keep in mind that, as you notice, this isn’t an issue with HB, so we may not waste too much time on it. We have extremely limited resources.

@vitorgalvao brew style fails with practically the same output:
==> Installing or updating 'rubocop' gem
Building native extensions.  This could take a while...
ERROR:  Error installing rubocop:
	ERROR: Failed to build gem native extension.

    /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby mkrf_conf.rb

"/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby" -rubygems /Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/bin/rake RUBYARCHDIR=/Users/psmith/.gem/ruby/2.0.0/gems/rainbow-2.2.1/lib RUBYLIBDIR=/Users/psmith/.gem/ruby/2.0.0/gems/rainbow-2.2.1/lib
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: No such file or directory -- /Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/bin/rake (LoadError)

Gem files will remain installed in /Users/psmith/.gem/ruby/2.0.0/gems/rainbow-2.2.1 for inspection.
Results logged to /Users/psmith/.gem/ruby/2.0.0/gems/rainbow-2.2.1/ext/gem_make.out
Error: Failed to install/update the 'rubocop' gem.```

:( I will try removing the `rbenv` path shims that @miccal mentioned above.

@miccal removing the rbenv shim PATH segment seems to have no effect either, still errors the same.  Additionally it looks like from the error message that the System Ruby is being used based on the path.
It feels like the System Ruby gem path hasn't got rake installed, but I can't even work out manually how to install that...

@tallpsmith OK, since brew style also fails it might be worth submissions this issue to homebrew.

some progress, I swear I tried this yesterday, but perhaps there was some combination of rbenv still going on (perhaps at the rbenv global level), but I have managed to manually install rake using the System ruby manually by:
sudo gem install rake
Perhaps dues to macOS System Integrity Protection (SIP) requiring sudo to install that in the System ruby area.
Now brew style works, but brew cask style fails with a different error.
==> Installing or updating 'rubocop-cask' gem
Fetching: rubocop-cask-0.10.6.gem (100%)
Successfully installed rubocop-cask-0.10.6
1 gem installed
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- public_suffix (LoadError)
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /Users/psmith/.gem/ruby/2.0.0/gems/rubocop-cask-0.10.6/lib/rubocop/cop/cask/homepage_matches_url.rb:2:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /Users/psmith/.gem/ruby/2.0.0/gems/rubocop-cask-0.10.6/lib/rubocop-cask.rb:15:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:144:in `require'
	from /Users/psmith/.gem/ruby/2.0.0/gems/rubocop-0.45.0/lib/rubocop/options.rb:56:in `block (2 levels) in define_options'
	from /Users/psmith/.gem/ruby/2.0.0/gems/rubocop-0.45.0/lib/rubocop/options.rb:163:in `block in option'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/optparse.rb:1364:in `call'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/optparse.rb:1364:in `block in parse_in_order'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/optparse.rb:1351:in `catch'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/optparse.rb:1351:in `parse_in_order'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/optparse.rb:1345:in `order!'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/optparse.rb:1437:in `permute!'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/optparse.rb:1459:in `parse!'
	from /Users/psmith/.gem/ruby/2.0.0/gems/rubocop-0.45.0/lib/rubocop/options.rb:19:in `parse'
	from /Users/psmith/.gem/ruby/2.0.0/gems/rubocop-0.45.0/lib/rubocop/cli.rb:23:in `run'
	from /Users/psmith/.gem/ruby/2.0.0/gems/rubocop-0.45.0/bin/rubocop:13:in `block in <top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
	from /Users/psmith/.gem/ruby/2.0.0/gems/rubocop-0.45.0/bin/rubocop:12:in `<top (required)>'
	from /Users/psmith/.gem/ruby/2.0.0/bin/rubocop:23:in `load'
	from /Users/psmith/.gem/ruby/2.0.0/bin/rubocop:23:in ````

I'll keep hacking now I've made some progress, appreciate the eyeballs guys.

ok, I think I've got it now.  I uninstalled a version of public_suffix from my System Ruby with sudo gem uninstall public_suffix rubocop-cask and then manually installed with sudo gem install public_suffix and now the style command works!
 homebrew-cask $ sudo gem install public_suffix
Password:
Fetching: public_suffix-2.0.5.gem (100%)
Successfully installed public_suffix-2.0.5
Parsing documentation for public_suffix-2.0.5
Installing ri documentation for public_suffix-2.0.5
1 gem installed
 homebrew-cask $ brew cask style Casks/pcp.rb
==> Installing or updating 'rubocop-cask' gem
Fetching: rubocop-cask-0.10.6.gem (100%)
Successfully installed rubocop-cask-0.10.6
1 gem installed
== Casks/pcp.rb ==
C: 12:  1: Extra blank line detected.
C: 13:  5: Annotation keywords like TODO should be all upper case, followed by a colon, and a space, then a note describing the problem.
C: 13:145: Trailing whitespace detected.
C: 14: 16: Space inside square brackets detected.
C: 14: 44: Space inside square brackets detected.
C: 15:  1: stanza groups should be separated by a single empty line
C: 15:  1: Trailing whitespace detected.
1 file inspected, 7 offenses detected
Error: style check failed

So, in summary for anyone else batting at home that runs into this:

Check your system Ruby - confirm rbenv is not affecting things with a rbenv global environment.
sudo gem uninstall rake public_suffix - just in case..
sudo gem install rake public_suffix
brew cask style - should now install rubocop-cask correctly and then you're in business.

hope that helps someone else one day... phew  Thanks for all those that took the time to read & help, appreciate it.

Glad you got it sorted @tallpsmith.


Inference error

Hi I have a error when inference. May you help check how to solve it? Thank you
I use the best model
Traceback (most recent call last):
File "predict.py", line 58, in
clf.load_model(filepath, input_dim=X_test.shape[1], output_dim=output_dim, n_gpu=n_gpu)
File "/home/DANet/abstract_model.py", line 223, in load_model
self.layer, self.virtual_batch_size = load_model['layer_num'], load_model['virtual_batch_size']
TypeError: 'DANet' object is not subscriptable
I use the checkpoint model:
Traceback (most recent call last):
File "predict.py", line 58, in
clf.load_model(filepath, input_dim=X_test.shape[1], output_dim=output_dim, n_gpu=n_gpu)
File "/home/gdu/DANet/abstract_model.py", line 223, in load_model
self.layer, self.virtual_batch_size = load_model['layer_num'], load_model['virtual_batch_size']
KeyError: 'layer_num'

It seems you didn't download the model weights.
You can find a DANet-32 weights for forest_cover_type here: https://github.com/WhatAShot/DANet/tree/main/weights
Ex: python predict.py -d forest -m [weight_path]

Hi I trained cardio model, and I download the model weights here: checkpoint.pth. Is it right?

Use best.pth for inferencing not checkpoint.pth
"checkpoint.pth" is only for resuming the training state.

Hi I use the best.pth, it has an error, may you help?
Traceback (most recent call last):
File "predict.py", line 58, in
clf.load_model(filepath, input_dim=X_test.shape[1], output_dim=output_dim, n_gpu=n_gpu)
File "/home/DANet/abstract_model.py", line 223, in load_model
print(load_model.keys)
File "/home/DANet/env37/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1178, in getattr
type(self).name, name))
AttributeError: 'DANet' object has no attribute 'keys'

Use best.pth for inferencing not checkpoint.pth "checkpoint.pth" is only for resuming the training state.

Hi I use best.pth, the same error as the beginning
Traceback (most recent call last):
File "predict.py", line 58, in
clf.load_model(filepath, input_dim=X_test.shape[1], output_dim=output_dim, n_gpu=n_gpu)
File "/home/DANet/abstract_model.py", line 223, in load_model
self.layer, self.virtual_batch_size = load_model['layer_num'], load_model['virtual_batch_size']
TypeError: 'DANet' object is not subscriptable

It seems abstract_model.py had some error when read the layer_num and virtual_batch_size?

We have fixed this bug. You can download the newest callback.py in "lib" for solving this problem.
Thank you for the report.

Thank you! That works now!


Add native driver extensions

Enables reading/writing using GeoJSON, GeoParquet, Shapefile and FlatGeobuf extensions. In the future also GeoArrow.
Requires doc update, and some iteration on the interface, like passing driver specific options.

Hmm, should these be extensions or direct dependencies?

This is not unlike how Rasters (@rafaqz) does it? IIRC Rasters even dropped ArchGDAL as a direct dep.

Hmm, would one load JuliaGeo.jl just to get all backends then?  That is probably not a bad solution, and still lets users pick and choose.

Can we just call it Geo.jl ?

Not sure if that's acceptable for registration.

Including Julia in a package name is against the rules

Fair point about Julia in the name. I assumed geo is too short, but let's try?

We can ask for an override on the short name, like CSV.jl


Escrow Bug

EthscriptionNotDeposited Error Handling: In the _validateTransferEthscription function, the EthscriptionNotDeposited error is thrown if the receivedBlockNumber is zero. Although this error is caught in the blocksRemainingUntilValidTransfer function, it may be more clear and efficient to handle the check directly within the _transferEthscription function.

Add a Reentrancy Guard: The contract does not include a reentrancy guard. Consider adding the ReentrancyGuard modifier or a custom reentrancy protection mechanism, depending on the complexity and interactions of the contract.

Market bugs: Transaction Ordering Dependence (TOD) / Front Running: The contract uses block.timestamp and other state changes based on timestamps. Keep in mind that using timestamps might be subject to vulnerabilities like TOD and front running.

To mitigate potential issues, consider using block numbers instead of timestamps or incorporating additional checks to prevent sensitive operations from being significantly impacted by small differences in timestamps.

Safe Transfer LIB errors bug:
Lack of Check for Transfer Success: In functions like safeTransferETH, safeTransferFrom, and safeTransfer, there's no explicit check for the success of the transfer. While it uses the call function, it doesn't handle the return value from the call to ensure that the transfer was successful. If the transfer fails, the function will continue to execute without reverting, potentially leading to unexpected behavior.

Thanks for this! Some responses below!

EthscriptionNotDeposited Error Handling: In the _validateTransferEthscription function, the EthscriptionNotDeposited error is thrown if the receivedBlockNumber is zero. Although this error is caught in the blocksRemainingUntilValidTransfer function, it may be more clear and efficient to handle the check directly within the _transferEthscription function.

We do this check directly in _validateTransferEthscription as well as blocksRemainingUntilValidTransfer for clarity, though this approach takes more gas. We could "hardcode" it in _transferEthscription, bypassing the validation function, but I think if someone is overriding the validation function they are "advanced enough" to include the necessary functionality or call super.

Market bugs: Transaction Ordering Dependence (TOD) / Front Running: The contract uses block.timestamp and other state changes based on timestamps. Keep in mind that using timestamps might be subject to vulnerabilities like TOD and front running.

We thought about this but we couldn't find a concrete exploit. If you can find one that would lead to loss of funds or ethscriptions that would definitely be eligible for the prize!
We could have used a nonce instead of a timestamp but we wanted this marketplace to be as easy to implement as possible.

Lack of Check for Transfer Success: In functions like safeTransferETH, safeTransferFrom, and safeTransfer, there's no explicit check for the success of the transfer. While it uses the call function, it doesn't handle the return value from the call to ensure that the transfer was successful. If the transfer fails, the function will continue to execute without reverting, potentially leading to unexpected behavior.

I think forceSafeTransferEth reverts on failure (https://github.com/Vectorized/solady/blob/main/src/utils/SafeTransferLib.sol#L80). In any case it should be pretty safe as it will not let the receiver gas grief the sender.

The contract's claim function, which is used to claim funds, has a simple implementation without any access controls or front-running prevention mechanisms. If an attacker observes a transaction that is about to claim funds, they could quickly send a new transaction with a higher gas price to claim the funds before the original transaction is confirmed.
The withdrawEthscription function allows a user to withdraw an ethscription, but it doesn't have any access controls or front-running prevention mechanisms. An attacker who observes a transaction with a potential withdrawal could front-run by submitting a transaction to withdraw the ethscription before the original transaction is confirmed.
Similarly, the _onPotentialEthscriptionDeposit function doesn't have any specific mechanisms to prevent front-running. If an attacker observes a transaction with a potential ethscription deposit, they could front-run by submitting a transaction to deposit the ethscription before the original transaction is confirmed.
SafeTransferLib Library:
The library provides safe transfer functions for ETH and ERC20 tokens, but it doesn't have built-in mechanisms to prevent front-running. If an attacker observes a transaction that is about to execute a token transfer using this library, they could quickly send a new transaction with a higher gas price to perform a similar token transfer before the original transaction is confirmed.

implement the nonce-based transaction order verification in the claim function, you'll need to modify the function signature, add nonce tracking, and implement the nonce verification logic.
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract YourContract {
// ...
mapping(address => uint256) public nonces;

// ...

// Function to claim funds with nonce-based verification
function claim(uint256 nonce) public {
    require(nonce == nonces[msg.sender] + 1, "Invalid nonce"); // Check if the nonce is the next expected value
    nonces[msg.sender] = nonce; // Update the nonce for the user

    // Add the rest of the claim logic here
    // ...

    // Emit an event or perform any other necessary actions
    // ...
}

// ...

}

To fix the problem with the withdrawEthscription function, you should implement access controls and front-running prevention mechanisms. Below are the steps to address these issues:
Access Controls:
Add an access control modifier to restrict the execution of the withdrawEthscription function to only authorized users. You can use the OpenZeppelin Access Control library or implement a custom modifier.
Front-Running Prevention:
To prevent front-running, you can use a nonce-based verification mechanism similar to the previous solution. Implement a nonce tracking system to ensure that only the original transaction can be successfully processed, and subsequent transactions with the same nonce will be rejected.
Here's how you can modify the withdrawEthscription function to address these issues:
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract EthscriptionsEscrower {
// ...
mapping(address => uint256) public nonces;

modifier onlyAuthorized() {
    // Add access control logic here to restrict this function to authorized addresses
    require(msg.sender == owner || /* add your access control condition */, "Not authorized");
    _;
}

function withdrawEthscription(bytes32 ethscriptionId, uint256 nonce) public onlyAuthorized {
    require(nonce == nonces[msg.sender] + 1, "Invalid nonce"); // Check if the nonce is the next expected value
    nonces[msg.sender] = nonce; // Update the nonce for the user

    // Add the rest of the withdrawEthscription logic here
    // ...

    // Emit an event or perform any other necessary actions
    // ...
}

// ...

}

To fix the problem with the _onPotentialEthscriptionDeposit function and prevent front-running, you can use a nonce-based verification mechanism similar to the previous solutions. Implement a nonce tracking system to ensure that only the original transaction can be successfully processed, and subsequent transactions with the same nonce will be rejected.
Here's how you can modify the _onPotentialEthscriptionDeposit function to address this issue:
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract EthscriptionsEscrower {
// ...
mapping(address => uint256) public nonces;

function _onPotentialEthscriptionDeposit(address previousOwner, bytes calldata userCalldata, uint256 nonce) internal virtual {
    require(nonce == nonces[previousOwner] + 1, "Invalid nonce"); // Check if the nonce is the next expected value
    nonces[previousOwner] = nonce; // Update the nonce for the user

    if (userCalldata.length != 32) revert InvalidEthscriptionLength();

    bytes32 potentialEthscriptionId = abi.decode(userCalldata, (bytes32));

    if (userEthscriptionPossiblyStored(previousOwner, potentialEthscriptionId)) {
        revert EthscriptionAlreadyReceivedFromSender();
    }

    EthscriptionsEscrowerStorage.s().ethscriptionReceivedOnBlockNumber[previousOwner][potentialEthscriptionId] = block.number;

    emit PotentialEthscriptionDeposited(previousOwner, potentialEthscriptionId);
}

// ...

}

To fix the problem of potential front-running in the SafeTransferLib library, you can implement a nonce-based verification mechanism similar to the previous solutions. By adding a nonce to each transfer function, you can ensure that only the original transaction can be successfully executed, and any subsequent transactions with the same nonce will be rejected.
Here's how you can modify the SafeTransferLib library to address this issue:
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
library SafeTransferLib {
// ...
mapping(address => uint256) public nonces;

function safeTransferETH(address to, uint256 amount, uint256 nonce) internal {
    require(nonce == nonces[msg.sender] + 1, "Invalid nonce"); // Check if the nonce is the next expected value
    nonces[msg.sender] = nonce; // Update the nonce for the sender

    // Existing implementation of safeTransferETH...
}

function safeTransferFrom(address token, address from, address to, uint256 amount, uint256 nonce) internal {
    require(nonce == nonces[from] + 1, "Invalid nonce"); // Check if the nonce is the next expected value
    nonces[from] = nonce; // Update the nonce for the sender

    // Existing implementation of safeTransferFrom...
}

function safeTransfer(address token, address to, uint256 amount, uint256 nonce) internal {
    require(nonce == nonces[msg.sender] + 1, "Invalid nonce"); // Check if the nonce is the next expected value
    nonces[msg.sender] = nonce; // Update the nonce for the sender

    // Existing implementation of safeTransfer...
}

function safeApprove(address token, address to, uint256 amount, uint256 nonce) internal {
    require(nonce == nonces[msg.sender] + 1, "Invalid nonce"); // Check if the nonce is the next expected value
    nonces[msg.sender] = nonce; // Update the nonce for the sender

    // Existing implementation of safeApprove...
}

// ...

}

Gooseverse.eth

Thanks to all who participated! After reviewing all the submissions and testing the marketplace for more than a month, we have concluded that no one was eligible for a prize. However we do appreciate all submissions!


Regarding 3.2 Preview2 - Please read

BlazorStyled 2.1.0 was released but I have not been able to update the docs site due to: https://github.com/dotnet/aspnetcore/issues/19796

There is a work for this issue now: https://github.com/dotnet/aspnetcore/issues/19796#issuecomment-598269333 - I will publish the docs tonight

Fixed


GetVortoValue Doesn't Recurse (v1.7.1)

Following an upgrade from a patched version of Vorto v1.6.0 (modified as per initial fix in PR #100) to Vorto 1.7.1, calling GetVortoValue with the recurse parameter set true doesn't recurse. The patch applied by PR #100 handles the null value issue but it doesn't include the option to recurse up the tree. The initially submitted version of the PR allows for recursion.
Sugest change to current patch:
if (prop == null)
{
    // PR #100 - Prevent generation of NullReferenceException: allow return of defaultValue or traversal up the tree if prop is null
    //return defaultValue;
    return recursive && content.Parent != null? content.Parent.DoGetVortoValue<T>(propertyAlias, cultureName, recursive, defaultValue) : defaultValue;
}

I'm seeing the same behavior in 1.7.1

If someone could submit a PR, that would be appreciated. Currently away so can't address myself right now. Would make a great first time PR for someone.

The original version of PR #100 as submitted on 21 Nov 2017 and tidied up by Lee Kelleher on 27 Nov 2017 fixed the issue. The tweaked fix merged on 17 Feb 2018 actually removed the recursive option.


Is there a quick way to link Beta announcement blog to the Toolpad marketing page?

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
We'll link Toolpad home page in Hacker news, Reddit, Indie hacker posts. It would be a good idea if users could be shown a direct link to the blog post from the home page.
Examples 🌈
No response
Motivation 🔦
No response

Can potentially do this:

It might make this section a bit too much, can we do an announcement bar at the top? Something like done here: https://docusaurus.io/
If not, then let's do what you suggested. But I feel linking the blog is important.

It might make this section a bit too much, can we do an announcement bar at the top? Something like done here: https://docusaurus.io/, https://www.superblocks.com/ If not, then let's do what you suggested. But I feel linking the blog is important.

This would be hard without making changes to the core repo

This would be hard without making changes to the core repo

Ok, let's drop this one.
There is another option; add a Read more > link next to the Beta chip.  Something like: https://interval.com/
If it doesn't look good, let's do what you suggested.

Something like this?

Looks good!


[issue-272] - Pagination Improvement

[issue-272] - Pagination Improvement
Fixes issue #272

on a first page "go first page" should be disabled
plus "go first" "go last" should be a bit different arrows, look at the design

Works great 🎉 the only issue i found is that the number input is cut-off for larger numbers:

yeah, it should show full number always
ideally expanding width while typing

Works great 🎉 the only issue i found is that the number input is cut-off for larger numbers:

Fixed

Works great 🎉 the only issue i found is that the number input is cut-off for larger numbers:

yeah, it should show full number always
ideally expanding width while typing

Fixed

on a first page "go first page" should be disabled
plus "go first" "go last" should be a bit different arrows, look at the design

Fixed

@DeeJayElly Hello! Please see improvements we need for this feature :

Input field should accept Numbers Only. Currently you can enter whatever symbol you want.

2.Input Field should be limited.

3.While new block is added the Input Field is also Updated.

4.Search for the Entered page should be started after Focus is moved Outside of the Input Field and Clicked. Currently Search can be initiated by Hitting Enter.
5.Empty Field "Enter" needs to be restricted.

6.After Hitting enter with Valid Required Page Page shows latest Page and then switched to the Entered one.

@DeeJayElly Hello! Please see improvements we need for this feature :

Input field should accept Numbers Only. Currently you can enter whatever symbol you want.

2.Input Field should be limited.

3.While new block is added the Input Field is also Updated.

4.Search for the Entered page should be started after Focus is moved Outside of the Input Field and Clicked. Currently Search can be initiated by Hitting Enter.
5.Empty Field "Enter" needs to be restricted.

6.After Hitting enter with Valid Required Page Page shows latest Page and then switched to the Entered one.

All of the stated issues are now fixed. @DmitriiGaico

One thing I'd improve is to center this text inside input if it's now fixed width

Hm … im still seeing the current page input cutoff:

@DominikGuzei Here how i see it

One thing I'd improve is to center this text inside input if it's now fixed width

If i do that, there will be movements between the edges of the input field and the actual text. I did that on purpose just so i am sure there is no cut offs inside of input text.

One thing I'd improve is to center this text inside input if it's now fixed width

OK added

Hm … im still seeing the current page input cutoff:

Realistically saying how many pages we could get throughout time?

@DeeJayElly i would at least anticipate 6 digits, to be safe for a while - the number of pages correlates with the perPage param which is constraint to a minimum of 5 per page i think

@DeeJayElly @a-rukin @DmitriiGaico i fixed the remaining issue with the paging input.
Please re-test 🙏
The input should work like this now:

Only accepts digits
Submit on "ENTER" key
Dynamically changes size depending on the number of digits (minimum of 1)
Restricts number of digits that you can enter based on the total pages

@DominikGuzei hmm... I'm a bit confused
first - aligning
second - when I click arrow keys, input is not updated 🤔

@DominikGuzei hmm... I'm a bit confused
first - aligning (in Safari see screenshot above, in Chrome - ok)
second - when I click arrow keys, input is not updated 🤔

@DeeJayElly Symbols were changed just fine on this level :
https://github.com/input-output-hk/cardano-explorer-app/pull/280#issuecomment-604704067

@a-rukin please check again, these issues should be fixed 👍


Generalize interface of InfluxDBPublisher to support more use cases (test-utils)

Generalize interface of InfluxDBPublisher in test-utils to support more use cases (in preparation for #22238).

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[x] Update CHANGES.md with noteworthy changes.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @lgajowy
R: @kkucharc

@kileys

Any of the people that you tagged seems to make sense but if they don't respond I can take a look once I'm back from vacation in two weeks.
Also, I understand that we could customize this but there seem to be tools that already do this for JMH like this gradle plugin. Should we adopt one of these existing solutions or have you excluded them for some reason?

Thanks for having a look @lukecwik! Have a great time off :)
I've had a look at that plugin before. The reason why I'd be a bit reluctant to use the plugin is the lack of configuration. It uses the simple name of a benchmark class as measurement name. We might risk collision that way, especially across modules if we keep using a single db. But of course, we could start using multiple dbs with a db per JMH module.
Another small point is that all JMH params + the test name are treated as fields (instead of tags) making these just one series per benchmark class where, in fact, each combination is - at least logically - a separate series of data. Though, that's certainly more cosmetic and probably done to keep series cardinality low. Also, from a query perspective it won't be very important as data points will be very infrequent.

Also, wondering a bit ... shouldn't test-utils just use the InfluxDB java client for simplicity?

Run Spark ValidatesRunner

Run Spark StructuredStreaming ValidatesRunner

Run Spark Runner Nexmark Tests

Thanks a lot @aromanenko-dev and @lukecwik, I'm on PTO for the remainder of this month. I'll address as soon as I'm back.

@aromanenko-dev I've addressed the comments and pushed some changes to unblock your PR. Please merge when tests are green.
Ticket is https://github.com/apache/beam/issues/22238 as mentioned in the description.

@mosche Many thanks for make it merged!


Correction for raw affiliation Department of Surgery, Macerata Hospital, 62100 Macerata, Italy

Correction needed for raw affiliation Department of Surgery, Macerata Hospital, 62100 Macerata, Italy
raw_affiliation_name: Department of Surgery, Macerata Hospital, 62100 Macerata, Italy
new_rors: 019jb9m51
previous_rors: 0001fmy77
works_examples: W4323313333
contact: eaf157cb7968697c0d0ab7a0a3ac3ad1:ccbfa3ad4e694cd3eb809dd00dbf4339 @ sirisacademic.com

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


Batch import for CTCL measure data

Added ctcl_uuid and status field to BatchRowActionMeasure table, ctcl_uuid filed to ContestMeasure and state_code field to electoral_district table
Added support for BatchRowActionMeasure processing, moved create_batch_row_actions from model to controllers
Added retrieve_electoral_district in electoral_district
changed batch_action_list view from POST to GET
updated import_export_batches template to handle BatchRowActionMeasure data

👍


Add correct solutions to question 1

I rewrote the C solution to question 1 and wrote an alternate solution in Java. The two solutions produce identical output, and I believe they are correct. This should close #2
I also added a .gitignore that was useful to me.

{ 1, 1, 1, 2, 2, 2, 2, 3, 4, 5, 6, 7, 8, 8, 10, 10, 11, 12, 16 }
should give (not nec. in your format):
Number: index
-------------
1: 0
2: 3
3: 7
4: 8
5: 9
6: 10
7: 11
8: 12
9: -1 (not found)
10: 14
11: 16
12: 17
13: -1
14: -1
15: -1
16: 18


Fixing CORPSE typo

Just a small fix for a typo that's been around since the beginning of time

Hopefully, we can get rid of these strings later.

@charmasaur @cfarrend I just merged this before I had approval from anybody from the support group (which I think are the code owners). I suspect this isn't something I should be allowed to do?

Indeed, I wouldn't expect that to be allowed either. I guess this is the same thing we saw for the schemas in api2. Hopefully Chris can shed some light on it.

https://docs.github.com/en/github/administering-a-repository/enabling-required-reviews-for-pull-requests suggests it's just a setting we can configure. IMO it should be turned on.

Yep, it's a setting we can turn on and apply to our standards. I think it should be fine to apply across the board, I will just have a look if it conflicts with auto commits such as this one


Connect Ray client with TLS using Nginx Ingress on Kind cluster (#729)

Why are these changes needed?
Instructions to connect Ray client in a Kind cluster via Nginx Ingress controller
Related issue number
Closes #729
Checks

[x] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[x] Manual tests
[ ] This PR is not tested :(

Tested with:
Ubuntu 22.04.1 LTS
kind v0.18.0 go1.20.2 linux/amd64
Setup:
# Create Kind cluster fist w/ extra arg for enabling ingress
cat <<EOF | kind create cluster --config=-
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
  kubeadmConfigPatches:
  - |
    kind: InitConfiguration
    nodeRegistration:
      kubeletExtraArgs:
        node-labels: "ingress-ready=true"
  extraPortMappings:
  - containerPort: 80
    hostPort: 80
    protocol: TCP
  - containerPort: 443
    hostPort: 443
    protocol: TCP
EOF
# Deploy Ingress and add extra arg to enable ssl passthrough
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml
kubectl patch deploy --type json --patch '[{"op":"add","path": "/spec/template/spec/containers/0/args/-","value":"--enable-ssl-passthrough"}]' ingress-nginx-controller -n ingress-nginx
#Verify log has Starting TLS proxy for SSL Passthrough
kubectl logs deploy/ingress-nginx-controller -n ingress-nginx
# Deploy KubeRay
export KUBERAY_VERSION=v0.5.0
kubectl create -k "github.com/ray-project/kuberay/ray-operator/config/default?ref=${KUBERAY_VERSION}&timeout=90s"
# Create tls cluster
kubectl apply -f https://raw.githubusercontent.com/ray-project/kuberay/master/ray-operator/config/samples/ray-cluster.tls.yaml
# Create ingress:
cat << EOF | kubectl apply -f -
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: rayclient-ingress
  annotations:
    kubernetes.io/ingress.class: nginx
    nginx.ingress.kubernetes.io/ssl-passthrough: "true"
    nginx.ingress.kubernetes.io/backend-protocol: "GRPC"
spec:
  rules:
    - host: "localhost"
      http:
        paths:
        - path: "/"
          pathType: Prefix
          backend:
            service:
              name: raycluster-tls-head-svc
              port:
                number: 10001
EOF
# Download ca key pair and create cert signing request (CSR)
kubectl get secret ca-tls -o template='{{index .data "ca.key"}}'|base64 -d > ./ca.key
kubectl get secret ca-tls -o template='{{index .data "ca.crt"}}'|base64 -d > ./ca.crt
openssl req -nodes -newkey rsa:2048 -keyout ./tls.key -out ./tls.csr -subj '/CN=local'
cat <<EOF >./cert.conf
authorityKeyIdentifier=keyid,issuer
basicConstraints=CA:FALSE
subjectAltName = @alt_names
[alt_names]
DNS.1 = localhost
IP.1 = <IP_ADDRESS>
EOF
# Sign and create cert
openssl x509 -req -CA ./ca.crt -CAkey ./ca.key -in ./tls.csr -out ./tls.crt -days 365 -CAcreateserial -extfile ./cert.conf

# Connect Ray client in the cluster using the tls keypair and the ca cert
python -c '
import os
import ray
os.environ["RAY_USE_TLS"] = "1"
os.environ["RAY_TLS_SERVER_CERT"] = os.path.join("./", "tls.crt")
os.environ["RAY_TLS_SERVER_KEY"] = os.path.join("./", "tls.key")
os.environ["RAY_TLS_CA_CERT"] = os.path.join("./", "ca.crt")
ray.init(address="ray://localhost", logging_level="DEBUG")'

Verify output similar to:
2023-04-25 16:33:32,452	INFO client_builder.py:253 -- Passing the following kwargs to ray.init() on the server: logging_level
2023-04-25 16:33:32,460	DEBUG worker.py:378 -- client gRPC channel state change: ChannelConnectivity.IDLE
2023-04-25 16:33:32,664	DEBUG worker.py:378 -- client gRPC channel state change: ChannelConnectivity.CONNECTING
2023-04-25 16:33:32,671	DEBUG worker.py:378 -- client gRPC channel state change: ChannelConnectivity.READY

Hi @kevin85421 Let me know if the instruction work for you.

Hi @kevin85421 Let me know if the instruction work for you.

I did not manually try these instructions, but the structure looks good to me. Some suggestions:

Add a link to the operator installation document (example) instead of providing instructions in the document. In addition, I recommend using Helm for the installation method in the document since different versions of Kustomize require different installation commands for the KubeRay operator. Using Helm can help avoid issues related to Kustomize versions for users.
Describe the details of Kubernetes ingress (e.g. annotations)
Add "Warning: Ray client has some known limitations and is not actively maintained." to make users know the limitations (example).

@kevin85421 Please take a look.

cc @jasoonn can you take a look at this PR?

LGTM. I have tried the instructions on Debian GNU/Linux 11 with kind version 0.17.0. A small suggestion is to remove the specific versions of the environments in the doc's requirements.

@jasoonn I removed the versions from the requirement. Let me know if this is what you looking for.

By the way, could you check the format of this doc on GitHub pages? You can follow this instruction to deploy the doc webpage locally: https://github.com/ray-project/kuberay/blob/master/docs/development/development.md#deploying-documentation-locally

By the way, could you check the format of this doc on GitHub pages? You can follow this instruction to deploy the doc webpage locally: https://github.com/ray-project/kuberay/blob/master/docs/development/development.md#deploying-documentation-locally

Some URLs return 404 - Not found on my local GitHub page. For example:
[document](../../helm-chart/kuberay-operator/README.md)
[rayclient-ingress](../../ray-operator/config/samples/ingress-rayclient-tls.yaml)

cc @Yicheng-Lu-llll could you review this PR? If you can reproduce this PR, I will merge it.


Checkbox checked tick not show

Hi,
This theme very very good.
But i have a problem.
Checkbox is selected or not selected i don't know because tick not showing.
The following examples of pictures in the same way in the other checkboxes...

Ubuntu 16.04
Regards

How did you install the theme?

with ppa install (https://github.com/anmoljagetia/Flatabulous#2-using-the-noobslab-ppa)
and i set the gnome-tweak-tool

Try to install it manually.

ok i am try.

Try to get the master branch, I should probably update the PPA and also change the installation instructions.

I have the same problem， how to solve it

I was intall it manually, but the problem is still there

@Defman21 Sure man!
I was just waiting around, to get all the bugs, before I dive in, and mark a new release, but I think, we are not getting anymore, so I wrote to NoobsLab to update their PPA, and I also got the current master on the new release, for 16.04.

Hi,
last update solves the problem.

Thank you.


Added edit links to project search results

Edit links are added when the project has a contact with the same email address of the current user.
Currently the edit link doesn't do anything - Need integration to tie to the edit form.

I have some hanging concurrent changes, so I’m merging this before its completely ready to go.


Feature: send file in message

See https://linear.app/qiyi/project/add-support-of-sending-file-c12d5a2d8efc


What are the limits of scheduled messages?

I'm looking for information on how far into the future we can schedule messages on a Service Bus queue but cannot seem to find these types of limits

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

ID: 034f7b39-4f6b-87c4-5dfa-a09ea0235b6e
Version Independent ID: 6987bbec-c4e9-573f-89c5-aa316af045f9
Content: Azure Service Bus message sequencing and timestamps - Azure Service Bus
Content Source: articles/service-bus-messaging/message-sequencing.md
Service: service-bus-messaging
GitHub Login: @axisc
Microsoft Alias: aschhab

Hello @brandonh-msft, Thank you for your feedback! We will review and update as appropriate.

Hi @brandonh - As per our messaging architect @clemensv, there is no limit.

Hello @spelluru, Thank you so much for the response! This is very helpful!
@brandonh-msft, I will now proceed to close this issue out. Please tag me in your reply if there are any additional concerns. Thank you!


script for updating rust version

#5691

One problem I see is that lines in created file end with to \n\r and I'm not sure why.  Does roc always treat "\n" as \n\r or is it something in basic-cli?

Thanks @ziutech, I'll take a look :)

I've looked at this a bit but got caught up with the basic-cli 0.5.0 release. I'll try to finish my review on monday.

The code looks good @ziutech :) I've played around with a bunch of things to try to create the perfect roc script :p
I've also upgraded the code to basic-cli 0.5.
I've left some suggestions for optional further improvements.
Feel free to continue implementing the next steps  if you'd like.
We can continue working in this PR, let me know if you'd no longer be available to work on this, then we can merge in what we have.

I'll happily continue writing this script :)
About finding the latest nightly I was thinking if we could do a binary search between OLD_DATE and current date? Or is it better to just search linearly?

Good question! I think the best compromise would be to clone the rust-overlay repo: git clone --depth 1 https://github.com/oxalica/rust-overlay.git (to prevent lots of http requests) and then linearly go over the files. The speedup from a binary search is probably not worth the added complexity.

@Anton-4 Where should I clone the rust-overlay to? I was thinking of adding it to .gitignore and then just pulling the changes, instead of cloning it everytime.

Just the current directory is fine. There's no need to try to get only the changes, with '-d 1' it will already be very fast. I would remove the repo's directory as part of the script once you have the necessary date.


Can we show time in milliseconds also?

We could certainly add the config option for this. I'll add it to the queue.


fix guide-ru rest-resources

Some changes - text is compared to code at example below

Q
A

Is bugfix?
yes/no

New feature?
no

Breaks BC?
no

Is it an issue in Russian version only or English is wrong as well?

@samdark I think this problem is only a translation problem.
"
The array keys are the field names, and the array values are the corresponding field definitions which can be either property/attribute names or anonymous functions returning the corresponding field values. In the special case when a field name is the same as its defining attribute name, you can omit the array key.
"
It seems to me that it directly write that the "key" is omitted in the context of the "array key"

Merged. Thank you!


Internationalization

Preliminary work to make AppCore localizable:

Substituted APCLocalizedString macro for NSLocalizedString, to point to APCAppCore.strings in AppCore's framework bundle instead of Localizable.strings in the app's main bundle; patterned after how current master branch of ResearchKit does it
Created a build target to generate the APCAppCore.strings file from the APCLocalizedString macro calls
Put the .strings file in the right location to be found and included in output .xliff file by Editor > Export for Localization menu command
Created stub localizations for French and German

Still to do (for next PR):

Fix the 25 or so locations where YML used NSLocalizedString incorrectly (with string variables instead of literals)

Nice to have, but not critical:

Use identifiers rather than actual English text as keys for APCLocalizedString calls (BIG job, maybe someday if we get to it before AppCore is obsolete)

looks good.


Gh 1063 additional operations graph hook

Codecov Report

Merging #1074 into develop will increase coverage by 0.03%.
The diff coverage is 73.68%.

@@              Coverage Diff              @@
##             develop    #1074      +/-   ##
=============================================
+ Coverage      62.48%   62.52%   +0.03%
  Complexity      1253     1253
=============================================
  Files            563      564       +1
  Lines          16482    16538      +56
  Branches        1906     1919      +13
=============================================
+ Hits           10299    10340      +41
- Misses          5389     5396       +7
- Partials         794      802       +8

Impacted Files
Coverage Δ
Complexity Δ

...a/uk/gov/gchq/gaffer/operation/OperationChain.java
70.9% <100%> (ø)
8 <1> (ø)
:arrow_down:

...v/gchq/gaffer/graph/hook/AddOperationsToChain.java
73.21% <73.21%> (ø)
0 <0> (?)

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 abcdf33...29071fa. Read the comment docs.

I'm going to close this for now until we have fixed the authorisations and named operations issues.


[5.3] Attaching file to array element in test does not set $test = true

Laravel Version: 5.3.29
PHP Version: 7.0.13
Database Driver & Version: mysql, 5.7

Description:
I am writing tests for files upload. I am using attach() method to send files with request.
Steps To Reproduce:
When I attach a single file to non-array element:
$this->attach($file, 'file');
the resulting UploadedFile in controller has parameter $test = true, which is desirable:
Illuminate\Http\UploadedFile Object (     [test:Symfony\Component\HttpFoundation\File\UploadedFile:private] => 1     [originalName:Symfony\Component\HttpFoundation\File\UploadedFile:private] => valid-image.jpg     [mimeType:Symfony\Component\HttpFoundation\File\UploadedFile:private] => application/octet-stream     [size:Symfony\Component\HttpFoundation\File\UploadedFile:private] => 87150     [error:Symfony\Component\HttpFoundation\File\UploadedFile:private] => 0     [pathName:SplFileInfo:private] => /tmp/b7286b1a286aeb066e727f846cbec091b8e2a057.jpg     [fileName:SplFileInfo:private] => b7286b1a286aeb066e727f846cbec091b8e2a057.jpg )
In case when I want to send multiple files in request using array files[] element:
$this->attach([$file], 'files[]');
the resulting element in array: $request->file('files') has $test = false:
Illuminate\Http\UploadedFile Object (     [test:Symfony\Component\HttpFoundation\File\UploadedFile:private] => 0     [originalName:Symfony\Component\HttpFoundation\File\UploadedFile:private] => valid-image.jpg     [mimeType:Symfony\Component\HttpFoundation\File\UploadedFile:private] => application/octet-stream     [size:Symfony\Component\HttpFoundation\File\UploadedFile:private] => 87150     [error:Symfony\Component\HttpFoundation\File\UploadedFile:private] => 0     [pathName:SplFileInfo:private] => /tmp/0bea2e8e6eb51d983fa7a03a25be60fbb17ccc56.jpg     [fileName:SplFileInfo:private] => 0bea2e8e6eb51d983fa7a03a25be60fbb17ccc56.jpg )
Even if I prepare UploadedFile object and use it in test with $test set to true:
$uploadedFile = new \Illuminate\Http\UploadedFile($file, $fileName, 'image/jpeg', null, null, true);
the result contains $test = false:
Illuminate\Http\UploadedFile Object (     [test:Symfony\Component\HttpFoundation\File\UploadedFile:private] => 0     [originalName:Symfony\Component\HttpFoundation\File\UploadedFile:private] => valid-image.jpg     [mimeType:Symfony\Component\HttpFoundation\File\UploadedFile:private] => application/octet-stream     [size:Symfony\Component\HttpFoundation\File\UploadedFile:private] => 87150     [error:Symfony\Component\HttpFoundation\File\UploadedFile:private] => 0     [pathName:SplFileInfo:private] => /tmp/9932754c2951fe092590567d43d41bac38ec7d47.jpg     [fileName:SplFileInfo:private] => 9932754c2951fe092590567d43d41bac38ec7d47.jpg )
Also, the Content-Type is being changed to application/octet-stream.
Am I doing the something wrong? How to properly test multiple files upload?

Probably best to ask on the forums please. :)


Update to 1.5.2

@jmontleon , thanks for catching those missed changes.  I think I have them all now updated.

@jmontleon , thanks for catching those missed changes. I think I have them all now updated.

Thanks for the quick changes. We should probably get the playbook copied over to do this stuff so we don't make mistakes. I'll work on it tomorrow. Should just be a matter of removing the OLM tasks.

@jmontleon , ok, I think I got all the mig-operator -> mig-legacy-operator updated.


Is there a way to re-use simulators between invocations of bluepill? And would that be faster than creating them?

I noticed Bluepill's reuse-simulators setting, the simulators are still deleted after bluepill is done. Is possible to leave Bluepill simulators around between invocations?
Rather than deleting them, could you just reset them? (reset content and settings)
Would this be any faster than deleting and creating them anew as bluepill currently does?

close old issues, feel free to reopen


Will crash On ios11.4.1

xcode 10.1
ios 11.4.1

Only if the system is 11.4.1 on the phone, other systems are good
I don't know what went wrong, I hope the author can tell me how to fix it
thankyou

What is the exact error/crash you're seeing? Have you tried the provided example with the same environment?
I don't think the error is in the lines you pasted, but if the example app doesn't crash on iOS 11.4.1, can you provide a minified example that produces that crash? I'll gladly to look into this, just right now I don't have enough Internet to download the old version of the simulator.

Thank you for your reply. This is a problem in the case of real machine
Only when the map is moved will it crash

If I comment out the code, it won't crash
It's going to look something like this

I've changed a couple of different ways of writing the same thing, but on a phone with ios 11.4.1 real phone system it crashes
I don't know why this is happening and hopefully it can be fixed
thankyou

Sorry to bother you, but I think I've solved this problem. It's a bug in the Apple system. Thank you for answering my questions.


Enhance About Us page to highlight main features of the website

@akshitagupta15june The existing About Us section is just a paragraph and doesn't highlight the different features of the website. Hence I would like to redesign the website and make it more user-friendly and attractive. I will also make the section responsive. Here is one of the samples.

I will adhere to the color scheme of the project and add the necessary features.
Please assign this issue to me

I can contribute to the issue with a clean and efficient code. Kindly accept my issue under GSSOC'24.

Hey @akshitagupta15june
Can this issue be assigned to me for gssoc '24
Regards,
V Meenakshi Iyer


2FA not working

Session file does not exist yet - Logging in.
Enter Instagram password for _____:
Enter 2FA verification code: XXXXXX
2FA error: This code is no longer valid. Please request a new one.
Enter 2FA verification code:

This happens again and again, I even tried setting up a 2FA app, but this did not work (I read the issue and you guys dont support it)
instaloader --version
4.7.4

Any help would be appreciated, thank you!

facing same issue +1

Thanks for reporting.

Anyone find an issue for this? Been happening for a few weeks.

Same issue here

I have the same issue.

No point spamming, just leave a 👍 on my original post, I'm sure the team are working on it as you can see

Thanks for reporting.

@aandergr is there any update on this? 16+ people having this issue

We will track all updates related to this issue here, I recommend to use the subscribe or watch feature of github to get informed about updates.
Until this is fixed, the workaround described in https://instaloader.github.io/troubleshooting.html#login-error can be used.

We will track all updates related to this issue here, I recommend to use the subscribe or watch feature of github to get informed about updates.
Until this is fixed, the workaround described in https://instaloader.github.io/troubleshooting.html#login-error can be used.

I have the same issue, but in Android using Termux, .py script cannot be used if phone is not rooted (I figured out this after trying to use -c parameter and get cookies from /data/data/org.mozilla.firefox/files/mozilla/xxxxxxxx.default/ as mentioned here)

Don't work for me either...

Same here.

Same issue here. Tried both cli (--login) and code versions; same error in both cases.
    loader = instaloader.Instaloader()
    try:
        loader.login(username, password)
    except TwoFactorAuthRequiredException:
        two_factor_code = input("Enter 2FA Code: ")
        loader.two_factor_login(two_factor_code)

instaloader.exceptions.BadCredentialsException: 2FA error: This code is no longer valid. Please request a new one.

instaloader --version - 4.8.4
I'm using an authenticator app. I've also tried disabling it to trigger the the SMS version, but that doesn't work either.

Having the same issue. The codes are working on other places like the Instagram app.

@aandergr Take a look at this: gh:niuware/instpector

+1 on this issue:
2FA error: This code is no longer valid. Please request a new one.

Having this issue with version 4.9.5
Also affected by issue #92
I'm not using Firefox, I'm using Brave browser, so the workaround that uses Firefox session cookies won't work for me

Same thing happened to me but thanks to Blackhathacker111 who helped me get recovered my lost account ,message him on telegram his telegram username is https://t.me/Blackhathacker11

The workaround does not work with firefox containers either. Had to start a whole new profile, log in there, export with 615... script which also wouldn't just run from git-cloned directory, had to create a venv to pip install the instaloader lib. This is really cumbersome and I see no excuse for at least integrating that script into main app.

Tested today, 2FA still not working in 4.11 standalone app.
"2FA error: This code is no longer valid. Please request a new one."
Tried with like 5 codes already, tried current, tried previous, even after some time but no luck.
It's indeed cumbersome to deal with firefox and all this stuff.

I'm having the same issue as the previous comment:
"instaloader.exceptions.BadCredentialsException: 2FA error: This code is no longer valid. Please request a new one.
"

Same here. Version 4.11. I get  the 2FA code via text, enter it instantly, but it won't take.

still no workarounds?

Same here, I'm having this issue with version 4.13.1. Any updates? :(

I do not have this problem. I have used code from Google Authenticator

From web version it happens to me even via Google Authenticator or with reserve codes. UP

I have tested now via cli and it does not work 2FA error: This code is no longer valid. Please request a new one.


Chromium v83 - Keychain popup

I am getting the following pop everytime chromium is started. This error didn't occur in v81.

I get the same warning. I usually click "Always Allow" so the new version has permanent access – but as I build the binaries (for sharing) I might be more likely to trust them.
At one point I moved the signing in build.sh before the packaging, can't remember if I got the keychain warning in that case.
I've uploaded another release for 83.0.4103.116-1.2 where the binary was signed before packing, maybe you could try that first to see if it also leads to a keychain popup?

Tried the updated version and I’m still getting the same pop up.
Also I got the network connection pop up on first launch. Not able to reproduce after subsequent launches.

Thanks for testing the second version.
We're (currently) not using any official developer account to sign the binaries or disk image, that's why Gatekeeper and other macOS security measures cannot verify the "authenticity" of new releases.
Missing notarisation may give additional warnings…
I would argue that programs that you've compiled from source deserve the highest trust (as long as you trust your compiler 😉 ).
Any kind of anti virus/malware can never operate on that level; although it would be nice to have a formal prove to cite (there should be one)
If you trust the binaries provided by third parties you can give them access to your keychain (and click "always allow" for each new major release)
Alternatively, if you have the resources you can compile the binary yourself – the instructions are quite thorough. You will still need to manually give them access to your keychain though (except if you have an official developer account and sign them).

Closing because question looks answered. Signing is discussed in https://github.com/Eloston/ungoogled-chromium/issues/240.


⚠ Fortnite has degraded performance

In 21aaada, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1502 ms

Resolved: Fortnite performance has improved in f6c488b.


Do not require the id arg for certificate-authority if there is only one CA to choose from

It feels extraneous to have to run om certificate-authorities to get the CA's ID if there's only one. This changes that behavior, but preserves existing behavior in all other cases

Merged! will be released in om 6.0


Fix: use platform specific Pointer sizes

The current implementation uses UInt64 for pointer allocation sizes, but UInt32 for operating on pointer sizes (memcpy, memmove, memset) despite using the 64 bit LLVM intrinsics; and was illogical: if we allocate a large section of memory, we must be able to zero and copy/move it, whereas 32bit platforms should deal with UInt32, the maximum possible value, not larger ones.
This patch proposes to constraint to a platform specific size only (i.e. LibC::SizeT) in order to always use UInt32 on 32 bit platforms, and UInt64 on 64 bit platforms.
We cannot clamp sizes to Int32::MAX, because some allocations (e.g. Array(Int32).new(Int32::MAX)) can be larger than allowed.
Alternatively we could disallow such allocations, thus allowing to clamp the allocation sizes? I mean, that's 2 million entries; the example array above with T=Int32 would be 8GB; with T=Int32|Int64 that's 32GB... Yet, since it could end up being an issue with external C programs, I (reluctantly) admit we should allow a platform specific sizes.
This patch also fixes the use of 64bit variants of LLVM intrinsics on AArch64 (memcpy, memmove, memset).
Fixes #4589

Still, why not expose LibC::SizeT?
struct Pointer
   alias UIntPtr = LibC::SizeT # used for allocation size
   alias IntPtr = LibC::SSizeT # used for pointer arithmetic
   # note: looks like there is no need in SSizeT/PtrDiffT/IntPtrT distinction like in C,
   # cause Crystal is supported only on platforms where they are equal
end
struct Int
   def to_uptr
      Pointer::UIntPtr.new(self)
   end
   def to_iptr
      Pointer::IntPtr.new(self)
   end
end

We could put these types under Crystal::System since they're platform specific. Not sure if we want them instead of using SizeT though.

No, pointers and pointer arithmetic are different use cases.
First, we already have Pointer type. So we need only SizeT to manipulate sizes, and OffsetT to manipulate offsets.
OffsetT is always signed because may be negative.
SizeT is unsigned by design.

Pointer#address have to return some integer, and best name for is Pointer::UIntPtr.
There could be issue on 32bit platform when allocated array is on the 2GB border: ie array start is below
border, and array end is above. It breaks end-to-start comparison with pointer address if address is signed.
Also there is PowerPC platform with full 64bit pointers (in contrast to 48bit on x86_64). Although I'm not convenient with how different OS allocates memory on PowerPC.
So Pointer#address have to be unsigned. And then it matches SizeT (signed). And expected name for is Pointer::UIntPtr.
Then signed variant is expected to be named Pointer::IntPtr, imho.
Note, names could be shorter: Pointer::Uint and Pointer::Int. But I think, it is a bit uglier. I could be mistaken, though.

Pointer::Address and Pointer::Diff?

I like Pointer::Diff.
But Pointer::Address serves both address and allocation amount.
On the other hand, Pointer::Diff could serve allocation amount well, if allocation of >= 2GB on 32bit platform will be forbidden. And then Diff is a diff of total allocated memory :-)
With Pointer::IntPtr and Pointer::UIntPtr methods Int#to_iptr and Int#to_uptr will have clear meaning.
But I could agree that this methods are not strictly necessary.
@ysbaddaden , what do you think about?

No.

Again: Crystal isn't C nor Rust and doesn't need the numerous C types.

No, it is not.
But since it is used (and not C nor Raft) to implement itself and its standard library, it have to have all convenient facilities for low-level.

I should refrain from touching such internals. This is broken.

Now, this was a weird PR 😕

@ysbaddaden I don't really understand why you closed this.

AFAIS Simple update of OffT to LongLong to support 64bit offset in files require a lot of changes in stdlib, and so on.
It should be a major move of Crystal to 64it.

@akzhan OffT is libc dependent and has nothing to do with this PR.
@RX14 compiler intrinsics seem to have constraints on pointer address and allocation size handlings, and that goes beyond my knowledge. Only the to_u32 calls in pointer.cr should be changed to be platform specific (maybe).


Make Resolving API version 0.0.0 show all script names of the generation. Instead of just one.

Make Resolving API version 0.0.0 show all script names of the generation. Instead of just one.
**I reported here that it shows "Resolving API version 0.0.0" on the older SHVDN version:
https://github.com/crosire/scripthookvdotnet/issues/1032?fbclid=IwAR0Gx0tXPwjkGBnwOnlVxQukMQap8ivfQdBLDDisladIRS_TdaIHC3f8nGg**
I have now used the latest version of SHVDN and I can see it now displays it like this:
Resolving API version 0.0.0 + script name.
But if we have more than one script saying Resolving API version 0.0.0 it will only display the first name instead of all of them.
e.g. RealParamedics.dll + SittingMod.dll + WorkingHotdogVendors.dll + Gym.dll
Instead of showing in the console that it is:
Resolving API version 0.0.0 for e.g. RealParamedics.dll + SittingMod.dll + WorkingHotdogVendors.dll + Gym.dll
I will only show one of them, eg RealParamedics.dll.
After removing RealParamedics.dll and restarting the game, it will display another script with this text again.
Is it possible to make the text with the names of all scripts with the text Resolving API version 0.0.0 displayed at once and for the first time automatically in the console and provide all the names of the scripts it refers to instead of just one at a time?
Screen in game:

Screen scripts catalog:

I hope you'll be happy when the next version is released.

Now you can have the first version (v3.5.1) that doesn't have this issue. But don't get me wrong. I released v3.5.1 because I forgot to update assembly versions of APIs. The change I made for this issue is nice to have, but not urgent unlike script compatibility problems.


CTHUB - Data Upload Error and Warning Notification BACKEND

Title:
Data Upload Error and Warning Notification
Description:
When uploading data, a pop-up will display the number of errors and warnings. All errors must be fixed before proceeding with the upload, while warnings are optional and can be reviewed by the user to decide whether to proceed. Both errors and warnings will be listed, showing specific column and row issues. If only warnings are present, the user can view the list and choose whether to continue with the upload.
Wireframe:
[Insert Wireframe Link Here]https://www.figma.com/design/K7gNHRnlYuG27w8XGVquY5/Warnings%2FErrors?node-id=0-1&t=ahNSzQ6AP3ezAoZi-1
[Insert Prototype Link Here]https://www.figma.com/proto/K7gNHRnlYuG27w8XGVquY5/Warnings%2FErrors?node-id=1-66&t=haXC8FQ7dCXd8Kcs-1&scaling=scale-down-width&content-scaling=fixed&page-id=0%3A1&starting-point-node-id=1%3A66
Purpose and benefit to user:
This feature guarantees data integrity by requiring users to address all errors before uploading, reducing potential issues with data accuracy and data analytics. The option to review warnings provides flexibility, allowing users to determine whether the information is needed or not..
Acceptance Criteria:
Given I am a user uploading a spreadsheet with errors/warnings, the backend response contains the total errors/warnings counts and all the errors/warnings broken down by column
{Column: Name,
Error Type: “x not formatted correctly ”,
Expected Format: “213-1234-1231”,
Rows: [1,2,3],
Severity: Error , Warning
}

I wanted to share a few observations from the recent test, along with some suggestions for improvement. The work overall is excellent, and these are just a few adjustments to consider:

The exclamation mark icon in the circle (or the icon displayed in the pop-up window and main error and warning blocks) should be properly formatted as an exclamation mark.
The error and warning blocks should use “Errors” and “Warnings” in plural form.
When there are multiple errors in a single column, each Error Name should be preceded by a number (e.g., (1), (2)).
The errors are listed in the correct sequence (Error name, Expected value, Rows with error) but the description isn’t entirely accurate.
The descriptions themselves need to be revised. I have provided a link to the correct descriptions for each error, including the maximum number of errors allowed per column (e.g., if a table can have no more than 2 errors, then no more than 2 errors should appear).
https://www.figma.com/design/K7gNHRnlYuG27w8XGVquY5/Warnings%2FErrors?node-id=99-614&t=I8wrzyrxl8l4AKeu-1

I hope these suggestions are helpful. The work so far is impressive, and with these minor tweaks, it will be even better!

I have implemented the majority of these fixes. #1-3 are done; but I think addressed #4 is going to take more work than it looks like on the surface. I think this is something that should be made it's own ticket because it will likely require sending new specific data structure to the frontend for certain errors.

Another card was created to address number 4.


repo init error - WindowsError: [Error 2] The system cannot find the file specified

I'm trying to create a simple proof-of-concept configuration on my Windows 10 system to ensure things are working correctly.  (I was able to successfully create a similar setup on an Oracle Linux 7.2 system, but I need this to work for a project that is Windows-based.)  I'm using the following repo/git versions:
C:\Users\danielre\AppData\Local\Temp\git\repo>repo --ver
repo version v0.4.20
(from https://github.com/esrlabs/git-repo)
repo launcher version 1.25
(from C:\repo\repo)
git version 2.6.4.windows.1
Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:19:22) [MSC v.1500 32 bit (Intel)]
C:\Users\danielre\AppData\Local\Temp\git\repo>
When I try to run "repo init", I receive the following error:
C:\Users\danielre\AppData\Local\Temp\git\repo>set REPO_TRACE=1
C:\Users\danielre\AppData\Local\Temp\git\repo>
C:\Users\danielre\AppData\Local\Temp\git\repo>repo init -u file://C:\Users\danielre\AppData\Local\Temp\git\remote\manifest.git
: git config --file C:\Users\danielre/.gitconfig --null --list 1>| 2>|
redirecting to cat
Traceback (most recent call last):
File "C:\Users\danielre\AppData\Local\Temp\git\repo.repo\repo/main.py", line 538, in
_Main(sys.argv[1:])
File "C:\Users\danielre\AppData\Local\Temp\git\repo.repo\repo/main.py", line 512, in _Main
result = repo._Run(argv) or 0
File "C:\Users\danielre\AppData\Local\Temp\git\repo.repo\repo/main.py", line 181, in _Run
portable.NoPager(cmd)
File "C:\Users\danielre\AppData\Local\Temp\git\repo.repo\repo\portable.py", line 277, in NoPager
RunWindowsShell(cmd)
File "C:\Users\danielre\AppData\Local\Temp\git\repo.repo\repo\portable.py", line 281, in RunWindowsShell
redirect_all(executable)
File "C:\Users\danielre\AppData\Local\Temp\git\repo.repo\repo\portable.py", line 288, in redirect_all
p = subprocess.Popen([executable], stdin=subprocess.PIPE, stdout=old_sysout, stderr=old_syserr)
File "C:\Python27\lib\subprocess.py", line 711, in init
errread, errwrite)
File "C:\Python27\lib\subprocess.py", line 959, in _execute_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified
C:\Users\danielre\AppData\Local\Temp\git\repo>
I'm not well versed in Python, but looking at the code, it appears to be trying to invoke a command prompt.  I've tried from a standard command prompt, one started "as administrator", and from Git BASH, but it doesn't work   (With the Git BASH shell, it gives a different error, but I'm not too concerned about it working correctly within this shell specifically -> fatal: 'C:/Program Files/Git/AppData/Local/Temp/git/remote/manifest.git' does not appear to be a git repository)
Any suggestions on what might be causing the error reported from the Windows command prompts?

Hey @danregan thanks for the interest and report. Does cat work in your terminal? You see the log info "redirecting to cat" and, looking up the failing line of the project (portable.py:288) there is an issue in calling the external program.
So if cat is not available, repo will not work here. You can try repo --no-pager init -u .. to verify this (this should omit the usage of cat).
Thanks :).

Hmm…  I didn't notice any mention of "cat" in the output, but I've attempted with the "--no-pager" option, and this hasn't changed the result.
C:\Users\danielre\AppData\Local\Temp\git\repo>repo init -u file://C:\Users\danielre\AppData\Local\Temp\git\remote\manifest.git %temp%\repo.no_opt 2>&1
Traceback (most recent call last):
File "C:\Users\danielre\AppData\Local\Temp\git\repo.repo\repo/main.py", line 538, in
_Main(sys.argv[1:])
File "C:\Users\danielre\AppData\Local\Temp\git\repo.repo\repo/main.py", line 512, in _Main
result = repo._Run(argv) or 0
File "C:\Users\danielre\AppData\Local\Temp\git\repo.repo\repo/main.py", line 181, in _Run
portable.NoPager(cmd)
File "C:\Users\danielre\AppData\Local\Temp\git\repo.repo\repo\portable.py", line 277, in NoPager
RunWindowsShell(cmd)
File "C:\Users\danielre\AppData\Local\Temp\git\repo.repo\repo\portable.py", line 281, in RunWindowsShell
redirect_all(executable)
File "C:\Users\danielre\AppData\Local\Temp\git\repo.repo\repo\portable.py", line 288, in redirect_all
p = subprocess.Popen([executable], stdin=subprocess.PIPE, stdout=old_sysout, stderr=old_syserr)
File "C:\Python27\lib\subprocess.py", line 711, in init
errread, errwrite)
File "C:\Python27\lib\subprocess.py", line 959, in _execute_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified
C:\Users\danielre\AppData\Local\Temp\git\repo>
In fact, the results are identical to what I receive without that option.
C:\Users\danielre\AppData\Local\Temp\git\repo>repo init -u file://C:\Users\danielre\AppData\Local\Temp\git\remote\manifest.git > %temp%\repo.no_opt 2>&1
C:\Users\danielre\AppData\Local\Temp\git\repo>repo --no-pager init -u file://C:\Users\danielre\AppData\Local\Temp\git\remote\manifest.git > %temp%\repo.no_pager 2>&1
C:\Users\danielre\AppData\Local\Temp\git\repo>
C:\Users\danielre\AppData\Local\Temp\git\repo>git diff %temp%\repo.no_opt %temp%\repo.no_pager
C:\Users\danielre\AppData\Local\Temp\git\repo>
I appreciate any other suggestions you may have.  Thanks!
Dan
From: Matthias Putz<EMAIL_ADDRESS>Sent: Saturday, December 17, 2016 4:22 AM
To: esrlabs/git-repo
Cc: Regan, Daniel (Dan); Mention
Subject: Re: [esrlabs/git-repo] repo init error - WindowsError: [Error 2] The system cannot find the file specified (#53)
Hey @danreganhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_danregan&d=DQMFaQ&c=BFpWQw8bsuKpl1SgiZH64Q&r=C2DqbUJN-9JycAZ3aw_gb6LzO3niFDaWFt36-12xmI8&m=xgUefHID-NoC61pZo9EZuRLh46Uh_woL5OOIfU6F4QQ&s=Q7BEp-J7dIyYs_cwjNulj0nTf2ZRG85XKDpiDefwHMI&e= thanks for the interest and report. Does cat work in your terminal? You see the log info "redirecting to cat" and, looking up the failing line of the project (portable.py:288) there is an issue in calling the external program.
So if cat is not available, repo will not work here. You can try repo --no-pager init -u .. to verify this (this should omit the usage of cat).
Thanks :).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_esrlabs_git-2Drepo_issues_53-23issuecomment-2D267752670&d=DQMFaQ&c=BFpWQw8bsuKpl1SgiZH64Q&r=C2DqbUJN-9JycAZ3aw_gb6LzO3niFDaWFt36-12xmI8&m=xgUefHID-NoC61pZo9EZuRLh46Uh_woL5OOIfU6F4QQ&s=N6F9NpAb7kiIJv08qC5kvaqMkO_ZKVDuSg2jTD2SUAc&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AXc76fH0yViik8GRggN1UCtNcQw-2DN0oLks5rI6nNgaJpZM4LORZX&d=DQMFaQ&c=BFpWQw8bsuKpl1SgiZH64Q&r=C2DqbUJN-9JycAZ3aw_gb6LzO3niFDaWFt36-12xmI8&m=xgUefHID-NoC61pZo9EZuRLh46Uh_woL5OOIfU6F4QQ&s=UaxOCUmQZkGNbgocRmIoOxcwkJCvz9PjiwCeJte0Bzw&e=.

You should use the MinGW bundled with git.
C:\Program Files (x86)\Git\bin is not enough on path.
You have to add the C:\Program Files (x86)\Git\usr\bin as well to have the "cat" and other tools.

For me, cat built in Git doesn't work.
cat from GnuWin32 works.
less is also required, and Gnuwin32 has it too.

This is my issues:
[new tag] v0.4.9 -> v0.4.9
Traceback (most recent call last):
File "C:\Users\dpc\Desktop\winRepo.repo\repo/main.py", line 538, in
_Main(sys.argv[1:])

Looking in the code, I see that in stable version (1.25) --no-pager option doesn't mean that cat is not used. It just changes the way it is run.
This is not true for master, there --no-pager really turns off cat.
Maybe it is a bug. But why not just install cat and be happy?

I meet the same issue, anyone has solution?

@archman86, looks like original Google version supports Windows now. No need to use this fork.


fixes

could you specify what is fixed?

@minmingzhu need to have a clearer description for what the PR do.


error

[PermissionsEx] The updater could not find any files for the project id 31279

Not important considering there isn't really a need for more releases of 1.x.


Your email address<EMAIL_ADDRESS>was not found

I had just sent an email to<EMAIL_ADDRESS>however it seems not work
Address not found
--
Your message wasn't delivered to<EMAIL_ADDRESS>because the address couldn't be found, or is unable to receive mail.

The response was:The email account that you tried to reach does not exist. Please try double-checking the recipient's email address for typos or unnecessary spaces. Learn more at https://support.google.com/mail/?p=NoSuchUser r20-v6sor96536itb.73 - gsmtp

So I just post my email at here ;)

Hi there,
I'm a machine learning newbie with 20 years of programming experience. I love ML and this year I'll go for my Ph.D. study for ChatBot(NLU, ChatUI) in Beijing.
I'm willing to help as a collaborator because I love your idea of making one stop for all types of machine learning problems state of the art result, it helps me much.
Please feel free to let me know what I could do for you at any time.
My GitHub: https://github.com/zixia
My LinkedIn: https://linkedin.com/in/zixia
My WeChat: 918999
Have a nice day!
Huan LI
<EMAIL_ADDRESS>

yes, I've received a similar email. Please let us know an alternative email ID.

I think the original author becomes inactive now. If you are still interested in this repo, please feel free to pull request. I will try to accept the request as soon as I am available.

If you have a strong interest to build a better SOTA tracking repo, please contact me at ydt115870 at gmail dot com. I have plans to build a better system to help the community keep track of SOTA and the historical trend of the technique development.


chore(#9): updated link for edge and edited one faq answer

Summary
This PR updates the link for Edge since it is being supported and close #9

Approved