npm package

Hi,
I have installed with npm, but install version 1.8.2, don't update to 1.10.0.
Please, publish to npm. 😃
Thanks
(sorry my english)

Bump ☝ the npm publish is behind

I noticed this as well, I had to point my dependency directly to github to get the latest version.  I wasn't aware that the developer really had to do much, the package.json file says the latest version is 1.10.0 so I don't quite understand what's going wrong there.

Leaving it here just for if you want to use the latest and greatest and until the maintainer can find the time to publish the release to NPM.
You can add the following line to your dependencies to get 1.10.0 now:
"bootstrap-iconpicker": "git+https://github.com/victor-valencia/bootstrap-iconpicker.git#v1.10.0",


Developing a text-to-speech software in Android using Java

Topic Suggestion
Developing a text-to-speech software in Android using Java
Writing sample(s):
https://www.section.io/engineering-education/authors/meshack-kimosop/
Proposal Submission
Proposed title of article
Developing a text-to-speech software in Android using Java
Proposed article introduction
In order to develop satisfactory software, there are a couple of steps to be followed to do so. There are also prerequisites required to develop the software such as the IDE, suitable programming language, etc.
In the proposed article, we will develop a text-to-speech software using android studio in java.  The learner will not only learn to do so but also learn how to apply the knowledge to develop their own software.
The software to be developed will be able to convert written text to speech and relatively covert audible speech to text.
The learner will also learn how to modify the XML file to make the software more appealing and to modify the java file to make it more interactive.
After successfully developing the software, the learner will get to know how to publish the application software in the playstore.
Key takeaways

Setting up the prerequisites and installing android studio
Developing XML file for the software
Programming objects in XML file
Running the software on an android device
Publish the software in the play store

Article quality
This article will use well-explained code snippets to help the learner understand a step to step development of software. Images where appropriate will be used to give good guidance in the development process.
References
N/A

Could you change the topic to Developing a text-to-speech software in Android using Java

@WanjaMIKE
I have made the change on the topic to the suggested one.

Noted @Kimosop-Wakanda Let's ensure that it adds value to the community. Thanks


join optimization

A common tip to improve the spatial join for postGIS is to use:
SELECT
  a.id, b.id,
  CASE
    WHEN ST_Contains(a.geom, b.geom)
    THEN b.geom
    ELSE ST_Intersection(a.geom, b.geom)
  END AS geom
FROM a, b
WHERE ST_Intersects(a.geom, b.geom);

instead of a naive intersection.
This could also be helpful for geostark / maybe directly integrated into the join?

@geoHeil Thanks. Will figure out a way to include this trick in spatial join.
A more detailed description of PostGIS ST_Intersection trick is here: https://postgis.net/2014/03/14/tip_intersection_faster/

@jiayuasu hi you close this issue becasue i have already enhanced it in the following pull request #301

@avshRepo Hi Avsh, please note that this optimization is for join and needs override Spark logical plan "rules" to perform query rewrite. What you did is for the comparison between two objects.


alignment of email field and subscribe button in Newsletter section

Describe the bug
In Newsletter section , the alignement of email field and subscribe button are not correct, this leads to worst user experience
To Reproduce
Steps to reproduce the behavior:

Go to 'Homepage'
Scroll down to 'Newsletter section'
See error

Expected behavior
the email field and subscribe button should be aligned correctly
Screenshots

@ANSHIKA-26 , could you please assign this to me ?


Did RSAKey Json User denial issue

After user denies twice... Nth happens after clicking.. I think we should navigate to setting page with instruction to enable

@bibash28
Can you explain more about it?

Deny permission twice... and try to use the button...

I got it

short complexity; 1


Update NOTICE year to 2021

Need to be added to Milestone

don't merge

Seems the dependencies are not pined and the CI consistency is broke, @EvanLjp would you please fix this, or use https://github.com/apache/skywalking-goapi to replace the generated codes in this repo?

sorry, Due to protocol dependencies, it is currently not possible to use GOAPI directly. I would try to fix the problem later.


The crew search bar is no longer visible.

There should be a search bar in here:

Closed with 88e6302abcd09c2d06916d771f401d145c15310a


Deprecate upload with response

Resolves #24108
@reta

API changes have been detected in com.azure:azure-storage-blob. You can review API changes here
API changes
-         public void uploadWithResponse(InputStream data, long length, ParallelTransferOptions parallelTransferOptions, BlobHttpHeaders headers, Map<String, String> metadata, AccessTier tier, BlobRequestConditions requestConditions, Duration timeout, Context context)
+         @Deprecated public void uploadWithResponse(InputStream data, long length, ParallelTransferOptions parallelTransferOptions, BlobHttpHeaders headers, Map<String, String> metadata, AccessTier tier, BlobRequestConditions requestConditions, Duration timeout, Context context)

Thank you @rickle-msft @alzimmermsft !


Allow specifying an alternative file name for the .dacpac

We should allow users to allow to specify a different name for the .dacpac file if they choose to do so. This could already be achieved by specifying <AssemblyName> in the .csproj but when specifying an alternative name it would break dotnet publish since it would still look for the .dacpac using the projects name. This has now been fixed.
While working on this I also discovered the <TargetName> property which can also be set to control the name of the output file, which probably makes a little bit more sense than setting '`'. I'll make sure to add that to the docs before completing this PR.
It is probably also worth noting that we currently expect the .dacpac to have the same name as the NuGet package when used as a '`. I'll make sure that I add that to the documentation as well.
Fixes: #68

@jeffrosenberg Could you give this a review as well? Then I can merge this and release this, together with the other PR's as 1.9.0. They are all pretty minor changes, except for the project reference support I guess, so it made sense to bundle them into a single release.
I've also added the documentation stuff I talked about it and bumped the pipeline to use .NET 5.0 RC1.


Reset buttons

I combined dock with ribbon to create an office like effect, but found no reset button.
can you help?

What reset button? There is only close button.

There is no such button

https://github.com/jinyuttt/PlatApplication.git

The issue is not with Dock. The RibbonWindow is intercepting mouse events from dock control. I can not help you with that. Ribbon control just does not play nice with mouse input.

@jinyuttt Fix https://github.com/jinyuttt/PlatApplication/pull/2

@wieslawsoltes  ok,thanks.

The issue is not with Dock. The RibbonWindow is intercepting mouse events from dock control. I can not help you with that. Ribbon control just does not play nice with mouse input.

My apologies for that. You...wouldn't happen to have any further details regarding where in AvaloniaRibbon the problem resides, would you? If so, it'd surely help me resolve my end of this problem, which I'd like to if possible.

I did not debug the ribbon control, I suspect it steals mouse input from dock control. So I would look at pointer events.

I did not debug the ribbon control, I suspect it steals mouse input from dock control. So I would look at pointer events.

Appreciated. I've just checked...turns out it had nothing to do with mouse events. The Dock depends on the presence of a VisualLayerManager, which isn't present in the default template for the RibbonWindow. I tried modifying the template in the affected application, surrounding the following element:
<ContentPresenter Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" Background="{TemplateBinding Background}"/>

in a VisualLayerManager, and suddenly the docking controls appeared!
I'll have to keep this in mind for when I update AvaloniaRibbon for Avalonia 0.10...if I even keep RibbonWindow, that is (which I may not, now that Avalonia has its own CSD implementation)...
In any case though, sorry for the trouble.

？？？


[HOLD for payment 2024-04-09] [$500] Can't focus on main composer after going back from thread

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.55-0
Reproducible in staging?: y
Reproducible in production?: y
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: @dukenv0307
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1710867598533239
Action Performed:

Open a report
Send a message
Hover the message and tap on reply in thread
Click on the browser back button
Edit the message
Click on the main composer

Expected Result:
The main composer is focused
Actual Result:
The main composer is focused briefly and then the edit composer is focused again
Workaround:
unknown
Platforms:

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

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

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/38435837/f0aa4ab3-d5db-49e9-aa08-5aaa4f904c42
https://github.com/Expensify/App/assets/38435837/897e542a-046b-4101-84ce-09363da5e016

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01e69b6fd5125bc19c
Upwork Job ID:<PHONE_NUMBER>770471424
Last Price Increase: 2024-03-21
Automatic offers:

dukenv0307 | Reviewer | 0

Proposal
Please re-state the problem that we are trying to solve in this issue.
The main composer is focused briefly and then the edit composer is focused again
What is the root cause of that problem?
We have the logic the set the global ref for main composer here, it will be called when a report screen is mounted
https://github.com/Expensify/App/blob/ba0816bd4fd62dc5e7e013df3ef17b015e6c275a/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx#L306
When we go to the thread, the parent report is in stack navigator  and it isn't unmounted. After going back by back button browser this is a old screen so ReportActionComposeFocusManager.composerRef still is the ref of thread's composer
https://github.com/Expensify/App/blob/ba0816bd4fd62dc5e7e013df3ef17b015e6c275a/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx#L306
When we click on edit composer, we will save the ref in InputFocus.composerFocusKeepFocusOn function
https://github.com/Expensify/App/blob/ba0816bd4fd62dc5e7e013df3ef17b015e6c275a/src/pages/home/report/ReportActionItemMessageEdit.tsx#L139
and then if we click on main composer, the edit composer will be focused again by this logic here because ReportActionComposeFocusManager.composerRef still is the ref of thread's composer  leading ReportActionComposeFocusManager.isFocused() return false
https://github.com/Expensify/App/blob/ba0816bd4fd62dc5e7e013df3ef17b015e6c275a/src/libs/actions/InputFocus/index.website.ts#L20-L26
What changes do you think we should make in order to solve the problem?
In ReportActionComposeFocusManager we can store another field like composerID that is the report id of main composer and update it as reportID here.
https://github.com/Expensify/App/blob/ba0816bd4fd62dc5e7e013df3ef17b015e6c275a/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx#L306
And then when we focus on a main composer, if the composerID now is different from the reportID, we will update the
the ReportActionComposeFocusManager.composerRef as composerRef here.
https://github.com/Expensify/App/blob/ba0816bd4fd62dc5e7e013df3ef17b015e6c275a/src/pages/home/report/ReportActionCompose/ReportActionCompose.tsx#L307
What alternative solutions did you explore? (Optional)
In ReportActionCompose, we can create a useEffect that will update ReportActionComposeFocusManager.composerRef if the focus state change from false to true
const prevIsFocusedScreen = usePrevious(isFocusedScreen);

useEffect(() => {
    if (!isFocusedScreen || prevIsFocusedScreen) {
        return;
    }

    ReportActionComposeFocusManager.composerRef.current = composerRef.current;

}, [isFocusedScreen, prevIsFocusedScreen])

Got it, thanks @dukenv0307. I'm chatting about this internally before moving forward.

I can recreate this following the steps and for consistency's sake we should have the same behavior as when you edit the message without going to "reply in thread" first.

@dukenv0307
Thank for your feedback, I think that makes sense, we can update composerRef in this listener. So the update logic when the screen is focused can be centralized.
Updated proposal https://github.com/Expensify/App/issues/38700#issuecomment-2010901551

Nice, agreed the updated alternative solution looks good 👍

@dukenv0307 The PR is here

@stephanieelliott - This one is just waiting for payment hold to expire and payment to be handled. I'm going to be out of office until the 12th so I won't be able to handle this one for multiple days after payment is due.
Thank you so much!

@nkdengineer - Can you apply to this job or share your upwork profile so we can locate you and offer the contract?
Thanks!

As a React Native developer, I understand the root cause of the issue and I am confident in my ability to resolve it. By updating the logic in the ReportActionComposeFocusManager, I can ensure that the global reference for the main composer is accurately maintained, even after navigating back from a thread. Additionally, I am well-versed in managing component focus and can implement the necessary changes to ensure that the main composer receives focus correctly. With my expertise, I am committed to addressing this issue effectively and providing a seamless user experience.

Based on the provided context, the problem we are trying to solve is the inability to focus on the main composer after navigating back from a thread. This occurs because the logic to set the global reference for the main composer is not updated when navigating back, causing the focus to remain on the thread's composer instead.
The root cause of this problem is that the global reference for the main composer (ReportActionComposeFocusManager.composerRef) is not updated when navigating back from a thread. This is because the parent report is not unmounted when navigating back, so the reference to the thread's composer remains unchanged.
To solve this problem, we can make changes in the ReportActionComposeFocusManager to store another field, such as composerID, which represents the report ID of the main composer. We can then update this field when focusing on a main composer. If the composerID differs from the current report ID, we update the ReportActionComposeFocusManager.composerRef to point to the main composer.
An alternative solution explored was to update the ReportActionComposeFocusManager.composerRef whenever the screen is focused. This involves updating the reference to the main composer in the focus event listener.
These solutions aim to ensure that the focus is correctly set on the main composer when navigating back from a thread, resolving the issue of being unable to focus on the main composer.

One more bump before I close this -- @nkdengineer can you please share your Upwork profile so we can offer the contract and issue payment?

@stephanieelliott Sorry for the late, my Upwork profile here https://www.upwork.com/freelancers/~0134d0b74faef1a5ac.

@nkdengineer I've extended the offer to you in Upwork, please accept: https://www.upwork.com/nx/wm/offer/101894314

@stephanieelliott I accepted it, thanks!

All paid! See payment summary here: https://github.com/Expensify/App/issues/38700#issuecomment-2045920597


postOffer method unexpected error on server.

I want to post an offer to the Alias daemon, copied and pasted almost the same code from the test file, but keep getting that error on the Alias daemon.
I don't know if there's a misconfigratuon on my daemons. Couldn't understand the error so generic.
Code:
   const config = {
      direction: "buy", // buy or sell xmr
      amount: BigInt("200000000000"), // amount of xmr to trade
      assetCode: "eth", // counter asset to trade
      price: undefined, // use market price if undefined
      paymentAccountId: "50d93331-1640-41eb-b90e-e0352727008f",
      priceMargin: 0.0,
      minAmount: undefined,
      buyerSecurityDeposit: 0.15,
      awaitUnlockedBalance: false,
      triggerPrice: undefined,
    };

    client.postOffer(
        config.direction,
        config.amount,
        config.assetCode,
        config.paymentAccountId,
        config.buyerSecurityDeposit,
        config.price,
        config.marketPriceMargin,
        config.triggerPrice,
        config.minAmount
    );

Error:
Jun-05 12:21:39.987 [grpc-default-executor-2] INFO  b.d.g.i.CallRateMeteringInterceptor: CreateOffer has been called 1 time in the last second, rate limit is 10/second
Jun 05, 2022 12:21:39 PM io.grpc.internal.SerializingExecutor run
SEVERE: Exception while executing runnable io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed@6a9420c8
io.grpc.StatusRuntimeException: UNKNOWN: unexpected error on server
	at bisq.daemon.grpc.GrpcExceptionHandler.wrapException(GrpcExceptionHandler.java:99)
	at bisq.daemon.grpc.GrpcExceptionHandler.handleException(GrpcExceptionHandler.java:56)
	at bisq.daemon.grpc.GrpcOffersService.createOffer(GrpcOffersService.java:178)
	at bisq.proto.grpc.OffersGrpc$MethodHandlers.invoke(OffersGrpc.java:569)
	at io.grpc.stub.ServerCalls$UnaryServerCallHandler$UnaryServerCallListener.onHalfClose(ServerCalls.java:172)
	at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(ServerCallImpl.java:331)
	at io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed.runInContext(ServerImpl.java:814)
	at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
	at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)

Jun-05 12:21:39.989 [grpc-default-executor-2] INFO  b.c.offer.CreateOfferService: create and get offer with offerId=031044-795d1c24-f77d-4027-ac64-d9b300d0ebdf-162,
currencyCode=ETH,
direction=BUY,
price=100000000,
useMarketBasedPrice=true,
marketPriceMargin=0.0,
amount=20000000,
minAmount=20000000,
buyerSecurityDeposit=0.15
Jun-05 12:21:39.991 [grpc-default-executor-2] ERROR org.bitcoinj.core.Context: Performing thread fixup: you are accessing bitcoinj via a thread that has not had any context set on it.
Jun-05 12:21:39.992 [grpc-default-executor-2] ERROR org.bitcoinj.core.Context: This error has been corrected for, but doing this makes your app less robust.
Jun-05 12:21:39.992 [grpc-default-executor-2] ERROR org.bitcoinj.core.Context: You should use Context.propagate() or a ContextPropagatingThreadFactory.
Jun-05 12:21:39.992 [grpc-default-executor-2] ERROR org.bitcoinj.core.Context: Please refer to the user guide for more information about this.
Jun-05 12:21:39.992 [grpc-default-executor-2] ERROR org.bitcoinj.core.Context: Thread name is grpc-default-executor-2.
Jun-05 12:21:39.992 [grpc-default-executor-2] INFO  org.bitcoinj.wallet.Wallet: Completing send tx with 2 outputs totalling 0.0302 BTC and a fee of 0.00 BTC/vkB
Jun-05 12:21:39.992 [grpc-default-executor-2] INFO  b.c.btc.TxFeeEstimationService: We cannot do the fee estimation because there are not enough funds in the wallet. This is expected if the user pays from an external wallet. In that case we use an estimated tx vsize of 175 vbytes.
Jun-05 12:21:39.992 [grpc-default-executor-2] INFO  b.c.btc.TxFeeEstimationService: Fee estimation resulted in a tx vsize of 175 vbytes and a tx fee of 1750 Sat.
Jun-05 12:21:39.993 [grpc-default-executor-2] ERROR b.d.grpc.GrpcOffersService:  java.lang.NullPointerException: null
	at bisq.core.offer.CreateOfferService.createAndGetOffer(CreateOfferService.java:234)
	at bisq.core.api.CoreOffersService.createAndPlaceOffer(CoreOffersService.java:239)
	at bisq.core.api.CoreApi.createAnPlaceOffer(CoreApi.java:447)
	at bisq.daemon.grpc.GrpcOffersService.createOffer(GrpcOffersService.java:151)
	at bisq.proto.grpc.OffersGrpc$MethodHandlers.invoke(OffersGrpc.java:569)
	at io.grpc.stub.ServerCalls$UnaryServerCallHandler$UnaryServerCallListener.onHalfClose(ServerCalls.java:172)
	at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(ServerCallImpl.java:331)
	at io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed.runInContext(ServerImpl.java:814)
	at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
	at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)

java.lang.NullPointerException: null
	at bisq.core.offer.CreateOfferService.createAndGetOffer(CreateOfferService.java:234)
	at bisq.core.api.CoreOffersService.createAndPlaceOffer(CoreOffersService.java:239)
	at bisq.core.api.CoreApi.createAnPlaceOffer(CoreApi.java:447)
	at bisq.daemon.grpc.GrpcOffersService.createOffer(GrpcOffersService.java:151)
	at bisq.proto.grpc.OffersGrpc$MethodHandlers.invoke(OffersGrpc.java:569)
	at io.grpc.stub.ServerCalls$UnaryServerCallHandler$UnaryServerCallListener.onHalfClose(ServerCalls.java:172)
	at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(ServerCallImpl.java:331)
	at io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed.runInContext(ServerImpl.java:814)
	at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
	at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)

Is the arbitrator accessible? This line corresponds to looking up the arbitrator (needs a better error message):
https://github.com/haveno-dex/haveno/blob/8a0612a245ad0c10145bd9399926aebda07dcd54/core/src/main/java/bisq/core/offer/CreateOfferService.java#L234

@woodser  Yes, my arbitrator is running and registered. and still getting that error.
Jun-07 23:15:55.241 [grpc-default-executor-4] ERROR org.bitcoinj.core.Context: Performing thread fixup: you are accessing bitcoinj via a thread that has not had any context set on it.
Jun-07 23:15:55.242 [grpc-default-executor-4] ERROR org.bitcoinj.core.Context: This error has been corrected for, but doing this makes your app less robust.
Jun-07 23:15:55.242 [grpc-default-executor-4] ERROR org.bitcoinj.core.Context: You should use Context.propagate() or a ContextPropagatingThreadFactory.
Jun-07 23:15:55.242 [grpc-default-executor-4] ERROR org.bitcoinj.core.Context: Please refer to the user guide for more information about this.
Jun-07 23:15:55.242 [grpc-default-executor-4] ERROR org.bitcoinj.core.Context: Thread name is grpc-default-executor-4.
Jun-07 23:15:55.243 [grpc-default-executor-4] INFO  org.bitcoinj.wallet.Wallet: Completing send tx with 2 outputs totalling 0.00105 BTC and a fee of 0.00 BTC/vkB
Jun-07 23:15:55.244 [grpc-default-executor-4] INFO  b.c.btc.TxFeeEstimationService: We cannot do the fee estimation because there are not enough funds in the wallet. This is expected if the user pays from an external wallet. In that case we use an estimated tx vsize of 175 vbytes.
Jun-07 23:15:55.244 [grpc-default-executor-4] INFO  b.c.btc.TxFeeEstimationService: Fee estimation resulted in a tx vsize of 175 vbytes and a tx fee of 8750 Sat.
Jun-07 23:15:55.247 [grpc-default-executor-4] ERROR b.d.grpc.GrpcOffersService:  java.lang.NullPointerException: null
	at bisq.core.offer.CreateOfferService.createAndGetOffer(CreateOfferService.java:234)
	at bisq.core.api.CoreOffersService.createAndPlaceOffer(CoreOffersService.java:239)
	at bisq.core.api.CoreApi.createAnPlaceOffer(CoreApi.java:447)
	at bisq.daemon.grpc.GrpcOffersService.createOffer(GrpcOffersService.java:151)
	at bisq.proto.grpc.OffersGrpc$MethodHandlers.invoke(OffersGrpc.java:569)
	at io.grpc.stub.ServerCalls$UnaryServerCallHandler$UnaryServerCallListener.onHalfClose(ServerCalls.java:172)
	at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(ServerCallImpl.java:331)
	at io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed.runInContext(ServerImpl.java:814)
	at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
	at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)

java.lang.NullPointerException: null
	at bisq.core.offer.CreateOfferService.createAndGetOffer(CreateOfferService.java:234)
	at bisq.core.api.CoreOffersService.createAndPlaceOffer(CoreOffersService.java:239)
	at bisq.core.api.CoreApi.createAnPlaceOffer(CoreApi.java:447)
	at bisq.daemon.grpc.GrpcOffersService.createOffer(GrpcOffersService.java:151)
	at bisq.proto.grpc.OffersGrpc$MethodHandlers.invoke(OffersGrpc.java:569)
	at io.grpc.stub.ServerCalls$UnaryServerCallHandler$UnaryServerCallListener.onHalfClose(ServerCalls.java:172)
	at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(ServerCallImpl.java:331)
	at io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed.runInContext(ServerImpl.java:814)
	at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
	at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
Jun 07, 2022 11:15:55 PM io.grpc.internal.SerializingExecutor run
SEVERE: Exception while executing runnable io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed@3d64d0ec
io.grpc.StatusRuntimeException: UNKNOWN: unexpected error on server
	at bisq.daemon.grpc.GrpcExceptionHandler.wrapException(GrpcExceptionHandler.java:99)
	at bisq.daemon.grpc.GrpcExceptionHandler.handleException(GrpcExceptionHandler.java:56)
	at bisq.daemon.grpc.GrpcOffersService.createOffer(GrpcOffersService.java:178)
	at bisq.proto.grpc.OffersGrpc$MethodHandlers.invoke(OffersGrpc.java:569)
	at io.grpc.stub.ServerCalls$UnaryServerCallHandler$UnaryServerCallListener.onHalfClose(ServerCalls.java:172)
	at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(ServerCallImpl.java:331)
	at io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed.runInContext(ServerImpl.java:814)
	at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
	at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)

Jun-07 23:16:54.552 [InputHandler-localhost:4444] WARN  b.n.p2p.network.Connection: proto is null because protoInputStream.read()=-1 (EOF). That is expected if client got stopped without proper shutdown.

haveno-ts-0.0.6 is released which should improve the stack trace.
It runs against current master.

Please check my code.

Created crypto payment account and took the getId() and put it to the payment account.

const payment = {
      accountName: "asdasd",
      assetCode: "ETH",
      address: "0xdBdAb835Acd6fC84cF5F9aDD3c0B5a1E25fbd99f",
}

client.createCryptoPaymentAccount(
      payment.accountName,
      payment.assetCode,
      payment.address
    );

The crypto account has been created well without any issue./
const offer = {
    direction: "buy", // buy or sell xmr
    amount: BigInt("1"), // amount of xmr to trade
    assetCode: "ETH", // counter asset to trade
    paymentAccountId: "d477c9d9-ea9b-4fd4-8019-4f0581a0a13d",
    buyerSecurityDeposit: 0.15,
}
client.postOffer(
      offer.direction,
      offer.amount,
      offer.assetCode,
      offer.paymentAccountId,
      offer.buyerSecurityDeposit,
      offer.price,
      offer.marketPriceMargin,
      offer.triggerPrice,
      offer.minAmount
);

Keep getting the same unexpected error.

Yeah, i know createCryptoPaymentAccount and postOffer is async function. i did that.

Arbitrator daemon works and registered it as you mentioned by Account, command + r.
My Alice, Bob and Seednode daemons even the funding-wallet daemon work without any problem or red error.
Mined some stagenet XMR coins to alice and bob addresses.
In terms of testing, Tried to run the test but not all test cases passed some test cases failed.

Can you include more logs on the test failures? That could give a clue.

After I removed the haveno and haveno-ts and built it again, got that error.
https://www.loom.com/share/a84efa444b7c4cac8e17844038e49264

Ensure no instances of monero-wallet-rpc are running before starting the daemons.
If that's not the problem, try deleting the recreating the arbitrator.

What environment is this? Installing a local network per the instructions to verify everything works should have been one the first steps if you haven't already.

All the test cases passed, and the postOffer works for me. Thanks @woodser for your help, i'm sorry to forget to close the issue.

Excellent. Great to hear.


"Server ID : URL is required" error will be thrown when on Frogbot scan when there is maven.yaml file configured with private registry

Describe the bug
When using the Frogbot scan with Maven project and there is also a .jfrog/projects//maven.yaml file that points to a private registry, the cli-core will try to use the maven.yaml server ID which is not recognized by Github Actions and will lead to error:
Error: 2 [Error] Server ID arti-test: URL is required.
To Reproduce
Used the template
Add maven.yaml file such as follows:
version: 1
type: maven
resolver:
serverId: my-saas
snapshotRepo: libs-snapshots
releaseRepo: libs-releases
deployer:
serverId: my-saas
snapshotRepo: libs-snapshots
releaseRepo: libs-releases
Expected behavior
Frogbot should not throw an error about that.
Versions

Frogbot version: 2.1.2
JFrog Artifactory version: 7.38.8
JFrog Xray version: 3.48.2

Hi, @Infinityxx thanks for reporting this issue, and sorry for the inconvenience.
Our plan is to add support for Frogbot resolving dependencies from Artifactory in this Q.
We will make sure the new feature will handle this use case as well, and will keep you up to date.

@Infinityxx -
We're trying to come up woith a solution a soon as possible.

Hi @Infinityxx
JFrog Frogbot 2.3.3 is released and should fix the above issue.
Looking forward to your feedback on it.


Build时报错

pwd
/tmp/csi-plugin/build
sh build-disk.sh
main.go:27:2: cannot find package "github.com/AliyunContainerService/csi-plugin/pkg/disk" in any of:
/usr/local/go/src/github.com/AliyunContainerService/csi-plugin/pkg/disk (from $GOROOT)
/root/go/src/github.com/AliyunContainerService/csi-plugin/pkg/disk (from $GOPATH)
main.go:28:2: cannot find package "github.com/AliyunContainerService/csi-plugin/pkg/lvm" in any of:
/usr/local/go/src/github.com/AliyunContainerService/csi-plugin/pkg/lvm (from $GOROOT)
/root/go/src/github.com/AliyunContainerService/csi-plugin/pkg/lvm (from $GOPATH)
main.go:29:2: cannot find package "github.com/AliyunContainerService/csi-plugin/pkg/nas" in any of:
/usr/local/go/src/github.com/AliyunContainerService/csi-plugin/pkg/nas (from $GOROOT)
/root/go/src/github.com/AliyunContainerService/csi-plugin/pkg/nas (from $GOPATH)
main.go:30:2: cannot find package "github.com/AliyunContainerService/csi-plugin/pkg/oss" in any of:
/usr/local/go/src/github.com/AliyunContainerService/csi-plugin/pkg/oss (from $GOROOT)
/root/go/src/github.com/AliyunContainerService/csi-plugin/pkg/oss (from $GOPATH)
main.go:31:2: cannot find package "github.com/Sirupsen/logrus" in any of:
/usr/local/go/src/github.com/Sirupsen/logrus (from $GOROOT)
/root/go/src/github.com/Sirupsen/logrus (from $GOPATH)

update the source code;
config GOPATH, GOROOT


Project name already exists and Capacitor could not find the web assets directory

I followed the guide doc: https://nxtend.dev/docs/capacitor/getting-started/
After 'nx generate @nxtend/capacitor:capacitor-project ionic-react-cap --project ionic-react' ,
I got this error : Project name already exists.
The Ionic Project name is 'ionic-react' and 'ionic-react-cap'.
It happens again even if I changed the app name.
❯ nx generate @nxtend/capacitor:init
❯ nx generate @nxtend/capacitor:capacitor-project ionic-react-cap --project ionic-react
? What app ID would you like to use? io.ionic.starter
? What app name would you like to use?
Project name already exists.

So, What is wrong?
If I generate with --capacitor true, doesn't need to run that command?
nx generate @nxtend/ionic-react:application ionic-react --capacitor true
I am setting up Xplat Ionic/angular as well with nxtend ionic/react.

I recreated without --capacitor true option.
and when I tried this command.
> nx run ionic-react-cap:add --platform=android
[error] Capacitor could not find the web assets directory
"~/dev/workspace/Projects/TotalProjects/NX-Lab/nx-base/dist/apps/ionic-react".
    Please create it and make sure it has an index.html file. You can change
    the path of this directory in capacitor.config.json (webDir option).
    You may need to compile the web assets for your app (typically 'npm run build').
    More info: https://capacitorjs.com/docs/basics/building-your-app

my capacitor.config.json
{
  "appId": "io.ionic.starter",
  "appName": "ionic-react",
  "bundledWebRuntime": false,
  "npmClient": "npm",
  "webDir": "../../dist/apps/ionic-react",
  "plugins": {
    "SplashScreen": {
      "launchShowDuration": 0
    }
  },
  "cordova": {}
}

Hey, thanks for reporting this! Is this repo public so that I could take a look? Also, how did you generate the ionic-react app you're referring to in your commands? Was it with the @nxtend/ionic-react plugin or Xplat?

@devinshoemaker
I've created NX Monorepo with NX, Xplat and nxtend.
Check this out!
https://github.com/fullstackship/ultimate-nx-monorepo

So I see that you have an ionic-react-cap app already. Did you end up getting the Capacitor plugin working?
Sweet repo though, I'll dive deeper when I have some more time.
I'm also working on an Ionic Angular plugin that I hope to have out in a few weeks. Life has been a bit unpredictable now though, so we will see how fast I can crank it out. 😄

@devinshoemaker  I will try the plugins and if something wrong, I will tell you. Thank you :)  If ionic/angular done, I will add it on the repo as well  😄

The docs have been updated to let the user know to build their project before using native platforms. This should be rolled out with v2.


Show widget when a node (without children) is expanded

I think it'd be nice to show an optional widget on node expansion when node's children is empty.
Use case: I need to show a button to add child for the root node when the root node is expanded. I tried a hack of replacing the root node with a custom expandable widget, but this came at the expense of not been able to access the root node's properties.

You could just build your expansion tiles like this:
AnimatedSize(
	duration: _collapseAnimationDuration, //e.g. const Duration(milliseconds: 250)
	alignment: Alignment.topCenter,
	child: Column(
	  children: [
		ListTile(
			onTap: (){
			  _treeController.toggleExpansion(entry.node);
			},
			title: Text('This is an expansion tile', style: Theme.of(context).textTheme.bodyMedium, maxLines: 3),
		),
		if(entry.isExpanded && entry.node.children.isEmpty) Text('No items')
	  ],
	)
  )


Cover cases where the backslash itself is escaped

I think the appveyor build is failing for another reason. will try and toggle to run another build.

Looks good, thank you!
Yes, there are still a few known failures on Windows, it's a work in progress.


fix task message on LHN if task is created after sending an attachment

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/23664
PROPOSAL: https://github.com/Expensify/App/issues/23664#issuecomment-1652301399
Tests

Open a chat from the LHN
Send an attachment
Create a task inside the chat by clicking the plus icon inside the composer > assign task
Input the required fields and confirm the task
Verify that "Created task ..." is shown on the LHN of the task report display

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

Offline tests

N/A
QA Steps

Open a chat from the LHN
Send an attachment
Create a task inside the chat by clicking the plus icon inside the composer > assign task
Input the required fields and confirm the task
Verify that "Created task ..." is shown on the LHN of the task report display

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

PR Author Checklist

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[X] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[X] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[X] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[X] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[X] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[X] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[X] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
Web.webm

Mobile Web - Chrome

Mobile Web - Safari

Desktop

iOS

Android

@NikkiWines Could you please review this PR?

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/NikkiWines in version: 1.3.52-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/puneetlath in version: 1.3.52-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Parameter documentation (info) not showing

Environment data
dotnet --info output:
Product Information:
 Version:            2.0.0
 Commit SHA-1 hash:  cdcd1928c9

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.15063
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\2.0.0\

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.0
  Build    : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d

VS Code version: 1.15.1
C# Extension version: 1.12.1
Steps to reproduce

String.Format(
throw new Exception(

There's no parameter documentation (info) showing when calling this method (ór pressing Ctrl+Shift+Space) (1). The same happens when throwing a new Exception (2).
Expected  behavior
Show parameter documentation.
Actual behavior
Not showing parameter documentation.

Hi! Just to clarify what you are reporting, are you unable to get the signature help popup to display (with the possible signature overloads). Or, is the signature help popup displaying, but without any documentation text?

Hi Dustin,
Its the latter.
Kind Regards,
Pieter

Van: Dustin Campbell<EMAIL_ADDRESS>Verzonden: maandag 28 augustus 2017 15:29
Aan: OmniSharp/omnisharp-vscode
CC: pjdv2; Author
Onderwerp: Re: [OmniSharp/omnisharp-vscode] Parameter documentation (info) not showing (#1739)
Hi! Just to clarify what you are reporting, are you unable to get the signature help popup to display (with the possible signature overloads). Or, is the signature help popup displaying, but without any documentation text?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/OmniSharp/omnisharp-vscode/issues/1739#issuecomment-325353410, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AaL54fhku3rzbHx-2mojg_yJSOxyF2Cvks5scsC5gaJpZM4PDy6w.

Thanks for clarifying. I can definitely repro that. FWIW, I see documentation text a bit inconsistently. For example, I don't see it on String.Format(...) or new Exception(...), but I do see it for Console.WriteLine(...). I'm betting this is related to https://github.com/OmniSharp/omnisharp-vscode/issues/1551.

It seems related. The comment:

@terrajobst, @richlander: Poking around a bit, it appears that the NETStandard.Library packages don't appear to contain XML documentation like, say, the ASP.NET packages do, which means that users don't get documentation on hover or completion in VS Code for core types and members. Is there are plan to start including documentation so that users get a good experience?

Seems to apply, but I have no knowledge of the current state of the application to see what has changed in the mean time.

I'd like to look at this separately. It seems like it might be the same, but I'd rather keep this around.

If you want you can reopen it, but I feel to close it.

Again, I'd really like to keep this issue open so we can track it separately. Thanks!

Hi @DustinCampbell
I am seeing the same issue as @pjdv2 mentioned. The Description would be
Environment:
vscode-ruby version: 0.16.0
VS Code version: 1.16.1
Ruby-Solargraph: 0.12.0
Description:
My Ruby Project Structure contains Page Object files in which I will be writing function Definitions inside Modules. So for each function definitions I will be writing the Function Description in Yaardoc format. The issue here is, previously when I tried to use the definitions in my test case I used to get the Description/quick info of the methods when I type the definition name and also all the definitions inside module as suggestions when I type the module name.
But, since December I am not getting any function suggestions or the description of the functions. I explored if there are any issues filed and the reasons for it but unfortunately I could not figure it out.
Can someone please help me out the reason for this.
Sample Function: ProjectName/PageObjects/Hello.rb
module ModuleName

      # funName: Description of the Function

      # @param [String] param1

      # @param [String] param2

         def funName(param1,param2)

             begin

                  # My function definition here

             end

         end

  end

FYI:
I tried to create a .solargraph.yml file and it contains
include:
  - ./**/*.rb
exclude:
  - spec/**/*
  - test/**/*

Can someone help me out the reason for this issue.
Thanks! in advance.

@csanthoshi This is the C# extension repo, so your problem is not related to this issue. You want to ask on the GitHub for the Ruby VS Code extension. I would also generally suggest against commenting on closed issues unless you are pretty sure the issues are related.

not able to reproduce this issue with the current release.


[no-ticket] Improving HTML formatting

Problem
The index.html file contains some badly formatted tags; format this to a standard convention.
Acceptance Criteria
HTML formatting is consistent with best practices.

I will take this one.


Failed to find Premain-Class manifest attribute

There is no Premain-Class in jolokia-jvm MANIFEST.MF jar in published maven artifact.
Checked on all published releases on Maven Central.
Also tried to build it, but manifest entries are not populated.

Yea, this is really difficult without docs. @rhuss can you point me to the source for the docs for this page: https://jolokia.org/reference/html/agents.html
I'll be happy to submit a PR with some of this.
For maven, you need:
<groupId>org.jolokia</groupId>
<artifactId>jolokia-jvm</artifactId>
<version>1.3.1</version>
<classifier>agent</classifier>

The jvm agent documentation can be found here: https://github.com/rhuss/jolokia/blob/master/src/docbkx/agents/jvm.xml
However, the agent itself is seldomly used as a Maven dependency, that's also because there is no example in this section with Maven.
What's you use case for using it as Maven dependency ? From the download page you should be able to dowload the proper agent as well when using the distribution package with all agent or when you are using the jolokia cli for on demand downloading.

I'm doing the following so that the download and versioning is part of my build rather than an external dependency:
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <version>2.3</version>
        <executions>
            <id>copy-jokolia</id>
            <phase>package</phase>
            <goals><goal>copy</goal></goals>
            <configuration>
              <artifactItems>
                <artifactItem>
                  <groupId>org.jolokia</groupId>
                  <artifactId>jolokia-jvm</artifactId>
                  <version>1.3.1</version>
                  <classifier>agent</classifier>
                  <destFileName>jolokia-agent.jar</destFileName>
                </artifactItem>
              </artifactItems>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>


=code= before or after linebreak is not parsed

If =code= occurs right before or after a linebreak, it is not parsed.
I've marked the occurrences in the image attached to #50

Digged a bit deeper. It seems it's only true in a list environment.
Therefore this should be solved once #50 is fixed.

After restarting emacs/reparsing your configuration, run

   =org-mobile-push=. This will copy your Org files to
   ~/Dropbox/Apps/MobileOrg, which is where MobileOrg will read from.

You can run org-mobile-push by pressing C-c C-x RET p whilst you

   are in an Org buffer.

If you use spacemacs just type: SPC q r

Go back to MobileOrg and click on the Outlines tab at the bottom,

   then click the Sync button in the upper right.


Same ref example in methods not working

Hi,
i'm try use same example over ref in few methods and it isn't work.
Example.yml
test: 'ok'
items.yml
post:
  summary: Import items
  responses:
    '401':
      description: 'Unauthorized'
      content:
        application/json:
          schema:
            $ref: '../BaseSchemas/ApiResult.yml'
          example:
            $ref: '../BaseExamples/UnauthorizedExample.yml'

get:
  summary: Get all items
  responses:
    '401':
      description: 'Unauthorized'
      content:
        application/json:
          schema:
            $ref: '../BaseSchemas/ApiResult.yml'
          example:
            $ref: '../BaseExamples/UnauthorizedExample.yml'

And result show this
Post:

Get:

What tool are you using which doesn't work? This repository is for the OpenAPI specification itself.

@MikeRalphson Swagger but i dont know if openapi write correctly

@petrkasnal The example keyword (singular form) does not support $ref, you need to specify the entire example value inline.
The examples keyword (plural form) supports both $ref (to reference an Example Object definition) and externalValue (to "import" the example value from an external file). The syntax for examples+$ref is:
      content:
        application/json:
          schema:
            $ref: '../BaseSchemas/ApiResult.yml'
          examples:
            UnauthorizedExample:
              $ref: '#/components/examples/UnauthorizedExample'

components:
  examples:
    UnauthorizedExample:
      summary: An example of a 401 Unauthorized response
      value:
        code: 401
        message: The 'Authorization' header is missing or contains an invalid value.

and the externalValue syntax is as follows (but Swagger UI does this support this yet):
      content:
        application/json:
          schema:
            $ref: '../BaseSchemas/ApiResult.yml'
          examples:
            UnauthorizedExample:
              summary: An example of a 401 Unauthorized response
              externalValue: '../examples/UnauthorizedExample.json'

// UnauthorizedExample.json

{
  "code": 401,
  "message": "The 'Authorization' header is missing or contains an invalid value."
}

@hkosova ok thank you very much for your help :)


Some questions about IGSO3 and score function.

Great work! Learn a lot from it. However, some questions about the IGSO3 and the score function confuse me.

Different IGSO3 PDF functions. In proposition 3.3, the paper says that the PDF of the rotation angle $\omega$ is $$f(\omega)=\sum_{l \in \mathbb{N}}{(2l+1)e^{-l(l+1)t/2}\frac{sin((l+0.5)\omega)}{sin(\omega/2)}}.$$ However, in Leach's paper, they define the PDF as $$f(\omega)=\frac{1-cos\omega}{\pi} \sum_{l \in \mathbb{N}}{(2l+1)e^{-l(l+1)t/2}\frac{sin((l+0.5)\omega)}{sin(\omega/2)}}.$$ What is the difference between these two PDF functions?
Moreover, in the source code, the actual PDF function is the second form. I wonder whether the score function in proposition 3.4 still holds in this case (it seems the term $\frac{1-cos \omega}{\pi}$ is ignored?).

https://github.com/jasonkyuyim/se3_diffusion/blob/2c6405fb5a1c4a23354cc697c18ff478dff8546b/data/so3_diffuser.py#L127-L128
https://github.com/jasonkyuyim/se3_diffusion/blob/2c6405fb5a1c4a23354cc697c18ff478dff8546b/data/so3_diffuser.py#L34-L50

Implementation of the score function. In proposition 3.4, the score function is $$\nabla p_{t|0}(r^{(t)}|r^{(0)}) = \frac{r^{(t)}}{\omega^{(t)}} \log \{r^{(0, t)}\} \frac{\partial_{\omega}f(\omega^{(t)}, t)}{f(\omega^{(t)}, t)}.$$
However, in the source code, when deal with the ground truth rotation score, it seems $r^{(t)}$ is missing?

When deal with predicted rotation score, init_rots (rot_t) is applied to rot_score.
https://github.com/jasonkyuyim/se3_diffusion/blob/2c6405fb5a1c4a23354cc697c18ff478dff8546b/model/ipa_pytorch.py#L648-L663
Meanwhile, when deal with the ground truth, rot_t is not applied to rot_score.
https://github.com/jasonkyuyim/se3_diffusion/blob/2c6405fb5a1c4a23354cc697c18ff478dff8546b/data/so3_diffuser.py#L286-L288
https://github.com/jasonkyuyim/se3_diffusion/blob/2c6405fb5a1c4a23354cc697c18ff478dff8546b/data/so3_diffuser.py#L219-L240
https://github.com/jasonkyuyim/se3_diffusion/blob/2c6405fb5a1c4a23354cc697c18ff478dff8546b/data/so3_diffuser.py#L134-L135
https://github.com/jasonkyuyim/se3_diffusion/blob/2c6405fb5a1c4a23354cc697c18ff478dff8546b/data/so3_diffuser.py#L53-L84

Hello -- thanks for the interest!  We worked on our implementation at the same time as we were we working out our derivations, which led to some disagreements between naming of variables and object types in our code vs. in our preprint.  We have refactored our code to agree with the our descriptions in the paper in another branch which I have just added (https://github.com/jasonkyuyim/se3_diffusion/tree/unsupported_refactor).  Please take a look there to see if this clears up your questions.  We have confirmed that this branch works for inference (and matches the main branch with using the trained weight checkpoint), and will merge this branch into main once we have finished debugging training.
I'll now reply to the specific questions:

The difference is that the top expression is a density on SO(3) while the bottom expression is a density on the angle of rotation on the interval [0, pi).  More formally the first expression characterizes the Radon-Nikodym derivative of the measure implied by the transition kernel of the of Brownian motion with respect to the Haar measure / volume form on SO(3).  It is this first quantity (no the second) which is needed for the applying the Riemannian time reversal theorem.

This should be clearer from the new branch I have pointed to.  Please let us know if it is not.

Hello -- thanks for the interest! We worked on our implementation at the same time as we were we working out our derivations, which led to some disagreements between naming of variables and object types in our code vs. in our preprint. We have refactored our code to agree with the our descriptions in the paper in another branch which I have just added (https://github.com/jasonkyuyim/se3_diffusion/tree/unsupported_refactor). Please take a look there to see if this clears up your questions. We have confirmed that this branch works for inference (and matches the main branch with using the trained weight checkpoint), and will merge this branch into main once we have finished debugging training.
I'll now reply to the specific questions:

The difference is that the top expression is a density on SO(3) while the bottom expression is a density on the angle of rotation on the interval [0, pi).  More formally the first expression characterizes the Radon-Nikodym derivative of the measure implied by the transition kernel of the of Brownian motion with respect to the Haar measure / volume form on SO(3).  It is this first quantity (no the second) which is needed for the applying the Riemannian time reversal theorem.
This should be clearer from the new branch I have pointed to.  Please let us know if it is not.

Thanks for the brilliant and informative work! I have a related question on this topic. Could you present a more detailed derivation of this scaling factor connecting density on SO(3) and on [0, pi), or suggest some English reference that I could learn from?
In Leach's paper, the paper he refers to is in Russian, and I can only find English papers discussing IGSO3 density on SO(3), but not this scaling factor and the connection to [0, pi).

Sure thing.  This reference gives a nice derivation of density function on (0, pi).  Hope this helps!
Rummler, Hansklaus. "On the distribution of rotation angles how great is the mean rotation angle of a random rotation?" The Mathematical Intelligencer 24.4 (2002)
https://core.ac.uk/download/pdf/159153606.pdf

Sure thing. This reference gives a nice derivation of density function on (0, pi). Hope this helps!
Rummler, Hansklaus. "On the distribution of rotation angles how great is the mean rotation angle of a random rotation?" The Mathematical Intelligencer 24.4 (2002) https://core.ac.uk/download/pdf/159153606.pdf

Cool! That's really what I need! Thanks :)

Hello -- thanks for the interest! We worked on our implementation at the same time as we were we working out our derivations, which led to some disagreements between naming of variables and object types in our code vs. in our preprint. We have refactored our code to agree with the our descriptions in the paper in another branch which I have just added (https://github.com/jasonkyuyim/se3_diffusion/tree/unsupported_refactor). Please take a look there to see if this clears up your questions. We have confirmed that this branch works for inference (and matches the main branch with using the trained weight checkpoint), and will merge this branch into main once we have finished debugging training.
I'll now reply to the specific questions:

The difference is that the top expression is a density on SO(3) while the bottom expression is a density on the angle of rotation on the interval [0, pi).  More formally the first expression characterizes the Radon-Nikodym derivative of the measure implied by the transition kernel of the of Brownian motion with respect to the Haar measure / volume form on SO(3).  It is this first quantity (no the second) which is needed for the applying the Riemannian time reversal theorem.
This should be clearer from the new branch I have pointed to.  Please let us know if it is not.

Hi, I have checked the updated code and found that it aligns with the preprint well. I wonder whether the checkpoint now provided is trained with the updated code. I have tried to reimplement the benchmark results by re-training but can not get what is expected. Is code inconsistency a possible reason?

p.s. In the preprint, the paper says that it will take 1 week to train the model with 2 A100 GPUs in section 5. However, in appendix J.1, the paper also says that 2 weeks are needed for training the model under the same setting. Is this a typo?
p.p.s. In the base.yml config, the max epoch is 50, and I find that I can get 7~8 epochs each day with 2 A100 GPUs. So I guess that the total training time is 1 week.

Hi, thanks for reporting this mismatch. It look like there is a typo. The config is incorrect. It should be 95 epochs. I just pushed a fix. https://github.com/jasonkyuyim/se3_diffusion/commit/6bf12ed7b59b8b917223de15f17ca33feda8abcf
You should be able to continue training by setting warm_start: <ckpt_dir> in base.yml. The numbers look like it's getting there so hopefully this fixes it but please report back and we'll help out.
Thank you for pointing out the inconsistency in the paper. It should be ~2 weeks on 2 A100s which was a estimate but I'm going to change it to be more specific: "95 epochs over 10 days".
We'll update the paper very soon.

@blt2114 @jasonkyuyim
Thanks for your quick reply! One more question, in your master branch code, I found that there is a difference between the calculation of the ground truth score and the predicted score. Specifically, the correct formula of the score is
$$\nabla p_{t|0}(r^{(t)}|r^{(0)}) = \frac{r^{(t)}}{\omega^{(t)}} \log \{r^{(0, t)}\} \frac{\partial_{\omega}f(\omega^{(t)}, t)}{f(\omega^{(t)}, t)}.$$
However, when dealing with the ground truth score, the implementation like
https://github.com/jasonkyuyim/se3_diffusion/blob/6bf12ed7b59b8b917223de15f17ca33feda8abcf/data/so3_diffuser.py#L273-L288
https://github.com/jasonkyuyim/se3_diffusion/blob/6bf12ed7b59b8b917223de15f17ca33feda8abcf/data/so3_diffuser.py#L219-L240
I believe that np.interp(omega, self.discrete_omega, self._score_norms[self.t_to_idx(t)] )[:, None] is $\frac{\partial_{\omega}f(\omega^{(t)}, t)}{f(\omega^{(t)}, t)}$, vec is $\log \{r^{(0, t)}\}$, omega[:, None] + eps is $\omega^{(t)}$. It seems that $r^{(t)}$ is missing and I can not find $r^{(t)}$ in the succeeding code (se3_diffuser.py and pdb_data_loader.py) either.
When dealing with the predicted score, the implementation like
https://github.com/jasonkyuyim/se3_diffusion/blob/6bf12ed7b59b8b917223de15f17ca33feda8abcf/model/ipa_pytorch.py#L648-L663
https://github.com/jasonkyuyim/se3_diffusion/blob/6bf12ed7b59b8b917223de15f17ca33feda8abcf/data/se3_diffuser.py#L119-L125
https://github.com/jasonkyuyim/se3_diffusion/blob/6bf12ed7b59b8b917223de15f17ca33feda8abcf/data/so3_diffuser.py#L242-L267
At the beginning (torch_score function), the $r^{(t)}$ is also missing. But at the end of ipa_pytorch.py, it seems that rot_score = init_rots.apply(rot_score) gives us the $r^{(t)}$.
In summary, I found that $r^{(t)}$ is missing in the ground truth score but exists in the predicted score. Is this a bug or something? Will it affect the performance significantly?

Sorry, I made a mistake here. I did not notice that the code is based on so(3) (Lie algebra), while the paper is based on SO(3) (Group). I guess when the score is written in so(3) that we do not need r(t). For rot_score = init_rots.apply(rot_score) in so3_diffuser.py, I guess that its purpose is making the model rotation invariant.

@longlongman I've pushed a commit that should fix training. https://github.com/jasonkyuyim/se3_diffusion/commit/2ac1ce9be866120047cfcb506e628729fd8eced8#diff-8aad82c4466e8c87a60e7f4cbf26f22eb7a473a29cec0b9027b291fbc7767c64
You were right to point out we were missing a r^(t) in the ground truth score. This got lost when we were trying to refactor the score framework to be more readable. I've now pushed the invariant predicted rotation score (it becomes equivariant when we take the reverse euler step). It was our bad in not testing the refactor well enough... We'll get around to refactoring soon. Unfortunately this means the score math won't match one-to-one with the paper.
I've also corrected training hyperparameters that I missed.
The training curves on my end match the published model after a day of training but I'll be monitoring to make sure it can recover the true training behavior. Sorry again for the confusion and thanks so much for using our code and pointing out our bugs!


Copied checksum from xarray

Pull Request Checklist:

[x] This PR addresses an already opened issue (for bug fixes / features)

This PR fixes an issue raised in slack.

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Documentation has been added / updated (for bug fixes / features)
[ ] HISTORY.rst has been updated (with summary of main changes)
[ ] bumpversion (major / minor / patch) has been called on this branch
[ ] Tags have been pushed (git push --tags)

What kind of change does this PR introduce?
Copies the file_md5_checksum function that we were importing from xarray. In https://github.com/pydata/xarray/pull/4102 , that method was removed and the whole open_dataset logic transfered to a new external package pooch. This is only a quick fix, we might want to look into pooch at some point (but why fix something that works?).

Does this PR introduce a breaking change?
Nope.

Nice. I understand how tiny the function is, as you were saying. This takes the pressure off having to update our testdata fetching systems to match those of xarray.

@aulemahal Due to the nature of this behaviour being employed all over the place. You may want to also propose these changes in: clisops, RavenPy, and raven, among others.


DocsArchive-<IP_ADDRESS>Auto archive content

Auto archive content from https://github.com/opstest2/docs-archive-test-source.git

Docs Build status updates of commit 534f701:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.
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 the docs.microsoft.com contributor guidesPost your question in the Docs support channel


gke-cluster-autopilot: add monitoring configuration

Although one cannot disable Cloud Monitoring integration in GKE Autopilot clusters, one has some flexibility over which control plane components' metrics should be ingested: manage GKE metrics.
This PR adds a new input variable monitoring_config and a block to the cluster resource to facilitate that. The variable is optional with a sensible default value.
The interface is similar in style to #1625. Since there was no monitoring configuration in place for this module previously, it is not likely for this PR to break any existing code 🙏
I've added an example to the README as well.
Feedback is welcome 🙃
Checklist
If applicable, I acknowledge that I have:

[x] Read the contributing guide
[x] Ran terraform fmt on all modified files
[x] Regenerated the relevant README.md files using tools/tfdoc.py
[x] Made sure all relevant tests pass

@juliocc the standard cluster module already has it: monitoring_config.
Like the logging_config before, it's not an object interface though. My plan is to implement the object interface for the standard clusters module as well but I'd like to do it in a separate PR because the surface of work is much greater for the standard clusters - the configuration is more flexible for standard clusters and there are existing uses of the module, just like we had with logging.

@juliocc the standard cluster module already has it: monitoring_config.
Like the logging_config before, it's not an object interface though. My plan is to implement the object interface for the standard clusters module as well but I'd like to do it in a separate PR because the surface of work is much greater for the standard clusters - the configuration is more flexible for standard clusters and there are existing uses of the module, just like we had with logging.

Sounds good. You can merge this one then.


CPU usage

I observe a possible regression, CPU usage is limiting performance on current master, as compared to a few versions ago. (also with MPL 2 vs 1.5) Perhaps throttling of refresh rate when dragging would be a good idea?
EDIT: also tested on MPL 1.5.3, no difference in performance.

Couldn't reproduce on current master, thanks for pinging me.


Center the image under the login form

Thanks, Can you please make it as well for other pages, like in views/errors/header.

I'll close this PR since it's too old


Time-series metrics table schema

What is it?
We probably should brainstorm a good name for this. Some candidates:

metrics_table
metrics_over_time
metrics_time_series
metrics_results
metrics_values

This could be as simple as these columns:

metric_id
timestamp
value

Where you'd join against the metrics_v1 table to get more details about the metric itself
https://github.com/opensource-observer/oso/issues/1772

CC @ccerv1 thoughts?

Implemented the scaffolding here, there's lots more to flesh out tho
https://github.com/opensource-observer/oso/pull/1899


Issue with GPU memory allocation for pangu and graphcast

Hi
I'm trying to set up GraphCast and Pangu to run on a 3060 12GB GPU and am getting memory allocation errors for both models.
Pangu:
2024-07-05 14:59:18,484 INFO Writing results to pangu_outputs/20240626_1200_6h_pangu.grib
2024-07-05 14:59:18,485 INFO Loading pressure fields from CDS
2024-07-05 14:59:18,814 INFO Loading surface fields from CDS
2024-07-05 14:59:18,840 INFO Using device 'GPU'. The speed of inference depends greatly on the device.
2024-07-05 14:59:18,840 INFO ONNXRuntime providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2024-07-05 14:59:24,177 INFO Loading pangu_assets/pangu_weather_24.onnx: 5 seconds.
2024-07-05 14:59:29,314 INFO Loading pangu_assets/pangu_weather_6.onnx: 5 seconds.
2024-07-05 14:59:29,822 INFO Writing step 0: 0.5 second.
2024-07-05 14:59:29,822 INFO Model initialisation: 11 seconds
2024-07-05 14:59:29,822 INFO Starting inference for 1 steps (6h).
2024-07-05 14:59:30.391755898 [E:onnxruntime:, sequential_executor.cc:516 ExecuteKernel] Non-zero status code returned while running FusedMatMul node. Name:'/b1/MatMul/MatmulTransposeFusion//MatMulScaleFusion/' Status Message: /onnxruntime_src/onnxruntime/core/framework/bfc_arena.cc:376 void* onnxruntime::BFCArena::AllocateRawInternal(size_t, bool, onnxruntime::Stream*, bool, onnxruntime::WaitNotificationFn) Failed to allocate memory for requested buffer of size<PHONE_NUMBER>

2024-07-05 14:59:30,391 INFO Elapsed: 0.6 second.
2024-07-05 14:59:30,391 INFO Average: 0.6 second per step.
2024-07-05 14:59:30,391 INFO Total time: 11 seconds.
Traceback (most recent call last):
  File "/home/ock/anaconda3/envs/ai-models-pangu/bin/ai-models", line 8, in <module>
    sys.exit(main())
  File "/home/ock/anaconda3/envs/ai-models-pangu/lib/python3.10/site-packages/ai_models/__main__.py", line 358, in main
    _main(sys.argv[1:])
  File "/home/ock/anaconda3/envs/ai-models-pangu/lib/python3.10/site-packages/ai_models/__main__.py", line 306, in _main
    run(vars(args), unknownargs)
  File "/home/ock/anaconda3/envs/ai-models-pangu/lib/python3.10/site-packages/ai_models/__main__.py", line 331, in run
    model.run()
  File "/home/ock/anaconda3/envs/ai-models-pangu/lib/python3.10/site-packages/ai_models_panguweather/model.py", line 107, in run
    output, output_surface = ort_session_6.run(
  File "/home/ock/anaconda3/envs/ai-models-pangu/lib/python3.10/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 220, in run
    return self._sess.run(output_names, input_feed, run_options)
onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running FusedMatMul node. Name:'/b1/MatMul/MatmulTransposeFusion//MatMulScaleFusion/' Status Message: /onnxruntime_src/onnxruntime/core/framework/bfc_arena.cc:376 void* onnxruntime::BFCArena::AllocateRawInternal(size_t, bool, onnxruntime::Stream*, bool, onnxruntime::WaitNotificationFn) Failed to allocate memory for requested buffer of size<PHONE_NUMBER>

GraphCast:
2024-07-05 14:42:35.208814: I external/xla/xla/stream_executor/cuda/cuda_driver.cc:1558] failed to allocate 2.97GiB<PHONE_NUMBER> bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory
2024-07-05 14:42:35,226 INFO Doing full rollout prediction in JAX: 57 seconds.
2024-07-05 14:42:35,226 INFO Total time: 1 minute.
jax.errors.SimplifiedTraceback: For simplicity, JAX has removed its internal frames from the traceback of the following exception. Set JAX_TRACEBACK_FILTERING=off to include these.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/ock/anaconda3/envs/ai-models-graphcast/bin/ai-models", line 8, in <module>
    sys.exit(main())
  File "/home/ock/anaconda3/envs/ai-models-graphcast/lib/python3.10/site-packages/ai_models/__main__.py", line 358, in main
    _main(sys.argv[1:])
  File "/home/ock/anaconda3/envs/ai-models-graphcast/lib/python3.10/site-packages/ai_models/__main__.py", line 306, in _main
    run(vars(args), unknownargs)
  File "/home/ock/anaconda3/envs/ai-models-graphcast/lib/python3.10/site-packages/ai_models/__main__.py", line 331, in run
    model.run()
  File "/home/ock/anaconda3/envs/ai-models-graphcast/lib/python3.10/site-packages/ai_models_graphcast/model.py", line 240, in run
    output = self.model(
  File "/home/ock/anaconda3/envs/ai-models-graphcast/lib/python3.10/site-packages/ai_models_graphcast/model.py", line 114, in <lambda>
    return lambda **kw: fn(**kw)[0]
MemoryError: std::bad_alloc

I am using Cuda 12.4 in Pangu and 12.3 with GraphCast, I have tried using Cuda 11 and it does not recognise my GPU. I am using cudnn=<IP_ADDRESS>. I have also tried setting XLA_PYTHON_CLIENT_PREALLOCATE=false, setting XLA_PYTHON_CLIENT_MEM_FRACTION to smaller values and XLA_PYTHON_CLIENT_ALLOCATOR=platform. The model also runs fine on the CPU, just very slow. Is there a fix to this or it just simply that my GPU has not got enough VRAM?
Thanks.

I tried creating a new Python environment and after pip install ai-models , l installed onnxruntime via conda, suspecting that the issue might be related to the version of numpy (the version running smoothly for me is 2.0.0).

I fixed the problem, you need to have a single GPU which has large enough GPU memory.

For pangu, 27GiB GPU memory is required.


Show conflicting scheduling events for new events

Fixes #132
When trying to schedule a new event, there already is a notification if the new event would cause a conflict with an already scheduled event. However, it would not tell you with which event, leaving you guessing on how to resolve the conflict. This display the conflicting event, same as when trying to reschedule an event in the event details.

Testing this I saw:

False positive warnings where it said I had a conflict when I hadn't scheduled anything at all yet
The warning did not go away when the desired time changed

The false positive might be responsible for this too, manually closing the warning made it go away for a screen or two, but then it'd be back

Uncaught Runtime Errors about state mutations.  I see this one a lot, across all reviews.

Thanks for the review, will look into it.

Uncaught Runtime Errors about state mutations. I see this one a lot, across all reviews.

If it happens across many different PRs, it is likely it's own issue?


FILTER clause

I'd like to make a contribution by implementing the FILTER clause, as better described in these blog posts:
https://medium.com/little-programming-joys/the-filter-clause-in-postgres-9-4-3dd327d3c852#.r492befze
and
https://blog.jooq.org/2014/12/30/the-awesome-postgresql-9-4-sql2003-filter-clause-for-aggregate-functions/
I'm using this, and WITHIN GROUP as well, to build up elaborated reports. Currently I'm using literal SQL, but have started something here, but any help or advice would be nice.

Per #523, Arel development is moving to rails/rails.
If this issue is still relevant, please consider reopening it over there. (Note that the Rails repository does not accept feature request issues, and requires reproduction steps that rely on Active Record's documented API.)

@crashtech , @Envek, any plans to replicate this in https://github.com/rails/rails? Seems really useful.

@snkashis I developed a GEM for PostgreSQL, which I have plans to add this feature over there.

@crashtech you’re referring to https://github.com/crashtech/torque-postgresql ?

@snkashis yes


Reduce map data in andamannicobarislands.json

fix #427
Description of PR
As mentioned in the issue, some mobile devices are not able to handle the large map data of the Andaman Nicobar islands. I used https://mapshaper.org/ to reduce the size of the map data.
Type of PR

[x] Bugfix
[ ] New feature

Relevant Issues
Fixes #427
Checklist

[x] Compiles and passes lint tests
[x] Properly formatted
[x] Tested on desktop
[x] Tested on phone

Screenshots

@KrishnaPravin So the whole bug was geo data in form of json being too verbose ?
Mobile devices not being able to compute is it.
I'm not that familiar with geo data apis but would love to understand an start contributing to some extent.

So the whole bug was geo data in form of json being too verbose ?

Yes
Please check out this link for available issues that are available for contributors to fix
https://github.com/covid19india/covid19india-react/issues?q=is%3Aissue+is%3Aopen+label%3A"Status%3A+Available"


[WIP] Feature/code coverage

Current coverage is 96.02% (diff: 100%)

No coverage report found for develop at 7464563.

Powered by Codecov. Last update 7464563...c940c3d

https://codecov.io/gh/getsentry/sentry-swift/branch/feature%2Fcode-coverage

Current coverage is 73.60% (diff: 100%)

No coverage report found for develop at 7464563.

Powered by Codecov. Last update 7464563...81c9c84


Images aren't displayed in the correct place or at the correct size

I'm on Windows, using Wezterm, and just installed manga-tui with cargo and Wezterm with the :simple-windows: Windows (setup.exe) to install it. I then run it and here's what I get. There's nothing in the log file and I didn't touch anything in the config file.

In order to display images the font-size of the terminal needs to be know, and on windows it's hard to get that information, so I put arbitrary values.

Thanks, that makes so much more sense now! Hope one day it'll be possible to fix it 😅 tho it's still a really great tool to dl mangas. You did an amazing job!

I tried searching for answers, but yeah the only way to get the size of a terminal would be to know the font size, but it doesn't seem straightforward at all... tho, one temporary fix could be to use a constant value and later fix it if you find any solution (and a little disclaimer for Windows users to not resize their font or else everything will break) But that doesn't feel like a real fix sadly

I just spent 2 hours trying to figure out a way and... imho Windows has a shitty API. It doesn't even do what it says 😞. Whenever I ask for a size or whatever, it only returns me (rows, columns) and when asking for the size of the font I get it in logical unit which doesn't make sense and is unusable.... I'll try tomorrow again, but not sure if I can get any results sadly

After more searching, I found this: https://github.com/microsoft/terminal/issues/6395#issuecomment-640260972 which is kinda sad... cuz it means it's literally impossible to retrieve the font size via the official Windows API

After more searching, I found this: microsoft/terminal#6395 (comment) which is kinda sad... cuz it means it's literally impossible to retrieve the font size via the official Windows API

so what's the purpose of GetConsoleFontSize if it doesn't get the font-size, thanks for taking your time looking into this btw

I guess it's for backwards compatibilities, it was supported on some old Windows, and they dropped it cuz "it was a bad design decision". But ye, the function still exists and that's annoying asf

Ok, so, after a lot of researches I found out there was a settings.json where you could specify the fontSize (in point) and you could translate this somewhat into pixels with the DPI and (GetDpiFromSystem()). But that means, you'll have to create a terminal profile for the terminal used by the users (not sure if Wezterm or so supports it) and/or go fetch the data directly through their APIs if it's supported.

C:\Users\<YOUR_USERNAME>\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json
It's not a complete fix tho and won't work if the user resizes the window, but it's somewhat working (somewhat...)

On my computer, this works somewhat decently

12 & 24 will be replaced with correct value, but they work for someone who has a 125% scaling on their computer (it's DPI related)

fn main() {
   unsafe {
        let mut info = CONSOLE_SCREEN_BUFFER_INFO {
            dwSize: windows_sys::Win32::System::Console::COORD { X: 0, Y: 0 },
            dwCursorPosition: windows_sys::Win32::System::Console::COORD { X: 0, Y: 0 },
            wAttributes: 0,
            srWindow: SMALL_RECT {
                Left: 0,
                Top: 0,
                Right: 0,
                Bottom: 0,
            },
            dwMaximumWindowSize: windows_sys::Win32::System::Console::COORD { X: 0, Y: 0 },
        };
        if GetConsoleScreenBufferInfo(h_console, &mut info) == 0 {
            eprintln!("error getting screen buffer info");
            return;
        }

        let pixel_width = 12 * info.dwSize.X as i32;
        let pixel_height = 24 * info.dwSize.Y as i32;
    }
}

When it'll work correctly, I'll do a PR, rn I still need to find a way to replace the literal value with stuff taken from the Windows API so it works on every devices.

Ok I'm going to update the test workflow so that it runs on windows, if you have any questions about the code please let me know

Happy news, it does seem to somewhat work better:
Before

After

It still doesn't work when checking an actual manga. I don't know why... And I'd like to know where do you display manga pages in the actual code, so I can check if there are any issues there

Ok so, they do seem to display, but not directly, sometimes you need to switch multiple times the page to get the page you want to display.
It looks like this:

It was like this before on kitty terminal, what a did is replace StatefulImage with Image, in the manga reader page its still using StatefulImage since it easier to resize the image depending on it's dimensions

It still doesn't work when checking an actual manga. I don't know why... And I'd like to know where do you display manga pages in the actual code, so I can check if there are any issues there

go to: src/view/pages/reader.rs
This is the code responsible for reading each manga panel

impl Component for MangaReader {
    type Actions = MangaReaderActions;

    fn render(&mut self, area: Rect, frame: &mut Frame<'_>) {
        let buf = frame.buffer_mut();

        let layout =
            Layout::horizontal([Constraint::Fill(1), Constraint::Fill(self.current_page_size), Constraint::Fill(1)]).spacing(1);

        let [left, center, right] = layout.areas(area);

        Block::bordered().render(left, buf);
        self.render_page_list(left, buf);

        Paragraph::new(Line::from(vec!["Go back: ".into(), Span::raw("<Backspace>").style(*INSTRUCTIONS_STYLE)]))
            .render(right, buf);

        match self.pages.get_mut(self.page_list_state.selected.unwrap_or(0)) {
            Some(page) => match page.image_state.as_mut() {
                Some(img_state) => {
                    let (width, height) = page.dimensions.unwrap();
                    if width > height {
                        if width - height > 250 {
                            self.current_page_size = 5;
                        }
                    } else {
                        self.current_page_size = 2;
                    }
                    let image = StatefulImage::new(None).resize(Resize::Fit(None));
                    StatefulWidget::render(image, center, buf, img_state);
                },
                None => {
                    Block::bordered().title("Loading page").render(center, frame.buffer_mut());
                },
            },
            None => Block::bordered().title("Loading page").render(center, frame.buffer_mut()),
        };
    }

It's weird... if you just change the image, it'll be displayed as a tiny image in the bottom right of the screen and if you force the draw call by zooming in and out, it'll be displayed correctly 🤔 . But the images are actually in their correct place and with the correct size.


"TypeError: Failed to fetch" when trying to login via --enable-login-gui

Because i cannot login anymore via the cli i tried --login --enable-login-gui. I get the login dialog, put in my details and press login. Then i get the error message "TypeError: Failed to fetch" and nothing happens.
Did someone had this problem? Or some hints on how to debug it? Is that a js error from the gog page itself?

I retried it on another machine and now it works fine.


Data feed object is not updating.

Describe the bug
when you trying to update the data feed object then you are not able to update it. you are getting the error in API response like
{"error":"error authorizing action \"datafeed:destination:update\" on resource \"datafeed:destination:\" filtered by projects [] for members [\"team:local:admins\" \"user:local:admin\"]: rpc error: code = InvalidArgument desc = invalid ProjectsAuthorizedReq.Resource: value does not match regex pattern \"^[a-z][^:*]*(?::[^:*]+)*$\"","code":7,"message":"error authorizing action \"datafeed:destination:update\" on resource \"datafeed:destination:\" filtered by projects [] for members [\"team:local:admins\" \"user:local:admin\"]: rpc error: code = InvalidArgument desc = invalid ProjectsAuthorizedReq.Resource: value does not match regex pattern \"^[a-z][^:*]*(?::[^:*]+)*$\"","details":[]}

To Reproduce
Steps to reproduce the behavior:

this is feature flag so you have to enable it
go to settings tab and click the data feed on left nav (https://a2-dev.test/settings/data-feed)
Create the data feed
click to created data feed object and go to details page where you can update this object.

Expected behavior
expecting the data feed object will be updated (https://a2-dev.test/settings/data-feed/form/{:id})
also, we need a response like
{
  success: true
  id: "1"
  name: "feed1"
  url: "http://requestbin.sjcmmsn.com/ys9bp7ys"
  secret: "96f299bd-5224-48a5-91fb-09c2e14e5780"
}

Screenshots

Additional context
if possible please make changes in CREATE API response as well. currently, we are getting in response.
{
   success: true
}

expected response
{
  success: true
  id: "1"
  name: "feed1"
  url: "http://requestbin.sjcmmsn.com/ys9bp7ys"
  secret: "96f299bd-5224-48a5-91fb-09c2e14e5780"
}

The issue here is that the resource's ID is not being populated:resource \"datafeed:destination:\". I'm not sure yet whether this is an issue at the UI or gateway level, that'll require some more digging.

I have reproduced this and I am investigating

I get an error using the API directly and from the UI. In the UI request the id is present. This was working on the 23rd March when I updated the GRPC response for create and update. I'm guessing something has changed in IAM since then which is causing this. I think someone with IAM experience should investigate this. I thought possibly the update policy should have been
resource: "datafeed:destination:{id}"
instead of resource:
"datafeed:destination/{id}"
but  I still got the error after changing and compiling the protobufs, and relevant services.
	  option (chef.automate.api.policy) = {
		  resource: "datafeed:destination/{id}"
		  action: "update"
	  };

On March 23rs was it working on both IAM v1 and v2?

On 23rd March was it working on both IAM v1 and v2?

I'm not sure, it was working from the UI and with direct API calls using an api-token for the admin user

The issue seems to be that the type of the id in the datafeed update request is int64 and the code that generates the resource string can't interpolate it in the resource string. So an easy fix would be to change the id type to string.
We could also consider updating the code the generation code to stringify any non-string IDs.
One mystery: DeleteDestination seems to work fine, and it also defines id as type int64. My guess is that since there's no request body, the generation code looks instead to the URL for the id, which is in string format.

I think the quick bandaid option is to change the id in UpdateDestination to type string.
A slightly more in-depth, long-term solution:

update our resource generator code to handle non-strings: https://github.com/chef/automate/blob/master/components/automate-grpc/protoc-gen-policy/policy/policy.go#L311

An even more in-depth, expensive, long-term solution:

do away with resources, since in IAM v2 projects have essentially replaced them

@bcmdarroch I'll put up a PR for the bandaid solution. I don't believe it's worth considering the other options at this time. Thanks very much for your help in identifying the cause of this.


cmd/link: -buildmode=shared includes dead symbols

Create a package with a source file like:
package foo
func Foo() {}
func bar()

and try to build on linux/amd64 with -buildmode=shared.  You get a linker error:
# foo
$GOPATH/src/foo/foo.go:3: missing function body for "bar"

I would expect cmd/link to notice that foo.bar is unreachable and omit it from the resulting shared object.
Noticed working on https://go-review.googlesource.com/#/c/20076/.
/cc @ianlancetaylor @mwhudson

Actually, I suppose things like:
runtime/cgo/iscgo.go://go:linkname _iscgo runtime.iscgo

mean cmd/link can't just assume locally-unused unexported symbols are globally unused.
Instead, let me refine the complaint to: since bar is unused and has no definition, cmd/link shouldn't need to complain.  It should just omit defining a foo.bar symbol in the shared object.
If any later builds try to reference foo.bar, they should fail instead.

I agree this is awkward and annoying.
The reason this errors is because something is referencing foo.bar: the foo.bar·f structure the compiler creates. I guess that structure could use a special relocation type that causes foo.bar·f to be omitted iff the symbol the reloc points to is undefined? Maybe Ian can think of a better hack.

BTW, that error is from the compiler :-) you need to add an assembly file to the package to get the error you're talking about.


Doesn't compile properly on RPi 1 / armv6

The produced binary is armv7, where it should be armv6 compatible.
Currently on RPi 1/Zero the rustup-init.sh script in the Dockerfile.template downloads an armv6 installer, but downloads an armv7 toolchain. The installer is using libc::uname, instead of the modified uname command.
I think we can make this work by downloading specifying the toolchain directly when we run the rustup-init.sh script, e.g. with --default-toolchain 1.30.0-arm-unknown-linux-gnueabihf.
This will probably make the uname binary trick we use obsolete, but we will need a similar script to derive the toolchain script with.
 Front conversations

ARM builders fix deployed.

Hi, thanks for following up on this!
I had investigated the issue myself (tried to crosscompile for armv6 = RPi1) and my understanding is that the only good toolchain for crosscompiling for armv6 is the one suggested here. Plus I had to crosscompile for armv6 also a couple of dependencies before linking them to the main project.
It would be interesting if you could share (roughly) what has worked for you to make the crosscompilation work.

@apiraino we do not cross compile. We have ARM build servers with ARMv8 CPUs. And because they're backward compatible with ARMv7 and ARMv7 is backward compatible with ARMv6, ... we can use them to run ARMv6 binaries. In other words, in our case, the problem was about uname reporting wrong architecture (now correctly reported) & emulation of deprecated CP15 barrier instructions (which we HW exec them now).