afterPropertiesSet of InitializingBean is not called as expected

Following #1455, I  able to make an application with com.alibaba.druid compiled. However, on startup I got the following error:
java.sql.SQLException: url not set
        at com.alibaba.druid.pool.DruidDataSource.resolveDriver(DruidDataSource.java:1194) ~[druid-1.2.11.jar!/:1.2.11]
        at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:865) ~[druid-1.2.11.jar!/:1.2.11]
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]

Then I looked into the code, it should load the property from application.yml via DruidDataSourceWrapper.basicProperties but actually did not happen. I read from the issue list that the ConfigurationProperties annotation has been supported. Noted that DataSourceProperties implements InitializingBean interface, but the afterPropertiesSet method has never been called.
@ConfigurationProperties(prefix = "spring.datasource")
public class DataSourceProperties implements BeanClassLoaderAware, **InitializingBean** {
...

I created a demo project at https://github.com/xuanyue202/aot-druid-demo
java   -jar build/libs/demo-0.0.1-SNAPSHOT.jar run successfully while java -DspringAot=true  -jar build/libs/demo-0.0.1-SNAPSHOT.jar throws the error above.

Thanks for the report. This is an ordering problem. Without AOT afterPropertiesSet is called, and then the init method of the parent is invoked. With AOT, it is the reverse order.
This clearly is a bug but DataSourceWrapper could be rearchitectured to rely on the init method rather than introducing another one. It should rather override init and perform that code prior to calling super.init().

yes, this is what exactly I did to work around the problem. but i think fixing the bug might help to make spring-native more robust to third party libraries

I did to work around the problem.

Just a small nit, I don't see it as a workaround. While I consider the difference in ordering between AOT and non-AOT to be a bug, you shouldn't be relying on the order of execution if you need your customizations to apply before the init method is invoked. What you've changed is more idiomatic and would also work if the class was initialized manually.

but i think fixing the bug might help to make spring-native more robust to third party libraries

I agree. Spring Framework 6 is not using the same mechanism and is registering the init method on the bean definition directly, which is more idiomatic and consistent with the non-AOT use case. As Spring Native is in minimal maintenance mode, I am going to close this issue in favor of what we've done in Spring Boot 3. Please give it a try if you get a chance. Thanks!

@snicoll can you explain a bit more on "Spring Native is minimal maintenance mode". Because we are planning to migrate our springboot services to graalvm, what is your suggestion given that Spring Native is minimal maintenance mode?

@xuanyue202 we're focusing on Spring Framework 6 and Spring Boot 3, as announced here.


Latest pinot image fails when trying to start a pinot minion

When updating our Pinot minion, running in Kuberentes from:
apachepinot/pinot:0.13.0-SNAPSHOT-f31ce3835c-20230823-11-ms-openjdk-linux-arm64 to apachepinot/pinot:0.13.0-SNAPSHOT-18f3d0a8a5-20230906-11-ms-openjdk-linux-amd64
our minion pods fail with the following error:
exec ./bin/pinot-admin.sh: exec format error

The above is the only change.
In both cases, the start arguments remain the same:
 containers:
    - args:
        - StartMinion
        - '-clusterName'
        - arc-pinot-dev
        - '-zkAddress'
        - 'pinot-zookeeper:2181'
        - '-configFileName'
        - /var/pinot/minion/config/minion.conf

whoops my bad!


Gateway documentation

Terminology

Target peer endpoint (or set of load balanced peers).
Peer Gateway ("gateway in the peer") versus SDK Gateway ("gateway in the SDK")
Fabric Gateway SDKs versus Legacy SDKs

Top Priorities (Dave)

[x] https://hyperledger-fabric.readthedocs.io/en/latest/whatsnew.html#
[x] https://hyperledger-fabric.readthedocs.io/en/latest/txflow.html

Top priorities (Mark)

[x] https://hyperledger-fabric.readthedocs.io/en/latest/sdk_chaincode.html#fabric-application-sdks
[x] https://hyperledger-fabric.readthedocs.io/en/latest/fabric-sdks.html  this page could be removed in favor of the prior page.
[x] https://hyperledger-fabric.readthedocs.io/en/latest/write_first_app.html talks about SDK gateway and submitTransaction() - switch from asset-transfer-basic/application-javascript to asset-transfer-basic/application-gateway-typescript. Mention the two primary patterns 1) delegating endorsement to peer gateway and 2) specifying the endorsing organizations
[x] https://hyperledger-fabric.readthedocs.io/en/latest/peer_event_services.html#sdk-event-documentation

Top priorities (Andy)

[x] Add "Gateway" topic next to current Service Discovery architectural topic, cross-link them, and make any updates to "Service Discovery" so that they complement each other well.

Top priorities (Josh with guidance from Andy)

[x] Key Concepts - Peer topic. Add a peer gateway section in or around the "Applications and Peers" section to introduce the gateway key concepts. Mention the two primary patterns 1) delegating endorsement to peer gateway and 2) specifying the endorsing organizations.
https://hyperledger-fabric.readthedocs.io/en/latest/peers/peers.html#applications-and-peers -
https://hyperledger-fabric.readthedocs.io/en/latest/peers/peers.html#peers-and-organizations
https://hyperledger-fabric.readthedocs.io/en/latest/peers/peers.html#phase-1-proposal

Top priorities (Chris with guidance from Andy and Mark)

[ ] updating existing applications to use new SDKs

Key Concepts - Private data (Andy)

Mention the different gateway behavior when working with private data collections.
[x] https://hyperledger-fabric.readthedocs.io/en/latest/private-data/private-data.html#transaction-flow-with-private-data

Other Key Concept topics (Josh)

[x] There are minor references to application/peer flow in these topics. At each occurrence mention 'target' peer distributes the request to endorsing peers, and when using 'legacy SDKs' it is the application/SDK responsibility.
https://hyperledger-fabric.readthedocs.io/en/latest/network/network.html#using-an-application-on-the-channel
https://hyperledger-fabric.readthedocs.io/en/latest/orderer/ordering_service.html#phase-one-proposal
https://hyperledger-fabric.readthedocs.io/en/latest/orderer/ordering_service.html#phase-two-ordering-and-packaging-transactions-into-blocks

Tutorials (Josh)

[x] Each of these tutorials utilize peer CLI "peer chaincode invoke" with --peerAddresses. At the first occurrence within each tutorial simply state that CLI does not use gateway and you must target all the endorsing peers.
https://hyperledger-fabric.readthedocs.io/en/latest/test_network.html
https://hyperledger-fabric.readthedocs.io/en/latest/deploy_chaincode.html
https://hyperledger-fabric.readthedocs.io/en/latest/secured_asset_transfer/secured_private_asset_transfer_tutorial.html

FAQ - minor edits required (Dave)

[ ] https://hyperledger-fabric.readthedocs.io/en/latest/Fabric-FAQ.html#endorsement
[ ] https://hyperledger-fabric.readthedocs.io/en/latest/Fabric-FAQ.html#application-side-programming-model

Developing Applications and Commercial Paper tutorial (Andy/Mark/Matthew/James)

[ ] These topics discuss legacy SDK approach in detail. Developing Applications needs an entire overhaul with peer gateway highlighted. Will be tracked in https://github.com/hyperledger/fabric/issues/2983.
https://hyperledger-fabric.readthedocs.io/en/latest/developapps/application.html
https://hyperledger-fabric.readthedocs.io/en/latest/developapps/connectionprofile.html
https://hyperledger-fabric.readthedocs.io/en/latest/developapps/connectionoptions.html
https://hyperledger-fabric.readthedocs.io/en/latest/developapps/wallet.html
https://hyperledger-fabric.readthedocs.io/en/latest/developapps/gateway.html
https://hyperledger-fabric.readthedocs.io/en/latest/tutorial/commercial_paper.html

Reviewed / commented on Gateway overview doc PR - https://github.com/hyperledger/fabric/pull/3008
Terminology - I think we can properly initial capitalize "Fabric Gateway" as a feature, even though it's "free", and then safely use "gateway" as shorthand within that context.

@denyeart Can you confirm the tutorials text - seems odd that the CLI would not use gateway. Or are we saying that CLI does not access the gateway for THIS command / examples.

@joshhus CLI should ideally use gateway, but updating the CLI has not been prioritized yet.
Your first link is the main fabric docs source that generates ReadTheDocs.
The second link is specific to the IBP fabric operations console that was contributed recently to Hyperledger.

I don't seem to have access to check boxes. Tutorials done. Gateway overview done or close to it.

@denyeart I suggested some clarifications for your follow on PR - 2 comments - https://github.com/hyperledger/fabric/pull/3047
@andrew-coleman

@denyeart I suggested some clarifications for your follow on PR - 2 comments - #3047 @andrew-coleman

@joshhus  I answered your direct question in #3407. Please go ahead with any subsequent edits in another follow-on PR.

@denyeart @andrew-coleman Another page to get a redo for for 2.4 gateway - https://hyperledger-fabric.readthedocs.io/en/release-2.2/txflow.html. ... With images.

New PR for Peers e3e edit. Gateway overview some minor updates. https://github.com/hyperledger/fabric/pull/3072

New hyperledger fabric developer feedback - I am totally confused between 2.4 Fabric Gateway and the "Gateway" design element - https://hyperledger-fabric.readthedocs.io/en/latest/developapps/gateway.html. Is this deprecated by Fabric Gateway? What gateway code is being called in the code snippets await gateway.connect(connectionProfile, connectionOptions); ?
Is https://github.com/hyperledger/fabric-gateway-java related to 2.4 Fabric Gateway?
It would appear there are 3 references to 3 different "gateway" code or design elements. Clarity in documentation would be very much appreciated, especially if older versions can not be retroactively changed to remove overloaded references.

@jonmchan The documentation is still being reworked following the release of Fabric v2.4, including the Fabric Gateway service. Developing Applications is one of the pieces not yet updated. Feedback on where it is deficient (and it is!) is welcome; as are contributions.
Do these updated pages make things any clearer around Fabric Gateway and the application APIs?

https://hyperledger-fabric.readthedocs.io/en/latest/gateway.html
https://hyperledger-fabric.readthedocs.io/en/latest/sdk_chaincode.html

@bestbeforetoday thanks for the reply. The updated pages provide limited clarity on the topic for me. Yes, through the documentation, I understand the gateway abstracts away from the client having to know which peers to connect and exposes evaluate, endorse, and submit functions to the client to interact with the blockchain, but how this relates to older versions of the code and fabric-gateway-java is not understood. Further, no working example of this is available (ran into issue trying to start fabric-gateway test network and scenarios - https://github.com/hyperledger/fabric-gateway/issues/351#issuecomment-995816874). A tutorial would be very useful. I found the original RFC more insightful than the documentation - https://hyperledger.github.io/fabric-rfcs/text/0000-fabric-gateway.html.
Open questions and state of learning discovery for this new hyperledger fabric developer:
What becomes of all the connection profiles and setup mentioned in https://hyperledger-fabric.readthedocs.io/en/latest/developapps/gateway.html?
It would appear from the RFC that fabric-gateway-java is indeed related to Fabric Gateway as mentioned in prior art https://hyperledger.github.io/fabric-rfcs/text/0000-fabric-gateway.html#prior-art? Is this the same project? Does the fabric-gateway-java become deprecated or are they independent methodologies of achieving the same thing?

imho, one of the biggest causes of confusion is the name overload for "fabric-gateway". The new 2.4 integrated Fabric Gateway is exactly the same as the 1.4 external fabric-gateway which makes google searching extremely confusing and frustrating - it's not like these 2 things are different - they're both implementations of a gateway system so you can't even tell from reading the context. The original poster "Peer Gateway" vs "SDK Gateway" terminology needs to be highlighted and utilized as much as possible.

@jonmchan The tutorial for running a Fabric application has now been updated, and steps through set up and running one of samples in the fabric-samples repository that uses the new application API:
https://hyperledger-fabric.readthedocs.io/en/latest/write_first_app.html
Does this help?

@jonmchan The two documentation pages I linked to earlier should answer your question on how the fabric-gateway and fabric-gateway-java APIs relate to each other. For example, the Fabric Contract APIs and Application APIs page refers and links to the  fabric-gateway API as "the preferred API for developing applications for Fabric v2.4 onwards", whereas it refers and links to the fabric-gateway-java SDK as "Legacy application SDKs [that] support versions of Fabric prior to v2.4, and do not require the Gateway peer capability."
Specific suggestions for what to say where to make things clearer are welcome.

@bestbeforetoday i'll go through the tutorial and leave feedback - this looks like it might be exactly what I'm looking for.
In terms of specific suggestions, since the documentation is very large and spans multiple pages, having a note on https://hyperledger-fabric.readthedocs.io/en/latest/developapps/gateway.html and https://hyperledger-fabric.readthedocs.io/en/latest/gateway.html may be useful for those directly going to those pages and not browsing the entire documentation. Alternatively, could the gateway pages be consolidated?
Thank you.

@jonmchan In January we are restarting a HLF community monthly call on documentation. Perhaps you'd like to join it to give feedback and contributions. TBA. @denyeart

@joshhus sure - i'd be interested in participating. Keep me posted. Thank you.

Closing this item in favor of individual issues for the remaining subtasks.

Developing Applications https://github.com/hyperledger/fabric/issues/2983
FAQ https://github.com/hyperledger/fabric/issues/3152
Updating existing applications https://github.com/hyperledger/fabric/issues/3151


Create ossar.yml

Prior to creating a pull request, please follow all the steps in the contributing guide.
Fixes #issue number
Description of what's changed/fixed.

https://gist.github.com/gilbertalgordo

blurred lines


Incorrect Mega Medicham textures

https://puu.sh/z6kWa/05f9da5705.png
Sorry for the bad angle but it would appear that Mega Medicham is using the same textures as Sylveon, at least to some degree, as indicated by the out of place pinks and blues on the model.

Fixed


Unable to determine type of room(remote) after clearing memory.

Commit or otherwise version of the bot
a9565efdb28da7ddfed7e0c0f59ac9fceafc09bd
Describe the bug
When a remote room is reserved, after clearing memory; the room is shown as 'undefined' causing the error
Expected behaviour
Unknown
How can we reproduce this?
Have a reserved remote and clearMemory() I believe once a creep enters the room it errors
Potential fix
With a reserved room present after a memory reset - assign it as a remote in Memory and abandon it
Applicable media
TypeError: Cannot set property '0' of undefined
    at RemotesManager.initRun  (../src/room/commune/remotesManager.ts:44:63)
    at RemotesManager.wrappedFunction  (../src/other/profiler.ts:104:32)
    at CommuneManager.initRun  (../src/room/commune/commune.ts:313:28)
    at CommuneManager.wrappedFunction  (../src/other/profiler.ts:104:32)
    at RoomManager.initRun  (../src/room/room.ts:268:37)
    at RoomManager.wrappedFunction  (../src/other/profiler.ts:104:32)
    at RoomsManager.initRun  (../src/room/rooms.ts:42:29)
    at profiler.wrap  (../src/main.ts:82:21)
    at Object.wrap  (../src/other/profiler.ts:480:15)
    at originalLoop  (../src/main.ts:65:13)

even after the room loses its reserved status, it remains undefined

I believe this is resolved in latest


Moved aptos, react and react-dom to peerDependencies

When a shared dependency like aptos is defined under dependencies, the package manager can decide to pull different bundles for each package.
Defining it under peerDependencies is telling the package manager "I need this package in any of these version, but I'll let the root package.json decide the version", ensuring (when possible) a single bundle under node_modules.
This is particularly important for dependencies that share classes and instances e.g. axios, aptos, react ...
If there's multiple bundles (even if the versions are compatible or the same), operators like instanceof are not going to work as expected

Can you run changeset ? so we can release a new version with it


Error: too many requests

Few requests worked, but now getting this error:
Edit: Created new truecaller account working again. So the previous account got banned? Previous account working fine on android truecaller app.
 truecallerpy -s +912242207777
Traceback (most recent call last):
  File "/usr/local/bin/truecallerpy", line 8, in <module>
    sys.exit(ExecuteTrurcallerPy())
  File "/usr/local/lib/python3.8/dist-packages/truecallerpy/__init__.py", line 217, in ExecuteTrurcallerPy
    truecallerpy_search_phonenumber(config)
  File "/usr/local/lib/python3.8/dist-packages/truecallerpy/__init__.py", line 132, in truecallerpy_search_phonenumber
    jsonInfo = search_phonenumber(getNumber(
  File "/usr/local/lib/python3.8/dist-packages/truecallerpy/__init__.py", line 105, in search_phonenumber
    if req.json().get('status'):
  File "/usr/lib/python3/dist-packages/requests/models.py", line 897, in json
    return complexjson.loads(self.text, **kwargs)
  File "/usr/lib/python3/dist-packages/simplejson/__init__.py", line 518, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 370, in decode
    obj, end = self.raw_decode(s)
  File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 400, in raw_decode
    return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

send me which version of package you are using
~$ truecallerpy -v

if the version is not showing update to latest version and try , if version shows just post here i will check

truecallerpy -v
truecallerpy
Version     : 0.0.12
Summary     : A package to find phone number details
Home-page   : https://github.com/sumithemmadi/truecallerpy
Author      : Sumith Emmadi
Author-email<EMAIL_ADDRESS>License     : MIT

So there is a rate limit for sure. Tried another number 10-20 times! Getting the same error!
Tried to log in again with truecallerpy -login  error is Phone number limit reached

Yes, there is rate limit . Coming to your problem you got a JSONDecodeError, the JSONDecodeError is raised when the response object from Truecaller cannot be converted to JSON.
Maybe it is empty or The response is not a json.
If you want to know what the exact error that you are getting.
Open this file with you favorite text editor
vim  `python3 -c "import sysconfig; print(sysconfig.get_path('purelib'))"`/truecallerpy/__init__.py

If you are using vscode
code  `python3 -c "import sysconfig; print(sysconfig.get_path('purelib'))"`/truecallerpy/__init__.py

And add  print(req.text) after line number 104 and save it.
Then try to run you will get same error with response if truecaller , paste the output at here i will check it.
Btw which operating system are you using ?

Error code 429
Error Message too many requests

fixed in https://github.com/sumithemmadi/truecallerpy/compare/v0.0.12...v0.0.13


Test  chef foundation-version on Windows

Description

Related Issue

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] I have run the pre-merge tests locally and they pass.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[x] All commits have been signed-off for the Developer Certificate of Origin.

This looks correct to me:

Matches the file: https://github.com/chef/chef/pull/13843/files#diff-658b6e55269136166cbaee6b463418b512378e21d46d5f9f307260f592439ae6R2


allow simplecache

I allow both netcdf and opendap (default) as drivers.
simplecache:: in filestring allowed

This is not finished yet, as I want to generalize for other actions:: like zip::/*.nc or filecache::. EDIT: probably simplecache:: is enough

somehow this example doesnt work:
url='simplecache::http://dap.nci.org.au/thredds/catalog.xml'
paths = [
        'eMAST TERN',
        'eMAST TERN - files',
        'ASCAT',
        'ASCAT_v1-0_soil-moisture_daily_0-05deg_2007-2011',
        '00000000',
        '*[8-9]12.nc',
    ]
cat = intake.open_thredds_merged(url, paths, driver='netcdf')
cat.to_dask() # uses driver: intake_xarray.opendap.OpenDapSource despite defined netcdf above

but this, with identical setup IMO, works:
# caches 10 years
cat = intake.open_thredds_merged(f'simplecache::https://psl.noaa.gov/thredds/catalog.xml',
                                 ['ncep.reanalysis','surface_gauss','air.2m.gauss.194*.nc'], driver='netcdf')
cat.to_dask() # uses driver: driver: intake_xarray.netcdf.NetCDFSource

@aaronspring, the Python 3.7 CI is failing due to the fact that conda/mamba are installing the pypy implementation of Python instead of the cpython implementation. When you get a chance add this line to  dependencies section in the environment files in ci/ directory
- python=*=*cp*

We should move on with some documentation of this package next.

We should move on with some documentation of this package next.

👍🏽 Definitely


Errors on use thumbnail (change, click)

I have 2 sliders, 1 for the thumbnails and the other for the larger images.
When I click on the thumbnail to change the larger image some errors are happening. Errors do not occur at the same time, sometimes one, sometimes another.
1 - I click on the thumbnail and this error happens:
Cannot read property 'indexOf' of undefined
In addition, the thumbnail is "glued" to the mouse pointer, with and if you are dragging with your finger on the phone.
2 - I click on a thumbnail, but it does not become active. The active class continues in the previously clicked thumbnail.
3 - Sometimes the swiper-slide-thumb-active class changes to the active slide, but the swiper-slide-active class remains on the previous slide.
4 - The clicks are not fluent, I often click on the thumbnail and nothing happens, it seems that it does not identify the click. Sometimes I click more than once or twice for him to identify.
5 - It often looks like the thumbnail only changes if I double-click.
Here demo: Code pen demo

Решил попробовать перейти на этот слайдер, раньше использовал Slick, но на первом же проекте возникла та же проблема :(
Тормознул пока этот процесс.

Fixed by #3020


Export/Create a new homedir API method

Export (create) a new API method homedir. The goal is to design an API similar to Node.js os.homedir.
When we need to create and manage a "global" configuration on the system we need a dedicated directory for NodeSecure (to store the configuration).
This new method should return the path to a nodesecure directory is the os home directory:
import os from "os";
import path from "path";

// !! This !!
path.join(os.homedir(), "nodesecure")

The new API must be used like this:
import * as rc from "@nodesecure/rc";

rc.homedir();

This new API will be useful in our tools like CLI or CI (for example, look at kHomePath const: https://github.com/NodeSecure/cli/pull/104).

I'm on it


Make Lightning enchantment (similar to channeling but no lightning rod)

do questing

did questing and fixed bugs*


Update test imports for qiskit-aer 0.11

Summary
qiskit-aer moved from a namespace package at qiskit.providers.aer to its own package qiskit_aer with version 0.11. Tests in qiskit-experiments importing from the old path fail with qiskit-aer 0.11. This PR updates those imports.
Closes #912
Details and comments
This is a follow up to #911.
For the aer change, see See https://github.com/Qiskit/qiskit-aer/pull/1526.
@conradhaupt and I were running into this, but I can't add him as a reviewer.

Reading #1526 more closely, I see that https://github.com/Qiskit/qiskit-terra/pull/5089 added some importing magic to redirect qiskit.providers.aer to qiskit_aer which allowed the qiskit-experiments tests to keep passing with 0.11. The actual issue requiring qiskit-experiments to update the aer imports is that pylint is not smart enough to follow the importing magic and complains about qiskit.providers.aer imports when qiskit-aer 0.11 is installed. See this run for example.
Maybe we could have satisfied pylint in a different way without updating the imports yet, but we only use aer in the tests, so it doesn't seem like there is a need to keep compatibility with qiskit-aer<0.11.

My understanding of https://github.com/Qiskit/qiskit-terra/pull/5089 and https://github.com/Qiskit/qiskit-aer/pull/1526 is that Qiskit Aer has officially moved to qiskit_aer, but that qiskit.provider.aer is provided so that old code still works?

Right. If aer were an actual dependency of qiskit-experiments, I think maybe we should have figured out how to get pylint to ignore it since it seems unnecessary to force users to update to keep pylint happy, but since this is just the version that gets used in tests it seems okay to require the new version.

Yeah, the new path is qiskit_aer. The import redirect hooks were added to qiskit-terra (which owns the qiskit.* namespace) for backwards compatibility. So that anyone with existing code, or code they want to support > 1 version  of qiskit-aer, can continue to use the old namespace. Eventually importing from qiskit.providers.aer or qiskit.Aer will emit a deprecation warning asking you to move to qiskit_aer. It is better longer term to update the imports to the new path, but you're both correct it's not actually required. You could just add qiskit.providers.aer to the pylint module ignore list in the config to fix the failures. I guess it depends on what you want do with supporting aer versions and whether >=0.11.0 is required

Since aer is only used in tests, I think it is okay to increase the minimum version. It is probably uncommon for someone to want to run the tests and not be able to update aer (in the worst case, they can make a separate environment for running qiskit-experiments tests). We could ignore the package in pylint, but then we have the small downside of pylint not checking aer function signatures. Maybe doing try/except with both import paths could support 0.10 or 0.11 and still get pylint to check the aer signatures.
I don't feel too strongly. The main thing is that we pinned aer in #911 to get tests working again and should try to get it unpinned. I defer to @coruscating on which way is best.

+1 to increase the minimum version (in requirements-dev.txt) since aer is only used in tests.


Error on make test

Without checking in-depth, seems related to Optimism and Arbitrum, most probably something on the nodes (lack of archive?), as they tests should just work, being pinned to an specific block.
Running 2 tests for src/test/polygon/AaveV3PolJEURAGEURFreeze.t.sol:AaveV3PolJEURAGEURFreeze
[PASS] testAGEUR() (gas: 6430089)
[PASS] testJEUR() (gas: 6428800)
Test result: ok. 2 passed; 0 failed; finished in 1.12s
2023-01-23T08:51:34.988426Z ERROR sharedbackend: Failed to send/recv `basic` err=GetAccount(0x5615deb798bb3e4dfa0139dfa1b3d433cc23b72f,
(code: -32000, message: missing trie node 1685b1f5f0bfc031f3e5824640ca411c372e0baf34d31f221d58551092a70fd3 (path ) <nil>, data: None)) address=0x5615deb798bb3e4dfa0139dfa1b3d433cc23b72f
2023-01-23T08:51:34.988426Z ERROR sharedbackend: Failed to send/recv `basic` err=GetAccount(0x5615deb798bb3e4dfa0139dfa1b3d433cc23b72f,
(code: -32000, message: missing trie node 1685b1f5f0bfc031f3e5824640ca411c372e0baf34d31f221d58551092a70fd3 (path ) <nil>, data: None)) address=0x5615deb798bb3e4dfa0139dfa1b3d433cc23b72f
2023-01-23T08:51:35.324122Z ERROR sharedbackend: Failed to send/recv `basic` err=GetAccount(0xa4b000000000000000000073657175656e636572,
(code: -32000, message: missing trie node 1685b1f5f0bfc031f3e5824640ca411c372e0baf34d31f221d58551092a70fd3 (path ) <nil>, data: None)) address=0xa4b000000000000000000073657175656e636572
2023-01-23T08:51:35.324122Z ERROR sharedbackend: Failed to send/recv `basic` err=GetAccount(0xa4b000000000000000000073657175656e636572,
(code: -32000, message: missing trie node 1685b1f5f0bfc031f3e5824640ca411c372e0baf34d31f221d58551092a70fd3 (path ) <nil>, data: None)) address=0xa4b000000000000000000073657175656e636572
mThe application panicked (crashed).
Message:  called `Option::unwrap()` on a `None` value
Location: /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/revm-2.3.1/src/evm_impl.rs:285

This is a bug. Consider reporting it at https://github.com/foundry-rs/foundry

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
The application panicked (crashed).
Message:  called `Option::unwrap()` on a `None` value
Location: /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/revm-2.3.1/src/evm_impl.rsmake: *** [test] Abort trap: 6

Without checking in-depth, seems related to Optimism and Arbitrum, most probably something on the nodes (lack of archive?), as they tests should just work, being pinned to an specific block.
Running 2 tests for src/test/polygon/AaveV3PolJEURAGEURFreeze.t.sol:AaveV3PolJEURAGEURFreeze
[PASS] testAGEUR() (gas: 6430089)
[PASS] testJEUR() (gas: 6428800)
Test result: ok. 2 passed; 0 failed; finished in 1.12s
2023-01-23T08:51:34.988426Z ERROR sharedbackend: Failed to send/recv `basic` err=GetAccount(0x5615deb798bb3e4dfa0139dfa1b3d433cc23b72f,
(code: -32000, message: missing trie node 1685b1f5f0bfc031f3e5824640ca411c372e0baf34d31f221d58551092a70fd3 (path ) <nil>, data: None)) address=0x5615deb798bb3e4dfa0139dfa1b3d433cc23b72f
2023-01-23T08:51:34.988426Z ERROR sharedbackend: Failed to send/recv `basic` err=GetAccount(0x5615deb798bb3e4dfa0139dfa1b3d433cc23b72f,
(code: -32000, message: missing trie node 1685b1f5f0bfc031f3e5824640ca411c372e0baf34d31f221d58551092a70fd3 (path ) <nil>, data: None)) address=0x5615deb798bb3e4dfa0139dfa1b3d433cc23b72f
2023-01-23T08:51:35.324122Z ERROR sharedbackend: Failed to send/recv `basic` err=GetAccount(0xa4b000000000000000000073657175656e636572,
(code: -32000, message: missing trie node 1685b1f5f0bfc031f3e5824640ca411c372e0baf34d31f221d58551092a70fd3 (path ) <nil>, data: None)) address=0xa4b000000000000000000073657175656e636572
2023-01-23T08:51:35.324122Z ERROR sharedbackend: Failed to send/recv `basic` err=GetAccount(0xa4b000000000000000000073657175656e636572,
(code: -32000, message: missing trie node 1685b1f5f0bfc031f3e5824640ca411c372e0baf34d31f221d58551092a70fd3 (path ) <nil>, data: None)) address=0xa4b000000000000000000073657175656e636572
mThe application panicked (crashed).
Message:  called `Option::unwrap()` on a `None` value
Location: /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/revm-2.3.1/src/evm_impl.rs:285

This is a bug. Consider reporting it at https://github.com/foundry-rs/foundry

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
The application panicked (crashed).
Message:  called `Option::unwrap()` on a `None` value
Location: /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/revm-2.3.1/src/evm_impl.rsmake: *** [test] Abort trap: 6

Details


#4 - Fix Widget parsing issue

Issue while loading widget : Related issue #4

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


RSynaptic Neuron Model NOT in snnTorch

Hello,
I am trying to use the RSynaptic neuron model but even though it is documented in the snnTorch website, the class RSynaptic(LIF) is not included in the snntroch module.
This this the error I get when I try to use it:

AttributeError: module 'snntorch' has no attribute 'RSynaptic'

I'm still testing their robustness, so I have not yet pushed the latest neurons to pypi (i.e., not yet installable via pip install ...).
I'll have this finalised in the week, but until then, you will need to install snntorch from source:
$ git clone https://github.com/jeshraghian/snnTorch
$ cd snnTorch
$ python setup.py install

I've pushed all the latest updates to PyPi and the RSynaptic(LIF) neuron model should now work correctly.

It does work correctly! Thanks a lot.


[Feature request] Adding version number on the UI

When I see a difference in behavior between what is happening on my machine with Azure IoT Explorer and what is happening on my co-workers machine, it would be nice to have a version number of the app to determine if we are running different explorers.

Hi @anthonyvercolano,
Our latest release made one step closer towards this request.
By opening Help => About azure-iot-explorer from the tool bar, it would open a browser tab directing the users to the matching release page on the github which contains the version number.
We will close this issue at this time, and keep improving on the user experience!


redisson-3.13.1 throws java.lang.ClassCastException for gets when used with AWS Elasticache Cluster mode enabled

Expected behavior
We currently use Redisson 3.11.5 with AWS Elasticache Cluster mode enabled. Gets using RBuckets works well.
When we tried to upgrade to Redisson 3.13.1, we expected gets should work seemlessly without issue
Actual behavior
But When we tried to upgrade to 3.13.1, started to see ClassCastExceptions.
I have tried to look into scenarios on when this was happening.
Looks like it happens whenever redission client is seeing MOVED response from connected redis node
Issue get resovled immediately when we rollback to 3.11.5
questions:

is there something different in cluster mode handling in 3.13.1?
Looks  like 3.11.5 rightly resolve to right slot and node and is able to cast payload correctly. But  with 3.13.1 something is broken.

Steps to reproduce or test case
Redis version
5.0.6
Redisson version
3.13.1
Redisson configuration

please share stacktrace and code example to reproduce the issue.


New module ALB and unit test.

I know there is a web-alb module. This is a little different on functions and, more importantly, a usable example. I think we can merge the two modules in the future.

name: Pull request template
about: Make a PR to terraform-aws-foundation
Please include the following in your PR:
Please also note that these are not hard requirements, but merely serve to define
what maintainers are looking for in PR's.  Including these will more likely lead
to your PR being reviewed and accepted.

[ ] Update the changelog
[ ] Make sure that modules and files are documented. This can be done inside the module and files.
[ ] Make sure that new modules directories contain a basic README.md file.
[ ] Make sure that the module is added to tests/main.tf
[ ] Make sure that the linting passes on CI.
[ ] Make sure that there is an up to date example for your code:
- For new modules this would entail example code for how to use the module or some explanation in the module readme.
- For new examples please provide a README explaining how to run the example. It's also ideal to provide a basic makefile to use the example as well.
[ ] Make sure that there is a manual CI trigger that can test the deployment.

@qrilka I knew you used web-alb module. So please give advise here.

Nah, in the end it didn't work out because of requirement of preexisting ACM certificate. So in the end I stole some code from https://gitlab.fpcomplete.com/greatcall/consumer-env/tree/master/terraform/modules/env-wrapper
I'll take a look into this tomorrow

When using ALB's elsewhere, I generally found it best to keep the ALB separate from the Target Groups. Target Groups are more closely associated with ASGs (1:1). It's also questionable to combine the listeners with ALB.

@ketzacoatl I have update the PR for some minor changes underneath. Please review.

@Magicloud can you confirm using this parameter, or using the ELB parameter, don't conflict with each other?


fix: ArtifactGCOnWorkflowDeletion typo quick fix

Signed-off-by: Dillen Padhiar<EMAIL_ADDRESS>Quick small typo fix.

Did you run make pre-commit -B?

Did you run make pre-commit -B?

Yes, I was also surprised no other files changed as well.


XML Preprocessor cannot be used in nested XMLView

OpenUI5 version:
1.97.2
Browser/version (+device/version):
Chrome Version 98.0.4758.102
Any other tested browsers/devices(OK/FAIL):
Fail
URL (minimal example if possible):
N/A
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:

Use template:if in a nested XMLView
See errors:

Uncaught ModuleError: failed to load 'http://schemas/sap/com/sapui5/extension/sap/ui/core/template/1/repeat.js' from
https://sapui5.hana.ondemand.com/1.97.2/resources/http://schemas/sap/com/sapui5/extension/sap/ui/core/template/1/repeat.js:
404

What is the expected result?
template:if can be used
What happens instead?
See errors
Any other information? (attach screenshot if possible)
Related files:

main.view.xml:

<mvc:View
  xmlns="sap.ui.core"
  xmlns:m="sap.m"
  xmlns:mvc="sap.ui.core.mvc"
  xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
  controllerName="controller1"
>
<mvc:XMLView
          id="id1"
          viewName="view2"
        />
</mvc:View>

view2.view.xml

<mvc:View
  xmlns="sap.m"
  xmlns:core="sap.ui.core"
  xmlns:mvc="sap.ui.core.mvc"
  xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
  controllerName="cn2"
>
<template:repeat list="{meta>/assList}" var="ass">
              <Label text="{path: 'ass>label'}" />
              <Text text="{path: 'ass>name'}" />
            </template:repeat>
</mvc:View>

controller1.ts

var oModel = new sap.ui.model.json.JSONModel();
        var data = {
          bands: [
            {
              name: "Thin Lizzy",
              members: [
                { first: "Scott", last: "Gorham", image: "http://www.thinlizzy.org/images/biog_scott.jpg", birthdate: "17. März 1951" },
                { first: "Brian", last: "Robertson", birthdate: "12. Februar 1956" },
                { first: "Brian", last: "Downey", image: "http://www.thinlizzy.org/images/biog_briand.jpg", birthdate: "27. Januar 1951" }
              ]
            }
          ]
        };

        oModel.setData(data);
        sap.ui.getCore().setModel(oModel);
        panelContent = sap.ui.view({
          id: this.getView().createId(sSimplePropertiesId),
          type: sap.ui.core.mvc.ViewType.XML,
          viewName: sPropertiesViewId,
          preprocessors: {
            xml: { // call default XML pre-processor with arguments
              bindingContexts: {
                meta: oModel.createBindingContext("/bands/0")
              },
              models: { meta: oModel }
            }
          },
        });

The template:if cannot be used here in view2.view.xml, but if I move this part of code to main.view.xml it works well. How can I use this preprocessor here?
By the way, I think this is a very common scenario to use template:if like what ngIf does in Angular, do we plan to have a easy way to use this in future?

Hello @taosha121 !
You might want to use a fragment instead of a nested view, see XML Fragments. In that case, XML Templating recursively descends into the fragment as well.
Best regards,
Thomas

Hello @taosha121 ,
Thank you for sharing this finding. I've created an internal incident<PHONE_NUMBER>. The status of the issue will be updated here in GitHub.
Regards,
Petar

Hello @dimovpetar ,
Thank you for this information, I cannot wait to try this new feature :)

This item will be tackled in backlog item CPOUI5FRAMEWORK-452. Further updates will be posted here.


fix issue 28, allowed characters for project name in settings page

Fix issue 28
adds a custom function in the default project schema to check if characters used in the name of the projects are alphanumeric.
also adds an error message if characters are not alphanumeric.

Have you checked that this doesn't have any effects on existing projects with non complying names ? And also can you still save project settings from projects with wrong names ?

Hi !
Projects with non complying name are not affected, as long as you don't try to rename them in the settings page, indeed you cannot save projects with wrong names in the settings page.


Login on iOS

As per https://docs.google.com/document/d/1K-iSxSOaCVdMJweiwOUwVO92tVaCU7FjvlUmco11tgY/edit#bookmark=id.vki0kj3z6d0z - Log In button should be disabled until user enters an email AND password. This eliminates the need for the Error modal.
Also should be 16pt between username and password fields.

It was implemented in scope another enhancement.


Error on server started

db: sqlite

Fallback handler could not load library ***Server_Path/7DaysToDieServer_Data/Mono/data-000001F1DF607020.dll
Fallback handler could not load library ***Server_Path/7DaysToDieServer_Data/Mono/data-000001F1DF4F91E0.dll
Fallback handler could not load library ***Server_Path/7DaysToDieServer_Data/Mono/data-000001F1DF625A70.dll
Fallback handler could not load library ***Server_Path/7DaysToDieServer_Data/Mono/data-000001F1DF627880.dll
Fallback handler could not load library ***Server_Path/7DaysToDieServer_Data/Mono/data-000001F1DF62B0A0.dll
Fallback handler could not load library ***Server_Path/7DaysToDieServer_Data/Mono/data-000001F1DF63E010.dll
Fallback handler could not load library ***Server_Path/7DaysToDieServer_Data/Mono/data-000001F1DF640220.dll
Fallback handler could not load library ***Server_Path/7DaysToDieServer_Data/Mono/data-000001F1DF642C30.dll
Fallback handler could not load library ***Server_Path/7DaysToDieServer_Data/Mono/data-000001F1DF64D050.dll
Fallback handler could not load library ***Server_Path/7DaysToDieServer_Data/Mono/data-000001F1DF64E860.dll

Can you tell me what version of the game you are running and your server's OS?

Tried 17.2b20 and latest 17.2b27. Win Server 2016.


[BACKLOG-5360] Fixed import of Trans that calls Job/Trans

Added check for ObjectLocationSpecificationMethod of "filename" before performing any operations on the imported trans.
Also fixed some CheckStyle violations and added unit tests for TransFileListener.

@mdamour1976 Mind a review? Please and thanks!


Fix start command

Currently the start command is broken.
The problem is, that setup_django is only called once.
Either succeed to running setup_django once more after migrate, or call enure_cache and create_constantes manually or call migrate in a separate process.

Done.


2D Traverser

This library can easily be used for 2D contexts as well. The only additional feature it would need is a traverser that takes advantage of the simpler AABB test. Here's the AABB test, where x and y are the pixel coordinates.
float intersect(float x, float y, const Bvh<float>::Node& node)
{
  if ((x < node.bounds[0])
   || (x > node.bounds[1])
   || (y < node.bounds[2])
   || (y > node.bounds[3])) {
    return std::numeric_limits<float>::infinity();
  }
  return std::min(node.bounds[4], node.bounds[5]);
}

This is how I currently use this library for a 2D renderer that I've been working on. Would you be interested in a PR for this? The only thing I'd need to do is add support for the Intersector template parameter and Statistics parameter, the rest is already written and quite simple.

Do you mean traversing a 2D BVH, or traversing a 3D BVH with a plane instead of a ray?

Traversing a 3D BVH with a point from an image plane. I consider the 3D BVH useful because the scene primitives still have a Z index.

If all you need is a 2D BVH, it might make sense not to use this library because BVH nodes can be made smaller, and the split heuristic should probably be changed (the SAH might not represent the cost of your traversal operation well). Seeing this is a not so common use of the library, I'd rather keep this separate if possible. If you want, I can add a NodeIntersector template parameter to the SingleRayTraverser class, and you can plug your code there. Not sure if that helps?

It can stay separate then. I guess it's not too difficult that on the chance that someone else needs it, they can do it themselves with relatively little effort.

I have refactored the code to allow custom node intersectors in the SingleRayTraverser class. Let me know if this helps (or not?).

@madmann91 Yes, that's helpful! That definitely makes it easier to retrofit into a 2D renderer. I'll have to a take another look at the node intersectors you added at some point, looks pretty neat.


Install error in virtualenv/python3.4 on debian8 using pip

Installing silx in a brand-new virtualenv on debian8 with pip3.4 fails:
############
favre@gpu2-1304:~$ export BASEDIR=~favre
favre@gpu2-1304:~$ cd $BASEDIR
favre@gpu2-1304:~$ mkdir -p test-env
favre@gpu2-1304:~$ virtualenv -p python3.4 test-env/
Running virtualenv with interpreter /usr/bin/python3.4
Using base prefix '/usr'
New python executable in test-env/bin/python3.4
Also creating executable in test-env/bin/python
Installing setuptools, pip...done.
favre@gpu2-1304:~$ source test-env/bin/activate
(test-env)favre@gpu2-1304:~$ pip3.4 install --upgrade pip
Downloading/unpacking pip from https://pypi.python.org/packages/b6/ac/7015eb97dc749283ffdec1c3a88ddb8ae03b8fad0f0e611408f196358da3/pip-9.0.1-py2.py3-none-any.whl#md5=297dbd16ef53bcef0447d245815f5144
Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB): 1.3MB downloaded
Installing collected packages: pip
Found existing installation: pip 1.5.6
Uninstalling pip:
Successfully uninstalled pip
Successfully installed pip
Cleaning up...
(test-env)favre@gpu2-1304:~$ pip3.4 install numpy
Collecting numpy
Using cached numpy-1.12.0-cp34-cp34m-manylinux1_x86_64.whl
Installing collected packages: numpy
Successfully installed numpy-1.12.0
(test-env)favre@gpu2-1304:~$ pip3.4 install silx
Collecting silx
Using cached silx-0.4.0.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-gw4145o3/silx/setup.py", line 505, in
long_description=get_readme(),
File "/tmp/pip-build-gw4145o3/silx/setup.py", line 86, in get_readme
long_description = fp.read()
File "/mntdirect/_users/favre/test-env/lib/python3.4/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1401: ordinal not in range(128)
silx.io.specfile WARNING:
A cleaner locale independent implementation
may be achieved setting SPECFILE_USE_GNU_SOURCE to 1
For instance running this script as:
SPECFILE_USE_GNU_SOURCE=1 python setup.py build
----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-gw4145o3/silx/
----------------------------------------

Sorry I was too quick - this is not a dependency to numpy. I've updated the description

Exact steps to reproduce:
export BASEDIR=~favre
cd $BASEDIR
mkdir -p test-env
virtualenv -p python3.4 test-env/
source test-env/bin/activate
pip3.4 install --upgrade pip
pip3.4 install numpy
pip3.4 install silx

NB: "pip3.4 install -I silx==0.3.0" works

The word "egg" appearing at the end of your error log makes me think that you don't have wheelinstalled. Can you try
pip install setuptools --upgrade
pip install wheel --upgrade

(http://www.silx.org/doc/silx/dev/virtualenv.html#upgrade-setuptools-and-wheel)

Thanks. The following steps indeed work:
export BASEDIR=$PWD
cd $BASEDIR
mkdir -p test-env
virtualenv -p python3.4 test-env/
source test-env/bin/activate
pip3.4 install --upgrade pip
pip3.4 install numpy
pip3.4 install setuptools --upgrade
pip3.4 install wheel --upgrade
pip3.4 install silx

But it probably still should work with the non-wheel install (I don't know what the encoding error relates to), as it did for 0.3, or should install wheel & setuptools as a dependency.

A test you could try to do is to delete the content of the README.rst file and see if you still get the same error.
There are non-ASCII characters in the README file (my fault), and maybe when the setup.py tries to extract information from it, it uses a different encoding than utf-8 because of your locales.
On my machine it works:

~/git/silx$ python3.4
Python 3.4.2 (default, Oct  8 2014, 10:45:20)
[GCC 4.9.1] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> def get_readme():
...     dirname = "/users/knobel/git/silx"
...     with open(os.path.join(dirname, "README.rst"), "r") as fp:
...         long_description = fp.read()
...     return long_description
...
>>> import os
>>> get_readme()
'\nsilx toolkit\n============\n\...

And this fails:
>>> def get_readme():
...     dirname = "/users/knobel/git/silx"
...     with open(os.path.join(dirname, "README.rst"), "r", encoding="ascii") as fp:
...         long_description = fp.read()
...     return long_description
...
>>> get_readme()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 4, in get_readme
  File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1401: ordinal not in range(128)

Thanks for the quick fix !

For future reference: the machine was configured with locale POSIX. So the built-in python 3.4 open expected to find only ASCII characters.


mGeofencePendingIntent never set

It seems that mGeofencePendingIntent is never set to anything except null (also in https://developer.android.com/training/location/geofencing.html).

Hmmm. How are you checking this? Also, what version of Google Play Services are you running? What build of Android? I ask because I'd like to be able to replicate what you see.

I'm just looking at the sample code on the given page and looked at the full source code in this repository.

see https://github.com/googlesamples/android-play-location/blob/master/Geofencing/app/src/main/java/com/google/android/gms/location/sample/geofencing/MainActivity.java#L284


The import boolean type is correct, but the template props parsing is incorrect

Vue version
3.3.12
Link to minimal reproduction

Steps to reproduce
<script setup lang="ts">
import type { UploadProps } from 'naive-ui';

interface PropsType extends /** @vue-ignore */ UploadProps {
  // Class
  class?: string | string[];
  // Loading
  loading?: boolean;
  buttonName?: string;
  directoryDnd?: UploadProps['directoryDnd'];
  max?: UploadProps['max'];
  listType?: UploadProps['listType'];
}
const props = withDefaults(defineProps<PropsType>(), {
  class: undefined,
  loading: false,
  buttonName: undefined,
  directoryDnd: false,
  max: 1,
  listType: undefined
});
</script>

<template>
  <n-upload :class="props.class" :max="max" :list-type="listType">
    {{ props }}
  </n-upload>
</template>

What is expected?
Parsing props boolean type correctly
What is actually happening?
With UploadProps['directoryDnd'], the ts type prompt is correct, but the props are resolved as strings
System Info
windows

chrome

Any additional comments?
No response

请提供一个最小可复现问题的仓库链接，就图片来看不能确定到底是谁的问题

https://github.com/jahnli/test1
运行后只需要关注
src\views\login\login.vue
src\components\base-ui\base-upload\base-upload.vue

This is expected behavior because you are using the @vue-ignore comment, which means the Vue compiler will not try to resolve the actual types of UploadProps and just assume these props have no specified types at runtime.
Unfortunately currently there is no proper fix for this because the UploadProps from naive-ui is too complex. The workaround is to explicitly declare directoryDnd with boolean type.

It is not clear which types can be parsed. For now, boolean cannot, but number can, and importing external props cannot be implemented without @vue-ignore
@yyx990803

But I found that if I remove @vue-ignore, the parsing is still wrong

Use https://github.com/so1ve/vue.ts/tree/main/packages/complex-types.

使用https://github.com/so1ve/vue.ts/tree/main/packages/complex-types。

Thank you for your suggestion. I would like to ask, is this package suitable for production environment?

Still experimental, but it should resolve your problem. If you find any bug plz report it :)

It only affects props that have special casting behavior (mostly boolean).

Ok, thank you

@so1ve  Do you still need to specify @vue-ignore after using complex-types?

No


[tests-only] add public storage tests

This PR adds:

tooling to generate mocks from an interface. Mockery was already used in some go:generate directives, but depended on a local installation. Now it will be automatically installed when running go generate. Also CI now checks, that generated mocks are up to date and not altered.
tests for the public  share storage provider
tests for the public share authentication
tests for the public share scope checker

some markdown is failing the Codacy linter.
Integration Tests are looking good so far.

@ishank011 can you please have a look at this?

@ishank011 @labkode this is ready to be merged IMO, tests

This already has bit rotted. Created another PR for the mockery changes https://github.com/cs3org/reva/pull/2671


Change suggestion in UI of SEARCH BAR

Proposal
I would like to make some UI changes inSEARCH BAR. I think more light colour looks more pleasant to eyes while interacting with the site.

I would like to work on this issue. So @sairish2001 can you please assign me this issue.

Go ahead
Deadline 24 April, 2021

@sairish2001  can you please review the PR?


load-aware: build coreutils images in prepare step

/test load-aware-e2e

failure is a flake :/

/test load-aware-light

/test load-aware-light

Tests passed but there was a silent failure. Needed to clean up pods between tests of the schedulers.

/test load-aware-light

/test load-aware-light

/test load-aware-e2e medium_normal_load

test passed.
@kpouget It should be good to merge as is, but I can add some of the suggestions to this PR in a bit if you want.

/test load-aware-light

/test load-aware-light

test passed. Should be good to merge now @kpouget

thanks @drewrip , I rebased and I'll merge


adding vue-i18n on my application using useNgVue

Hello,
My AngularJs application is internationalised, so I'm trying to include 'vue-i18n' via NgVueProvider but without success.
Can you please help me?
Thanks

Can you create a small reproducible example of what you're trying to do?
Have you seen this issue? https://github.com/jaredmcateer/ngVue3/issues/33

Thank you for your time,
On rereading the issue again, I've just realised that my instance wasn't correctly initialised.
So normally this code should work:
angular.module('newcat', [
    useNgVue(),
    useNgVuePlugins(),
]).config(($ngVueProvider: NgVueProvider) => {
    const i18n = createI18n({
        legacy: false,
        locale: 'en',
    });
    $ngVueProvider.use(i18n);
})


Add tutorial explaining SignalR with Webpack and TypeScript

Fixes https://github.com/aspnet/Docs/issues/6965
Extends a contribution from @ssougnez into a full tutorial.
Internal Review Page

Looks pretty good. The only very minor concern I have is about filling up the TOC with a bunch of these more detailed tutorials. Should we consider having a subnode for "Using SignalR with Module Loaders" or "Using SignalR with JavaScript Frameworks

Agreed. @rachelappel  can you take care of that? You can do a clean up PR after this if you like. Get @anurse  to approve the TOC change.


[Theme Configure] Keep getting undefined method 'to_yaml'

When running theme configure I keep getting
'configure': undefined method 'to_yaml' for hash object (NoMethodError)
When I run theme systeminfo I get
Ruby: v2.2.0-p0
Operating System: x86_64-darwin14
Thor: v0.19.1
Listen: v3.0.3
HTTParty: v0.13.7
Launchy: v2.4.3
If I run theme check I get
undefined method 'strip' for nil:NilClass (NoMethodError)
If I run theme bootstrap
it will Successfully create Timber using Shopify Timber lates
then Create the directory named Timber
then try to Save configuration to Timber
and gives me
'configure': undefined method 'to_yaml' for has object (NoMethodError)
This is off a fresh install of the gem, never have used it before and was interested in trying it out.

+1 I'm getting this error as well. Although, when I run theme systeminfo I get
Ruby: v2.2.3-p173
Operating System: x86_64-darwin15
Thor: v0.19.1
/usr/local/Cellar/ruby/2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- listen/version (LoadError)
	from /usr/local/Cellar/ruby/2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	from /usr/local/lib/ruby/gems/2.2.0/gems/shopify_theme-0.0.25/lib/shopify_theme/cli.rb:194:in `block in systeminfo'
	from /usr/local/lib/ruby/gems/2.2.0/gems/shopify_theme-0.0.25/lib/shopify_theme/cli.rb:193:in `each'
	from /usr/local/lib/ruby/gems/2.2.0/gems/shopify_theme-0.0.25/lib/shopify_theme/cli.rb:193:in `systeminfo'
	from /usr/local/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
	from /usr/local/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
	from /usr/local/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
	from /usr/local/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
	from /usr/local/lib/ruby/gems/2.2.0/gems/shopify_theme-0.0.25/bin/theme:26:in `<top (required)>'
	from /usr/local/bin/theme:23:in `load'
	from /usr/local/bin/theme:23:in `<main>'

Fresh gem install and tried everything from scratch as well but still came up with same error:
'configure': undefined method 'to_yaml' for has object (NoMethodError)

+1
Fresh gem install on OS X 10.11.3.
theme configure
/Users/stefan/.rvm/gems/ruby-2.2.0/gems/shopify_theme-0.0.25/lib/shopify_theme/cli.rb:62:in `configure': undefined method `to_yaml' for #<Hash:0x007f9162988af0> (NoMethodError)
	from /Users/stefan/.rvm/gems/ruby-2.2.0@global/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
	from /Users/stefan/.rvm/gems/ruby-2.2.0@global/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
	from /Users/stefan/.rvm/gems/ruby-2.2.0@global/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
	from /Users/stefan/.rvm/gems/ruby-2.2.0@global/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
	from /Users/stefan/.rvm/gems/ruby-2.2.0/gems/shopify_theme-0.0.25/bin/theme:26:in `<top (required)>'
	from /Users/stefan/.rvm/gems/ruby-2.2.0/bin/theme:23:in `load'
	from /Users/stefan/.rvm/gems/ruby-2.2.0/bin/theme:23:in `<main>'
	from /Users/stefan/.rvm/gems/ruby-2.2.0/bin/ruby_executable_hooks:15:in `eval'
	from /Users/stefan/.rvm/gems/ruby-2.2.0/bin/ruby_executable_hooks:15:in `<main>'

theme systeminfo
Ruby: v2.2.0-p0
Operating System: x86_64-darwin14
Thor: v0.19.1
/Users/stefan/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- listen/version (LoadError)
	from /Users/stefan/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	from /Users/stefan/.rvm/gems/ruby-2.2.0/gems/shopify_theme-0.0.25/lib/shopify_theme/cli.rb:194:in `block in systeminfo'
	from /Users/stefan/.rvm/gems/ruby-2.2.0/gems/shopify_theme-0.0.25/lib/shopify_theme/cli.rb:193:in `each'
	from /Users/stefan/.rvm/gems/ruby-2.2.0/gems/shopify_theme-0.0.25/lib/shopify_theme/cli.rb:193:in `systeminfo'
	from /Users/stefan/.rvm/gems/ruby-2.2.0@global/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
	from /Users/stefan/.rvm/gems/ruby-2.2.0@global/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
	from /Users/stefan/.rvm/gems/ruby-2.2.0@global/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
	from /Users/stefan/.rvm/gems/ruby-2.2.0@global/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
	from /Users/stefan/.rvm/gems/ruby-2.2.0/gems/shopify_theme-0.0.25/bin/theme:26:in `<top (required)>'
	from /Users/stefan/.rvm/gems/ruby-2.2.0/bin/theme:23:in `load'
	from /Users/stefan/.rvm/gems/ruby-2.2.0/bin/theme:23:in `<main>'
	from /Users/stefan/.rvm/gems/ruby-2.2.0/bin/ruby_executable_hooks:15:in `eval'
	from /Users/stefan/.rvm/gems/ruby-2.2.0/bin/ruby_executable_hooks:15:in `<main>'

+1 same error.
OSX 10.11.3 with a fresh, updated gem. Looks like this bug was reported months ago. No word from the devs? Weak...

Got the same error for the require listen/version on theme systeminfo, did a fresh install of listen (gem install listen -> 3.1.5) and it's good to go now. HTH.


Inference without gpu

Right now I only want to try to infer to compare with other models but I don't have a gpu in my computer, how I should change the code to make it?

Our current implementation does not support inference on CPU.


docs(usevisibletask$): reduce eslint noUseVisibleTask message + transfer to docs

Overview

What is it?

[ ] Feature / enhancement
[ ] Bug
[x] Docs / tests / types / typos

Description
Reduced the eslint warning message for noUseVisibleTask as this warning can add up a lot of noise when it comes many times at once (especially codebases that are transitioning to 1.3).
Most other warnings are rather small, so I made it consistent with the other warnings.
I added the corresponding documentation. On their IDE, users can click on the qwik/no-use-visible-task link when hovering the warning. On the console, the warning redirects to where this happens in the IDE.
I believe this would result in less frustration, especially since useVisibleTask$ is sometimes unavoidable.
Checklist:

[x] My code follows the developer guidelines of this project
[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation
[ ] Added new tests to cover the fix / functionality

That should be a good middleground. It provides a succint explanation on why useVisibleTask$ is problematic, what can be used as an alternative (people can easily search for them in the docs), and how to exceptionally disable the rule.
Feel free to tell me if you think it's still too succint, or if you have any other suggestion :)


fix lstsq when N == 1, + test

This happens because the strides optimization and
stride_back(A) returns 1 when A is column-major and A.shape() == [M, 1]
but the correct value of last stride is M.

Thanks @potpath – really appreciate your contributions!


update dogestry 2.0.2 shasum

Fixes #14127

Thank you for the contribution. It was merged directly as f19ccea27ceb3f7e89e88733e94927f1eb64f7f6 to keep commit history cleaner. Your contribution is still credited to you.


Option to choose quotes for add missing import feature

VSCode Version: 1.10.1
OS Version: macOS

Steps to Reproduce:

class A implements B {}
Use the new quick fix option to "import B from x".
Works, but uses double quotes for the import path (import { B } from "x"), which breaks linting in projects configured with single quotes only (like Angular ones).

Thanks. This being tracked upstream by https://github.com/Microsoft/TypeScript/issues/13270


Integrate Go into aws-cdk build and publishing workflow (delivlib)

Description

After an initial implementation of GoLang support is added, verifying compatibility with the aws-cdk codebase will help us uncover any additional bugs that need to be fixed. This should be done as soon as possible to avoid uncovering severe issues that require large sweeping fixes at the last minute.

jsii-release now supports go publishing.

@MrArnoldPalmer this is still not complete - I haven't done the CDK build bit yet (just the delivlib/pipelines bit). I'll open another issue to cover the CDK build.


⚠ Fortnite has degraded performance

In 031c367, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1610 ms

Resolved: Fortnite performance has improved in afc8c95.


raine 0.64.11

version bump
remove patch (upstream)

Thank you again! Merged as 1fec2034577963708c2b90b77c1decfacebbcb56.


markdown collapsed

Segmentation and vis_nir tutorials weren't launching because the first markdown section was collapsed (something changes to in the metadata when you "run" a line of markdown).

In your local plantcv-binder repo could you run git rm .DS_Store and then add .DS_Store to the .gitignore file? It's a macOS metadata file, I always forget to add it to .gitignore


Docs.MS CI Updates for Azure.Messaging.EventHubs

CI Update for release of Azure.Messaging.EventHubs

Docs Build status updates of commit 9ef03fc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

bundlepackages/azure-dotnet-preview.csv
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 6502734:
:warning: Validation status: warnings
For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


[PyTorch] Miscellanous fixes for FP8 DPA module

This PR

adds TP initialization for FusedAttention,
fixes cuDNN version extraction in unit tests due to versioning difference between cuDNN pre-9.0 and post-9.0,
allows smoother checkpoint loading without user code change. Since TE 1.6, FusedAttention is subclassed with TEBaseModule and an _extra_states is created for state_dict. This fix allows users to still load older checkpoints (which do not have _extra_states for FusedAttention), as well as load and save for new checkpoints (which will have _extra_states in FusedAttention's state_dict, regardless of F16 or FP8 training).

I looked at this further post our sync, looks like tp_size/tp_group aren't used at all at the DPA/FusedAttention level. Can we simply remove/deprecate them? @cyanguwa

We do use tp_group_initialized in prepare_forward. Also, if we don't keep track of tp_size/tp_group, how do we manage amax reduction for TP groups, or does fp8.py already handled that?

/te-ci pytorch

With #575, the amax reduction is handled in the reduce_and_update_fp8_tensors function using the fp8_group passed into the autocast. So we don't store the tensor parallel group to handle it separately.

@cyanguwa Regarding checkpoints compatibility: not requiring _extra_state in state dict is good, although I believe it doesn't solve the problem on the application side in case of switching from one attention implementation to another. Would such interoperability of attention layers be possible? It would require _extra_state to live on the same level as the default attention implementation.

@mikolajblaz I've moved core_attention.fused_attention._extra_state to core_attention._extra_state in b94a1ee. Let me know if you have any thoughts/comments. Thanks.

/te-ci pytorch

@ksivaman could you please help take another look?

/te-ci pytorch

/te-ci pytorch

I had some discussion with mikolajblaz offline and we decided to not pursue the move from core_attention.fused_attention._extra_state to core_attention._extra_state. The possible solutions all look unclean and may not even guarantee the loading of checkpoints is correct. This is because PyTorch relies heavily on the module structure and FusedAttention is currently a submodule of DotProductAttention, so it's very hard to manipulate state_dict()/load_state_dict() calls to get around this hierarchical structure. Will consider this another time.
https://github.com/pytorch/pytorch/blob/74b7c56517f97c5d813620da9a479417a564e8b4/torch/nn/modules/module.py#L2164

/te-ci pytorch

/te-ci pytorch

/te-ci pytorch


Add arch info for assets/release/release-x86_64.json base section

As of now assets/release/release-aarch64.json file have arch info as part of base section "base": "4.12.0-0.nightly-arm64-2023-01-03-161334" but it is not present for assets/release/release-x86_64.json. This PR puts the arch info in base same as aarch64 asset file.

This file is managed as part of the automatic rebase process.
https://github.com/openshift/microshift/blob/main/scripts/auto-rebase/rebase.sh#L390
/hold

x86 is missing amd64 because that's how the releases are named, see: https://amd64.ocp.releases.ci.openshift.org/#4.12.0-0.nightly and https://arm64.ocp.releases.ci.openshift.org/#4.12.0-0.nightly-arm64
I don't think we want to mess with this

x86 is missing amd64 because that's how the releases are named, see: https://amd64.ocp.releases.ci.openshift.org/#4.12.0-0.nightly and https://arm64.ocp.releases.ci.openshift.org/#4.12.0-0.nightly-arm64 I don't think we want to mess with this

@pmtk ack I think in our script we have to trim it.
/close


Snapshot Tests for Export Sessions

Testing with snapshots would be helpful to test the changes on the whole read ->parse -> export process for all supported parsers.
The testing process can be like following:

We create tests that takes a file (Dlt, SomeIP, Text...) as input and the output path for export file. Those tests should read the input file, parse it then export it to the given output files.
At first, we generate export files and commit them to the repo alongside with their input files.
Then we can run the tests to generate the snapshots on temporary directory and then compare the generated files to the committed ones in the repo.
Once a change is approved, we can commit the newly generated file to the repo

The API to generate export files exists already on the current tests on TypeScript level and we can use them to create the new tests with configurations to generate export to temp directory to do the comparison or to generate the snapshots to the repo directly

Resolvedin in #2139


cherry-pick [#1894] fix(server): Fix NPE caused by app not found issue (#1915)

What changes were proposed in this pull request?
(Please outline the changes and how this PR fixes the issue.)
Why are the changes needed?
(Please clarify why the changes are needed. For instance,

If you propose a new API, clarify the use case for a new API.
If you fix a bug, describe the bug.)

Fix: # (issue)
Does this PR introduce any user-facing change?
(Please list the user-facing changes introduced by your change, including

Change in user-facing APIs.
Addition or removal of property keys.)

No.
How was this patch tested?
(Please test your changes, and provide instructions on how to test it:

If you add a feature or fix a bug, add a test to cover your changes.
If you fix a flaky test, repeat it for many times to prove it works.)

Could you help check this? @maobaolong

@zuston Thanks for your review on this PR, but after discussed with @zhengchenyu , 0.9.1 will not accept this PR as it introduced proto-change


Brief description of the bug

Describe the bug
The Vencord import isn't working.
To Reproduce
_((Steps to reproduce the behavior))
Screenshots

Information (please complete the following information):
Discord channel: ((Stable))
OS: ((Windows))
Mod: ((Vencord))
Discord language: ((English))

Might be GitHub rate limiting you, since vencord is misusing raw links.
A better option would be to use the GH pages link: https://discordstyles.github.io/SoftX/SoftX.theme.css


Referencing a type before its declared somehow segfaults the compiler

type A (A( B , B ));
type B (B( U64 , U64 ));

This doesn't affect indirect references, so it probably has something to do with size calculation.

Order of Declaration should be irrelevant in type declaration.

The segfault has been fixed, however type size calculation is incorrect.

There is an error message for this now. The compiler won't attempt to fix declaration loops, it just fails.


error on update

hey i built a new box, and i like to update the system running
pi@raspberrypi:~/RPi-Jukebox-RFID $ git pull
Updating 0914ef7..361231b
error: Your local changes to the following files would be overwritten by merge:
scripts/inc.readArgsFromCommandLine.sh
Please commit your changes or stash them before you merge.
Aborting
what can i do ?

Hi @ddbkva ,
if you did not make any changes to your local files, then you can use the hard reset option:
git fetch origin
git reset --hard origin/master

See more info here: https://stackoverflow.com/questions/1628088/reset-local-repository-branch-to-be-just-like-remote-repository-head#

thank you i m uptodate!


TestLossOfAcceptanceFromGenesis fails randomly.

When running unit tests in the CI (without reactive chain manager) after fixing DBInstance deadlock and shutdown issue.
2023-11-28T08:50:57.0149240Z --- FAIL: TestLossOfAcceptanceFromGenesis (17.79s)
2023-11-28T08:50:57.0150099Z     testsuite.go:596:
2023-11-28T08:50:57.0150677Z         	Error Trace:	/actions-runner/_work/iota-core/iota-core/pkg/testsuite/testsuite.go:596
2023-11-28T08:50:57.0151634Z         	            				/actions-runner/_work/iota-core/iota-core/pkg/testsuite/storage_commitments.go:36
2023-11-28T08:50:57.0152508Z         	            				/actions-runner/_work/iota-core/iota-core/pkg/tests/loss_of_acceptance_test.go:93
2023-11-28T08:50:57.0152727Z         	Error:      	condition never satisfied
2023-11-28T08:50:57.0153024Z         	Test:       	TestLossOfAcceptanceFromGenesis
2023-11-28T08:50:57.0153467Z         	Messages:   	AssertEqualStoredCommitmentAtIndex: node3: expected Commitment {
2023-11-28T08:50:57.0154334Z         	            	    ID: CommitmentID(0x4c796a239cb7123dd52585d812b07ce2a4100a5d09bbdcbf70d6da7a66092c3939000000:57)
2023-11-28T08:50:57.0154594Z         	            	    Commitment: "{
2023-11-28T08:50:57.0154913Z         	            	      "protocolVersion": 3,
2023-11-28T08:50:57.0155156Z         	            	      "slot": 57,
2023-11-28T08:50:57.0156057Z         	            	      "previousCommitmentId": "0x8b2484edb8b3eb211af150c50e5f93b19152bfb68eba0191776b11f3dd473cee38000000",
2023-11-28T08:50:57.0156772Z         	            	      "rootsId": "0x29a7fd34e3f53ff10aa7a74c40a40a34a3dd9d012e20d0272175a43aa43ed050",
2023-11-28T08:50:57.0157152Z         	            	      "cumulativeWeight": "13",
2023-11-28T08:50:57.0157507Z         	            	      "referenceManaCost": "500"
2023-11-28T08:50:57.0157693Z         	            	    }"
2023-11-28T08:50:57.0158031Z         	            	} (from node0), got Commitment {
2023-11-28T08:50:57.0158883Z         	            	    ID: CommitmentID(0x89da18cb8c741c30bfe3909be8452a5c12f33cedee7e3f6fc9dbd26d35df388739000000:57)
2023-11-28T08:50:57.0159126Z         	            	    Commitment: "{
2023-11-28T08:50:57.0159447Z         	            	      "protocolVersion": 3,
2023-11-28T08:50:57.0159679Z         	            	      "slot": 57,
2023-11-28T08:50:57.0160566Z         	            	      "previousCommitmentId": "0x8b2484edb8b3eb211af150c50e5f93b19152bfb68eba0191776b11f3dd473cee38000000",
2023-11-28T08:50:57.0161290Z         	            	      "rootsId": "0x9a4882bbcc2d9f2aa17988cf6d4f716931824b0fd59e533cba7cf47e43fedbe2",
2023-11-28T08:50:57.0161649Z         	            	      "cumulativeWeight": "13",
2023-11-28T08:50:57.0161982Z         	            	      "referenceManaCost": "500"
2023-11-28T08:50:57.0162167Z         	            	    }"
2023-11-28T08:50:57.0162316Z         	            	}

I've been running this test without and with -race for more than 30min on latest develop b13c7de and could not observe this anymore. Closing issue for now.
The only thing that came up was this, which is not necessarily and error imo. This probably happens when we switch from warp sync to normal mode.
2023/12/06 10:31:13     ERROR   node3   failed to force commitment (commitmentID=CommitmentID(0x770cd5f9fe78d3695ba85c8599260cc9352260a799f5084c790f5cff934de2fe32000000:50) err=cannot create commitment for slot 50, latest commitment is for slot 50
github.com/iotaledger/iota-core/pkg/protocol/engine/notarization/slotnotarization.(*Manager).createCommitment
        /Users/jonastheis/projects/iota/iota-core-dev/iota-core/pkg/protocol/engine/notarization/slotnotarization/manager.go:208
github.com/iotaledger/iota-core/pkg/protocol/engine/notarization/slotnotarization.(*Manager).ForceCommit
        /Users/jonastheis/projects/iota/iota-core-dev/iota-core/pkg/protocol/engine/notarization/slotnotarization/manager.go:138
github.com/iotaledger/iota-core/pkg/protocol.(*WarpSyncProtocol).ProcessResponse-fm.(*WarpSyncProtocol).ProcessResponse.func<IP_ADDRESS>.1
        /Users/jonastheis/projects/iota/iota-core-dev/iota-core/pkg/protocol/protocol_warp_sync.go:217
github.com/iotaledger/hive.go/runtime/workerpool.(*Task).run
        /Users/jonastheis/go/pkg/mod/github.com/iotaledger/hive.go/runtime@v0.0.0-20231205131244-472357435a39/workerpool/task.go:48
github.com/iotaledger/hive.go/runtime/workerpool.(*WorkerPool).workerReadLoop
        /Users/jonastheis/go/pkg/mod/github.com/iotaledger/hive.go/runtime@v0.0.0-20231205131244-472357435a39/workerpool/workerpool.go:190
github.com/iotaledger/hive.go/runtime/workerpool.(*WorkerPool).worker
        /Users/jonastheis/go/pkg/mod/github.com/iotaledger/hive.go/runtime@v0.0.0-20231205131244-472357435a39/workerpool/workerpool.go:170
runtime.goexit
        /usr/local/go/src/runtime/asm_arm64.s:1197: failed to create commitment for slot 50)


about calculation of ACs in SNN

Hello, I want to ask how ACs is calculated in SNN. I see that ACs is equal to the number of spikes in code. Thank you.

Thanks for your attention! ACs are calculated as the number of operators with spike inputs, where the operators with non-spikes will be ignored.


Context different for partial

Hi folks,
When I have a template, say:

  {{#each updates}}

        {{#if ../user}}

{{user.name}}

        {{/if}}

{{text}}

  {{/each}}

And it works fine, but I move the update into  a partial:
file: update.handlebars

  {{#if ../user}}

{{user.name}}

  {{/if}}

{{text}}

And include the partial where the update code used to be:

  {{#each updates}}
    {{> update}}
  {{/each}}

I get "TypeError: Cannot read property 'user' of undefined" now. Why would the context be different for a partial containing the exact same code?

I'm not an expert in this, but I suspect the ../user is where you're having problems. The ../ attempts to move into the parent context, but I suspect that the parent context is not passed to the partial. Does it not work to just do {{#if user}}?

{{#if user}} doesn't work because I'm in the context of the {{#each}} iteration. Why wouldn't partials get the parent context? I thought they inherited the full context of the caller.

Yes, I agree, the parent context would need to be passed.
(I've actually accidentally open a separate bug for the same issue (https://github.com/wycats/handlebars.js/issues/192) )

Is there some way to fix/force/coerce the parent context to be used? This is impacting our use of handlebars in a number of ways (at least I know why it is happening now). It makes partials a lot less useful.

I tried looking at the source code for handlebars, some of which goes way above my head but I think what's happening is that a partial essentially acts like a separate template.
When invoked, it's like calling a brand new template, with the current context of the caller passed as new context for the partial.
What that means is the partial gets a brand new stack (which is what handlebars uses to maintain nested context), so .. is undefined in the partial/sub-template (the same way .. is undefined at the top of a template, before any nesting).
So I don't think you can force the parent context to be used, I think the handlebars partial loading would need to be rewritten for that.. (maybe when loading a partial depth0 in the partial could inherit the current stack of the caller, but like I said, that part of the code goes a bit above my head :)

I did manage this hack to go around the problem. Makes the template kinda messy but it does allow you to pass the parent context. All it does is wrap this and .. into an object and sets that object as the context:
Handlebars.registerHelper('subcontext', function( parent, options) {

	if (arguments.length != 2)
		throw new Error("Handlerbars Helper 'subcontext' needs .. as a parameter");

	var subcontext = { obj:this, parent:parent };

	return options.fn(subcontext);
});

Then you can do this:
Template:
{{#subcontext ..}}
	{{> my-partial}}
{{/subcontext}}

my-partial:
{{whatis this label="this"}}
Partial
{{#with obj}}
	{{whatis ../parent label="parent"}}
{{/with}}

But yeah, it's kinda messy.
Would be great is .. was properly integrated.
source for whatis

@doginthehat I think that this workaround doesn't work when invoking inside loop. And yeah it's messy.
This bug should be fixed for sure.
Other idea: What do you think about introducing something like 'absolute paths' so we can always access all variables nevertheless where we are in the context. Now everything in handlebars seems to be 'relative paths'.

Absolute paths would work for me. Simply adding variables during iteration instead of replacing them would work too. Or simply using "this" to scope the iteration variables and leaving the rest of the context alone. Anything that let's me reference the context regardless of whether I'm iterating or in an included partial (or both).

@marcinmuras Definitely is messy :)
Haven't had the need for an absolute path as such yet. One thing I have had the need for in the past is the top level context - it often has some global settings for rendering the view that need to be used inside loops or subview.
Recently tried to render a tree structure with handlebar, that was a bit painful.

Seems that we are talking about same things. I called your 'top level context' as absolute path. Generally we need something to access all variables in loops, partials etc..

Where is this documented? If it's not, then I would gladly send the pull request for updating the docs if it meant one less developer had to go implement his own 'include' helper ;)

@jfbrennan I just pushed docs for this to the site but glad to take any improvements you might be able to offer!


(feature) scatterplot - set radius per item

would be great to have the ability to set the radius per item, like you can do with color

this is actually one of the tasks in the tutorial branch.

@gnavvy Any interest in bringing it into the layer?

added per item radius support in 2.4.1.
you can now specify the radius along with the position and color, for each point.

@gnavvy Thanks! Much appreciated.


Custom annotation

Hi, I have a problem with using custom reference genome and annotation
What I did is:
bash initial_ref.sh -u root -p Admin2015 -r TestRef -s "Test ref" -c test  -f /home/test/test_cytoband.txt
bash add_trackGroup.sh  -u root -p Admin2015 -r TestRef -g "genes" -l "Known Genes" -o 1 -s 0
bash add_geneAnnot.sh  -u root -p Admin2015 -r TestRef -t "knownGene" -g "genes" -l "UCSC known genes annotation" -s "UCSC Genes" -o 1 -v full  -f /home/test/vienna_annotations_ucsc.txt
(I include a subset from annotations file and cytoband)
test_cytoband.txt
annotations_ucsc.txt
but when I open give, I see the following - only part of genes are loading

I found a following line in givdata/partialNames.php
 "((SELECT * FROM `knownGene` WHERE `chrom` NOT LIKE '%_%') AS `kGFilter`"
Does it meant that annotation can only be added with -t "knownGene" flag? But even if so, is should be a problem in my case, since I added as "knownGene". I tried to add annotation with different flag -t, I had the same error
(Most surprisingly, I have exactly one gene on Chr1)
What can be a problem in this case?

It appears that in the Chr1 region there is indeed only one gene, so the lower panel should be expected. For the upper panel this is indeed weird. Do you have a file with genes on Chr2, with some overlapping with Chr2:11000000-14000000 that we can test?
The problem with partialNames.php is used to provide gene name candidates and convert them to corresponding coordinates. While we are working on it to provide better feedback when such function is not supported (it needs several tables on back end and would probably be unavailable on custom references), it should not affect the browser display.

Even for other regions on Chr1 - this first gene is the only one shown on Chr1 (even if I zoom out)
viennaFiltered_annotation.txt
Here is my full annotation (in a slightly different format, but I converted it before importing to GIVE)


Couldn't get game version from thread

Every try to check updates you get Couldn't get game version from thread

Fixed.


Issues calling MemoryPool::reclaim(size) in single-thread execution

Issue ticket: https://github.com/facebookincubator/velox/issues/5646
This incorporates #5647

@xiaoxmeng To me this is mostly in the shape and I'm currently adding UTs. Could you please take an initial look to see if there are any issues that I can address? Thanks.


Regression test for UFCS function calls

Issue: https://github.com/nrc/rustfmt/issues/64.
Note that this requires a super fresh rustc.

Thanks!


Don't return update handles until desired stage reached

What was changed

Add admitted stage to wait policy
Don't return update handle from startUpdate until the update is complete if the user specified that stage (not sure why they would, though, when using start)
Retry submitting update to server until seen accepted

Why?
See https://github.com/temporalio/features/issues/432
Checklist

Closes https://github.com/temporalio/sdk-java/issues/2002

How was this tested:
Existing / new tests

Any docs updates needed?

While we are refactoring this area could we also do https://github.com/temporalio/sdk-java/issues/2045? I believe @cretz did this in python by requiring a wait stage be passed? If not I'll do it in a follow up PR.

Don't we also need to update the test server to return the updates  current lifecycle state? or does the test server never actually  return an empty response?

Don't we also need to update the test server to return the updates current lifecycle state? or does the test server never actually return an empty response?

I have changed it to do so


Update On-Call workshop to use OTel Collector

Revive the On-Call workshop and convert/move over to use OTel Collector over SmartAgent.

Great job @geoffhigginbottom


cursor: Tests are failing on linux

   | thread 'cursor::test::goto_ansi' panicked at 'assertion failed: `(left == right)`
  left: `0`, cursor.goto(5, 5, &None);
 right: `5`', src/cursor/test.rs:62:9^
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
   = note: this `Result` may be an `Err` variant, which should be handled

failures:unused `std::result::Result` that must be used
    cursor::test::goto_ansi:9
   |
test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Doc-tests crossterm_cursor
     Running `/usr/bin/rustdoc --edition=2018 --test /home/brain/rpmbuild/BUILD/crossterm_cursor-0.1.0/src/lib.rs --crate-name crossterm_cursor -L dependency=/home/brain/rpmbuild/BUILD/crossterm_cursor-0.1.0/target/release/deps -L dependency=/home/brain/rpmbuild/BUILD/crossterm_cursor-0.1.0/target/release/deps --extern crossterm_cursor=/home/brain/rpmbuild/BUILD/crossterm_cursor-0.1.0/target/release/deps/libcrossterm_cursor-5641bc316248ba86.rlib --extern crossterm_utils=/home/brain/rpmbuild/BUILD/crossterm_cursor-0.1.0/target/release/deps/libcrossterm_utils-ed94da441d1b421a.rlib`
   |
running 1 testursor.goto(5, 5, &None);
test src/cursor/cursor.rs - cursor::cursor::TerminalCursor<'stdout>::from_output (line 65) ... FAILED
   |
failures:: this `Result` may be an `Err` variant, which should be handled

---- src/cursor/cursor.rs - cursor::cursor::TerminalCursor<'stdout>::from_output (line 65) stdout ----
error[E0433]: failed to resolve: use of undeclared type or module `Screen`ease/deps/crossterm_cursor-7b5b21843a7be7f8`
 --> src/cursor/cursor.rs:66:14
  |ning 2 tests
3 | let screen = Screen::default();ILED
  |              ^^^^^^ use of undeclared type or module `Screen`afe_ansi ... ok

error[E0433]: failed to resolve: use of undeclared type or module `TerminalCursor`
 --> src/cursor/cursor.rs:68:19
  |- cursor::test::goto_ansi stdout ----
5 |    let terminal = TerminalCursor::from_output(&alternate.screen.stdout);
  |                   ^^^^^^^^^^^^^^ use of undeclared type or module `TerminalCursor`

thread 'src/cursor/cursor.rs - cursor::cursor::TerminalCursor<'stdout>::from_output (line 65)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:321:13
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

failures:
    src/cursor/cursor.rs - cursor::cursor::TerminalCursor<'stdout>::from_output (line 65)

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out

Tests are failing, for some reason, the tests will work when running them individually. I don't know what causes the failing when running them all at once.


Status - The status tab doesn't change the theme in Light mode

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.13-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - internal Team
Slack conversation:
Action Performed:

Go to URL https://staging.new.expensify.com/
Login with any account
Go to Settings -> Preferences -> Theme -> Light
Then go to Settings -> Profile -> Status
Notice that tab doesn't change the theme in Light mode

Expected Result:
The status tab change the theme in Light mode
Actual Result:
The status tab doesn't change the theme in Light mode
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

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

Screenshots/Videos
Add any screenshot/video evidence

![Bug6313338_1702573564797!image__196_](https://github.com/Expensify/App/assets/78819774/15e13173-e5b9-4e6f-96d9-6ca58d284542)
View all open jobs on GitHub

Asked here

Closing as dupe. PR is already up


The request failed schema validation: The required attribute 'Traversal' is missing.

Version (e.g. 1.0, dev-master):
versions :  dev-master, 1.0.x-dev
Microsoft Exchange version: 2010
Description of problem:
New to EWS and using php-ews. I have a problem where when trying to connect find items by date, I get an error back stating: "The request failed schema validation: The required attribute 'Traversal' is missing."
Example request:
This is inside a class where I have already included the appropriate files, and made the connection to the client:
		$this->client->setTimezone('America/Los_Angeles');
		$start_date = new \DateTime('3 AM');
		$end_date = new \DateTime('7 PM');
		$request = new FindItemType();
		$request->ParentFolderIds = new NonEmptyArrayOfBaseFolderIdsType();

		$folder_id = new DistinguishedFolderIdType();
		$folder_id->Id = new DistinguishedFolderIdNameType();
		$folder_id->Id->_ = DistinguishedFolderIdNameType::CALENDAR;
		$request->ParentFolderIds->DistinguishedFolderId[] = $folder_id;

		$request->CalendarView = new CalendarViewType();
		$request->CalendarView->StartDate = $start_date;
		$request->CalendarView->EndDate = $end_date;

		$result = $this->client->FindItem($request);

It is here, above, on the last line where $this->client->FindItem($request); produces the error.
Example response:
The request failed schema validation: The required attribute 'Traversal' is missing.

Additional details:
The full error shows as:
"faultstring":"The request failed schema validation: The required attribute 'Traversal' is missing.","faultcode":"a:ErrorSchemaValidation","detail":{"ResponseCode":"ErrorSchemaValidation","Message":"The request failed schema validation.","MessageXml":{"LineNumber":"2","LinePosition":"420","Violation":"The required attribute 'Traversal' is missing."

You need to put in a traversal type eg;:
$request->Traversal = ItemQueryTraversalType::SHALLOW;

This worked well. Thank you for that.


First draft of README file

Took some inspiration from the stellar/new-docs repo, and some other README files around github. I think this is a pretty decent start. Any other thoughts?

Thoughts on this @briwylde08?

Made those changes. Let me know what you think 👍🏻

@briwylde08 @ElliotFriend We good to merge this?

Yes!


IndexError if no. of items in carrier metadata file is wrong

Example:
IPIdentifier,IPIdentifierParent,imagePath,volumeNumber,carrierType
5,181492121,./05/,1,cd-rom
7,181492121,./07/,cd-rom

In last line volumeNumber field is missing. Result:
IndexError: list index out of range

So needs additional check on no. of cols in each row.

Fixed: https://github.com/KBNLresearch/omSipCreator/commit/e34821fb27c6ee03a46d9f3788d0bf92df67fecb


FIX: Expands the CMS' centre-pane when collapsed and it's clicked.

Tested and working perfectly. Thanks @phptek


Fix nixUnstable cross compilation

Motivation for this change

Bump nixUnstable to latest
Fix cross compilation by disabling documentation generation.

Things done

Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

Result of nixpkgs-review pr 107909 run on x86_64-darwin 1

5 packages failed to build:

disnix
dydisnix
nix-update
nixFlakes (nixUnstable)
nixpkgs-review

builder for '/nix/store/9yirjf9c1hnihy53kjlr85x3igz5rhi3-nix-2.4pre20201228_abbf9df.drv' failed with exit code 2; last 10 log lines:

'[' /private/tmp/nix-build-nix-2.4pre20201228_abbf9df.drv-0/nix-test/user-envs/store/7yv2aa65r6riifjs17a3v33j4mwc7wmi-user-environment = /private/tmp/nix-build-nix-2.4pre20201228_abbf9df.drv-0/nix-test/user-envs/store/7yv2aa65r6riifjs17a3v33j4mwc7wmi-user-environment ']'
nix-env -i /private/tmp/nix-build-nix-2.4pre20201228_abbf9df.drv-0/nix-test/user-envs/store/7s318sd6cn6bxl4c9jcjzgjfmj0p4dhn-foo-1.0
installing 'foo-1.0'
error: --- EndOfFile --- nix-env
unexpected EOF reading a line
make: *** [mk/lib.mk:110: tests/user-envs.sh.test] Error 1
make: *** Waiting for unfinished jobs....
ran test tests/gc-runtime.sh... [PASS]
ran test tests/lang.sh... [PASS]
ran test tests/fixed.sh... [PASS]

Result of nixpkgs-review pr 107909 run on x86_64-linux 1

1 package failed to build:

hydra-unstable

6 packages built:

disnix
disnixos
dydisnix
nix-update
nixFlakes (nixUnstable)
nixpkgs-review

That looks x86_64-darwin issue looks like https://github.com/NixOS/nix/issues/3605. I don't think it's gotten worse with this update.
Hydra will need https://github.com/NixOS/hydra/pull/843 and https://github.com/NixOS/hydra/pull/840 to be merged.

We should think about adding strictDeps = true; from #107163.

We should think about adding strictDeps = true; from #107163.

Documentation disable was disabled for cross in #125772, and Nix has been updated well past what this PR does by now, so I think we can close this.


[Feature request] Is it possible to modify the content of config.ts without restarting the project?

Is it possible to modify the content of config.ts without restarting the project?
I need to restart the project every time I modify the route，it's too much trouble，very bad
Is it possible to modify the router without restarting the project, just like vue, it can take effect

If you are using Windows, it should be duplicate of #611


Add ability to set TeamCity Build Number

I believe that this completes the TeamCity support issue.
Added the ability to use the TeamCity Service Message for setting the
build number, as described here:
https://confluence.jetbrains.com/display/TCD7/Build+Script+Interaction+with+TeamCity#BuildScriptInteractionwithTeamCity-ReportingBuildNumber

Excellent @gep13 :+1: , thanks.


In the development environment, the base cannot set the relative path

Describe the bug
In the development environment, setting base: "./" is invalid, and it is only normal in the build. Does the code here in vite avoid the use of relative paths in the development environment?

Reproduction
null
Steps to reproduce
No response
System Info
System:
    OS: Windows 10 10.0.19045
    CPU: (12) x64 Intel(R) Core(TM) i5-10500 CPU @ 3.10GHz
    Memory: 418.69 MB / 15.72 GB
  Binaries:
    Node: 16.14.2 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.18 - C:\npm_config\node_global\yarn.CMD
    npm: 9.6.6 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 113.0.5672.127
    Edge: Spartan (44.19041.1266.0), Chromium (113.0.1774.50), ChromiumDev (115.0.1866.1)
    Internet Explorer: 11.0.19041.1566

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

how to use base:"./" in the development ,Empty string or ./ (for embedded deployment)


Filename for GenParamesh module

@laurapascal:
We have to change the generateCLP parameters of GenParaMesh so GenParaMesh is shown in the Slicer menu and not GenParaMeshCLP. This is just for consistence with the other two modules.
Thank you!

Fixed with the commit 879990d.