Build from sources: An error occurred during the fetch of repository 'local_config_cuda'

System information

OS Platform and Distribution: Linux Ubuntu 18.04
TensorFlow installed from: source
TensorFlow version: 3.0.0
Python version: 3.6.9
Bazel version (if compiling from source): 2.1.0
GCC/Compiler version (if compiling from source):7.5.0
CUDA/cuDNN version: 10.2
GPU model and memory: NVIDIA QUADRO K600

Problem
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd1 in position 70: ordinal not in range(128)
Sequence of commands
bazel build  //tensorflow/tools/pip_package:build_pip_packageDD
logs
ERROR: An error occurred during the fetch of repository 'local_config_cuda':
Traceback (most recent call last):
File "/home/andrey/tensorflow/third_party/gpus/cuda_configure.bzl", line 1213
_create_local_cuda_repository(<1 more arguments>)
File "/home/andrey/tensorflow/third_party/gpus/cuda_configure.bzl", line 935, in _create_local_cuda_repository
_find_libs(repository_ctx, <2 more arguments>)
File "/home/andrey/tensorflow/third_party/gpus/cuda_configure.bzl", line 578, in _find_libs
_check_cuda_libs(repository_ctx, <2 more arguments>)
File "/home/andrey/tensorflow/third_party/gpus/cuda_configure.bzl", line 480, in _check_cuda_libs
execute(repository_ctx, <1 more arguments>)
File "/home/andrey/tensorflow/third_party/remote_config/common.bzl", line 208, in execute
fail(<1 more arguments>)
Repository command failed
Traceback (most recent call last):
File "script.py", line 88, in
main()
File "script.py", line 77, in main
check_cuda_lib(path, check_soname=args[i + 1] == "True")
File "script.py", line 62, in check_cuda_lib
output = subprocess.check_output([objdump, "-p", path]).decode("ascii")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd1 in position 70: ordinal not in range(128)
ERROR: Skipping '//tensorflow/tools/pip_package:build_pip_package': no such package '@local_config_cuda//cuda': Traceback (most recent call last):
File "/home/andrey/tensorflow/third_party/gpus/cuda_configure.bzl", line 1213
_create_local_cuda_repository(<1 more arguments>)
File "/home/andrey/tensorflow/third_party/gpus/cuda_configure.bzl", line 935, in _create_local_cuda_repository
_find_libs(repository_ctx, <2 more arguments>)
File "/home/andrey/tensorflow/third_party/gpus/cuda_configure.bzl", line 578, in _find_libs
_check_cuda_libs(repository_ctx, <2 more arguments>)
File "/home/andrey/tensorflow/third_party/gpus/cuda_configure.bzl", line 480, in _check_cuda_libs
execute(repository_ctx, <1 more arguments>)
File "/home/andrey/tensorflow/third_party/remote_config/common.bzl", line 208, in execute
fail(<1 more arguments>)
Repository command failed
Traceback (most recent call last):
File "script.py", line 88, in
main()
File "script.py", line 77, in main
check_cuda_lib(path, check_soname=args[i + 1] == "True")
File "script.py", line 62, in check_cuda_lib
output = subprocess.check_output([objdump, "-p", path]).decode("ascii")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd1 in position 70: ordinal not in range(128)
WARNING: Target pattern parsing failed.
ERROR: no such package '@local_config_cuda//cuda': Traceback (most recent call last):
File "/home/andrey/tensorflow/third_party/gpus/cuda_configure.bzl", line 1213
_create_local_cuda_repository(<1 more arguments>)
File "/home/andrey/tensorflow/third_party/gpus/cuda_configure.bzl", line 935, in _create_local_cuda_repository
_find_libs(repository_ctx, <2 more arguments>)
File "/home/andrey/tensorflow/third_party/gpus/cuda_configure.bzl", line 578, in _find_libs
_check_cuda_libs(repository_ctx, <2 more arguments>)
File "/home/andrey/tensorflow/third_party/gpus/cuda_configure.bzl", line 480, in _check_cuda_libs
execute(repository_ctx, <1 more arguments>)
File "/home/andrey/tensorflow/third_party/remote_config/common.bzl", line 208, in execute
fail(<1 more arguments>)
Repository command failed
Traceback (most recent call last):
File "script.py", line 88, in
main()
File "script.py", line 77, in main
check_cuda_lib(path, check_soname=args[i + 1] == "True")
File "script.py", line 62, in check_cuda_lib
output = subprocess.check_output([objdump, "-p", path]).decode("ascii")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd1 in position 70: ordinal not in range(128)
INFO: Elapsed time: 9.036s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
currently loading: tensorflow/tools/pip_package

@AndreyM0
please refer to these issues with similar error and let us know if it helps:
#37748 #37995 #34552 #33879 #36132 #32363 #34146

This small patch fix the issue on my side: #38940

@AndreyM0
please update as per above comment

This small patch work.
But when I compile
bazel build //tensorflow/tools/pip_package:build_pip_package --jobs=1
...
[14,447 / 15,968] Comiling .../core/kernels/pad_op_gpu.cu.cc; 10s local
computer freezes

File "script.py", line 88, in

all not work for me


Emoji Reaction createRef -> useRef

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/16384
PROPOSAL: https://github.com/Expensify/App/issues/16384#issuecomment-1486638813
Tests

Click on the "+ reaction" option while hovering on any report
Verify that the emoji picker is correctly positioned.
Navigate to the "+ reaction" option using tab and press enter
Verify that the emoji picker is correctly positioned.

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

Offline tests

Click on the "+ reaction" option while hovering on any report
Verify that the emoji picker is correctly positioned.
Navigate to the "+ reaction" option using tab and press enter
Verify that the emoji picker is correctly positioned.

QA Steps

Click on the "+ reaction" option while hovering on any report
Verify that the emoji picker is correctly positioned.
Navigate to the "+ reaction" option using tab and press enter
Verify that the emoji picker is correctly positioned.

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

PR Author Checklist

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

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

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

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

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

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

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

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

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

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

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

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

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

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

[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

https://user-images.githubusercontent.com/77237602/228570464-07d9ea24-a893-4521-bca9-70beb19805dc.mov

Mobile Web - Chrome

https://user-images.githubusercontent.com/77237602/228581625-23b81576-914f-42e2-9b36-046374a7e8aa.mov

Mobile Web - Safari

https://user-images.githubusercontent.com/77237602/228572355-7907da25-b5bd-4fc6-8069-f1cd5cfab9ea.mov

Desktop

https://user-images.githubusercontent.com/77237602/228572983-e8de0dd9-86e6-42e0-a9f6-c0c69488237b.mov

iOS

https://user-images.githubusercontent.com/77237602/228574636-50417d71-4c24-4166-b4a2-776bd81816af.mov

Android

https://user-images.githubusercontent.com/77237602/228579772-c811a20a-1922-441e-91d7-1f6461ec620d.mov

@madmax330 @sobitneupane One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

Would you also like me to use the useRef hook in AddReactionBubble.js? Or is this enough?
PS. Could we please try for a 50% bonus if possible? I tried to make the PR as quickly as possible...
cc @sobitneupane @madmax330

Would you also like me to use the useRef hook in AddReactionBubble.js? Or is this enough?

Is there any issue on AddReactionBubble.js as of now?
Anyway, I think it's good idea to use useRef hook in AddReactionBubble.js as well. Please make sure to update Tests as well to incorporate update in AddReactionBubble.js.

@sobitneupane Updated AddReactionBubble to use useRef and also updated the test for that 🚀

🚀 Deployed to production by https://github.com/thienlnam in version: 1.2.93-4 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


[Question] DoubleTapped event fires for all pointer presses except right mouse button

Not sure if this is by design, but it's not really intuitive that DoubleTapped fires for all clicks except right mouse button ones (i.e. it can occur on left, middle, xbutton 1, xbutton 2, ... mouse button clicks).
The check in question is here: https://github.com/AvaloniaUI/Avalonia/blob/5167cd9d53dc59434b7ad9892473c31e0be90ac4/src/Avalonia.Input/Gestures.cs#L82.
I believe it should only trigger for left button clicks.

@jp2masa yep i think you're right!


[Android only] TextField: Keyboard does not reopen on tap after an initial dismissal

Describe the bug
Tapping on a TextField, then dismissing the keyboard, then tapping again does not bring the keyboard back up.
https://github.com/JetBrains/compose-multiplatform/assets/2018851/eabc9e8e-d230-4b96-ad04-5b941ac7ffa6
Affected platforms
Select one of the platforms below:

Android

NOTE: I'm aware instructions for Android are to file with Google, but I'm only seeing this issue inside of a Kotlin multiplatfrom codebase, and not Android more generally.
Versions

Kotlin version*: 1.9.21
Compose Multiplatform version*: 1.5.11
OS version(s)* (required for Desktop and iOS issues): Android 11 & 13
OS architecture (x86 or arm64): arm64

To Reproduce
Steps and/or the code snippet to reproduce the behavior:

Tap on a TextField for the first time
Dismiss the system keyboard so that the textfield is still focused
Tap on the TextField again

Expected behavior
The keyboard should reopen so more text can be input. However, it does not.

UPDATE: I have filed on the Google issue tracker as well: https://issuetracker.google.com/issues/315206572

Hi. A Kotlin multiplatform on android is just a plain android app, so you should be able to reproduce it in a regular Android project...

I am also having the same issue

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Not able to install modules in OSX

Hi
I am unable to install modules following your guides on osx. I always get the error that 'pip' is a package and cannot be directly executed)
See following 2 examples:
kivy -m pip install pillow
/Applications/Kivy.app/Contents/Resources/python: Error while finding spec for 'pip.main' (<class 'ImportError'>: cannot import name 'HTTPSHandler'); 'pip' is a package and cannot be directly executed
kivy -m pip install pyserial
/Applications/Kivy.app/Contents/Resources/python: Error while finding spec for 'pip.main' (<class 'ImportError'>: cannot import name 'HTTPSHandler'); 'pip' is a package and cannot be directly executed

Which package? python2-1.9.1 or python3-1.9.1 ?

python3

what's the date of the package you downloaded?

I downloaded it the day before yesterday

The package was updated for fixing this very issue yesterday, can you try downloading again and test?

ok I did that, deleted all kivy related files. Downloaded again, installed it but still the same problem

Can you check the file creation date of the file you download? Is it 1st Jan or something later?

Date of creation is 1.01.

ok, I see that the file on the site did not get synced, it's still the old one. Can you test with this https://drive.google.com/open?id=0B1WO07-OL50_dm9JTEZDLUN4M2s

still having the same error
(btw. just checked, with python2 package this issue does not exist)

@Takage the package on kivy.org has been updated, too I just re-checked downloaded the package my self and pip install is working, could you make sure you are getting the package with 6/7 Jan creation date ? following MD5 2e26b539bc910023c21e832261e8ddfd

yes cration date is 6. jan

@Takage can you come on irc? #kivy on irc.freenode.net. ping me qua-non on irc

@akshayaurora just downloaded it again. Yet date is 06.01 20:33
kivy -m pip install pyserial
/Applications/Kivy.app/Contents/Resources/python: Error while finding spec for 'pip.main' (<class 'ImportError'>: cannot import name 'HTTPSHandler'); 'pip' is a package and cannot be directly executed

@Takage  I have updated the packages try them now https://drive.google.com/open?id=0B1WO07-OL50_cDRTVlMycGpueFk

@Takage any update?

Not yet tried sorry had a lot of other things on my plate will try soon though

New Package has been updated on the download page fixing this issue.

Sorry if I'm stupid, but the same error still appears. Installed kivy yesterday via Homebrew.
$ kivy -m pip install pandas
/Applications/Kivy.app/Contents/Resources/python: Error while finding spec for 'pip.__main__' (<class 'ImportError'>: cannot import name 'HTTPSHandler'); 'pip' is a package and cannot be directly executed

Some spec:
Python 3.5.0 (default, Jun 11 2017, 01:10:38)
[GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-8<IP_ADDRESS>)] on darwin

Thank you for any help.

Installed kivy yesterday via Homebrew.

The error message is referring to /Applications/Kivy.app which I don't think is a homebrew install, did you also install the dmg package?
As far as I know, the kivy command should not be used with a homebrew install, you probably want just pip install pandas (may have to replace pip, it must refer to the pip of the correct python interpreter, ie the one you used to build kivy)

Yes, you're right, I used the .dmg installer. I tried Homebrew first, but I didn't manage to get things running.
I think I want to use the kivy command because that seems to work...

So could you explain why kivy -m pip install pandas gives the error:
/Applications/Kivy.app/Contents/Resources/python:
    Error while finding spec for 'pip.__main__'
        (<class 'ImportError'>: cannot import name 'HTTPSHandler');
    'pip' is a package and cannot be directly executed

and how I can fix that on my side?
Do I have to activate the venv in /Applications/Kivy.app/Contents/Resources, call pip and deactivate it again?

I guess we missed the https package in the venv.
Do I have to activate the venv in /Applications/Kivy.app/Contents/Resources,

call pip and deactivate it again?

That should work.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/kivy/kivy/issues/3902#issuecomment-386551634, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAwGN1oTpGxA0hMwu0xCYluenE3LMGrzks5tvCHlgaJpZM4HBMSN
.

(venv) mycomputer:venv snowbunting$ pip
Traceback (most recent call last):
  File "/Applications/Kivy.app/Contents/Resources/venv/bin/pip", line 3, in <module>
    import os; activate_this=os.path.join(os.path.dirname(os.path.realpath(__file__)), 'activate_this.py'); exec(compile(open(activate_this).read(), activate_this, 'exec'), dict(__file__=activate_this)); del os, activate_this
IOError: [Errno 2] No such file or directory: '/Applications/Kivy.app/Contents/Resources/venv/bin/activate_this.py'

I also get the same for the pip3 and pip3.5 in this venv.
When I try to take the activate_this.py from virtualenv as proposed on StackOverflow, I get
(venv) mycomputer:venv snowbunting$ pip3
Traceback (most recent call last):
  File "/Applications/Kivy.app/Contents/Resources/venv/bin/pip3", line 10, in <module>
    from pip import main
ImportError: No module named pip

Sorry for being annoying but I don't think I will be able to figure that out by myself... :( How did other users manage to do it? Would it work with an older version?
PS: Also installing kivy via Homebrew & pip  as described in the Installation on OSX docs does not work, but I guess that would belong into a seperate issue, wouldn't it? (/private/var/folders/mw/qx482f1n3nq5m1vcy3qyj8sm0000gn/T/pip-install-ei_mh6xy/kivy/kivy/core/audio/audio_sdl2.c:1742:63: error: use of undeclared identifier 'MIX_INIT_MODPLUG'; did you mean 'MIX_INIT_MOD'?)

@schneeammer I can answer you that last part at least (I don't use OSX).
error: use of undeclared identifier 'MIX_INIT_MODPLUG'; did you mean 'MIX_INIT_MOD'?
This happens on newer systems because of a minor incompatibility with a new release of SDL2_mixer. The solution, if you want to go that route, is to install from the GitHub repository instead of v1.10.0 because the problem has already been fixed (#5459), but there hasn't been a new release yet.

@dolang Thank you! That works and solves the import problem for me.

the original problem still exists:
trying to install a module wie the kivy.app (1.10.0, python 3, OSX )  fails with the errors mentioned in the first comment.
$ kivy31 -m pip install pyserial
/Applications/Kivy.app/Contents/Resources/python: Error while finding spec for 'pip.main' (<class 'ImportError'>: cannot import name 'HTTPSHandler'); 'pip' is a package and cannot be directly executed
even a simple
$ kivy -m pip --version
fails with the same error
[experiments: i read somewhere that it might be connected to an old pip version, so i tried upgrading my pip inside the kivy app to the newest version. this helped a bit (-- version worked), but then it complained about not having an ssl module in python:
$ kivy31 -m pip --version
pip 10.0.1 from /Applications/Kivy.app/Contents/Frameworks/python/3.5.0/lib/python3.5/site-packages/pip (python 3.5)
$ kivy31 -m pip install pyserial
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
]
does this work for anyone?
if not, maybe this should be opened again.

Just to mention. Python3 doesn't work on Mac.
You need to stick with Python2 until someone fixes it.

sorry, i meant of course python35 that resides within the kivy app from
Kivy-1.10.0-osx-10.12.5-python3.5.dmg available from https://kivy.org/#download
works perfectly on mac, or am i getting you wrong ?

@public-hons Ah sorry, I misread. I read it as you are targeting phones. My bad!

@public-hons Regarding your problem with the setup. Have a closer look at this: Stack Overflow

thanks for the hint, but actually i am aiming to find someone who can fix this within the kivy app, because having a kivy app that is not fully functional is not really what we want, is it :) ?


⚠ Bofrost.be has degraded performance

In aa6cc73, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2027 ms

Resolved: Bofrost.be performance has improved in d7585cd after 6 minutes.


Update templates schema to support no-reply from email

Value Statement
As a customer of VANotify,
I would like to be able to add in a custom reply-to email address,
I can monitory my own inboxes if I so choose for any reply to the email notifications that are sent.
Acceptance Criteria
[ ] Add a migration script to update the template object in the DB with a reply-to field
Checklist

[ ] Checklist item here

Cross Functional Checklist
Testing:

[ ] integration test for API

Monitoring:

[ ] statsd metrics
[ ] datadog graphs
[ ] datadog alterts

Security:

[ ] auth permissions
[ ] JsonSchema

Transform requests to business models in our API

[ ] Marshmallow model serialization / deserialization

Documentation:

[ ] Readmes
[ ] Project specific
[ ] Support
[ ] Openapi
[ ] ADR
[ ] Tech Debt wall

Mountebank

[ ] API - create mocks for any external services calls

Postman

[ ] Update collection whenever we change our API

Assumptions

Additional Info/Resources

Out of Scope

Open Questions

Hey team! Please add your planning poker estimate with ZenHub @jakehova @ianperera @jessecanderson @kalbfled @k-macmillan

@jessecanderson do we need to update any data models based on what you were showing me this morning?


local cluster perfomance degrades

Summary
I have started a local cluster and run test PAB apps connected to the cluster
At first it committed transactions in a seconds, after half an hour it took 5  - 10 minutes to commit transaction
There is also some error in cluster logs
[chain-index:Error:1602] [2021-12-15 15:48:07.83 UTC] {"contents":{"contents":{"contents":{"pointBlockId":"adcc193b2402e0a1c3778df7b513bb148bd92e4d453907709078b9944a25012e","pointSlot":{"getSlot":21372},"tag":"Point"},"tag":"OldPointNotFound"},"tag":"RollbackFailed"},"tag":"Err"}
[chain-index:Error:1602] [2021-12-15 15:48:07.83 UTC] {"contents":{"contents":{"contents":{"pointBlockId":"adcc193b2402e0a1c3778df7b513bb148bd92e4d453907709078b9944a25012e","pointSlot":{"getSlot":21372},"tag":"Point"},"tag":"OldPointNotFound"},"tag":"RollbackFailed"},"tag":"Err"}
[chain-index:Error:1602] [2021-12-15 15:48:07.83 UTC] {"contents":{"contents":{"contents":{"tipBlockId":"cf1bdf909988dd7d0932a3a36c45b8343e03acde12b2b6e3a39d47b767ce1eaa","tipSlot":{"getSlot":21379},"tipBlockNo":10652,"tag":"Tip"},"tag":"DuplicateBlock"},"tag":"InsertionFailed"},"tag":"Err"}
[chain-index:Error:1602] [2021-12-15 15:48:07.83 UTC] {"contents":{"contents":{"contents":{"tipBlockId":"cf1bdf909988dd7d0932a3a36c45b8343e03acde12b2b6e3a39d47b767ce1eaa","tipSlot":{"getSlot":21379},"tipBlockNo":10652,"tag":"Tip"},"tag":"DuplicateBlock"},"tag":"InsertionFailed"},"tag":"Err"}

Steps to reproduce the behavior
Run cluster and run some transaction,
try to run in one hour
Actual Result
Perfomance degrades
Expected Result
Perfomance should not degrade
Describe the approach you would take to fix this
No response
System info
mac os big sur
11.5.2

Hey @volodyad we are looking into this, when a fix for the issue is found I will let you know!


Update internet_access.html.erb

Content merge
https://trello.com/c/hAH3UNKQ

https://trello.com/c/Q52QWoCa


(Draft) Update 3DS setup

Context
We need to start updating our 3D Secure 2 setup content with 3DS2.
Changes proposed in this pull request
(While in draft)

Start to add content on how to set up 3DS2
Move the 3DS setup content to a separate page, so it's easier to find for both users switching to live and users moving to 3DS2 after switching to live

Guidance to review
Please check if factually correct.

@miriamalice This doesn't need reviewing right now - I've created it as a draft while we finalise the details and add more content.

Hi @miriamalice - this is good to go but just waiting for the link to the 3DS product page.


"Add token failure" error message

name: Bug Report
about: "Add token failure" error message on adding any Ethereum token (not other chains though). On compiled master branch only - works fine on app in App Store

Tap Wallet tab
Tap Add / Hide Tokens
Tap an ERC20 token, such as TrueUSD
Wait ...
There error dialog appears

Expect
The token to be added to the token list that shows on app startup
Version or build number number
latest master branch

@hboon it failures because of error daily request count exceeded, request rate limited

Ah, no wonder I can't reproduce it previously. Can you trap for it and show a message. We have shown something like that so we should be able to reuse the message. Buzz me if  you can't find it.

I can't trap it well but it does feel like an API request failing. Which one would it be? I have tried replacing Etherscan and Infura to no avail
thanks for looking at it

@benslaney no worries, I'll look into it. Thanks for trying :)

I can't trap it because it just stops on some coordinator thing that's got dozens of layers of abstraction and the actual code path is obfuscated by ASM dumps
if there's anything I can do let me know and I will

@benslaney but for your purpose, try replacing the Infura key in Constants+Credentials.swift if you haven't.

I have tried replacing Etherscan and Infura to no avail

I'll try again on the infra key I guess - thanks

Linked PR contains the fix.
For posterity, here's how we can debug it:

Do a full text search for the error message "Add token failure" in R.generated.swift
Look for the function which uses it -> walletsHideTokenErrorAddTokenFailure()
Look for where the function is called
We are lucky here and it's only used at one place:

}.catch { _ in
    self.displayError(message: R.string.localizable.walletsHideTokenErrorAddTokenFailure())
}.finally {

Modify to log the error:

}.catch { error in
    NSLog("xxx error: \(error")
    self.displayError(message: R.string.localizable.walletsHideTokenErrorAddTokenFailure())
}.finally {

then follow the flow to figure out why.


Change android_binding to not take in the path as an arg

Is your feature request related to a problem? Please describe.
Right now the android_binding code is defined like so:
  ($domain:ident, $package:ident, $activity:ident, $setup:path, $main:ident, $tao:path) => {{
    use $tao::{platform::android::prelude::android_fn, platform::android::prelude::*};
    fn _____tao_store_package_name__() {
      PACKAGE.get_or_init(move || generate_package_name!($domain, $package));
    }

This forces you to pass in something like com_example as an arg. I think you can work around this by calling the binding methods manually, but it'd be much nicer to just set the com_example/wrytest manually in a static such that this binding can be hidden.
        tao::android_binding!(
            com_example,
            wrytest,
            WryActivity,
            wry::android_setup,
            _start_app,
            tao
        );
        wry::android_binding!(com_example, wrytest, wry);

What would the ideal use case look like for you?


\AtEndPreamble can't be nested anymore with current dev release

Something like
\listfiles
\RequirePackage{latexbug}
\documentclass{article}
\usepackage{etoolbox}
\AtEndPreamble{%
  \typeout{+++++ early}%
  \AtEndPreamble{%
    \typeout{+++++ late}%
  }%
}
\begin{document}
test
\end{document}

does work with the current latex kernel but not with the new hook management in the dev release. See https://github.com/latex3/latex2e/issues/360

Fixed by 29abc29ef202966abe777f2dc8dd023de90cb375.


Working on PCA calculation

Coverage increased (+0.04%) to 92.526% when pulling 5c0dd780a91da0d70884b8a0a6f66e3d887caee9 on dev into 293ede43b3996e7da6b733f6e2dfe1a861d91287 on master.

Coverage increased (+0.2%) to 92.677% when pulling d446c4108b506c379d90621094deacd59c52ce44 on dev into 293ede43b3996e7da6b733f6e2dfe1a861d91287 on master.

Coverage increased (+0.2%) to 92.677% when pulling d446c4108b506c379d90621094deacd59c52ce44 on dev into 293ede43b3996e7da6b733f6e2dfe1a861d91287 on master.

Coverage increased (+0.1%) to 92.629% when pulling 308b4b50c5338b28b7934c534a3b2062b151b9a3 on dev into 293ede43b3996e7da6b733f6e2dfe1a861d91287 on master.

Coverage increased (+0.2%) to 92.665% when pulling 951dccd6ca6f2107045bc16a6825fb74035cb5b1 on dev into 293ede43b3996e7da6b733f6e2dfe1a861d91287 on master.

Coverage increased (+0.4%) to 92.84% when pulling b47f372b49fbe22c65f042f7dc2c64b9058a0017 on dev into 293ede43b3996e7da6b733f6e2dfe1a861d91287 on master.


Mongo Client 4.x Not supported

We are running with spring-boot 2.3.x, which pulls in Mongo Client 4.x
The MongoClient has been updated, and no longer has the same interface. (Or package path)
Is there a way to make the cloud-mongo-starter support both Mongo Client 3.x and 4.x?

Relates to https://github.com/opentracing-contrib/java-mongo-driver/issues/21

Relates to https://github.com/opentracing-contrib/java-mongo-driver/issues/21


Upgrading Kubernetes clears nginx-configuration config map

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):

Go to the System project of any cluster that's not running the latest k8s version
Edit the nginx-configuration config map and for example set use-forwarded-headers to true
Edit the cluster and update the Kubernetes version and wait for it to finish
Go to the System project and check the nginx-configuration you'll see all settings have been lost.

Result:
After the update the entire nginx-configuration config map has been thrown away. I would expect it to be untouched. In our case this has caused logins to break as use-forwarded-proto was no longer being passed on to the workloads.
Environment information

Rancher version: v2.4.8
Installation option (single install/HA): single install

Cluster information

Cluster type: imported
Kubernetes version: 1.18.10 => 1.18.12, but I've seen it on other versions too

This is expected, we have the option to configure nginx ingress and those will be used when provisioning is triggered. It is documented here https://rancher.com/docs/rke/latest/en/config-options/add-ons/ingress-controllers/#configuring-nginx-ingress-controller.
If this doesn't work, let me know.

@superseb Sorry to comment on an already closed issue, but the RKE ingress: settings only work for the "local" cluster, not for downstream clusters. Upgrading Kubernetes in a downstream cluster still removes the config map of the nginx-configuration. I think that is also the problem described by @rene-demonsters.

Edit the cluster and update the Kubernetes version and wait for it to finish

Sounds more like edit cluster in UI than in RKE YAML.
I can confirm that this issue is still happening, when upgrading Kubernetes of a downstream cluster. Confirmed with Rancher 2.5.10.

The functionality of RKE remains the same, the configmap is under RKE's control and is configured according to what is configured in the YAML. If you make changes outside of RKE, those will not be persisted if RKE updates the configuration according to the YAML. If this is not what you are seeing, please create a new issue with exact steps to reproduce so we can take a look.

Thx @superseb for the quick answer.
Just to be sure I understand:

The functionality of RKE remains the same, the configmap is under RKE's control and is configured according to what is configured in the YAML.

This means the RKE cluster yaml also applies to downstream clusters? Or did you mean something else?

Each cluster has it's own definition, there is no shared configuration here. If the local cluster is created by RKE, it's configuration is determined by the cluster.yml (or rancher-cluster.yml) and provisioned using rke up.
For clusters created using Rancher, it is specified for that cluster as shown on https://rancher.com/docs/rancher/v2.5/en/cluster-admin/editing-clusters/rke-config-reference/#editing-clusters-with-yaml

For clusters created using Rancher, it is specified for that cluster as shown on https://rancher.com/docs/rancher/v2.5/en/cluster-admin/editing-clusters/rke-config-reference/#editing-clusters-with-yaml

awesome, that was the missing info I needed. thanks!

@superseb I actually just had a case this week where Rancher was updated from 2.5.8 to 2.5.12 and Kubernetes updated to 1.20.15 and the Ingress Config Map disappeared after the update. Even though it was defined in the cluster.yml:
  ingress:
    default_backend: false
    http_port: 0
    https_port: 0
    options:
      proxy-body-size: 200m
    provider: nginx

I think you are hitting https://github.com/rancher/rke/issues/2834 / https://github.com/rancher/rancher/issues/36484

Yep, sounds like. Thanks for the link!


GL-407 Fix OODisk error when creating count matrix

Purpose
We are encountering an issue in Optimus production where due to a change where we have started modifying gtfs not in-place, and due to this we are running out of hard drive space on the create count matrix task. This PR is to change the way we modify the gtf to both make it more DRY and to no longer cause this error.
Jira Ticket [GL-407]
Changes

Created separate task to modify GTF
Moved python logic into python script with a dedicated docker
Changed code to reference outputs to separate task rather than re-doing work

Review Instructions
Run Optimus on a large dataset. This previously passed review due to the fact the size only became an issue with large-ish GTFs.

The phrase modify gtf seems too general to me, is there a more specific name for what this code is doing? ReplaceGeneNameWithGeneID is pretty long but at least it's clear what it's doing, or maybe UpdateGtfWithGeneId? This would be for the WDL, the directory, docker image name, etc.

That was my initial plan, but then I started looking through the other tasks files and saw that they had multiple tasks that had more specialized names. I then opted to name it "modify gtf" in case we will add more functions in the future that also modify the gtf & therefore we can wrap them inside of the same task file, docker, etc; this may be thinking ahead too far, however, as this is a temporary bandaid. What is your opinion on those comments?


Fix typo in values.yml

Pull Request Motivation
This PR fixes typo in values.yml.

Affinty -> Affinity

Kind

Release Note

NONE

/approve
/lgtm
Thanks for fixing this.


How to use createWorldTerrainAsync?

Hi,
how should you use createWorldTerrainAsync properly?
Since the newer version of cesium and resium the function createWorldTerrain is not available anymore.
You're not supposed to use await in the render function.
If I set it up like this the map doesn't show up on the development server:
<Viewer full
                        terrainProvider={
                            createWorldTerrainAsync({requestWaterMask: true, requestVertexNormals: true})
                            }

Do you know any fixes?
Thanks!

Same here after a "npm update". Anyone find a fix for this?


how can test single image captioning

I've trained model
I think its result is good
But i can't test it with my own image in windows 10
How can i do?

Unfortunately, this repo doesn't support it yet, since it is created just for research.
If you want to generate captions on your own image, I recommend the awesome repo ImageCaptioning.pytorch.

thanks for your reply
can i test in ImageCaptioning.pytorch with cavp model.pth and infos.json
infos_path parameter is different
if it is available,could you tell me how should i do more detaily?

thanks for your reply
i've tried,but failed
infos_path parameter is different
can i test it in ImageCaptioning.pytorch with cavp model.pth and infos.json
if it is available,please let me know how can i do more detaily

@msachenko908, the biggest problem is the image feature extraction. Since CAVP uses the bottom-up features while Ruotian using the resnet features, it couldn't directly employ CAVP model to ImageCaptioning.pytorch.
If you want to do so, you could either train another CAVP model with resnet feature or extract bottom-up features for your own images.

I want to test image caption generating
how can i test my own img with cavp model?
and it is available to convert to tensorflow?

Sorry for the late reply.
To test your own img with cavp model you should extract img features by  bottom-up-attention and then generate sentences.
It is available to convert to tensorflow with the help of any converting tools, e.g., onnx.


Upgrade to Ubuntu 15.10

Support for Vivid is ending soon so upgrading to Wily might be a good idea. I tested it on my own C1 and it seemed to not cause any issues.

LGTM


Add array types

Coverage remained the same at 71.136% when pulling c550f24b5d77f446f1ad97be06a19f39bbf21bed on eatonphil:stats into d78a32af2e2757ed9ba6532aca4e2f7556c3950a on linode:develop.


Remove name claim requirement

@leastprivilege,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot


Unexpected indent

It's about your config file, Create a new config file from config.py.example, and make sure to use valid values. and don't make unnecessary changes!


140507667-no-supplier-username-in-zendesk-clarification-question

Remove user name from clarification email
Update tests

@TheDoubleK Good point, sorted

:+1: nice one.


Unable to compile iOS/tvOs with default template

Describe the bug
Unable to compile iOS and tvOS on a new project.
To Reproduce
Steps to reproduce the behavior:

Run command 'rnv run -p ios'
See error

[ error ] [run] COMMAND:

node /project-path/node_modules/react-native/local-cli/cli.js run-ios --project-path platformBuilds/app_ios --scheme RNVApp --configuration Debug --simulator iPhone\ 15 --allowProvisioningUpdates

FAILED with ERROR:

error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening RNVApp.xcworkspace.
Command line invocation:
 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace RNVApp.xcworkspace -configuration Debug -scheme RNVApp -destination id=5D80CBD7-760B-4F50-B8C9-B563661082DD -derivedDataPath build/RNVApp -allowProvisioningUpdates
User defaults from command line:
 IDEDerivedDataPathOverride = /project-path/platformBuilds/app_ios/build/RNVApp
 IDEPackageSupportUseBuiltinSCM = YES

Command failed with exit code 1: node /project-path/node_modules/react-native/local-cli/cli.js run-ios --project-path platformBuilds/app_ios --scheme RNVApp --configuration Debug --simulator iPhone 15 --allowProvisioningUpdates
error React Native CLI uses autolinking for native dependencies, but the following modules are linked manually:
  - react-native-gesture-handler (to unlink run: "react-native unlink react-native-gesture-handler")
This is likely happening when upgrading React Native from below 0.60 to 0.60 or above. Going forward, you can unlink this dependency via "react-native unlink <dependency>" and it will be included in your app automatically. If a library isn't compatible with autolinking, disregard this message and notify the library maintainers.
Read more about autolinking: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md

error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening RNVApp.xcworkspace.
info Found Xcode workspace "RNVApp.xcworkspace"
info Building (using "xcodebuild -workspace RNVApp.xcworkspace -configuration Debug -scheme RNVApp -destination id=5D80CBD7-760B-4F50-B8C9-B563661082DD -derivedDataPath build/RNVApp -allowProvisioningUpdates")
Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace RNVApp.xcworkspace -configuration Debug -scheme RNVApp -destination id=5D80CBD7-760B-4F50-B8C9-B563661082DD -derivedDataPath build/RNVApp -allowProvisioningUpdates

User defaults from command line:
    IDEDerivedDataPathOverride = /project-path/platformBuilds/app_ios/build/RNVApp
    IDEPackageSupportUseBuiltinSCM = YES

Prepare packages

ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (35 targets)
    Target 'RNVApp' in project 'RNVApp'
        ➜ Implicit dependency on target 'Pods-RNVApp' in project 'Pods' via file 'Pods_RNVApp.framework' in build phase 'Link Binary'
        ➜ Implicit dependency on target 'React-CoreModules' in project 'Pods' via options '-framework CoreModules' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'DoubleConversion' in project 'Pods' via options '-framework DoubleConversion' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'FBReactNativeSpec' in project 'Pods' via options '-framework FBReactNativeSpec' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-RCTAnimation' in project 'Pods' via options '-framework RCTAnimation' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-RCTBlob' in project 'Pods' via options '-framework RCTBlob' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-RCTImage' in project 'Pods' via options '-framework RCTImage' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-RCTLinking' in project 'Pods' via options '-framework RCTLinking' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-RCTNetwork' in project 'Pods' via options '-framework RCTNetwork' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-RCTSettings' in project 'Pods' via options '-framework RCTSettings' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-RCTText' in project 'Pods' via options '-framework RCTText' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'RCTTypeSafety' in project 'Pods' via options '-framework RCTTypeSafety' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-RCTVibration' in project 'Pods' via options '-framework RCTVibration' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'RNGestureHandler' in project 'Pods' via options '-framework RNGestureHandler' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-Core' in project 'Pods' via options '-framework React' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'ReactCommon' in project 'Pods' via options '-framework ReactCommon' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-cxxreact' in project 'Pods' via options '-framework cxxreact' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'fmt' in project 'Pods' via options '-framework fmt' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'RCT-Folly' in project 'Pods' via options '-framework folly' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'glog' in project 'Pods' via options '-framework glog' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-jsi' in project 'Pods' via options '-framework jsi' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-jsinspector' in project 'Pods' via options '-framework jsinspector' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-jsiexecutor' in project 'Pods' via options '-framework jsireact' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-logger' in project 'Pods' via options '-framework logger' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-perflogger' in project 'Pods' via options '-framework reactperflogger' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'Yoga' in project 'Pods' via options '-framework yoga' in build setting 'OTHER_LDFLAGS'
    Target 'Pods-RNVApp' in project 'Pods'
        ➜ Explicit dependency on target 'DoubleConversion' in project 'Pods'
        ➜ Explicit dependency on target 'FBLazyVector' in project 'Pods'
        ➜ Explicit dependency on target 'FBReactNativeSpec' in project 'Pods'
        ➜ Explicit dependency on target 'RCT-Folly' in project 'Pods'
        ➜ Explicit dependency on target 'RCTRequired' in project 'Pods'
        ➜ Explicit dependency on target 'RCTTypeSafety' in project 'Pods'
        ➜ Explicit dependency on target 'RNGestureHandler' in project 'Pods'
        ➜ Explicit dependency on target 'React' in project 'Pods'
        ➜ Explicit dependency on target 'React-Core' in project 'Pods'
        ➜ Explicit dependency on target 'React-CoreModules' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTActionSheet' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTAnimation' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTBlob' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTImage' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTLinking' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTNetwork' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTSettings' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTText' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTVibration' in project 'Pods'
        ➜ Explicit dependency on target 'React-callinvoker' in project 'Pods'
        ➜ Explicit dependency on target 'React-cxxreact' in project 'Pods'
        ➜ Explicit dependency on target 'React-jsi' in project 'Pods'
        ➜ Explicit dependency on target 'React-jsiexecutor' in project 'Pods'
        ➜ Explicit dependency on target 'React-jsinspector' in project 'Pods'
        ➜ Explicit dependency on target 'React-logger' in project 'Pods'
        ➜ Explicit dependency on target 'React-perflogger' in project 'Pods'
        ➜ Explicit dependency on target 'React-runtimeexecutor' in project 'Pods'
        ➜ Explicit dependency on target 'ReactCommon' in project 'Pods'
        ➜ Explicit dependency on target 'Yoga' in project 'Pods'
        ➜ Explicit dependency on target 'boost' in project 'Pods'
        ➜ Explicit dependency on target 'fmt' in project 'Pods'
        ➜ Explicit dependency on target 'glog' in project 'Pods'
    Target 'React-CoreModules' in project 'Pods'
        ➜ Explicit dependency on target 'FBReactNativeSpec' in project 'Pods'
        ➜ Explicit dependency on target 'RCT-Folly' in project 'Pods'
        ➜ Explicit dependency on target 'RCTTypeSafety' in project 'Pods'
        ➜ Explicit dependency on target 'React-Core' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTImage' in project 'Pods'
        ➜ Explicit dependency on target 'React-jsi' in project 'Pods'
        ➜ Explicit dependency on target 'ReactCommon' in project 'Pods'
    Target 'React' in project 'Pods'
        ➜ Explicit dependency on target 'React-Core' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTActionSheet' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTAnimation' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTBlob' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTImage' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTLinking' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTNetwork' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTSettings' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTText' in project 'Pods'
        ➜ Exp

error React Native CLI uses autolinking for native dependencies, but the following modules are linked manually:
  - react-native-gesture-handler (to unlink run: "react-native unlink react-native-gesture-handler")
This is likely happening when upgrading React Native from below 0.60 to 0.60 or above. Going forward, you can unlink this dependency via "react-native unlink <dependency>" and it will be included in your app automatically. If a library isn't compatible with autolinking, disregard this message and notify the library maintainers.
Read more about autolinking: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md

error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening RNVApp.xcworkspace.

Error: Command failed with exit code 1: node /project-path/node_modules/react-native/local-cli/cli.js run-ios --project-path platformBuilds/app_ios --scheme RNVApp --configuration Debug --simulator iPhone 15 --allowProvisioningUpdates
error React Native CLI uses autolinking for native dependencies, but the following modules are linked manually:
  - react-native-gesture-handler (to unlink run: "react-native unlink react-native-gesture-handler")
This is likely happening when upgrading React Native from below 0.60 to 0.60 or above. Going forward, you can unlink this dependency via "react-native unlink <dependency>" and it will be included in your app automatically. If a library isn't compatible with autolinking, disregard this message and notify the library maintainers.
Read more about autolinking: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md

error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening RNVApp.xcworkspace.
info Found Xcode workspace "RNVApp.xcworkspace"
info Building (using "xcodebuild -workspace RNVApp.xcworkspace -configuration Debug -scheme RNVApp -destination id=5D80CBD7-760B-4F50-B8C9-B563661082DD -derivedDataPath build/RNVApp -allowProvisioningUpdates")
Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace RNVApp.xcworkspace -configuration Debug -scheme RNVApp -destination id=5D80CBD7-760B-4F50-B8C9-B563661082DD -derivedDataPath build/RNVApp -allowProvisioningUpdates

User defaults from command line:
    IDEDerivedDataPathOverride = /project-path/platformBuilds/app_ios/build/RNVApp
    IDEPackageSupportUseBuiltinSCM = YES

Prepare packages

ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (35 targets)
    Target 'RNVApp' in project 'RNVApp'
        ➜ Implicit dependency on target 'Pods-RNVApp' in project 'Pods' via file 'Pods_RNVApp.framework' in build phase 'Link Binary'
        ➜ Implicit dependency on target 'React-CoreModules' in project 'Pods' via options '-framework CoreModules' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'DoubleConversion' in project 'Pods' via options '-framework DoubleConversion' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'FBReactNativeSpec' in project 'Pods' via options '-framework FBReactNativeSpec' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-RCTAnimation' in project 'Pods' via options '-framework RCTAnimation' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-RCTBlob' in project 'Pods' via options '-framework RCTBlob' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-RCTImage' in project 'Pods' via options '-framework RCTImage' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-RCTLinking' in project 'Pods' via options '-framework RCTLinking' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-RCTNetwork' in project 'Pods' via options '-framework RCTNetwork' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-RCTSettings' in project 'Pods' via options '-framework RCTSettings' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-RCTText' in project 'Pods' via options '-framework RCTText' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'RCTTypeSafety' in project 'Pods' via options '-framework RCTTypeSafety' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-RCTVibration' in project 'Pods' via options '-framework RCTVibration' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'RNGestureHandler' in project 'Pods' via options '-framework RNGestureHandler' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-Core' in project 'Pods' via options '-framework React' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'ReactCommon' in project 'Pods' via options '-framework ReactCommon' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-cxxreact' in project 'Pods' via options '-framework cxxreact' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'fmt' in project 'Pods' via options '-framework fmt' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'RCT-Folly' in project 'Pods' via options '-framework folly' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'glog' in project 'Pods' via options '-framework glog' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-jsi' in project 'Pods' via options '-framework jsi' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-jsinspector' in project 'Pods' via options '-framework jsinspector' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-jsiexecutor' in project 'Pods' via options '-framework jsireact' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-logger' in project 'Pods' via options '-framework logger' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'React-perflogger' in project 'Pods' via options '-framework reactperflogger' in build setting 'OTHER_LDFLAGS'
        ➜ Implicit dependency on target 'Yoga' in project 'Pods' via options '-framework yoga' in build setting 'OTHER_LDFLAGS'
    Target 'Pods-RNVApp' in project 'Pods'
        ➜ Explicit dependency on target 'DoubleConversion' in project 'Pods'
        ➜ Explicit dependency on target 'FBLazyVector' in project 'Pods'
        ➜ Explicit dependency on target 'FBReactNativeSpec' in project 'Pods'
        ➜ Explicit dependency on target 'RCT-Folly' in project 'Pods'
        ➜ Explicit dependency on target 'RCTRequired' in project 'Pods'
        ➜ Explicit dependency on target 'RCTTypeSafety' in project 'Pods'
        ➜ Explicit dependency on target 'RNGestureHandler' in project 'Pods'
        ➜ Explicit dependency on target 'React' in project 'Pods'
        ➜ Explicit dependency on target 'React-Core' in project 'Pods'
        ➜ Explicit dependency on target 'React-CoreModules' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTActionSheet' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTAnimation' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTBlob' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTImage' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTLinking' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTNetwork' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTSettings' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTText' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTVibration' in project 'Pods'
        ➜ Explicit dependency on target 'React-callinvoker' in project 'Pods'
        ➜ Explicit dependency on target 'React-cxxreact' in project 'Pods'
        ➜ Explicit dependency on target 'React-jsi' in project 'Pods'
        ➜ Explicit dependency on target 'React-jsiexecutor' in project 'Pods'
        ➜ Explicit dependency on target 'React-jsinspector' in project 'Pods'
        ➜ Explicit dependency on target 'React-logger' in project 'Pods'
        ➜ Explicit dependency on target 'React-perflogger' in project 'Pods'
        ➜ Explicit dependency on target 'React-runtimeexecutor' in project 'Pods'
        ➜ Explicit dependency on target 'ReactCommon' in project 'Pods'
        ➜ Explicit dependency on target 'Yoga' in project 'Pods'
        ➜ Explicit dependency on target 'boost' in project 'Pods'
        ➜ Explicit dependency on target 'fmt' in project 'Pods'
        ➜ Explicit dependency on target 'glog' in project 'Pods'
    Target 'React-CoreModules' in project 'Pods'
        ➜ Explicit dependency on target 'FBReactNativeSpec' in project 'Pods'
        ➜ Explicit dependency on target 'RCT-Folly' in project 'Pods'
        ➜ Explicit dependency on target 'RCTTypeSafety' in project 'Pods'
        ➜ Explicit dependency on target 'React-Core' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTImage' in project 'Pods'
        ➜ Explicit dependency on target 'React-jsi' in project 'Pods'
        ➜ Explicit dependency on target 'ReactCommon' in project 'Pods'
    Target 'React' in project 'Pods'
        ➜ Explicit dependency on target 'React-Core' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTActionSheet' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTAnimation' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTBlob' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTImage' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTLinking' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTNetwork' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTSettings' in project 'Pods'
        ➜ Explicit dependency on target 'React-RCTText' in project 'Pods'
        ➜ Exp
    at makeError (/project-path/node_modules/rnv/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/project-path/node_modules/rnv/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Running the xcode command manually in de app_ios directory it gives me an error:
>> xcodebuild -workspace RNVApp.xcworkspace -configuration Debug -scheme RNVApp -destination id=5D80CBD7-760B-4F50-B8C9-B563661082DD -derivedDataPath build/RNVApp -allowProvisioningUpdates

/project-path/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.cpp:2232:9: error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-instead-of-logical]
        node->getLayout().hadOverflow() |

When i fixed this i am getting:
/project-path/platformBuilds/app_ios/Pods/RCT-Folly/folly/Range.h:93:20: note: in instantiation of template class 'folly::Range<const unsigned char *>' requested here
    const typename Range<Iter>::value_type& needle);
                   ^
/project-path/platformBuilds/app_ios/Pods/RCT-Folly/folly/Range.h:1407:15: note: while substituting deduced template arguments into function template 'qfind' [with Iter = const unsigned char *]
inline size_t qfind(

/project-path/platformBuilds/app_ios/Pods/RCT-Folly/folly/Range.h:1096:16: note: in instantiation of template class 'folly::Range<folly::Range<const char *> *>' requested here
constexpr auto range(Collection& v) -> Range<decltype(v.data())> {
               ^
/project-path/platformBuilds/app_ios/Pods/RCT-Folly/folly/String.cpp:721:17: note: in instantiation of function template specialization 'folly::range<std::vector<folly::Range<const char *>>>' requested here
  auto piecer = range(pieces);

Desktop (please complete the following information):

OS: OSX Ventura 13 and Sonoma 14.1.1 (m1)
Node Version: v18.18.2 and v16.17.0
RNV Version 0.37.4

Additional context
Also checked the following:

No spaces / uppercase in path
Removal of /build directory
Unlinking react-native-gesture-handler
pod install in ios directory
Changing build location to legacy
Comment use_flipper() in pod file
Running terminal with `Rosetta
Using only a bare minimum JS (strip down template)

Noticed that this version of rnv doesn't support xcode 15.


Interface design brainstorm

The current implementation works, but is rather inflexible.
It would be nice to be able to allow the  component to specify its render target via nested children instead of the route!() macro. Currently though, I believe that this would mean giving up capturing sections of the url-route.

I see that there is a checkbox for the following feature in the PR for nested components: Investigate passing required properties from (P) -> (C).
I don't have a full understanding of what this means, but if would allow for something like:
<Parent>
    <ArbitraryChild prop=parent.hashmap["key"] />
</Parent>

Then this would allow the contents of a Route to access the captures parts of the url.

I'm going to list out the multiple different possible implementations, and list their pros and cons.
Current
<Router>
    <Route path=route!("/a/{named}" => AComponent) />
</Router>

Pros:

Terse - its one line per route.
Compile time validation of route format.
Proper rejection a captured string can't be transformed to a target type in the component's props.

Cons:

Lacks compile-time validation on if AComponent can be created from the captured variables in Route.
Doesn't support arbitrary render functions, only works with components.
Complicated and brittle implementation.
Extra syntax to remember.

Ideal
<Router>
    <Route path=route!("/a/{named}")>
        <AComponent named = parent.matches["named"] />
    </Route>
</Router>

Pros:

Supports arbitrary targets, either Components, functions, or other dom elements.
User implements captures to props conversion, but because it is adjacent to the declaration of the matcher, it is easy to maintain.
Simple implementation.

Cons:

Relies on a feature of nested components that does not exist yet, and may not be possible. (direct access to parent's state).
No rejection if a captured string can't be transformed to a prop type.

Pragmatic
<Router>
    <OptionalRoute
        path=route!("/a/{named}")
        render=|matches| {
            matches["named"]
                .try_into::<usize>()
                .map(|x| {
                    Some(html!{<AComponent number=x />})
                })
        }
    <Route path=route!("/a/{}")>
        <AComponent />
    </Route>
</Router>

Pros:

Supports simple nested routing, and type conversion w/rejection based routing.

Cons:

The optional route component is verbose, although the render function can be abstracted away, possibly derived, similar to the current implementation.
May not be possible to have both OptionalRoute and Route as nested children. Need to determine if using trait objects in the ChildrenWithProps<Parent, Child> is possible.

For the meantime, I've settled on a modified version of the "Pragmatic" solution.
It looks as follows:
<Router>
    <Route path=route!("/a/{named}" => AComponent) />
    <Route path=route!("/a/{}")>
        <AComponent />
    </Route>
</Router>

As can be seen, the route!()'s "=> Type" section can be omitted, and will default to rendering the children instead.
While the inability to specify multiple different child elements hampered having different Route-types, sticking them both into the same Route component shouldn't be confusing.
What needs to be added now is the ability to specify an alternative rendering fn in the route!() macro than a component instantiation.

An alternative rendering function to the auto-generated Component one has been added to the route!() macro:
<Router>
    <Route path=route!("/a/{named}" => AComponent) />
    <Route path=route!("/a/{named}", |matches| Some(html!{{matches["named"]}}) />
    <Route path=route!("/a/{}")>
        <AComponent named="default" />
    </Route>
</Router>

Design is pretty set right now and is unlikely to change much.


Advanced notification support

For now we only support "simple" notifications. I think we should support more "advanced" notifications, that includes usage of header, icons etc.
I've been trying to implement it, but I am having a difficult time with the natives: https://github.com/FrederikBolding/scripthookvdotnet/blob/38ae2ed3660e7bf0a89c9441bff366376e8e2431/source/scripting/UI/Notification.cs
Any ideas? Thoughts on advanced notifications?

I'm looking at this again, should have a pull request ready soon! 😄

Closing since #817 was merged which implements this.


FEATURE: Basic process manager

This change introduce a basic process manager which can keep
a state containing further information about the process at hand.
In order to make the process manager more convenient, this change
also  introduces a new interface which allows for custom handling
of event listener method invocations.
Those event listeners implementing this interface gain control
over the actual event listener method call and are able to
take additional steps to prepare for handling the event.

I changed the interface and pre-invocation mechanism so that the EventPubslisher is still in charge of calling the actual event listener method. I think that's a good compromise now and supports what we need in the process manager.
In general, I would like to merge this pull request as soon as we can. I know that the API won't be final, in fact I think that the whole state and configuration part will still change again, once we have correlation support. But I have more features coming up based on this, so for practical reasons I'd like to have this commit in master so in doesn't get messy …

This is now a working solution for synchronous and asynchronous process managers.
From the last commit:

This change introduces a new catch up command for
asynchronous event listeners (including process
managers) and a row of related features and changes.

The new CLI command is located in the EventStore
command controller (eventstore:catchup) and
basically works like the projection:catchup
command except that you can't specify a specific
event listener.

The log about applied events is stored in a new
generic "applied events log repository". This
repository replaces the specialized ProjectionState
repository used by the AbstractDoctrineProjector.
It is not mandatory to use this new repository,
but very convenient if you don't want to implement
your own storage.

Finally, there are a few clean ups and new methods
in the Event Publisher which hopefully make it a
bit clearer how the respective methods work.

I'm aware of that we may or may not find a better place for the new catchup command than eventstore:catchup, but let's start with this version and then improve from there.

@bwaidelich I added some safe guards for the potential Closure event listeners.
I think I'm fine with this change now ;-)

@bwaidelich okay, here we have an initial version of the event:catchup and event:watch commands, similar to the commands you introduced for projections. I have lots of ideas how to improve this, but well, let's put a lid on this an start with a fresh PR.
Feel free to merge if all looks fine, I won't push anything new today anymore.

Good morning! 🌞
I put some more love into the catchup and watch commands - for the time being only for the generic event:* commands because I'd argue that we can drop the projection:catchup and projection:watch commands at some point.
I introduced a new --verbose flag and changed the standard output as follows:
Without any further options, you'll see a condensed continuous progress, where "." marks an idle catch up cycle and "*" marks an event being applied:

With the --verbose option you'll see, well, some more verbose output:

(ignore the --exit-after option in the screenshot - I removed support for that again before I pushed the last commit)

Left a few more comments, but looks good overall.

@albe thanks for your feedback! I implemented both suggestions in the last two commits.

Thanks! Makes sense somehow to put catchUp into the publisher, at least for local listeners. :+1: from my side

All right, thanks y'all for your reviews! I merged this pile now, just let me know what else needs to be addressed in future pull requests.


GROOVY-8240: Compilation error in @CompileStatic

I have no idea why should generated methods should have receiver as declared class. It causes bug https://issues.apache.org/jira/browse/GROOVY-8240

Thanks.


client: Use sane default values for the custom transport

When setting up the custom transport for TLS support, the values for
timeouts, keepalive, and connection counts are all defaulting to zero
values. This can cause the client to not reconnect to a server that has
become unavailable.
Use the values of DefaultTransport in net/http to set up the custom
transport with appropriate settings.
Fixes #46.

Thanks!


refactor: simplify job builders

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

64 of 66 (96.97%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.04%) to 91.989%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

core/job/spec.go
62
64
96.88%

Totals

Change from base Build<PHONE_NUMBER>:
-0.04%

Covered Lines:
8371

Relevant Lines:
9100

💛  - Coveralls


Add BM25+RM3 as a baseline to re-ranking leaderboard

We see this approach in the "dense leaderboard", but it would be good to add a row to the "re-ranking leaderboard" for easier comparisons against baselines.

Hi @joshdevins,
Nice suggestion! I would copy and paste the row to the reranking leaderboard.
Kind Regards,
Nandan Thakur

This has been updated here: https://docs.google.com/spreadsheets/d/1L8aACyPaXrL8iEelJLGqlMqXKPX2oSP_R10pZoy77Ns/edit#gid=867044147
Kind Regards,
Nandan


Delete some superfluous cmd-line args, given the big Mixer purge.

@geeknoid: Adding do-not-merge/release-note-label-needed because the release note process has not been followed.

One of the following labels is required "release-note", "release-note-action-required", or "release-note-none".
Please see: https://github.com/kubernetes/community/blob/master/contributors/devel/pull-requests.md#write-release-notes-if-needed.
Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/lgtm

/approve


[WIP] Add support for automatically refreshing access tokens

WIP of automatic token refresh as discussed in #137.
Try it out and feel free to come back with feedback, issues and other ideas! Install with:
composer require jwilsson/spotify-web-api-php:dev-auto-refresh.

Came to look at doing this, and you already did it. Works for me thus far without issue. Thanks!

Would love to see this added! :D

Merged in 5ec5fd49b0d6c79db54ce78953e0598809350e84.


ANSI code stripping should be optional

Currently, ANSI escape codes are always stripped by this library. However, there are plenty of contexts where one might be interested in the 'real' character count of a string, but where ANSI escape codes do not have a special semantic meaning, and so stripping them would result in an incorrect character count.
IMO, the ANSI code stripping should either be opt-in, or possibly even considered out-of-scope for this module entirely - since one can also just call strip-ansi on the string before passing it in, or whichever stripping function is appropriate for their specific semantic context.

The current behavior is like this because my use-cases always required stripping ANSI escape codes. If you provide some good use-cases where stripping ANSI escape codes are not wanted, I'm open to adding an option to not strip such codes.

The original usecase for which I was looking at this library (which is for a client), is name length limit validation in a network protocol. There's no terminal involved there, and so 'escape codes' would just be characters (printable or otherwise) like any other.
Another usecase which I'd like to use this library for is my own validation library, as a specifically string-aware equivalent of the has-length-of and has-length-between validators (which currently just look at .length and are agnostic to the exact input type).
In that case it would need to be usecase-agnostic, because people may use the validator for any purpose, including things like form validation, external API response correctness checks, protocol message validation, and so on - all of which are not terminal-related usecases, and so the escape codes have no semantic meaning there, as I understand it anyway.

Thanks for elaborating. Makes sense. PR welcome to add such an option. I don't want to do a breaking change now just for this, but we can change the default next time we have to do a breaking change.


tests: Test several dbt versions on integration tests

Should we add 0.X versions?
https://docs.getdbt.com/docs/core-versions#future-versions

closes FEA-247

https://github.com/fal-ai/fal/actions/runs/2619564928

https://github.com/fal-ai/fal/actions/runs/2623444860


Real component issue

My name is Alexandre and I am geophysicist, not a programmer.
I would like to use your package for seismic attribute analysis. It seems to be missing something in your solution #94 (reshape error).
The Ricardo´s solution is not working properly due the missing command: som_chosen.codebook.matrix
Could you help a bit more the SOM community to be able to plot real components plane?

Yes! The cargadata_relevant is the data itself, the full data that was relevant to my objective. You should use your data, with the endogenous and exogenous variables.
Since you may need more help, we may exchange emails.

Hello again Ricardo,
I not sure if read an issue #131 about some future code similar to the
MiniSom function  w= som.winner(data[x]).
w = kohonen coordinates
x = index
Do you have a way in your code to produce a list of neurons based on index
from original data?
[(7, 3),
(7, 0),
(43, 30),
(8, 4),
(43, 30),
This is useful since we can plot neurons according our needs.
Thanks for helping us
Alexandre Kolisnyk
Em ter., 18 de mai. de 2021 às 06:51, ricardomourarpm <
@.***> escreveu:

Yes! The cargadata_relevant is the data itself, the full data that was
relevant to my objective. You should use your data, with the endogenous and
exogenous variables.
Since you may need more help, we may exchange emails.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sevamoo/SOMPY/issues/129#issuecomment-843027023, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AI3MX6R7V3ALBCYFY32YI33TOI2ATANCNFSM45BABSHQ
.

--
Att
Alexandre Kolisnyk


twister: pytest: Fix failing tests of mcumgr fixture.

Updated tests of mcumgr fixture in pytest-twister-harness plugin.

Fixes #68172

Merging as hotfix.


[FEATURE] Redfish support

Is your feature request related to a problem? Please describe.
Currently, KubeBMC only supports limited IPMI functionalities for KubeVirt VMs. It would also be helpful to support Redfish as it is newer, feature-rich, and gradually becomes dominant in such areas.
Describe the solution you'd like
A set of Redfish APIs that supports users to communicate with to instruct KubeBMC to:

Retrieve power status,
Set power on/off/reset,
Set boot device, and
Mount/unmount virtual media

for KubeVirt VMs.
Describe alternatives you've considered
N/A
Additional context
We could implement the following resources to provide a minimum viable functionalities. Kudos to @rwleea!
{
<EMAIL_ADDRESS>"#ServiceRoot.v1_16_1.ServiceRoot",
<EMAIL_ADDRESS>"/redfish/v1/",
    "Id": "RootService",
    "Name": "Root Service",
    "Vendor": "Contoso",
    "Product": "WidgetDeluxe 8744",
    "RedfishVersion": "1.6.0",
    "UUID": "92384634-2938-2342-8820-489239905423",
    "Systems": {
<EMAIL_ADDRESS>"/redfish/v1/Systems"
    }
}

{
<EMAIL_ADDRESS>"#ComputerSystemCollection.ComputerSystemCollection",
  "Name": "Computer System Collection",
<EMAIL_ADDRESS>"/redfish/v1/Systems",
<EMAIL_ADDRESS>1,
  "Members": [
    {
<EMAIL_ADDRESS>"/redfish/v1/Systems/1"
    }
  ]
}

{
<EMAIL_ADDRESS>"/redfish/v1/Systems/1",
<EMAIL_ADDRESS>"#ComputerSystem.v1_22_0.ComputerSystem",
  "Id": "1",
  "Name": "My Computer System",
  "UUID": "00000000-0000-0000-0000-000000000000",
  "HostName": "web-srv344",
  "Status": {
    "State": "Enabled",
    "Health": "Warning",
    "HealthRollup": "Warning",

  },
  "PowerState": "On",
  "Boot": {
    "BootSourceOverrideEnabled": "Once",
    "BootSourceOverrideMode": "UEFI",
    "BootSourceOverrideTarget": "Pxe",
<EMAIL_ADDRESS>[
      "None",
      "Pxe",
      "Cd",
      "Hdd"
    ]
  },
  "VirtualMedia": {
<EMAIL_ADDRESS>"/redfish/v1/Systems/1/VirtualMedia"
  },
  "Actions": {
    "#ComputerSystem.Reset": {
      "target": "/redfish/v1/Systems/1/Actions/ComputerSystem.Reset",
<EMAIL_ADDRESS>"/redfish/v1/Systems"
    }
  }
}

{
<EMAIL_ADDRESS>"#ActionInfo.v1_4_1.ActionInfo",
    "Id": "ResetActionInfo",
    "Name": "Reset Action Info",
    "Parameters": [
        {
            "Name": "ResetType",
            "Required": true,
            "DataType": "String",
            "AllowableValues": [
                "On",
                "ForceOff",
                "GracefulShutdown",
                "GracefulRestart",
                "ForceRestart",
                "Nmi",
                "ForceOn",
                "PushPowerButton"
            ]
        }
    ],
<EMAIL_ADDRESS>"/redfish/v1/Systems/1/ResetActionInfo"
}

{
<EMAIL_ADDRESS>"#VirtualMediaCollection.VirtualMediaCollection",
<EMAIL_ADDRESS>"/redfish/v1/Systems/1/VirtualMedia",
  "Name": "Virtual Media Services",
  "Description": "Redfish Manager Virtual Media Services Settings",
<EMAIL_ADDRESS>1,
  "Members": [
    {
<EMAIL_ADDRESS>"/redfish/v1/Systems/1/VirtualMedia/CD1"
    }
  ]
}

{
<EMAIL_ADDRESS>"#VirtualMedia.v1_6_3.VirtualMedia",
<EMAIL_ADDRESS>"/redfish/v1/Systems/1/VirtualMedia/CD1",
  "Id": "CD1",
  "Name": "Virtual CD",
  "MediaTypes": [
    "CD",
    "DVD"
  ],
  "Image": "http://myserver/mymedia-read-only.iso",
  "ImageName": "mymedia-read-only.iso",
  "ConnectedVia": "URI",
  "Inserted": true,
  "WriteProtected": true,
  "UserName": "admin",
  "Password": "admin",
  "TransferProtocolType": "HTTP",
<EMAIL_ADDRESS>[
    "HTTP",
    "HTTPS"
  ],
  "TransferMethod": "Stream",
  "Actions": {
    "#VirtualMedia.InsertMedia": {
      "target": "/redfish/v1/Systems/1/VirtualMedia/CD1/Actions/VirtualMedia.InsertMedia",
<EMAIL_ADDRESS>"/redfish/v1/Systems/1/VirtualMedia/CD1/InsertMediaActionInfo"
    },
    "#VirtualMedia.EjectMedia": {
      "target": "/redfish/v1/Systems/1/VirtualMedia/CD1/Actions/VirtualMedia.EjectMedia"
    }
  }
}

{
<EMAIL_ADDRESS>"#ActionInfo.v1_4_1.ActionInfo",
<EMAIL_ADDRESS>"/redfish/v1/Systems/1/VirtualMedia/CD1/InsertMediaActionInfo",
  "Id": "InsertMediaActionInfo",
  "Name": "Insert Media Action Info",
  "Parameters": [
    {
      "Name": "Image",
      "Required": true,
      "DataType": "String"
    },
    {
      "Name": "Inserted",
      "Required": false,
      "DataType": "Boolean"
    },
    {
      "Name": "Writable",
      "Required": true,
      "DataType": "Boolean"
    },
    {
      "Name": "UserName",
      "Required": false,
      "DataType": "String"
    },
    {
      "Name": "Password",
      "Required": false,
      "DataType": "String"
    },
    {
      "Name": "TransferProtocolType",
      "Required": true,
      "DataType": "String",
      "AllowableValues": [
        "HTTP",
        "HTTPS"
      ]
    },
    {
      "Name": "TransferMethod",
      "Required": true,
      "DataType": "String",
      "AllowableValues": [
        "Stream"
      ]
    }
  ]
}

Hey @e-minguez thanks for the pointer. The way FakeFish works looks interesting. I should've found it earlier. Nevertheless, this gave me some ideas...

So there are different levels of faking for a Redfish server...

Mockup servers that contain static or templated JSON files, e.g., Redfish-Mockup-Server and fakefish
Emulators that can handle not only GET but also other operations that require dynamic handling, e.g., Redfish-Interface-Emulator

Since our use cases involve POST actions, such as power management, we're more likely to implement a tiny but self-contained emulator.
I've checked several implementations on the Internet, but I only found one project that uses the OpenAPI generator to generate the client library in Go from the DMTF-published DSP8010 Redfish OpenAPI schema.
My current plan is to use a Golang-based OpenAPI generator [1][2] to generate models and server stubs from the Redfish OpenAPI schema. It turns out this isn't as easy as I imagine at the beginning. The Golang OpenAPI generators have their own limitations and they're both not as mature as the Java-based openapi-generator. Moreover, the Redfish OpenAPI schema is gigantic and uses some cryptic (or should I say erroneous) OpenAPI syntax that I'm unfamiliar with.
I might go the other way around to trim down the schema a bit since we wouldn't support that many endpoints and resources. Because of that, we'll stick to a specific Redfish version. Though that seems lame, it might be the only way that I can see. If my plan B is not going well, we'll need to fallback to JSON templates, which makes me arrrr...

My methods for verifying whether our Redfish implementation works mainly involve ad-hoc curl commands, but that might not be sufficient. I know KubeVirtBMC is far from a certified/validated Redfish device, but I'll try to make it as close as possible. Right now, I'll try to drop it into the workflow of the Tinkerbell use case and see what will happen.

Rufio is complaining about the returned Redfish ComputerSystem resource:
{"level":"error","controller":"machine","controllerGroup":"bmc.tinkerbell.org","controllerKind":"Machine","Machine":{"name":"machine-1","namespace":"tink-system"},"namespace":"tink-system","name":"mac
hine-1","reconcileID":"99daf185-ae31-4907-85de-081315bbd0e9","error":"get power state: 2 errors occurred:\n\t* provider: gofish: failed to retrieve some items: [{\"link\":\"/redfish/v1/Systems/1\",\"e
rror\":\"json: cannot unmarshal object into Go struct field .OperatingSystem of type string\"}]\n\t* failed to get power state\n\n","logger":"controllers/Machine","host":"default-machine-1-virtbmc.172
.19.31.240.sslip.io","caller":"/workspace/controller/machine.go:149","time":"2024-11-20T14:16:12Z","message":"failed to get Machine power state"}

Rufio is complaining about the returned Redfish ComputerSystem resource...

So the "OperatingSystem"-unmarshalling issue was raised in stmcginnis/gofish#364 and has already been fixed on the main branch (not yet shipped in any releases). But Rufio v0.5.2 depends on bmclib v2.3.4, which depends on gofish v0.19.0. It's relatively complex for us to build everything ourselves just for a working demo.
We can wait for those projects to bump their dependencies eventually. In the meantime, I'll try to modify the generated model and implementation of KubeVirtBMC to see if that's the only issue. I'll also look into Metal3 as a possible replacement for the demo.

Well, after I modified the OperatingSystem field from the OdataV4IdRef to the string type, Rufio can successfully contact the virtBMC via the Redfish protocol. Hooray!

This should be a temporary fix and will be corrected once the upstream fix is released.

There are many more functionalities yet to be implemented, including

[ ] Basic auth
[ ] Session service
[ ] OData metadata and service document at the /redfish/v1/$metadata and /redfish/v1/odata URIs, respectively
[ ] Virtual media mount
...

I'd like to move the following to-do items into specific issues so that we can focus on the basic set of Redfish function we're trying to deliver in #39 and making things simple.

There are many more functionalities yet to be implemented, including

[ ] Authentication (https://www.dmtf.org/sites/default/files/Redfish_School-Sessions.pdf)

Basic auth
Session service

[ ] OData metadata and service document at the /redfish/v1/$metadata and /redfish/v1/odata URIs, respectively
[ ] Virtual media mount
[ ] Reflect virtual machine's attributes on Redfish resources as much as possible (we now have a lot of fake data and placeholder out there)
[ ] HTTPS support (we're using ingress + cert-manager to terminate HTTPS at the Nginx pod as a workaround currently!)

As a result, we'll have a walkthrough in the doc (the beloved README.md) for how to set things up for the Redfish functionality to work.


Rename to RoboREPL

Just because it's more fun to say?

YES.

Done!
How does one pronounce "REPL"? Ree-ple (rhymes with people)? Reh-ple? R-E-P-L? Ripple?

I've always said "Reh-ple"?


docs: Fix logic of insert within zcomponents

Huh? insert is not supposed to panic if an entity exists. It even has this assert: assert!(self.get_opt(id).is_none());

@ozkriff Thanks I've updated the PR

Merged, thanks :)


Publish extension to Open VSX repository

Could we have this extension published to the Open VSX repository used by VSCodium and other VS Code clones?
For further info, see https://github.com/halcyon-tech/vscode-ibmi/issues/126

@chrjorgensen Yes, there is plans too. We're not allowed to use GitHub Actions to automate the release, so when we've got that part figured out we will publish onto OpenVSX too.

@worksofliam Friendly reminder... 😉

@worksofliam Friendly reminder... 😉

Published to Open VSX now -> https://open-vsx.org/extension/IBM/vscode-clle
Release process to Marketplace and Open VSX is automated so it will publish whenever releases are created in GitHub


Is there a rule to catch implicitAnys in TypeScript useCallbacks

The @types/react package declares the useCallback method in a way that stops it being checked by TSC's noImplicitAny check. Is there a linting rule to catch these methods?
 const callback = React.useCallback((implicitlyAny) => { // <- No Error
    console.log(implicitlyAny)
  }, [])

  const func = (implicitlyAny) => { // <- Error
    console.log(implicitlyAny)
  }

Link to Typescript Playground

We do not generally make rules that are useless to people using JavaScript.
If the types are causing an issue, I’d file a PR on DT to fix them.

Fair enough - thanks!


is this extension or a complete sdk?

Why this extension size is greater than 100 MB ?? Can we optimize it? Please take care. Thanks.

not sdk.It is only 37.8M for all(contain example code).Same issue with #360 .


[Event Requests] Codeunit 1101 - RunCheck

Customer wants to post CA jnl lines with Cost center and Cost Object.
So, I need a Handled Pattern for the two following blocks:
Or two distinct Publishers, if there might be reasons to differentiate.
OnBeforeCheckCostCenterAndCostObjectFilledCostType
OnBeforeCheckCostCenterAndCostObjectFilledBalanceCostType
IsHandled := false;
OnBeforeCheckCostCenterAndCostObjectFilled(CostJnlLine,isHandled);
if not IsHandled then
        IF ("Cost Center Code" <> '') AND ("Cost Object Code" <> '') THEN
            ERROR(Text001,"Line No.","Document No.",Amount);

IsHandled := false;
OnBeforeCheckCostCenterAndCostObjectFilled(CostJnlLine,isHandled);
if not IsHandled then
       // IF ("Bal. Cost Center Code" <> '') AND ("Bal. Cost Object Code" <> '') THEN
          //   ERROR(Text003,"Line No.","Document No.",Amount);

    [IntegrationEvent(false, false)]
    local procedure OnBeforeCheckCostCenterAndCostObjectFilled(var CostJnlLine: Record "Cost Journal Line"; var IsHandled: Boolean)
    begin
    end;

Availability update: We will publish a fix for this issue in the next update for release 22.
Build ID to track: 56933.


Fix deprecation warnings on idea sdk 2019

Lots of new deprecated API in 2019. Bonus: add inspections to build

Related to #193

Dear Alexandre Dubreuil,
Verification results for plugin Save Actions:
Version 1.9.0+2019.3:
Build of the IDE: IU-193.5662.31
Verdict: Compatible. 2 usages of scheduled for removal API and 7 usages of deprecated API
Build of the IDE: IU-193.5233.102
Verdict: Compatible. 2 usages of scheduled for removal API and 7 usages of deprecated API
Please see the full information on the update page
Version 1.9.0+2018.3:
Build of the IDE: IU-192.7142.36
Verdict: Compatible. 9 usages of deprecated API
Build of the IDE: IU-191.8026.42
Verdict: Compatible. 9 usages of deprecated API. 2 usages of experimental API
Build of the IDE: IU-183.6156.11
Verdict: Compatible. 8 usages of deprecated API. 2 usages of experimental API
Please see the full information on the update page
You can unsubscribe from notifications about this plugin on the edit page of the plugin.
Thank you for developing plugins for JetBrains products!
Best regards,
JetBrains Plugin Administration Team

Closing for now


Duplicate menu

Hi
Once I updated to Laravel 5.3 and downloaded laravel-dashboard again I face this issue.

This is my dashboard link in middleware file:
protected function registerSidebarMenu(){
      $menu = App('laravel_dashboard')->getSidebarMenu();
      $menu->setLabel('Madny 18')
      ->addLink(trans('dashboard.menu.dashboard'), ['route' => 'dash'], ['before' => ''])
      ->addLink(trans('dashboard.menu.new'),['to' => 'dashboard/post/create'], ['before' => ''])
      ->addLink(trans('dashboard.menu.draft'), ['to' => 'dashboard/posts/draft'], ['before' => ''])
      ->addLink(trans('dashboard.menu.pending'), ['to' => 'dashboard/posts/pending'], ['before' => ''])
      ->addLink(trans('dashboard.menu.published'), ['to' => 'dashboard/posts/published'], ['before' => ''])
      ->addLink(trans('dashboard.menu.settings'), ['route' => 'dash.settings'], ['before' => ''])
      ->addLink(trans('dashboard.menu.logout'), ['to' => '/logout'], ['before' => '']);
    }

But I am sure it's not inserted twice.. but duplicated when print out to HTML

Hi @amrography
I tested this package with your menus in Laravel 5.3 and the result is fine. I think the problem is the menu registration (registerSidebarMenu) is called twice in your code.


Value pop-in in V2 Funding Cycle Funding Drawer

Summary
https://user-images.githubusercontent.com/104132113/166427587-c30f3eff-6588-40cb-a1f2-164f828c808a.mov
What is the current bug behavior?
What is the expected correct behavior?
Relevant logs and/or screenshots
Environment

Device/OS: [e.g. iOS]
Browser: [e.g. chrome, safari]
Hardware wallet: [e.g. Ledger w/ Metamask]

What is the expected correct behavior?


[Web Page] Display the output texts in other format like Markdown at the evaluation page

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
I'd like an option that I can see the output texts on eval web page in markdown format. Because the return text I tested is in markdown format, it will be more obvious to compare.
Describe alternatives you've considered
I am wondering if it is possible to add an option list that can display output texts in plain text, json, or markdown format.
Additional context

Hi @tianzhich, have you tried using the Table Settings option in the eval web page? There is an option to Render model outputs as Markdown.

If this doesn’t fully address your request or if you had something slightly different in mind, feel free to clarify, and we’ll be happy to explore it further!

@mldangelo Thank you very much. This is what I want. But the display seems not very good in the table cell. Maybe we can use a smaller font size, smaller margin between paragraphs etc...

Great suggestion! I'll add customizing the default font size / overriding styles to our backlog for future improvements.

That's great, and I'm willing to help in my free time recently.


Support custom permissions

follow up to: https://github.com/gr2m/github-app-token-action/pull/1/commits/2d5eced5968e6735fec0d8906d277ec8c8acc4b3
Our idea is to add separate permission_* parameters for each permission supported by GitHub Apps:
https://docs.github.com/en/rest/overview/permissions-required-for-github-apps
The permission_* keys can be generated based off https://github.com/octokit/app-permissions. Each time a new version of @octokit/app-permissions is released, the action.yml could be updated, in order to keep permissions always up-to-date. The README.md should be updated as well to make sure the documentation is up-to-date as well. Most permissions can be set to read or write, some can also be set to admin.
Having separate permissions has the benefit of code intelligence and errors shown directly on GitHub when an unknown permission is set due to a typo.

@octokit/app-permissions has a new release that I've been waiting for, it fixes a lot of incorrect and missing permissions: https://github.com/octokit/app-permissions/releases/tag/v2.0.0.

@parkerbxyz  @gr2m is still being worked on?

yes, we just don't have much time for it and had to prioritize https://github.com/actions/create-github-app-token/pull/143.
We started to work on a script that auto-updates the action.yml file to add all supported permissions as separate input variables, so that you get the full benefit of type checking in your dev environment and on github.com:
https://github.com/actions/create-github-app-token/pull/168


fastify not found, proceeding anyway if running ES module Node.js program

💥 Regression Report
Loading plugins which use fastify-plugin produces a warning message when running a native ES module program.
Last working version
Worked up to version: 2.0.2
Stopped working in version: 2.0.3
To Reproduce
Steps to reproduce the behavior:
Install latest fastify and fastify-static, run the following script.mjs (tested in Node.js 14.8.0):
// script.mjs
import fastifyStatic from 'fastify-static';

Expected behavior
fastify-static should validate the expected version of fastify is installed, nothing should display.  Instead it prints:
fastify not found, proceeding anyway

Adding a printout of the exception shows TypeError: Cannot read property 'filename' of undefined.
Your Environment

node version: 14.8.0
fastify version: 3.2.1
os: Linux
Looks to be caused by #94 and #97

Would you like to send a Pull Request to address this issue? Remember to add unit tests.

I've just tested this and I am not able to reproduce it. Can you provide a full repro repo?

I had to use this in order to set the root folder for fastify-static:
fastify.register(fastifyStatic, {
  root: join(dirname(fileURLToPath(import.meta.url)), "static"),
});

Ok I found the line that throws in ESM contexts: https://github.com/fastify/fastify-plugin/blob/master/plugin.js#L89


Upgrade dependencies

I just started to work with a bot of my own and it would be nice to start with latest and greatest 😃.
I also added to the Travis that it will run it against jdk7 and jdk8.

This change is

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable

Had to revert testing against jdk7, as it does not seem to be supported:
https://travis-ci.org/casidiablo/slack-rtm/jobs/231622766


viewModelScope not cancelled

Hello,
After watching Sean's explanation on Android (Google I/O'19) I've tried the same:
viewModelScope.launch {
    Timber.i("coroutine awake")
    while (true){
        delay(2_000)
        Timber.i("another round trip")
    }
}

Unfortunately onCleared it's called when the activity is killed but not when it's put in background.

Moved to SO (sorry): https://stackoverflow.com/questions/58099407/viewmodelscope-not-cancelled


ip changed to <IP_ADDRESS>

Changing the previous localhost ip from <IP_ADDRESS> to <IP_ADDRESS>  This will immediately terminate the browser connection upon timeout which may otherwise keep connected to fetch locally hosted site which generally has ip of <IP_ADDRESS>

Refer https://github.com/StevenBlack/hosts?tab=readme-ov-file#we-recommend-using-0000-instead-of-127001