./gradlew clean is failing. Plugin [id: 'io.invertase.gradle.build', version: '1.4'] was not found

Where:
Build file<EMAIL_ADDRESS>line: 20

What went wrong:
Plugin [id: 'io.invertase.gradle.build', version: '1.4'] was not found in any of the following sources:

Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
Plugin Repositories (could not resolve plugin artifact 'io.invertase.gradle.build:io.invertase.gradle.build.gradle.plugin:1.4')
Searched in the following repositories:
Gradle Central Plugin Repository

PS - This same plugin version is used across all React Native Firebase modules my project is using.
"@react-native-firebase/analytics": "7.6.7",
"@react-native-firebase/app": "8.4.5",
"@react-native-firebase/crashlytics": "8.4.8",
"@react-native-firebase/dynamic-links": "7.5.9",
"@react-native-firebase/messaging": "7.9.0",

Hi there! Related perhaps to https://github.com/invertase/react-native-firebase/issues/4444 (though that is windows 10)
Users reported success with gradle downgrades, but based on the reports there I think there is actually some sort of gradle daemon / caching mis-behavior
I am completely unable to reproduce this problem and I build from scratch on macOS all the time - with this as a test harness: https://github.com/mikehardy/rnfbdemo/blob/master/make-demo.sh

@mikehardy Clearing all cache worked for me. Thanks


Discord Link is Invalid

Hi,
I tried joining the Discord channel based on the link provided but it says that the invite is invalid.
How do I join the discord channel?
Thanks,
-Raj...

Which link? In the documentation or the readme? Or elsewhere?


fix: KernelSHAP throws error when the key type in the ZipMap output is LongType

Related Issues/PRs

NA
What changes are proposed in this pull request?
KernelSHAP throws error when the key in the ZipMap output of an ONNX model is of LongType. Adding more type checks to make sure all IntegralTypes can be supported as key type. IntegralType itself is private so I cannot use that type itself.
How is this patch tested?

[x] I have written tests (not required for typo or doc fix) and confirmed the proposed feature/bug-fix/change works.

Does this PR change any dependencies?

[x] No. You can skip this section.
[ ] Yes. Make sure the dependencies are resolved correctly, and list changes here.

Does this PR add a new feature? If so, have you added samples on website?

[x] No. You can skip this section.
[ ] Yes. Make sure you have added samples following below steps.

Find the corresponding markdown file for your new feature in website/docs/documentation folder.
Make sure you choose the correct class estimators/transformers and namespace.
Follow the pattern in markdown file and add another section for your new API, including pyspark, scala (and .NET potentially) samples.
Make sure the DocTable points to correct API link.
Navigate to website folder, and run yarn run start to make sure the website renders correctly.
Don't forget to add <!--pytest-codeblocks:cont--> before each python code blocks to enable auto-tests for python samples.
Make sure the WebsiteSamplesTests job pass in the pipeline.

AB#1988985

/azp run

Codecov Report

Merging #1656 (63e1cc3) into master (e703ad4) will decrease coverage by 85.06%.
The diff coverage is n/a.

 Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[bug]: Cross-Attention Control (prompt2prompt) does not do anything at all

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Windows
GPU
cuda
VRAM
24 GB
What happened?
I tried to use prompt2prompt, however, the .swap() prompt function does not do anything.
I proved this by running the following two commands:
"a room filled with (water).swap(toxic glowing acid)" -n 1 -t -W 640 -H 512 -S 1 -C 8 -s 35 -I "init.png" -f 0.5
"a room filled with toxic glowing acid" -n 1 -t -W 640 -H 512 -S 1 -C 8 -s 35 -I "init.png" -f 0.5
The init image used: https://i.imgur.com/ZL3fJM9.png
These two commands produced the exact same result, .swap() does not do anything.
The log implies that .swap gets applied to the entire prompt instead of just the word/phrase in the parentheses.

Screenshots
No response
Additional context
No response
Contact Details
No response

.swap() is difficult to use with img2img, it struggles outside of a few very concrete use cases and you often need to pass a higher value than the default for s_end. there's a couple of things to try but it is probably better done live on discord where i can help you try out different prompts one-by-one.

.swap() is difficult to use with img2img, it struggles outside of a few very concrete use cases and you often need to pass a higher value than the default for s_end. there's a couple of things to try but it is probably better done live on discord where i can help you try out different prompts one-by-one.

It would be helpful if the documentation had any examples with images. Right now I don't really understand how to use prompt2prompt.

you make a good point, i'll open a new issue.

#1582


AmazonCloudFrontUrlSigner doesn't work in non-windows environment

Attempting to use the AmazonCloudFrontCookieSigner.GetCookiesForCannedPolicy() method in a Linux (Docker) environment results in "System.PlatformNotSupportedException: Operation is not supported on this platform."
Stack Trace:

System.PlatformNotSupportedException: Operation is not supported on this platform.
at Amazon.CloudFront.AmazonCloudFrontUrlSigner.ConvertPEMToRSAParameters(TextReader privateKeyReader)
at Amazon.CloudFront.AmazonCloudFrontCookieSigner.GetCookiesForCannedPolicy(String resourceUrlOrPath, String keyPairId, TextReader privateKey, DateTime expiresOn)
at Amazon.CloudFront.AmazonCloudFrontCookieSigner.GetCookiesForCannedPolicy(String resourceUrlOrPath, String keyPairId, FileSystemInfo privateKey, DateTime expiresOn)
at Learning.ContentDeliveryService.Web.Controllers.LaunchController.Post()
at lambda_method(Closure , Object , Object[] )
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.d__27.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.d__25.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ResourceExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Builder.RouterMiddleware.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.d__6.MoveNext()
fail: GlobalExceptionHandler[0]
Operation is not supported on this platform.
GlobalExceptionHandler:Error: Operation is not supported on this platform.
Loaded '/root/.nuget/packages/System.Xml.XDocument/4.3.0/lib/netstandard1.3/System.Xml.XDocument.dll'
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Request finished in 15074.6292ms 500 application/json
Microsoft.AspNetCore.Hosting.Internal.WebHost:Information: Request finished in 15074.6292ms 500 application/json

Here's the code I'm attempting to run. Note, this works fine when running in Windows.
var cookieOptions = new CookieOptions
{
    Secure = true,
    Domain = "learning.com"
};

var cloudFrontKeyPairId = _cloudFrontKeyPairId;

var privateKeyFile = new FileInfo("_privateKeyLocation");
const string resourceUri = "https://somedomain.com/test.html";

var awsCookies = AmazonCloudFrontCookieSigner.GetCookiesForCannedPolicy(
    resourceUri,
    cloudFrontKeyPairId,
    privateKeyFile,
    DateTime.Today.AddYears(1)); // Date until which the signed cookies are valid

Response.Cookies.Append(awsCookies.Expires.Key, awsCookies.Expires.Value, cookieOptions);
Response.Cookies.Append(awsCookies.Signature.Key, awsCookies.Signature.Value, cookieOptions);
Response.Cookies.Append(awsCookies.KeyPairId.Key, awsCookies.KeyPairId.Value, cookieOptions);

return new RedirectResult(resourceUri);

The issue appears to be in ConvertPEMToRSAParameters method in AmazonCloudFrontUrlSigner.cs. This method is using RSACryptoServiceProvider, which is a Windows-only class as far as I can tell. I believe it should be using RSA.Create() instead.  Note, this is also an issue SignWithSha1RSA() method.

We've reproduced the issue and are working on a fix.

This is fixed in https://www.nuget.org/packages/AWSSDK.CloudFront/ version <IP_ADDRESS>.


Include instrumentation tests

IMPORTANT: Where possible all PRs must be linked to a Github issue
Fixes #682
Type
Choose one: (Bug fix | Feature | Documentation | Testing | Code health | Release | Other)
Checklist

[x] I have written Unit tests for any new feature(s) and edge cases for bug fixes
[ ] I have added any strings visible on UI components to the strings.xml file
[x] I have updated the  CHANGELOG.md file for any notable changes to the codebase
[ ] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the project's style guide
[ ] I have built and run the fhircore app to verify my change fixes the issue and/or does not break the app

@Mstjamush after https://github.com/opensrp/fhircore/pull/1306, is this still relevant?

I think we can close this. @Mstjamush.

Sure. We can


Searching for phrases including 'C++' is broken

As an example, search for 'c++ linux' on docs. There are 0 results, even though C++ development on Linux is an important new scenario for VS (https://docs.microsoft.com/en-us/cpp/linux/).

⚠ Idea migrated from UserVoice
Created By: Aditya Mandaleeka
Created On: 2017/08/01 18:57:44 +0000
Votes at Migration: 2
Supporters at Migration: 2

Convert it to a bug work item in VSTS

Have a bug created before which is in active status. Loop @Sampy

This issue is now resolved - searching for C++ should yield correct results.


[$250] Split & Invoice -Preview shows empty receipt placeholder when there is no way to add a receipt

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: 9.0.71-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause Internal Team
Action Performed:

Go to staging.new.expensify.com
Go to workspace chat.
Click + > Split expense > Manual.
Submit a split manual expense.
Note that the split preview has an empty receipt placeholder when there is no option to manually add a receipt to the split details.
Go to FAB > Send invoice.
Send an invoice to anyone.
Note that the invoice preview also has an empty receipt placeholder when it is not possible to add a receipt to invoice.

Expected Result:
Empty receipt placeholder should not be displayed for split and invoice preview because there is no option to add a receipt in the first place.
Actual Result:
Empty receipt placeholder is displayed for split and invoice preview when there is no option to add a receipt in the first place.
Workaround:
Unknown
Platforms:

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

Screenshots/Videos
https://github.com/user-attachments/assets/6f213267-53e7-492d-8743-1876a69d8e29
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~021864292349376469824
Upwork Job ID:<PHONE_NUMBER>376469824
Last Price Increase: 2024-12-11

Issue OwnerCurrent Issue Owner: @rojiphil

I don't think we'll need to block the deploy for this fix.

Proposal
Please re-state the problem that we are trying to solve in this issue.
Empty receipt placeholder is displayed for split and invoice preview when there is no option to add a receipt in the first place.
What is the root cause of that problem?
We always show the placeholder for receipt without checking we can add a receipt or not
https://github.com/Expensify/App/blob/146204878d1b9d4358d91e9a0a81169a7819d96f/src/components/ReportActionItem/MoneyRequestPreview/MoneyRequestPreviewContent.tsx#L351
What changes do you think we should make in order to solve the problem?
Only show this if it's an iou created action in iou/expense report
https://github.com/Expensify/App/blob/146204878d1b9d4358d91e9a0a81169a7819d96f/src/components/ReportActionItem/MoneyRequestPreview/MoneyRequestPreviewContent.tsx#L351
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

It's a UI bug and I don't think we need a test case here.
What alternative solutions did you explore? (Optional)

@mkzie2 Thanks for your proposal. The RCA is correct as we are showing the receipt preview without checking if we can show receipt preview or not. However, instead of focusing on the condition to show, can you please update the proposal to focus on when not to show (i.e. when split and invoice preview).

@rojiphil Updated my proposal with the condition to hide the receipt.

Updated proposal.

Proposal
Please re-state the problem that we are trying to solve in this issue.
We should not display empty receipt placeholder for split and invoice previews as there is no provision to add a receipt at all for these cases.
What is the root cause of that problem?
Previous to the PR #52848, we displayed ReportActionItemImages conditionally based on hasReceipt. But the implementation was intentionally changed so that the PR can introduce placeholder thumbnail to expense previews that does not have any receipt. However, in the process, we completely removed the condition of hasReceipt here and here and always displayed the receipt placeholder thumbnail even when this was not required for split and invoice previews. This is the root cause of the problem.
What changes do you think we should make in order to solve the problem?
For invoice rooms, we need to prevent showing receipt thumbnail for the report preview of all invoices. This can be done here by conditionally displaying as demonstrated below:
                        {!isInvoiceRoom && (
                            <ReportActionItemImages
                                images={lastThreeReceipts}
                                total={allTransactions.length}
                                size={CONST.RECEIPT.MAX_REPORT_PREVIEW_RECEIPTS}
                                onPress={openReportFromPreview}
                            />
                        )}

Further, the receipt thumbnail image for split previews is displayed here. We can leverage the existing isBillSplit variable to prevent display of the thumbnail image as follows:
                    {!isBillSplit && (
                        <ReportActionItemImages
                            images={receiptImages}
                            isHovered={isHovered || isScanning}
                            size={1}
                            onPress={shouldDisableOnPress ? undefined : onPreviewPressed}
                        />
                    )}

What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
What alternative solutions did you explore? (Optional)

@mkzie2 @Krishna2323 Since your proposals are still unacceptable to me in it’s current form, I have put forward a proposal to avoid further delays here. Let me know if you think your proposal is still better.

@rojiphil What is the difference between my proposal and your proposal here. Beside, the split bill can have the receipt at the time we create then we should only hide the ReportActionItemImages if we don't have a receipt and it's split bill or invoice room.

What is the difference between my proposal and your proposal here

@mkzie2 Maybe I am missing something here. Can you please share a test video based on your proposal? I think that can help us understand the difference.

Beside, the split bill can have the receipt at the time we create then we should only hide the ReportActionItemImages if we don't have a receipt and it's split bill or invoice room.

And, I am not sure of this use case. But it should be clear once we have a test video of your proposal.

I'm not sure what's missing in my proposal, It uses the same logic as applied in MoneyRequestView, do you need a test branch or something?

@Krishna2323 Why is there a need to introduce many changes when we can keep the fix simple with minimal changes? But let me know if there is any distinct advantage in your proposal that I missed. And I would be happy to revisit your proposal. Thanks.

@mkzie2 Maybe I am missing something here. Can you please share a test video based on your proposal? I think that can help us understand the difference.

I understood what is different here. The invoice case should be updated in ReportPreview. I updated the proposal for this case.

Beside, the split bill can have the receipt at the time we create then we should only hide the ReportActionItemImages if we don't have a receipt and it's split bill or invoice room.

And, I am not sure of this use case. But it should be clear once we have a test video of your proposal.

Here is the case what I thought, the split bill still can have the receipt.
https://github.com/user-attachments/assets/6fb847e7-09f0-49f0-bdd0-df0826a99ac6

Thanks @mkzie2 @Krishna2323 for the follow-up with your proposals.
I agree @mkzie2 that even split expenses can have receipts and we should show the receipt if present. But @Krishna2323 proposal is better as it also covers additional cases (e.g. paid expenses).
Let’s go with @Krishna2323 proposal
🎀👀🎀 C+ reviewed


fix(digestwriter): refresh cluster CVE cache on each check-in

RHINENG-10112
Secure Coding Practices Checklist GitHub Link

https://github.com/RedHatInsights/secure-coding-checklist

Secure Coding Checklist

[x] Input Validation
[x] Output Encoding
[x] Authentication and Password Management
[x] Session Management
[x] Access Control
[x] Cryptographic Practices
[x] Error Handling and Logging
[x] Data Protection
[x] Communication Security
[x] System Configuration
[x] Database Security
[x] File Management
[x] Memory Management
[x] General Coding Practices

Codecov Report
Attention: Patch coverage is 14.28571% with 6 lines in your changes are missing coverage. Please review.

Project coverage is 60.78%. Comparing base (13cd3fb) to head (2b03829).
Report is 36 commits behind head on master.

Files
Patch %
Lines

digestwriter/storage.go
14.28%
5 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #206      +/-   ##
==========================================
+ Coverage   60.07%   60.78%   +0.70%
==========================================
  Files          46       50       +4
  Lines        2928     2550     -378
==========================================
- Hits         1759     1550     -209
+ Misses        969      784     -185
- Partials      200      216      +16

Flag
Coverage Δ

unittests
60.78% <14.28%> (+0.70%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


someAction.then().catch() not working

the README mentions that async actions can be used as Promises with then/catch() methods, but that doesn't seem to work. when I try to call the then() method of one of my actions my browser complains: Uncaught TypeError: Cannot read property 'then' of undefined.

You need to use #triggerPromise():
var action = reflux.createAction({ asyncResult: true });
var promise = action.triggerPromise();
promise.then(...);

Is that mentioned anywhere in the documentation?

@Turbo87  Mind posting a snippet of your code?

Yes this is a duplicate of #216


Add kwargs to InferencePipeline run() method

Add kwargs support for InferencePipeline's run() method.

May I get a review from @markblee or @ruomingp on this PR? Thanks in advance!

Thanks for reviewing @markblee.  May I request write access for this repo to merge this PR?


No route base url

I havn't found anything about it, but i cant believe it. Why it is not possible to change the templateUrl source domain? No route provider setting oder http setting to change the source of files, which are loaded.
Templates are not hosted on the same server, but i can't change the global url source, where is the option for it?
When i use templateUrl: "views/test.html"`, then it is ever requested from the current url (sample.com), but i want that it is changed to "external.sample.com", but i cant find anything on the internet and i dont want to write on every template url the complete url.

Hello,
try using templateUrl: "http://external.sample.com/view.tpl".
you may have trouble CROSS ORIGIN.
I have helped.

So, you host your Angular app on one server, and its routing views on another? That's looking at SPA upside down.
If you have a justifiable use for non-routing views, use either ng-include or your own directive to generate the path.

@bruunofco this is what i don't want. this is possible but is not very comfortable.
@VitalyTomilov yes, the view files are on a static file host with another domain. do you have a sample for a ng-include/directive way?

It is not possible to have all possible variations supported on every parameter. templateUrl can be a function and you can build the URL using predefined constants the way you would need in your app. With this in mind, this is a wontfix


Remove default features

Now that we are thoroughly embedded in libcore, we don't need these on by default.
Indeed, their presence may provide confusing results during integration attempts.

So there is a nuance here in that we don't actually have a target that fully lacks libm support (or equivalent) at the moment, and tests bring in std, so we can't reaaally truly sincerely test for that. For making sure that works properly, there are some UI tests in the compiler's test suite.


Move OPNsense services functions to REST API

Summary by CodeRabbit

New Features

Enhanced service management capabilities with direct API integration for starting, stopping, and restarting services.
Updated service status checking to include a status field for running services.
Improved service identification and filtering for OPNsense switches.

Bug Fixes

Resolved issues with service management methods by removing outdated functionalities.

Documentation

Updated documentation to reflect new service management functionalities and API endpoints.

@coderabbitai review

@coderabbitai review

@coderabbitai review


When used firebase.auth().signOut() with a promise leaves the "firebase:host:project-xxxxxxxxxxxxxx.firebaseio.com" key undeleted in localstorage

Version info

Angular:
1.5.3
Firebase:
v3.6.4
AngularFire:
2.2.0
Other (e.g. Node, browser, operating system) (if applicable):
Ionic Framework 1.3.2
Test case
I had to explicitly delete the "firebase:host:project-xxxxxxxxxxxxxx.firebaseio.com" key from localstorage like below:
firebase.auth().signOut().then(function() {
            // Sign-out successful.

            localStorage.removeItem("firebase:host:project-xxxxxxxxxxx.firebaseio.com");

            $state.go("login");

          }, function(error) {
            // An error happened.
            console.log(error);

          });

Steps to reproduce
When used firebase.auth().signOut() with a promise like above, still leaves the
"firebase:host:project-xxxxxxxxxxxxxx.firebaseio.com" key undeleted in localstorage.
Expected behavior
How to achieve a clean logout?

When pressing back button post logout() this key should not be automatically initiated

Actual behavior
"firebase:host:project-xxxxxxxxxxxxxx.firebaseio.com" key undeleted in localstorage and automatically reinitialise

This isn't a test case. You haven't included sufficient code to recreate the conditions you've described here. Your code should be runnable, should recreate the error conditions, and describe how you verified that the signOut() method is called, and how you verified that the .then() method was not invoked.

In case that's unclear, I'm not looking for a GitHub repro, but just some peripherals and some evidence that you've verified a) that signOut() is actually called here, that localStorage.removeItem() isn't just failing, and that the .then() method isn't invoked at all.
Note also that you should be using .catch() here, instead of logging errrs in the second method to .then() (which only catches errors thrown by signOut()), as any error thrown inside the .then() method would not be caught and could be swallowed.
If you can provide this, happy to investigate. ☃

Hey @appplumbr, it's important we resolve this issue.
It would have made it easier to debug if you had provided a link or code to reproduce.
I have a couple of questions:

How are you initializing your firebase app?
Are you running this from a browser? if so, which browser.
Do you happen to use the Google sign in web library with this?
Are you getting any errors or warnings in the console when signing out?

@bojeil-google - the project is confidential cannot share the code, still answer to above questions:

.constant("CONFIG", {
"FIREBASE_API": 'xxxxxxxxxx',
"FIREBASE_AUTH_DOMAIN": 'project-xxxxxxxxxx.firebaseapp.com',
"FIREBASE_DB_URL": 'https://project-xxxxxxxxxx.firebaseio.com',
"FIREBASE_STORAGE": 'project-xxxxxxxxxx.appspot.com',
"MESSAGE_SENDER_ID": 'xxxxxxxxxx'
});

ionic serve --lab command inside Ionic CLI (MAC OS) in chrome Version 55.0.2883.95 (64-bit)

No, I am using firebase.auth().signInWithEmailAndPassword() firebase custom login no social login as this point.

After sign-out it goes inside .then(success) and leaves the localstorage undeleted.

One more observation, if I happen to login and close the app with logout I see multiple connections ref in local storage like this below:

firebase:authUser:XXXXXXXXXxxxxxxxxxxx:[DEFAULT]
firebase:host:project-XXXXXXXXXxxxxxxxxxxx.firebaseio.com
firebase:host:xxxxxxxxxxx.firebaseio.com

1, 2 and 3 are my different firebase projects that I logged in but did not signed out and just closed the browser.
Ideally on Signout, all my local storage references related to my firebase project should be deleted.
Please note: on mobile devices and tablets its same localstorage undeleted, try a sample app using firebase.auth().signInWithEmailAndPassword() and use
$scope.doLogout = function(){

        firebase.auth().signOut().then(function() {
            // Sign-out successful.
            console.log("Logout successful");

            //localStorage.clear(); This works but recommended
            //localStorage.removeItem("firebase:host:project-xxxxxxxxxx.firebaseio.com"); This is currently am doing in my project

            $state.go("login");

          }, function(error) {
            // An error happened.
            console.log(error);

          });
   }

post signout see your localstorage, connect your device via device debugging of chrome browser: chrome://inspect > go to application tab > localstorage.

@appplumbr a minimal repro does not need to involve your proprietary code, in fact, it should not. You do need to provide enough code for us to understand the problem and reproduce it. You do this by starting a test app and adding sufficient code until you can recreate the same conditions, and sharing that. It doesn't need to be runnable by us in every case, but this certainly doesn't hurt.

Ok, the auth library stores the auth state in the following key:
firebase:authUser:API_KEY:APP_NAME
So on sign out, this is the only data that is removed. So from Auth perspective, this works as intended.
I am not sure which other service stores data in the key that is not being cleared in your situation:
firebase:host:project-xxxxxxxxxx.firebaseio.com
This is database related.

This seems to be working as intended. The use of local storage by the Firebase SDK is an implementation detail and you should not need to be concerned about what we store in there. It looks like the $signOut() method is properly removing the auth key from local storage. The database key should stay in local storage since the Firebase SDK can still be used while a user is not signed in.

As a bit of additional color, the database key caches the hostname of the server currently serving your Database instance and so it improves future connection times by saving a round-trip.  You could delete it if it's bothering you, but it may hurt future page load times.

Thank you! all for your help and quick insight

I'm experiencing this same exact problem. Here is my code for logout. Basically firebase.auth().signOut() doesn't do anything. Upon logining in (I'm using Facebook), it dosn't even check that Facebook is logged out itself, and continues to re-load the old credentials.
  logoutUser(): Promise<any> {
    return new Promise((resolve, reject) => {
      return this.fb.logout().then((logoutPromise) => {
        return this.fb.getLoginStatus().then((status) => {
          this.firebase.auth().signOut().then((firebaseSignOutResult) => {
            return resolve();
          })
        });
      });
    });
  }

dimitri320

I'm experiencing this same exact problem. Here is my code for logout. Basically firebase.auth().signOut() doesn't do anything. Upon logining in (I'm using Facebook), it dosn't even check that Facebook is logged out itself, and continues to re-load the old credentials.
And I've check Facebook logout status, all fine, so it's not a problem on the side of Facebook.
I'm running iOS with ionic.
  logoutUser(): Promise<any> {
    return new Promise((resolve, reject) => {
      return this.fb.logout().then((logoutPromise) => {
        return this.fb.getLoginStatus().then((status) => {
          this.firebase.auth().signOut().then((firebaseSignOutResult) => {
            return resolve();
          })
        });
      });
    });
  }

this works, for ionic use angular AngularFireAuth

import { AngularFireAuth } from '@angular/fire/auth';
 constructor(
    public _afAuth: AngularFireAuth
){

public async logoutUser(): Promise<any> {

    try {

      return await this._afAuth.auth.signOut();
    } catch (e) {
      console.error("big hu?", e);
    }

  }

Version info
Angular:
1.5.3
Firebase:
v3.6.4
AngularFire:
2.2.0
Other (e.g. Node, browser, operating system) (if applicable):
Ionic Framework 1.3.2
Test case
I had to explicitly delete the "firebase:host:project-xxxxxxxxxxxxxx.firebaseio.com" key from localstorage like below:
firebase.auth().signOut().then(function() {
            // Sign-out successful.

            localStorage.removeItem("firebase:host:project-xxxxxxxxxxx.firebaseio.com");

            $state.go("login");

          }, function(error) {
            // An error happened.
            console.log(error);

          });

Steps to reproduce
When used firebase.auth().signOut() with a promise like above, still leaves the
"firebase:host:project-xxxxxxxxxxxxxx.firebaseio.com" key undeleted in localstorage.
Expected behavior
How to achieve a clean logout?

When pressing back button post logout() this key should not be automatically initiated

Actual behavior
"firebase:host:project-xxxxxxxxxxxxxx.firebaseio.com" key undeleted in localstorage and automatically reinitialise

Though you have your own problem but i found mine solution under your problem
Thanks bud..


Add a custom data source for inputting override data from Nevada

It should be possible to run models with all the usual data except for the static overrides on utilization from Nevada

I think this is resolved (by @ghop02) and/or being tracked elsewhere.


Support payment orders upload

This adds possibility to upload payment orders. All 3 kinds of payment orders described in docs (https://www.fio.cz/docs/cz/API_Bankovnictvi.pdf) are supported - Czech payments, Euro payments and International payments. SEPA payment can be submitted as Euro payment.

Je nějaká šance, že se toto začlení?


Vaaran

Closes #99 #100 #101 #102

From cursory glance, every correction LGTM. Can do another pass through in the visual editor.


Can't get this working with Sonos speaker

Hi, I am targeting the associated media_player entity that the Alexa Media Player integration has found, I can send tts to this using the notifier service, but unfortunately I don't get announcements from the talking clock :'(
This has worked for me with an echo show device

I'll have to modify the app to use the Sonos Service specifically. Right now I use the notify/alexa service on the speech call. Let me see how I can modify that to use sonos, i'll have to lookup the Sonos service to call. Give me a couple of days, i'll try to fix it up !

I don't have a sonos player so debugging will be a bit difficult though. Or if you are already using Sonos Text to Speech and you could send me the service to call, that would be awesome !

Or, if we could do a live remote debug session, that would work too :)

Hi, any updates ... were you able to make this work on Sonos ? if not, can we have a live session so I can debug and find a way to TTS to Sonos :)

Apologies for the delayed response... The following works fine for the Alexa media entity that is discovered for the speaker ...

Can we do a live debug session so that I can see what setting works in AppDaemon. Technically speaking, if I just replace the notify/alexa call with notify/alexa_media_david_s_sonos_one that should work. But I just want to confirm before I modify my code. Let me know. Thanks

@5and0 can we please do a live debug so that once I can test your config, I will release a general feature on it

'bell: false' = winner
The issue appears is that the Sonos speaker won't accept a 'type: announce' message. The easiest way to avoid this, when I took time to have a look closely at your code was to turn off the bell feature.
Thank you again for coming back to me, and keep up the great work !

Awesome ! that's so great you found out the fix. I'll close this issue and make a note in the readme and definitely credit you for this. Thank you so much :)


Drop support for Swift 2

Replaces #1530.
This PR fixes Issue #1459.
Adds bit to Exec to indicate action my not longer be activated or updated.
Adds checks for unsupported runtime in Actions API and report proper error.
Adds tests.
PG3/302.

@markusthoemmes thanks - addressed your suggestions/comments.

@csantanapr rebased to master to resolve conflict.

@markusthoemmes @perryibm please approve your reviews if you are OK to merge this PR.

@rabbah once reviews are done, you want me to squash everything into one commit and give authorship to @paulcastro ?

Yes please squash. Perry acknowledged it's ok to delete the one file.

@csantanapr I reorganized and squashed into two separate commits: the first deprecates the runtime, the second removes the proxy/stops building it. It may be worth keeping the two commits separate in case we just need to revert the second but not the first.

Sounds good 👌 that's why I asked

you will be missed swift2 😿
merged affab0da20c5626fb13058de76f96070f99b1ce9


Require compiler warnings.

Adds -Wextra, -Wshadow, and -Werror to global CFLAGS and CXXFLAGS.

LGTM :+1:


This change address radosgw not getting started on CentOS

The explicit check of 'ansible_distribution' being 'RedHat'
will not work on CentOS hosts.
Check the value of 'ansible_os_family' instead.

I was following the bare-metal demo and tried the playbook on CentOS 7.1 hosts. I found out radosgw didn't get started and discovered the problem with this check.


Update Manager

This should hopefully fix #21 @TvoroG
The idea here is to trigger a force-update of the entire tree when a component updates. An infinite loop is prevented by tracking when we are doing an internal force update. To be as performant as possible we don't force update the component that originally updated.
@jhollingworth can you see any issues with double rendering everything?

I've run this version on several projects, doesn't seem to have broken anything.


Windows installer don't add binary to path

MSI installer file, i.e. spring-cli-installer-0.7.4-windows-x86_64.msi does the install just fine but its spring binary is not added to environment path.

This is because jpackage on default doesn't do this and we need to customise thinks via custom main.wxs file. JReleaser itself does this.

Some notes to myself:
We're spoiled with GH Actions as it generally has everything setup.
Do this dance manually on windows to JPackage(only supports wix 3.x):
https://support.ti.davidson.edu/hc/en-us/articles/360000617048-Install-the-NET-3-5-framework-for-Windows-10
https://wixtoolset.org/docs/wix3/
https://github.com/wixtoolset/wix3/releases/tag/wix3112rtm
$env:JRELEASER_PROJECT_VERSION='0.7.5-SNAPSHOT'
jreleaser assemble --select-current-platform

This is an example what JReleaser logs for an command to run:
 C:\Users\User\repos\spring-cli\build\jdks\bellsoft17Windows\jdk-17.0.9\bin\jpackage.exe --type msi --dest C:\Users\User\repos\spring-cli\out\jreleaser\assemble\spring-cli-installer\jpackage --input C:\Users\User\repos\spring-cli\out\jreleaser\assemble\spring-cli-installer\jpackage\work-windows-x86_64\inputs\files --name spring --runtime-image C:\Users\User\repos\spring-cli\out\jreleaser\assemble\spring-cli-installer\jpackage\work-windows-x86_64\runtime-image --app-version 0.7.5 --vendor Spring --copyright "2023 jvalkeal" --description "Spring Cli" --main-class org.springframework.boot.loader.JarLauncher --main-jar spring-cli-0.7.5-SNAPSHOT.jar --win-console --win-dir-chooser --icon C:\Users\User\repos\spring-cli\out\jreleaser\assemble\spring-cli-installer\jpackage\work-windows-x86_64\inputs\spring-cli-installer.ico

Add below to see files it uses
--temp C:\Users\User\repos\spring-cli\out\jptemp

Take jptemp/config/main.wxs and add path tweak
<Component Id="pathEnvironmentVariable" Guid="$(var.JpProductUpgradeCode)" KeyPath="yes" Directory="TARGETDIR">
  <Environment Id="SPRING_CLI_HOME" Name="Path" Value="[INSTALLDIR]" Action="set" System="no" Permanent="no" Part="last" Separator=";" />
</Component>

within "Feature"
<Feature Id="DefaultFeature" Title="!(loc.MainFeatureTitle)" Level="1">
  <ComponentGroupRef Id="Shortcuts"/>
  <ComponentGroupRef Id="Files"/>
  <ComponentGroupRef Id="FileAssociations"/>
</Feature>

Then you can feed this new main.wxs into JReleaser config.


Inspirations from GitBook

This is a tracking issue, if someone asks why the DLang Tour didn't use Git Book.
The main reason is that it's a commercial company and _not open source, so that makes it highly dependent and also harder to customize. Also the entire tour is built with D ;-)
That being said GitBook has a couple of nice features that could be interesting for the DLang Tour too:

arrows at left, right #187
collapsible menu at the right #52
cleaner UI (e.g. #206)
searching #191
custom theming  #207
social sharing #208
focus to title #210

I close this as it's just a meta issue


proposal: allowing type file for arrays as parameter

following parameter
{
  "in": "formData",
  "name": "file[file]",
  "description": "The actual file",
  "type": "array",
  "items": {
    "type": "file"
  },
  "required": false
}

is invalid, but intuitive correct and can be handled by the API.
I would propose, to allow all types for items as for parameter except array and object these should be reserved for body parameters defined as definition object.

Just to make sure I understand what you are proposing:
This is allowing uploading of several files with one request, each of them in a form data part, each with the same name, like what is defined in RFC 7578, section 4.3.
This seems to be related to #694.

Hi @ePaul … yeap, this is what I want to propose, unless it gives a better way to document the uploading of several files including some meta-data (e.g. file-size)

See #878


[feature] network module: distinction between disconnected and offline

Hello,
If I enable airplane mode, then format-disconnected is used.
$ rfkill list all
0: phy0: Wireless LAN
    Soft blocked: yes
    Hard blocked: no

It would be great to have an other format for offline/airplane mode, or something similar to remember airplane mode is enabled.

Already added with rfkill implementation


Removed useless @else and code isn't aligned properly in show.blade.php file

There is a useless @else located in  src/resources/views/crud/show.blade.php and inside @if code isn't aligned properly so I fixed both in this PR.

A new inspection was created.

The inspection completed: No new issues

Totally, thank you!


Install Failure

Hi mate, I have tried all the install methods given but "AlarmO" does not show on the left panel once HA is restarted. I had a manual alarm setup in configuration.yaml which I commented prior to installing "AlarmO"
I am running the latest version of HA
Operating System
Ubuntu 20.04.1 LTS
Docker version
19.03.12
most likely I am doing something wrong, but any help will be great

was the same issue as another ticket opened, so closing this

Did you add Alarmo in HA Configuration -> Integrations?
This step is often missed (especially by HACS users).
And clearing browser cache will sometimes also do magic.

Hi Mate, the 1st part I did, but i needed to clear the cache on my chrome browser, but I also stopped all my automations as per the comment from another ticket that i was going through. I don't think it was my automations as mine was not as advanced as the one in that ticket, so I feel it was the cache
thanks for the awesome add-on and the replay


Set attach type during load for BPF_PROG_TYPE_CGROUP_SKB

As per title, this patch sets expected_attach_type during load.
Fix https://github.com/aya-rs/aya/issues/262

@nak3 Thanks for the PR!
Does the current behaviour cause an issue (other than misleading strace output)?
Since CgroupSkb programs can be attached in either direction, and you have to provide a direction on attach anyway,, I guess this change is just cosmetic?
I'm not against the change at all... I just want to understand the motivation.

Hi @dave-tucker
Yes, one very small issue is caused. (Sorry I should explain it in the linked issue.)
As Kernel code allows only Egress to use the return values (2 or 3), currently attach type "Egress" causes the following error:
#[cgroup_skb(name="cgroup_skb_tmp", attach="egress")]
pub fn cgroup_skb_tmp(ctx: SkBuffContext) -> i32 {
    3
}

this (return 3) causes the following error:
Error: the BPF_PROG_LOAD syscall failed. Verifier output: func#0 @0
0: R1=ctx(id=0,off=0,imm=0) R10=fp0
0: (b7) r0 = 3                        ; R0_w=inv3
1: (95) exit
At program exit the register R0 has value (0x3; 0x0) should have been in (0x0; 0x1)
verification time 10 usec
stack depth 0
processed 2 insns (limit 1000000) max_states_per_insn 0 total_states 0 peak_states 0 mark_read 0

Caused by:
    Invalid argument (os error 22)

After applied this patch, the return value 2 or 3 for Egress is allowed.


skywalking stored on elasticsearch and create too many index ，and index doc  count is zero

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[*] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

skywalking会创建太多的索引库，我这里进行了代码修改，删除一天以前历史记录中文档数量为0的索引库。

Requirement or improvement

修改代码：HistoryDeleteEsDAO .java
long  deadline2 = Long.parseLong(new DateTime().plusDays(-1).toString("yyyyMMdd"));
for (String index : indexes) {
long timeSeries = TimeSeriesUtils.isolateTimeFromIndexName(index);
if (deadline >= timeSeries||(client.indexDocIsZero(tableName) && deadline2>= timeSeries)) {
prepareDeleteIndexes.add(index);
} else {
leftIndices.add(index);
}
}

修改代码：ElasticSearchClient.java
public boolean indexDocIsZero(String tableName) throws IOException {
SearchSourceBuilder sourceBuilder = new SearchSourceBuilder();
SearchRequest rq = new SearchRequest();
//索引
rq.indices(tableName);
//各种组合条件
rq.source(sourceBuilder);
//其实位置
sourceBuilder.from(0);
//每页数量
sourceBuilder.size(1);
SearchResponse search = client.search(rq);
return search.getHits().totalHits==0;
}

I don't know which version are you talking about. Could you be more clear when you ask a question. Putting some codes here is not making sense.

sorry, 我这里的代码有点问题，主要意思就是看1天以前建立的索引库是否为空的索引库，如果是的话就删除了，留着没什么用。

If you want to talk with the Community on the GitHub. We have to ask you to use English, to make the global people readable.
Anyway, can't see your point, seems not a community level question.

正确代码应该如下：
public boolean indexDocIsZero(String tableName,RestHighLevelClient client) throws IOException {
SearchSourceBuilder sourceBuilder = new SearchSourceBuilder();
sourceBuilder.from(0);
sourceBuilder.size(1);
SearchRequest rq = new SearchRequest();
rq.indices(tableName);
rq.source(sourceBuilder);
SearchResponse search = client.search(rq);
return search.getHits().getHits().length==0;
}

ok, thanks ,i will  talk use english

There would no index should be empty, unless you are facing a very low load system.  I can't see why you are asking about deleting indices. But once you are doing it in your private fork, you could do anything you want. Again, this seems not a community concern.
SkyWalking doesn't create index if there is no data, except the day one when the system installed.


Compiling with GHC 8.6.1 and testing with new-test

The attached patches fix dimensional to work on GHC 8.6.1 and test with new-test.
The only problem requiring fixing was that the handling of * at the type level changed.
To avoid CPP I used the default-extensions option with a guard in the cabal file. This left an issue with doctests which I handled by manually passing the language extension to the doctest function.
0001-Fix-tests-on-cabal-new.patch.txt
0002-Fix-for-GHC-8.6.1-s-StarIsType-change.patch.txt

Ping?

Thanks @davean for the patches. See #195. I don't have time to work on this until next week. Feel free to submit an updated patch to speed this up.

@davean was it necessary to change * to Type (from Data.Kind) in Dynamic.hs and Internal.hs? Importing Data.Kind breaks GHC < 8. Can you provide pointers to the GHC docs explaining if/why it was necessary?

https://github.com/ghc-proposals/ghc-proposals/blob/05721788de9ab6538def68c3c2c9dec50c9f24a8/proposals/0020-no-type-in-type.rst
As of 8.6 XStarIsType is on by default and I believe the
compatibility window schedules to be the only option in GHC 8.8.
On Tue, Oct 23, 2018 at 12:19 AM Björn Buckwalter<EMAIL_ADDRESS>wrote:

@davean https://github.com/davean was it necessary to change * to Type
(from Data.Kind) in Dynamic.hs and Internal.hs? Importing Data.Kind
breaks GHC < 8. Can you provide pointers to the GHC docs explaining if/why
it was necessary?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bjornbm/dimensional/issues/194#issuecomment-432085623,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOVy7hIQ-WkytUPTf1KYZCkWMpg60t0ks5unpjjgaJpZM4Xbogm
.

FYI I have merged this into master but cannot yet deploy to hackage due to https://github.com/haskell/hackage-server/issues/788.

Is there still a problem with updating on Hackage?

Yes. (I just retried it.)

https://github.com/haskell/hackage-server/issues/788 has reportedly been fixed! @dmcclean will you be ready to upload after merging log1p et al?

Standby about 2 hours, busy with Christmas cleanup. Excellent news!
On Fri, Dec 28, 2018, 11:58 AM Björn Buckwalter<EMAIL_ADDRESS>wrote:

haskell/hackage-server#788
https://github.com/haskell/hackage-server/issues/788 has reportedly
been fixed! @dmcclean https://github.com/dmcclean will you be ready to
upload after merging log1p et al?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bjornbm/dimensional/issues/194#issuecomment-450391659,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAk00y5nor-YtSh_tQn6pIXhFd28v20Lks5u9k3SgaJpZM4Xbogm
.