R console memory

If I run a command then press up or down, it would be nice to be able to cycle previously written commands:

Yep. I was hoping to get this for free by using AbstractConsoleRunnerWithHistory but somehow it's not yet allowing to navigate the REPL history. Thanks for reporting it.


p0stcapone's construction changes

rebase of https://github.com/orenyomtov/openordex/pull/29
I dont know what the construction is supposed to look like, so @p0stcapone please check diff's for errors.

Reviewers please note that I haven't actually read the changes to the PSBT construction. I dont know if its good or bad. This PR is just rebasing #29 to make it reviewable.

The diff here is much more clear, #29 has been closed in favor of this for review

Resolves issue #2


Unable to start container

When I try to use this as a module in the IoT Edge Simulator the latest image will not start. The error I receive is this:
[backend] [info] [Tid:1] [MetaStore.cc:95] [Initialize] Initialize MetaStore. Status:IO error: While fsync: a directory: Invalid argument
ColdPathStorage    | [2019-01-23 22:39:06.818] [backend] [error] [Tid:1] [MetaStore.cc:135] [Initialize] DB Open failed with Invalid argument: Column family not found: : Container_cf
ColdPathStorage    | dotnet: /source/blob-linux/MetaStore/MetaStore.cc:138: int CBlbMetaStore::Initialize(const char*): Assertion `status.ok()' failed.
Relevant parts from deployment.template.json file:
"modules": {
"ColdPathStorage": {
"version": "1.0",
"type": "docker",
"status": "running",
"restartPolicy": "always",
"settings": {
"image": "mcr.microsoft.com/azure-blob-storage:latest",
"createOptions": {
"Env": [
"LOCAL_STORAGE_ACCOUNT_NAME=blobaccount","LOCAL_STORAGE_ACCOUNT_KEY=izPvxuP1YWEZBcdqyQX/LQx9NYl8lN4tkI1yqudmOz+oW2cIJcJ4Ybwe5sIffv1SqhoHqklW84o7AAJqQSqUbg=="
],
"HostConfig":{
"Binds": ["C:/ContainerData:/blobroot"],
"PortBindings":{
"11002/tcp": [{"HostPort":"11002"}]
}
}
}
}
}

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

ID: 07a44a28-a19c-f68e-167c-5e8ad91605e0
Version Independent ID: 33eacdff-4f0a-c543-d8f9-e7b208bab015
Content: Store block blobs on devices - Azure IoT Edge
Content Source: articles/iot-edge/how-to-store-data-blob.md
Service: iot-edge
GitHub Login: @kgremban
Microsoft Alias: kgremban

@kgremban , @howlin0811 can this issue be now closed? Thank you.

@viktoreinarsson We haven't heard from you in a few weeks on this issue. Are you still experiencing the same errors, or have you been able to resolve them?

Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Bust cache automatically

When getting a POST, PUT, PATCH, DELETE request to a URL try clearing the cache, if any, to that same URL.

The lib actually does that already: https://github.com/RasCarlito/axios-cache-adapter/blob/master/src/index.js#L70
Should add a test for it

Added a test in the rework branch #11


AngularJS version 1.3.13 throws an error Error: [ngModel:numfmt] Expected 0.00 to be a number

I am getting the following error:
 Error: [ngModel:numfmt] Expected `0.00` to be a number
http://errors.angularjs.org/1.3.13/ngModel/numfmt?p0=0.00
    at REGEX_STRING_REGEXP (angular.js:63)
    at Array.<anonymous> (angular.js:19884)
    at Object.ngModelWatch (angular.js:23289)
    at Scope.$get.Scope.$digest (angular.js:14235)
    at Scope.scopePrototype.$digest (hint.js:1468)
    at Scope.$get.Scope.$apply (angular.js:14506)
    at Scope.scopePrototype.$apply (hint.js:1478)
    at done (angular.js:9659)
    at completeRequest (angular.js:9849)
    at XMLHttpRequest.requestLoaded (angular.js:9790)

However, 0.00 is a number, so why would I see such an error?
The object generating this error is this:
  <input type="number" name="creditLimit"
                           id="creditLimit"
                           ng-model="currentAccount.crLimit"
                           class="form-control"
                           min="0"
                           placeholder="1500.00"
                           data-sm:number data-sm:number-format data-accuracy="2" />

If I remove the last line for the custom directive smNumber, I don't get that error.

Could you please provide a working example of your code using plunkr? http://plnkr.co/

It's a bit tricky as this is part of a big complex project, but I'll try later on. I've traced the code and the value was coming as "0.00" (e.g. string) and the first check for not empty was returning false and then the second check for isNumber was returning false as well (perhaps because the value was passed as a string).

Hi Matias,
The failing code is this:
ctrl.$formatters.push(function(value) {
if (!ctrl.$isEmpty(value)) {
if (!isNumber(value)) {
throw $ngModelMinErr('numfmt', 'Expected {0} to be a number',
value);
}
value = value.toString();
}
return value;
});
The isNumber function checks the typeof value and not if that value is a
number or not.
In our case we use the following code in HTML:

@Labels.percentage:

ng-model="currentSpecial.discPct" type="number"
data-sm:number
data-sm:number-format data-accuracy="0">
%

@String.Format(Messages.mustBeBetweenXandY, Labels.percentage, "-100",
"100")

and I attach the smNumber and smNumberFormat directives to this email. I've
tested with input type="text" and there is no error, but then min/max
properties are not respected.
What would you suggest for the fix here?
Thanks in advance.
On Tue, Feb 24, 2015 at 12:31 AM, Matias Niemelä<EMAIL_ADDRESS>wrote:

Could you please provide a working example of your code using plunkr?
http://plnkr.co/
—
Reply to this email directly or view it on GitHub
https://github.com/angular/angular.js/issues/11157#issuecomment-75706528
.

So this is the current angularjs implementation of the number format:
function numberInputType(scope, element, attr, ctrl, $sniffer, $browser) {
badInputChecker(scope, element, attr, ctrl);
baseInputType(scope, element, attr, ctrl, $sniffer, $browser);
ctrl.$$parserName = 'number';
ctrl.$parsers.push(function(value) {
if (ctrl.$isEmpty(value))      return null;
if (NUMBER_REGEXP.test(value)) return parseFloat(value);
return undefined;
});
ctrl.$formatters.push(function(value) {
if (!ctrl.$isEmpty(value)) {
if (!isNumber(value)) {
throw $ngModelMinErr('numfmt', 'Expected {0} to be a number',
value);
}
value = value.toString();
}
return value;
});
if (attr.min || attr.ngMin) {
var minVal;
ctrl.$validators.min = function(value) {
return ctrl.$isEmpty(value) || isUndefined(minVal) || value >= minVal;
};
attr.$observe('min', function(val) {
  if (isDefined(val) && !isNumber(val)) {
    val = parseFloat(val, 10);
  }
  minVal = isNumber(val) && !isNaN(val) ? val : undefined;
  // TODO(matsko): implement validateLater to reduce number of

validations
ctrl.$validate();
});
}
if (attr.max || attr.ngMax) {
var maxVal;
ctrl.$validators.max = function(value) {
return ctrl.$isEmpty(value) || isUndefined(maxVal) || value <= maxVal;
};
attr.$observe('max', function(val) {
  if (isDefined(val) && !isNumber(val)) {
    val = parseFloat(val, 10);
  }
  maxVal = isNumber(val) && !isNaN(val) ? val : undefined;
  // TODO(matsko): implement validateLater to reduce number of

validations
ctrl.$validate();
});
}
}
I am guessing something has changed since the version 1.10.2 we were using
before. My question is - it looks like we can not use input type="number"
and our 2 directives at the same time. However, if we're using input
type="text" and our directives, then the min/max attributes are not
observed (obviously).
So, what is the best course of actions for us to be able to format the
number with commas and predefined number of decimals (called accuracy in
our case) and also have min/max attributes to operate? Since our directive
already attempts to format the value it's coming as a string to that
function and then the isNumber check is failing.
Thanks in advance.
I am thinking I may try to add lower priority to our formatting directive
to ensure correct behavior.
On Tue, Feb 24, 2015 at 1:39 PM, Naomi Nosonovsky<EMAIL_ADDRESS>wrote:

Hi Matias,
The failing code is this:
ctrl.$formatters.push(function(value) {
if (!ctrl.$isEmpty(value)) {
if (!isNumber(value)) {
throw $ngModelMinErr('numfmt', 'Expected {0} to be a number',
value);
}
value = value.toString();
}
return value;
});
The isNumber function checks the typeof value and not if that value is a
number or not.
In our case we use the following code in HTML:

@Labels.percentage:

ng-model="currentSpecial.discPct" type="number"
data-sm:number
data-sm:number-format data-accuracy="0">
%

@String.Format(Messages.mustBeBetweenXandY, Labels.percentage, "-100",
"100")

and I attach the smNumber and smNumberFormat directives to this email.
I've tested with input type="text" and there is no error, but then min/max
properties are not respected.
What would you suggest for the fix here?
Thanks in advance.
On Tue, Feb 24, 2015 at 12:31 AM, Matias Niemelä<EMAIL_ADDRESS>
wrote:

Could you please provide a working example of your code using plunkr?
http://plnkr.co/
—
Reply to this email directly or view it on GitHub
https://github.com/angular/angular.js/issues/11157#issuecomment-75706528
.

Can you please put a number input with your custom directives into a plnkr? The framework code i not particularly helpful, I'm afraid.

I am having same issue with an customized angular touchspin directive (https://gist.github.com/jdelibas/b20160fced5963a338ab#file-spindirective-js) of jquery's touchspin plugin (http://www.virtuosoft.eu/code/bootstrap-touchspin):
'use strict';

angular.module('app')
    .directive('spin', function() {
        return {
            templateUrl: 'components/templates/touchspin.html',
            scope: {
                bindModel:'=ngModel',
                change   :'&ngChange'
            },
            restrict: 'E',
            require: 'ngModel',
            bindAttr: '=',
            link: function(scope, element, attrs) {
                var min,max,step,input,initial, decimals, prefix, verticalbuttons, stepinterval;
                element = angular.element(element);

                if(typeof attrs === 'undefined')throw new Error('Spin.js attributes missing');

                min = typeof attrs.min !== 'undefined' ? parseFloat(attrs.min) : 1;
                max = typeof attrs.max !== 'undefined' ? parseFloat(attrs.max) : 999;
                step = typeof attrs.step !== 'undefined' ? parseFloat(attrs.step) : 1;
                prefix = typeof attrs.prefix !== 'undefined' ? attrs.prefix : '';
                decimals =  typeof attrs.decimals !== 'undefined' ? parseInt(attrs.decimals) : 0;

                input = $('input[name="spin"]',element);

                input.TouchSpin({
                    min: min,
                    max: max,
                    step: step,
                    decimals: decimals,
                    prefix: prefix,
                    forcestepdivisibility : 'none',
                    booster : false
                });

                input.on('change', function(e){
                    scope.value = parseFloat(input.val());

                    if(scope.change) {
                        scope.change(scope.value);
                    }

                    if(!scope.$$phase) {
                        scope.$apply();
                    }

                });

            }
        };
    });

"[ngModel:numfmt] Expected 0.02 to be a number
http://errors.angularjs.org/1.3.0/ngModel/numfmt?p0=0.02"
I tried put that function into $apply too:
scope.$apply(function() {
if(scope.change) {
                        scope.change(scope.value);
                    }
});

I'm getting this error now:  Error: [ngModel:numfmt] Expected {"$viewValue":null,"$modelValue":null,"$validators":{},"$asyncValidators":{},"$parsers":[null,null],"$formatters":[null],"$viewChangeListeners":[],"$untouched":true,"$touched":false,"$pristine":true,"$dirty":false,"$valid":true,"$invalid":false,"$error":{},"$name":"payment","$options":null} to be a number
For the following markup:

                            <span<EMAIL_ADDRESS>                            <input type="number" name="payment" ng-model="result.payment" id="payment"
                                   ng-disabled="!result.isToBePaid"

                                   min="0"
                                   class="form-control"
                                    />

                                <span<EMAIL_ADDRESS>

                    <td<EMAIL_ADDRESS>                    <span ng-class="{'negative-amount': total('invoiceBalance') < 0}">{{total('invoiceBalance')|currency}}
                    {{total('payment')|currency}}

So, input type="number" doesn't seem to be working in the table created using ng-repeat directive.

I'll try to reply using e-mail: I'm getting an error using this html:

                            @*{{result.invoice_No}}*@
                            {{ result.invoice_No
}}

                            {{result.descrip}}

                            {{result.dateCreated |date: 'medium'}}

{{result.invoiceBalance | currency}}

@Labels.currencySymbol
                                   min="0"
                                   class="form-control"
                                    />

                                <span

<EMAIL_ADDRESS>

@Labels.pageTotal
{{total('invoiceBalance')|currency}}
{{total('payment')|currency}}

It seems like input type="number" is not working inside the ng-repeat
directive.
On Fri, Feb 27, 2015 at 8:44 AM, André da Silva Medeiros <
<EMAIL_ADDRESS>wrote:

I am having same issue with an customized angular touchspin directive (
https://gist.github.com/jdelibas/b20160fced5963a338ab#file-spindirective-js)
of jquery's touchspin plugin (
http://www.virtuosoft.eu/code/bootstrap-touchspin):
'use strict';
angular.module('app')
.directive('spin', function() {
return {
templateUrl: 'components/templates/touchspin.html',
scope: {
bindModel:'=ngModel',
change   :'&ngChange'
},
restrict: 'E',
require: 'ngModel',
bindAttr: '=',
link: function(scope, element, attrs) {
var min,max,step,input,initial, decimals, prefix, verticalbuttons, stepinterval;
element = angular.element(element);
            if(typeof attrs === 'undefined')throw new Error('Spin.js attributes missing');

            min = typeof attrs.min !== 'undefined' ? parseFloat(attrs.min) : 1;
            max = typeof attrs.max !== 'undefined' ? parseFloat(attrs.max) : 999;
            step = typeof attrs.step !== 'undefined' ? parseFloat(attrs.step) : 1;
            prefix = typeof attrs.prefix !== 'undefined' ? attrs.prefix : '';
            decimals =  typeof attrs.decimals !== 'undefined' ? parseInt(attrs.decimals) : 0;

            input = $('input[name="spin"]',element);

            input.TouchSpin({
                min: min,
                max: max,
                step: step,
                decimals: decimals,
                prefix: prefix,
                forcestepdivisibility : 'none',
                booster : false
            });

            input.on('change', function(e){
                scope.value = parseFloat(input.val());

                if(scope.change) {
                    scope.change(scope.value);
                }

                if(!scope.$$phase) {
                    scope.$apply();
                }

            });

        }
    };
});

"[ngModel:numfmt] Expected 0.02 to be a number
http://errors.angularjs.org/1.3.0/ngModel/numfmt?p0=0.02"
I tried put that function into $apply too:
scope.$apply(function() {if(scope.change) {
scope.change(scope.value);
}
});
—
Reply to this email directly or view it on GitHub
https://github.com/angular/angular.js/issues/11157#issuecomment-76404525
.

Again, please provide a minimal reproducible example, eithe in a plnkr.co in a gist or even copy/ pasted here. Your snippets so far are impossible to debug.

Are you able to create a table with ng-repeat directive and put a number
(input type="number") into one cell? Does it work OK for you?
Can you please start that plnkr and then I'll modify to add extra if needed?
On Mon, Mar 2, 2015 at 4:21 PM, Martin Staffa<EMAIL_ADDRESS>wrote:

Again, please provide a minimal reproducible example, eithe in a plnkr.co
in a gist or even copy/ pasted here. Your snippets so far are impossible to
debug.
—
Reply to this email directly or view it on GitHub
https://github.com/angular/angular.js/issues/11157#issuecomment-76839089
.

You should be able to take it from here. Plnkr is pretty self-explanatory.
http://plnkr.co/edit/0qNfnDCbnBKnPvgkV6XC?p=preview

Here is what I've done but I didn't reproduce the error.
http://plnkr.co/edit/HBmOKTqQ9p4m3PzHNvds?p=preview
On Mon, Mar 2, 2015 at 5:02 PM, Martin Staffa<EMAIL_ADDRESS>wrote:

You should be able to take it from here. Plnkr is pretty self-explanatory.
http://plnkr.co/edit/0qNfnDCbnBKnPvgkV6XC?p=preview
—
Reply to this email directly or view it on GitHub
https://github.com/angular/angular.js/issues/11157#issuecomment-76846264
.

Having the same problem here, but again this is happening inside a large project and I'm not able to reproduce.

Can you add your directive code to that plunker @NaomiN ?

There is a bug in numberInputType function of Angularjs. I use 1.3.6 and i have checked it in 1.3.14, same there. This part of code convert data from model format to view format when input type is number.
ctrl.$formatters.push(function(value) {
if (!ctrl.$isEmpty(value)) {
/if (!isNumber(value)) {
throw $ngModelMinErr('numfmt', 'Expected {0} to be a number', value);
}/
value = value.toString();
}
return value;
});
The checking if value is number and throwing error here make no sense at all. After that the value is cast  to string :)
Just comment it and everithing will work fine. It's work for me ;)

What about replacing "(!isNumber(value))" with "(isNaN( parseFloat( value ) ) || !isFinite( value ))" ?
( just like the "jQuery.isNumeric()" )

OK, so the problem you are having is that <input type="number" ng-model="x"> expects x to be a real number and not a string that looks like a number.
You can work around this by adding a formatting directive to parse the string before it gets to the input[number] directive. See http://plnkr.co/edit/Zf0qcsPQeyaUU5l0MZhD?p=preview
The question is whether the input[number] directive should be more lenient and just try to parse the number. In any case, the directive will be parsing the $viewValue of the input element into a real number when the input changes, meaning that the $modelValue will become a real number at that point.  This would lead to inconsistency in your model, with the model value changing from a string to a number at some point.
I would argue that this inconsistency is not desirable and a more consistent and reliable approach is to use the second directive (as shown in the plunker above) to do the conversion, allowing and ensuring your model stays consistently as a string.

I updated the docs (both the input[number] directive and numfmt error) with better information and a runnable example about to deal with this situation.

Here is my plnkr with our directives demonstrating the issue
http://plnkr.co/edit/z1BWMoPmnsCZlAUra0os?p=preview

@NaomiN - I don't see the error message in your Plunker.

You can see the bug reproducing here http://plnkr.co/edit/qKC6YESYLbdDLe6bvNRM?p=preview
Practically you can not assign a stringified number to a <input type="number" />
This is especially annoying when you use strings to deal with floating point errors, and Angular doesn't let you mitigate the issue.
+1 for @jamjamg 's solution #issuecomment-81638606

input[number] directives expect the model to be a number. If you are not passing a number to it then you must convert it first, which you can do with a directive. See this plunker: http://plnkr.co/edit/ZgewoGxx46LLDOieaso6?p=preview

Hey @petebacondarwin ,
I know you can use parseFloat(), but there are times you need better than the 64-bit precision of JS float.
You will then be forced to use strings only (e.g. BigDecimal in JS) and inevitably break Angular when using <input type="number" /> .
Regards,
Nick

I had same issue, its sorted in latest version of angular, update angular to latest.

@Bebokkk - as a workaround you can simply remove the parsers and formatters that were added by AngularJS's numberInputType directive: http://plnkr.co/edit/rtOVrx6k1KAJ1WyC96tn?p=preview


Get headers returned by Twitter

Response given by Twitter contains information about the rate limits and other data that may be useful.

-> "HTTP/1.1 200 OK\r\n"
-> "date: Thu, 23 Nov 2023 15:44:52 UTC\r\n"
-> "perf:<PHONE_NUMBER>\r\n"
-> "server: tsa_b\r\n"
-> "set-cookie: guest_id_marketing=v1%3A170075429285743641; Max-Age=63072000; Expires=Sat, 22 Nov 2025 15:44:52 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None\r\n"
-> "set-cookie: guest_id_ads=v1%3A170075429285743641; Max-Age=63072000; Expires=Sat, 22 Nov 2025 15:44:52 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None\r\n"
-> "set-cookie: personalization_id="v1_F8OwV3WQbDnvG1xa4FF69A=="; Max-Age=63072000; Expires=Sat, 22 Nov 2025 15:44:52 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None\r\n"
-> "set-cookie: guest_id=v1%3A170075429285743641; Max-Age=63072000; Expires=Sat, 22 Nov 2025 15:44:52 GMT; Path=/; Domain=.twitter.com;  Secure; SameSite=None\r\n"
-> "api-version: 2.79\r\n"
-> "content-type: application/json; charset=utf-8\r\n"
-> "cache-control: no-cache, no-store, max-age=0\r\n"
-> "content-length: 54\r\n"
-> "x-access-level: read-write-directmessages\r\n"
-> "x-frame-options: SAMEORIGIN\r\n"
-> "content-encoding: gzip\r\n"
-> "x-transaction-id: ba2351ae9b0370b5\r\n"
-> "x-xss-protection: 0\r\n"
-> "x-rate-limit-limit: 50\r\n"
-> "x-rate-limit-reset:<PHONE_NUMBER>\r\n"
-> "content-disposition: attachment; filename=json.json\r\n"
-> "x-content-type-options: nosniff\r\n"
-> "x-rate-limit-remaining: 44\r\n"
-> "strict-transport-security: max-age=631138519\r\n"
-> "x-response-time: 57\r\n"
-> "x-connection-hash: 00f7bb3d091cf40b4d08065a738aee106202e4164c397e2759a488d79fde1a60\r\n"
-> "connection: close\r\n"

I want to use x-rate-limit-reset in order to block retries until this time.
ATM, the only way I see to have them it to override X::Client#execute_request. I don't like to prepend methods from external gems.
As said in https://github.com/sferik/x-ruby/issues/12, adding hooks is not very convenient. I have no better idea.

I didn't see that some headers are added in errors, since https://github.com/sferik/x-ruby/commit/b0036399672db699ac558fd1ff11530c04d777ae.
There is still no way to have them when there is no error, but it's correct to what I want to do.

As you noted, data from the rate limit headers is accessible when an X::TooManyRequests exception is raised. This should allow you to block retries until x-rate-limit-reset. Here is an example of how to do that.

Ok but what if there is no error raised ? We may want to have headers when the request succeeds, for monitoring for example.

I’m curious to better understand your specific use case. If you’d like to track the number of requests you make, you can add instrumentation to each request, as I’ve suggested doing here.
I also noticed this is the fourth issue you’ve opened on this project. If you (or your company) would be willing to sponsor me, I would prioritize your issues and feature requests. (I would also list your name or your company’s logo on this project’s GitHub page.)

I’m curious to better understand your specific use case.

The actual code is enough for what I have to do ATM. I suggested to expose headers as it can be useful in some use cases, as monitoring.

If you’d like to track the number of requests you make, you can add instrumentation to each request, as I’ve suggested doing https://github.com/sferik/x-ruby/issues/12.

I don't really like to prepend/patch methods and I think this can be useful for some other users so I propose changes.

I also noticed this is the fourth issue you’ve opened on this project. If you (or your company) would be willing to sponsor me, I would prioritize your issues and feature requests. I would also list your name or your company’s logo on this project’s GitHub page.

I asked to my company and had no answer. I will ping them again. You did an awesome job and a important part of what I had to do but in better. This deserves a contribution.


UI bug when scroll wallet

Describe the bug
UI bug when scrolling the wallet
To Reproduce
Steps to reproduce the behavior:

Go to the Home screen
Scroll down
See error: Have a small gap between the header and the balance display

Expected behavior
Rework the UI code to fix this problem
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: MacOS Ventura 13.0 (22A380)
Browser Chrome
Version 1.0.3

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./upgrade-ui-pr-1337-build-1.0.3-2023-05-10T04-12-37UTC.zip
I reproduce this issue on device:

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./upgrade-ui-pr-1337-build-1.0.3-2023-05-12T03-56-24UTC.zip
Validation passed on my device (device information on the comment above)

@hieudd please review this bug on your device

Lgtm!


Restore focus when window becomes visible

Describe the bug
When a window is hidden and then visible again, the focus is not restored to the element that had it before.
Affected platforms
Select one of the platforms below:

Desktop

Versions

Compose Multiplatform version*: 1.6.0-rc03
OS version(s)* (required for Desktop and iOS issues): macOS
OS architecture (x86 or arm64): arm64
JDK (for desktop issues): 17

To Reproduce
fun main() = application {
    var windowVisible by remember { mutableStateOf(true) }
    Window(
        onCloseRequest = { windowVisible = false },
        visible = windowVisible
    ) {
        val focusRequester = remember { FocusRequester() }
        var text by remember { mutableStateOf("") }
        TextField(
            value = text,
            onValueChange = { text = it },
            modifier = Modifier.focusRequester(focusRequester)
        )

        LaunchedEffect(Unit) {
            focusRequester.requestFocus()
        }

        LaunchedEffect(windowVisible) {
            if (!windowVisible) {
                delay(2000)
                windowVisible = true
            }
        }
    }
}

It seems the focus is actively moved away from the currently focused element by ComposeSceneMediator.focusListener.focusGained.
https://github.com/JetBrains/compose-multiplatform/assets/5230206/56f6930f-23bf-4d35-97ea-891560912d82
Expected behavior
Focus should be kept/restored to the element that had it when the window became hidden.

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


Fix group API member lookup

The API used a field name of members while the model used a field name of member. Fixing this allows the autograder to query for group information as well.

+0.7% test coverage :+1:
Need this for autograding related changes so going to merge & deploy soon.


Segment backed broadcast join IndexedTable

Description
Related to #9953, this PR adds a simple naive implementation of an IndexedTable backed by Druid segments ingested with some extra information to identify which columns are 'join keys' at ingestion time, through the use of a custom segmentizer factory, via the changes done in #9957:
      "indexSpec": {
        "segmentLoader": {
          "type": "broadcastJoinableMMapSegmentFactory",
          "keyColumns": ["col1", "col2", "col3"]
        }
      }

This is probably longer term done better as being part of ColumnCapabilities, maybe a isJoinKey method, but since there might be other optimizations/customizations to the segment we are writing out to use for joins, I wanted to defer this change to future work to determine if there is a better segment format for this use case.
The implementation is based on and similar to RowBasedIndexedTable, but is fed with a QueryableIndexSegment which is scanned and the key columns are read to create the value indexes of the key columns, which are stored in heap memory in a list of hashmaps. The intention is that these will only be created for datasources that are configured to have a 'broadcast' load rule, which will propagate the entire dataset across the cluster, allowing the table to be used for more efficient joins.
The SegmentManager has been modified to extend DataSourceState to also contain a map of SegmentId to another newly added class in this PR, ReferenceCountingIndexedTable (related #9982), which ties the lifecycle of these tables to the segment that is backing them.
A new BroadcastTableJoinableFactory has been added which is injected with the SegmentManager to allow fetching the indexed tables from these broadcast segments to construct into a Joinable, binding to GlobalTableDatasource introduced in #10029.
Since it is an extension point, I have also reworked JoinableFactory a bit to allow binding multiple implementations to the same DataSource class, and so now is handled with 2 bindings, a MapBinder<Class<? extends JoinableFactory>, Class<? extends DataSource>> and a Multibinder<JoinableFactory> to provide MapJoinableFactory so it can build a SetMultimap<Class<? extends DataSource>, JoinableFactory>, which it will now try each factory when building a Joinable, returning the first that produces results.
Unit tests and an integration test have been added to test this functionality, and the integration test also should cover much of the broadcast changes done in service of #9953.
This PR adds no new documentation yet, since the functionality should still be considered experimental, but I'll consider how to best document it before the next release and do it in a future follow-up PR.
Also note that there are currently some limitations with BroadcastTableJoinableFactory, most obviously that it only supports joins to single segment datasources. The SegmentManager itself does not care and will load any number of segments and tables, but joinable construction will fail. Part of the reason for this limitation is that I'm not certain the best way to resolve this, we could either make a composite IndexedTable that can in essence 'page' through it's sub-tables, or, we make a version of the join matcher that can handle a collection of tables, (or something else entirely?). It needs further investigation.

This PR has:

[x] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[ ] added documentation for new or modified features or behaviors.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[x] added integration tests.
[x] been tested in a test Druid cluster.

Key changed/added classes in this PR

BroadcastSegmentIndexedTable
ReferenceCountingIndexedTable
BroadcastTableJoinableFactory
BroadcastJoinableMMappedQueryableSegmentizerFactory
SegmentManager
MapJoinableFactory

I made some fixes to this PR because while I was testing some stuff I ran into a leak of buffers, because the columns were not being closed that were created by creating the Reader. In response to this, I've modified HashJoinSegmentStorageAdapter to feed a Closer that runs in the sequence baggage similar to QueryableIndexCursorSequenceBuilder, and thread it into the join matcher/cursors down into IndexedTableColumnSelectorFactory and into IndexedTableColumnValueSelector and IndexedTableDimensionSelector, so that the IndexedTable.Reader they create can be closed when the cursors sequence is processed.
I've also added a new method to the IndexedTable interface:
  @Nullable
  default ColumnSelectorFactory makeColumnSelectorFactory(ReadableOffset offset, boolean descending, Closer closer)
  {
    return null;
  }

to allow it to directly provide ColumnSelectorFactory to IndexedTableJoinMatcher instead of using IndexedTableColumnSelectorFactory. This allows BroadcastSegmentIndexedTable to supply a QueryableIndexColumnSelectorFactory directly from the underlying segment instead of all the indirection of using a Reader through the standard selectors. The performance improvement seems pretty significant (from some benchmarks I've been playing with that are not in this PR, will add later, projection '6' in this case is selecting 3 columns from the rhs table):
before:
Benchmark                                                 (lhsJoinColumn)  (projection)  (rhsJoinColumn)  (rowsPerSegment)  (rowsPerTableSegment)  (tableType)  Mode  Cnt    Score    Error  Units
IndexedTableBenchmark.hashJoinCursorColumnValueSelectors          dimZipf             6       dimUniform             50000                  50000      segment  avgt    5   77.403 ± 57.426  ms/op

after:
Benchmark                                                 (lhsJoinColumn)  (projection)  (rhsJoinColumn)  (rowsPerSegment)  (rowsPerTableSegment)  (tableType)  Mode  Cnt    Score    Error  Units
IndexedTableBenchmark.hashJoinCursorColumnValueSelectors          dimZipf             6       dimUniform             50000                  50000      segment  avgt    5  20.060 ± 1.627  ms/op

I'm sure there are a lot more improvements that could be made, but will save that for future work.

Thanks for the review @jon-wei and @jihoonson :metal:


Platform: link against ComCtl32 when using Common Controls

This adds a missing link directive to the ComCtl32 module.  This allows
use of the module without requiring the user to explicitly add the
linked library to the target when building code against this module.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci please smoke test

@swift-ci please test Windows platform


I fixed it, but I have follow questions

I rewrote the line like this, and it captures and triggers. It also repeats the trigger whenever walked on. Is there a quick way to turn off the trigger if the trap should only trigger once?

I have the details setup this way, with half damage on save. However it doesn't give me half the damage as a result, nor does it apply damage to the token. Is there a way to fix the half damage? Is here a way to have it automatically assign damage to a token?

The damage roll is correct, it rolls the normal damage and if you are using midi-qol it applies half damage on save. Are you using midi-qol?


[WIP] Add SOLVE function, using ZGESV

Solves system of linear equations. Chose the complex-valued option
ZGESV because that seems to be a good choice / the ZGE-prefixed LAPACK
functions are used elsewhere in the code. Not sure if the other LAPACK
solvers should be exposed?
Produces the same results as shown in:
https://software.intel.com/sites/products/documentation/doclib/mkl_sa/11/mkl_lapack_examples/zgesv_ex.c.htm
(setq a (make-complex-matrix
         4 4
         '(#C(1.23 -5.50) #C(-2.14 -1.12) #C(-4.30 -7.10) #C( 1.27  7.29)
           #C( 7.91 -5.38) #C(-9.92 -0.79) #C(-6.47  2.52) #C( 8.90  6.92)
           #C(-9.80 -4.86) #C(-9.18 -1.12) #C(-6.51 -2.67) #C(-8.82  1.25)
           #C(-7.32  7.57) #C( 1.37  0.43) #C(-5.86  7.38) #C( 5.41  5.37))))

(setq b (make-complex-matrix
         4 2
         '(#C( 8.33 -7.32) #C(-6.18 -4.80) #C(-5.71 -2.80) #C(-1.60  3.08)
           #C(-6.11 -3.81) #C( 0.14 -7.71) #C( 1.41  3.40) #C( 8.54
         -4.05))))

(solve a b)

gives
#<MATRIX [Z] 4x4:
  -4.300 - 7.100j    -6.470 + 2.520j    -6.510 - 2.670j    -5.860 + 7.380j
   0.490 + 0.470j    12.265 - 3.574j    -7.865 - 0.492j    -0.980 + 6.708j
   0.249 - 0.151j    -0.601 - 0.370j    -11.699 - 4.642j    -1.353 + 1.376j
  -0.830 - 0.324j     0.052 + 0.579j     0.933 - 0.499j     2.664 + 7.857j>
#<MATRIX [Z] 4x2:
  -1.088 - 0.183j     1.282 + 1.205j
   0.966 + 0.521j    -0.222 - 0.968j
  -0.202 + 0.187j     0.534 + 1.358j
  -0.586 + 0.918j     2.222 - 0.998j>
#(3 3 3 4)

I think we should just return the solution vector.
What happens for non-solvable problem?
Can you add tests?

@tarballs-are-good About the non-solvable case. This is, in fortran, found by inspecting the value of info passed to zsegv. I provide this parameter through the FFI, but it never seems to be mutated regardless of whether the matrix is singular.

@notmgsk You can't do that in Lisp unless it's a macro as you point out, but we can create a pointer on the Lisp side and pass it to the raw %%zsegv function so we can dereference after to check.
Ideally, this is something that could be automated by the codegen, but I think that would be a little bit difficult.

Latest commit has something that works. Test it with the following:

(setq a (make-complex-matrix
         4 4
         '(#C(1.23 -5.50) #C(-2.14 -1.12) #C(-4.30 -7.10) #C( 1.27  7.29)
           #C( 7.91 -5.38) #C(-9.92 -0.79) #C(-6.47  2.52) #C( 8.90  6.92)
           #C(-9.80 -4.86) #C(-9.18 -1.12) #C(-6.51 -2.67) #C(-8.82  1.25)
           #C(-7.32  7.57) #C( 1.37  0.43) #C(-5.86  7.38) #C( 5.41  5.37))))

(setq b (make-complex-matrix
         4 2
         '(#C( 8.33 -7.32) #C(-6.18 -4.80) #C(-5.71 -2.80) #C(-1.60  3.08)
           #C(-6.11 -3.81) #C( 0.14 -7.71) #C( 1.41  3.40) #C( 8.54
                                                              -4.05))))

(solve a b)

(setq c (make-complex-matrix
         2 2
         '(#C(3.0 0.0) #C(1.0 0.0) #C(6.0 0.0) #C(2.0 0.0))))

(setq d (make-complex-matrix
         2 1
         '(#C(1.0 0.0) #C(1.0 0.0))))

(solve c d)

The first solve works, the second raises an error. Whether it should error or just return an error code I dunno.

What exactly does "singular" mean here? A matrix being singular means its associated linear systems have either no solutions or infinitely many solutions. Do you only mean the no solution case, or does this cover both cases? What happens in the infinitely many solutions case?

From https://www.ibm.com/support/knowledgecenter/en/SSFHY8_5.5.0/com.ibm.cluster.essl.v5r5.essl100.doc/am5gr_hsgesv.htm
“If info > 0, the factorization was unsuccessful and the solution was not computed. info is set equal to the first i where Uii is singular and its inverse could not be computed.”
The error message could be improved then. It might also be helpful to return info parameter also. Whaddya think?

On 3 Jan 2019, at 16:38, Eric Peterson<EMAIL_ADDRESS>wrote:
What exactly does "singular" mean here? A matrix being singular means its associated linear systems have either no solutions or infinitely many solutions. Do you only mean the no solution case, or does this cover both cases? What happens in the infinitely many solutions case?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Definitely no harm in returning the info as part of the error signal, but I'd prefer the signal to have a name nearer to "no solution" than to "singular matrix". It's still blurry to me from the documentation what happens in the event that the system has multiple solutions, but it looks like it's willing to tell you that and to give you the whole family...

Will investigate the latter point.

On 3 Jan 2019, at 16:51, Eric Peterson<EMAIL_ADDRESS>wrote:
Definitely no harm in returning the info as part of the error signal, but I'd prefer the signal to have a name nearer to "no solution" than to "singular matrix". It's still blurry to me from the documentation what happens in the event that the system has multiple solutions, but it looks like it's willing to tell you that and to give you the whole family...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Plugin added - Dash & Lin

Project URL

Description

Checklist

[ ] Only one project is in this pull request
[x] Addition in chronological order (bottom of category)
[ ] Travis CI pass
[x] Supports iOS 7 or later
[ ] Has a commit from less than 2 years ago
[ ] Has a clear README in English

Hey @aashishtamsya, thanks for contributing! 🎉


autoReset default values

This is not really an issue, but more of an unintuitive behavior.
When creating a (GLM) learner and predictor in the same function, we get by default: options.autoReset = false (for both learner opts and predictor opts).
On the other hand, when creating a GLM learner and GLM predictor independently, we get by default options.autoReset = true for both of them. This means that GLM predictor will reset the model weights (modelmat) to zero after running "predict" once. Should a predictor be able to reset the model weights resulting from a learner?

This has been changed so autoreset is left alone. It was a workaround behavior that isnt needed anymore.


picker doesnt work inside of a list tag

self explanatory

Hi, please post a code snippet. We'll look into it.

This example seems to work pretty well!

hmm... i m doing the same. i think my container is inside a tabbarios...tht seems to b the issue.


Update CONTRIBUTING.md

Updated the Slack invite URL

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


Re-evaluate TravelDestination/Description Implementation

I think as a group we want someone to be able to go to the same place more than once and give it the same description. We need to account for this.

Alex's example: Currently our system can't handle leaving edmonton with description "Home", and coming back to Edmonton with description "Home"
From the feedback:
I can't go to the same place twice on one trip? Eg. Edmonton -> New York -> San Fransisco -> New York -> Edmonton

fixed this,
We can now have duplicate entries


Update Recursive font to v21 and document update

Related to #220
This PR updates the webfont files and documents the update process.
Now that I look at this PR it seems the v20 and v21 seem to be the same files on google fonts.

It seems this does not solve #220 but this contains information on updating the font. So I'll go forward and merge anyway. (Related comment https://github.com/codeformuenster/muenster-jetzt/issues/220#issuecomment-698409216)


LICENSE: update to http://www.apache.org/licenses/LICENSE-2.0.txt

My previous changes to this file were based on the html version
of the license, which may be rendered in varying ways by different
web browsers.  Change to the text version.

Thank you!


Read Command table timeout

This is regard to #95
This status reads the Command table timeout and returns the value in minutes

Name
Type
Value
Comment

status
long
[0-65535]
Get command table timeout in minutes

A suggestion has been added to the draft.
Please note that it has been renamed. Instead of "command table" it says "dynamic band".


[Bug] useRaycastVehicle property name mismatch

After converting the cannon Raycast Vehicle example to NGT, I've been trying to figure out why the wheels won't rotate.
NGT useRaycastVehicle has the following code
            worker.addRaycastVehicle({
              props: [chassisBodyUUID, wheelUUIDs, wheelInfos, indexForwardAxis, indexRightAxis, indexUpAxis],
              uuid,
            });

The corresponding code in cannon worker implementation of addRaycastVehicle
  const [chassisBody, wheels, wheelInfos, indexForwardAxis, indexRightAxis, indexUpAxis] = data.prop

Its expecting the first property to be called chassisBody, not chassisBodyUUID and the second property to be wheels, not wheelUUIDs.
Do you agree?

It is an array so it does not matter.

After pecking at the code a bit, I think I found the actual problem
            const { chassisBodyRef, indexForwardAxis = 2, indexRightAxis = 0, indexUpAxis = 1, wheelInfos, wheels } = fn();
            const chassisBodyUUID = NgtCannonUtils.getUUID(chassisBodyRef);

I think it should be chassisBodyRef

I'll work on an example in NGT examples to see if I can figure out what's going on.

What's the command line to run the sandbox to test changes?

cd app/sandbox
nx serve

npx nx serve sandbox

I've tracked it down to this code in raycast-vehicle.ts
          this.effect<[CannonWorkerAPI, THREE.Object3D]>(
              tapEffect(() => {

tapEffect isn't getting called.

how are you using useRaycastVehicle?

Figured it out.  Need to pass false to indicate its not used in the template.

There was indeed a bug which I released a fix in the latest version. Also check out https://github.com/nartc/angular-three/tree/main/apps/sandbox/src/app/raycast-vehicle

Raycast Vehicle Physics Example now working


Nest dev console under /extensions/dev-console

Tophat

Run make build
Run make create testdata/extension.config.yml
Run make serve testdata/extension.config.yml
Run ngrok http 8000 to start up a tunnel
Click on the tunnel url and verify you can see the Dev Console and have been redirected to /extensions/dev-console
Click on a link to an extension and verify that you are redirected. Note that you will land on something like https://test-shop.myshopify.com/cart/1234?dev=https://8192-142-115-44-232.ngrok.io/extensions/ which will not actually load as the test store doesn't exist. This is good enough to when testing the redirect feature.

With this path change we will need also an update in shopify/web so the admin loads the console from the right path no?.

Actually, that redirect won't work... at the root url we have the web-app, we only redirect to the extension server requests that start with /extension

Ok, I'll make a follow up PR to fix this. Ideally the Dev Server should tell Web what the Dev Console url is


Action creators: more control over end action

In #180, @sprjr proposed a way to get a callback when a CRUD action creator is completed. He PR'd a good solution to the problem in #181 .
We chatted about a future enhancement to it where it would pass control over dispatching the end actions to the user. So maybe the callback signature is:
(err, res, body, endActionCreator) => {
  // Do stuff, then...
  endActionCreator();
}

This would allow you to "build up" successful actions and dispatch them all at once.

Pros: more flexible API
Cons: not super easy to do parallel stuff in this system since it's callback-based

Would this still be the recommended path if we end up moving forward with the API in #186? That would allow folks to to do several calls, and then store up some action.succeeded(res) values, and then dispatch(...) all of those when they are done?

Let's close this out for now. We can revisit this once we have that other lib described in #186 . There will probably be some line we need to figure out when it comes to adding more features to the lib currently known as resourceful-action-creators vs recommending people use those new helpers discussed in #186

Resolved in #275


Release 1.14

Last 2.x release of PySAL

Coverage increased (+0.7%) to 83.748% when pulling 3bc777186de23af69fa56067a54480600a2d7df4 on dev into 7d59a95652a7478a7f18f2862d034c737976d2da on master.

Coverage increased (+0.7%) to 83.748% when pulling 3bc777186de23af69fa56067a54480600a2d7df4 on dev into 7d59a95652a7478a7f18f2862d034c737976d2da on master.


Disable crafting does not work like it should

Hi,
I am trying to block crafting of some Pixelmon items.
I tried this:
craft {
filter {
# Crafting ThunderstonePickaxe
result = "{'type': 'pixelmon:ThunderstonePickaxe'}"
},
response {
match = "deny"
}
I can't take the item with a leftclick, but with a rightclick. Any way to block this too?

I'm sorry for answering late, but somehow my GitHub notifications settings were messed up and I didn't recieve this message.
It seems like I forgot about the right click, I will quickly add this.

Should be fixed now.
You can download the new version only on GitHub since Ore currently doesn't let me upload files for whatever reason.

Thank you!


Tendermint fails to create node,  due to connection refused from ABCIServer

Hi !
I have set up a BigchainDB node manually on a Ubuntu 20.04.1 LTS virtual machine. The BigchainDB version installed is 2.2.2 ( latest version) and the installed tendermint version is 0.31.5-d2eab536. For the installation I have followed the steps in Simple Deployment Template.
I haven't added any peers or validators in Tendermint config.toml and genesesis.json yet, to ease the troubleshooting.
MongoDb and Nginx are running.
These are the first entries in the bigchain confirguation file $HOME/.bigchaindb:
"server": {
       "bind": "<IP_ADDRESS>:9984",
       "loglevel": "info",
       "workers": null
   },
   "wsserver": {
       "scheme": "ws",
       "host": "<IP_ADDRESS>",
       "port": 9985,
       "advertised_scheme": "wss",
       "advertised_host": "<IP_ADDRESS>",
       "advertised_port": 443
   },
   "tendermint": {
       "host": "<IP_ADDRESS>",
       "port": 26657,
       "version": "v0.31.5"
   },

When I start the Bigchaindb and Tedermint services and monitor them with monit -d 1,  monit status all look OK. In bigchaindb.log the last message (after all the database initializations) is:
"[INFO] (abci.app) ABCIServer started on port: 26658".
There are no errors in bigchaindb-errors.log.
In tendermint.err.log the following error messages show up:
ERROR: Failed to create node: Error during handshake: Error calling Info: read tcp <IP_ADDRESS>:48902-><IP_ADDRESS>:26658: read: connection reset by peer
ERROR: Failed to create node: Error during handshake: Error calling Info: read tcp <IP_ADDRESS>:48922-><IP_ADDRESS>:26658: read: connection reset by peer
ERROR: Failed to create node: Error during handshake: Error calling Info: read tcp <IP_ADDRESS>:48942-><IP_ADDRESS>:26658: read: connection reset by peer

In tendermint.out.log the folllowing messages are avaiable:
E[2021-01-07|17:50:27.049] abci.socketClient failed to connect to tcp://<IP_ADDRESS>:26658.  Retrying... module=abci-client connection=query err="dial tcp <IP_ADDRESS>:26658: connect: connection refused"
E[2021-01-07|17:50:30.232] Stopping abci.socketClient for error: EOF    module=abci-client connection=consensus
E[2021-01-07|17:50:30.232] Stopping abci.socketClient for error: read tcp <IP_ADDRESS>:49022-><IP_ADDRESS>:26658: read: connection reset by peer module=abci-client connection=query

Monit will try restaring the services every n seconds depending on the argument in monit -d n, which leads to an increase of memory, if running over night for example, as some  bigchaindb processess are not killed.
netstat -tunlp  is showing at first that the main bigchaindb process is listening on <IP_ADDRESS>:26658, but short after the process disappears.
At this point I am stuck and don't know how to troubleshoot. Any hint is highly appreciated.
Regards,
Andra

I managed to fix the problem by doing the following steps:

Investigated the source of a warning in the bigchaindb.log, which admittedly I have first ignored:

<frozen importlib._bootstrap>:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject

Upgraded gevent with the command:  $ pip install --upgrade gevent
Started bigchaindb in the background, manually (not using monit -d 1): $ bigchaindb start & disown
Started tendermint  in the background with output to the logfiles with $ monit start tendermint

After this, the connection between Tendermint and Bigchaindb was established and no more errors were written to tendermint.err.log.

I managed to fix the problem by doing the following steps:

Investigated the source of a warning in the bigchaindb.log, which admittedly I have first ignored:

<frozen importlib._bootstrap>:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject

Upgraded gevent with the command:  $ pip install --upgrade gevent
Started bigchaindb in the background, manually (not using monit -d 1): $ bigchaindb start & disown
Started tendermint  in the background with output to the logfiles with $ monit start tendermint

After this, the connection between Tendermint and Bigchaindb was established and no more errors were written to tendermint.err.log.

Hi @javaandra  i have created 4 node setup using bigchaindb and out of them 2 of them are running well and showing all the set of 4 validator , but of the rest two when i tried to start it always show TENDERMINT INITIALIZING in monit summary
I checked the tendermint out log of the not working nodes and it shows something like this

And the rest which i think are working shows

Any kind of help from your side will be highly aprreciated .
Thank you in advance

Hi @rupam150 ,
it might seem trivial, but my first questions would be:

did you make sure to replace the gensis.json ( with the 4 validators) in all 4 Tendermint nodes?
did you modify the persistent_peer configuration in config.toml of each Tendermint node, so that it referrs the other 3 peers? ( avoid copy paste errors)
In worst case, if you have no valuable data to lose, you can try the command: tendermint unsafe_reset_all.

Regards,
Andra

Hi @javaandra  , i have replicated the steps given in simple deployment template of Bigchaindb Doc and here is my genesis.json (which i copied in every node of the network )
{
"genesis_time": "2021-03-11T06:12:00.851676087Z",
"chain_id": "test-chain-ULmGQu",
"consensus_params": {
"block": {
"max_bytes": "22020096",
"max_gas": "-1",
"time_iota_ms": "1000"
},
"evidence": {
"max_age": "100000"
},
"validator": {
"pub_key_types": [
"ed25519"
]
}
},
"validators": [
{
"address": "0C9D9FB3107DCE8714131556B4DA07F2B00EF833",
"pub_key": {
"type": "tendermint/PubKeyEd25519",
"value": "8uXIALV9Q+gg6zJt/IDgxBt8Hp/ajNZNyoCHVX46uKo="
},
"power": "10",
"name": "Node_1"
},
{
"address": "6E0476AAA6B2B0017F8128D5BF1F6458668366FB",
"pub_key": {
"type": "tendermint/PubKeyEd25519",
"value": "SvJNIzuuWoJNokWzfcRR8nBM3WMP3OhSsFGZAlzeE0M="
},
"power": "10",
"name": "Node_2"
},
{
"address": "30F0193A802D6176A1E676399CF32A55D934646F",
"pub_key": {
"type": "tendermint/PubKeyEd25519",
"value": "yZHktDxNKVrzM7GPgSLzcGdnj72KDnGRkOsheMBViQw="
},
"power": "10",
"name": "Node_3"
},
{
"address": "5C3CE187297EF14CB9D7849A5BB81A6DCF803F8B",
"pub_key": {
"type": "tendermint/PubKeyEd25519",
"value": "NNEr+P/WB6TfSag79KKDu3s+jtZiRiC3bLd2RbUh9S8="
},
"power": "10",
"name": "Node_4"
}
],
"app_hash": ""
}
And for config.toml , here is the snap of my config.toml persistent peers ---

Morever i have also run tendermint unsafe_reset _all on the not working nodes but still it's the same .


And render prop to Form

The render function would receive the same arguments as children + Form (which would be the value of component prop passed either to the form or to createForm) + fetcher (which would be the value of the fetcher prop).
It would be called whenever there are no children passed to the form, just like renderField is called when there are no children passed to Field.
That would allow us to customize the default markup of the forms, including custom pending UI like the one described in #37.

Wouldn't renderForm be a better name then?
I think it'd be clearer

Maybe. It felt redundant to me since it will be the render prop of Form. But maybe redundancy is good in this case :)

I think we should start investigating a generic API for markup customization, that would preclude adding props every time we want to customize some new element. Perhaps exposing mapper functions that could be composed and passed around or set as part of the default form?


Asyncio API runs

The requests library is used for the run_pipeline(...) function which makes it unusable for applications that utilise asyncio.
This PR adds asyncio compatibility via pipeline.api.asyncio.PipelineCloud which is interchangeable with pipeline.PipelineCloud. Also, as this is targeted towards production API usage, all verbose information reporting has been removed including:

Initial authentication, it's now per request
Print statements
Progress bars

Just some general comments from me:
There is quite a bit of code duplication here (between pipeline/api/asyncio/cloud.py and pipeline/api/cloud.py). Some of this may be unavoidable due to async vs non-async but wonder if some could be shared? Otherwise, we probably want to make sure we keep both versions of the client consistent with one another (for example to make it easy to switch between them and to make maintenance easier. A good example here is httpx and requests which have almost identical interfaces). Therefore, it might be worth adding some tests for this since it's probably going to be easy in the future to update the regular client and forget to update the async one, or vice-versa.

Also, as this is targeted towards production API usage, all verbose information reporting has been removed including

Initial authentication, it's now per request
Print statements
Progress bars

Again, while these are good ideas, I think it would be good to keep both the async and non-async client in sync here. I think either could genuinely be used in a production environment, so maybe the same changes could be made to the regular client? (I would argue some things like the progress bars are useful for local development or people using the library for the first time, so maybe we could implement those using logging instead of print statements? That way they can be ignored in production code but kept in other cases. See https://docs.python-guide.org/writing/logging/#logging-in-a-library)

Just some general comments from me:
There is quite a bit of code duplication here (between pipeline/api/asyncio/cloud.py and pipeline/api/cloud.py). Some of this may be unavoidable due to async vs non-async but wonder if some could be shared? Otherwise, we probably want to make sure we keep both versions of the client consistent with one another (for example to make it easy to switch between them and to make maintenance easier. A good example here is httpx and requests which have almost identical interfaces). Therefore, it might be worth adding some tests for this since it's probably going to be easy in the future to update the regular client and forget to update the async one, or vice-versa.

For sure, there is a lot of duplication. There was no clear path that I could see that allowed the two PipelineCloud versions to be interchangeable and not replicate code. I based the interchangeable nature on a few other libs I saw that do the same. I agree on the tests, I'll take a look at that now.

Also, as this is targeted towards production API usage, all verbose information reporting has been removed including
Initial authentication, it's now per request
Print statements
Progress bars

Again, while these are good ideas, I think it would be good to keep both the async and non-async client in sync here. I think either could genuinely be used in a production environment, so maybe the same changes could be made to the regular client? (I would argue some things like the progress bars are useful for local development or people using the library for the first time, so maybe we could implement those using logging instead of print statements? That way they can be ignored in production code but kept in other cases. See https://docs.python-guide.org/writing/logging/#logging-in-a-library)

We've had the removal of logs requested on the regular client, so we can add an option for that. The main distinction is that the asyncio package will only be used in a production env, but as you rightfully point out the logs are useful for development in the regular client.

I wonder if a better way to reduce duplication would be for the async client to inherit from the regular client. Then they can share the same helper methods, etc and help reduce duplication. For example:
import asyncio

class Client:
    def helper(self):
        print("helping")

    def post(self):
        self.helper()
        print("Sync post")

class AsyncClient(Client):
    async def post(self):
        self.helper()
        print("Async post")

async def main():
    client = Client()
    client.post()
    client = AsyncClient()
    await client.post()

asyncio.run(main())

I wonder if a better way to reduce duplication would be for the async client to inherit from the regular client. Then they can share the same helper methods, etc and help reduce duplication. For example:
import asyncio

class Client:
    def helper(self):
        print("helping")

    def post(self):
        self.helper()
        print("Sync post")

class AsyncClient(Client):
    async def post(self):
        self.helper()
        print("Async post")

async def main():
    client = Client()
    client.post()
    client = AsyncClient()
    await client.post()

asyncio.run(main())

Great idea, on it


Add language option for Korean

Hello, I'm a fan of this project from Korea.
I added Korean language option.
Could I ask you to check this PR?
Thank you.

Thank you very much for this work. FYI, I'm not sure when I'll be able to update the beta with this change as time has been short. Appreciate the work!


[nrf fromtree] dts: bindings: arm: nordic: Add TDDCONF sources

For nrf54h20 a range of combinations exist to configure the test and debug domains data sources and sinks. Expose them in DTS to allow configuring them. Also drop the previous style which was too rigid to extend to cover all cases cleanly. The old style was only used in a single sample application so far.
Signed-off-by: Karsten Koenig<EMAIL_ADDRESS>Upstream PR: https://github.com/zephyrproject-rtos/zephyr/pull/78831

Hi @anangl, you are listed as codeowner. There is a commit upstream that can't apply cleanly downstream because the file diverged downstream. I tried aligning up- and downstream when resolving the conflict in the cherry-pick, so afterwards they will be both aligned.
upstream commit: https://github.com/zephyrproject-rtos/zephyr/pull/78831/commits/8fdcf132716136935c990c3496e232a9bec8ce20
downstream commit: https://github.com/nrfconnect/sdk-zephyr/pull/2039/commits/a42e290785f8dc37c7e56e1a43567ad02b0c864d
The downstream solution of using EXACT version for nrf-regtool seems to be the correct choice, the previous commit to upstream even says 'enforce exact version match'
https://github.com/zephyrproject-rtos/zephyr/commit/9c23effb66e73022ef43413ecdae1d3cd353e0a1

The downstream solution of using EXACT version for nrf-regtool seems to be the correct choice, the previous commit to upstream even says 'enforce exact version match' zephyrproject-rtos/zephyr@9c23eff

Not really. See https://github.com/zephyrproject-rtos/zephyr/pull/69633#discussion_r1508045111. EXACT was  intentionally not added. And I don't think we need it downstream (468d06db5542594fe9e6420fd2e1fe30d9209699 does not really explain why it was added). I think you should add a noup commit that removes EXACT downstream and modify the upstream commit to not add this modifier. Then it will apply cleanly.

@anangl uh good catch, thanks for that. Given this cmake check fails upstream due to the outdated nrf-regtool version in the upstream docker image I'll just drop the version change upstream and only do the suggested noup here to drop the exact.
Then we can bump this cmake check in a separate PR after the upstream docker image has the new nrf-regtool version

@nordicjm Could you please have another look if this solution works for you?

Because we dropped EXACT STM logging does not work silently and user does not know that it because regtool update is needed. I think we should bring back EXACT.

Is it not rather that 6.0.0 is needed now and not checked via CMake yet? So nrf-regtool 6.0.0 REQUIRED?
I tried kicking off the change upstream
https://github.com/zephyrproject-rtos/docker-image/commit/eb419f103940f8e4f0e3fdf0480bb6ef5841e13a
https://github.com/zephyrproject-rtos/zephyr/pull/79244
But am a bit lost with the upstream docker image, the zephyr builds requiring (at least) nrf-regtool 6.0.0 still fail with 6.0.0 not present in the image.


[Hotfix][Connector-V2] Close the tableWrite when task is closed

Purpose of this pull request

Close the tableWrite when task is close.
Does this PR introduce any user-facing change?

How was this patch tested?

Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

good check


Adding PostStatus filter

Fix #137
Add the PostStatus filter to the FilterBy trait because filtering by post_status is possible for multiple fields and not only the Relationship

Thanks for the pull request, please also add a test case.

@vinkla Done, I've tried to follow your type of tests. So I added a test case on Relationship field

Thanks @gturpin-dev 🙌
This wont be released just yet, you may use the branch alias in the mean time.
{
    "require": {
        "vinkla/extended-acf": "^13.8"
     },
    "minimum-stability": "dev",
    "prefer-stable": true
}

Thanks to you.
Also thanks to add improved code on top of mine.
It could be an improvement to allows each post status currently registered instead of the WP default hardcoded.
But it's maybe not the goal of the package to check things as far as that.
Or it could be possible to add a hook to extend this list if needed 🤷♂
Anyways, thanks ! 👌

It could be an improvement to allows each post status currently registered instead of the WP default hardcoded.

What other post statuses do people use? Is it common to use non-default statuses?

I don't think so, it's rare, which is why I just listed it as an optional enhancement.
There are plugins that allow you to create custom statuses, but this WP feature is hard to extend.

Great! Let's maintain the current implementation and reassess the situation in the future if there's a request for it.


Notebook debt for May

A brief summary of items we didn't finish in last iteration and issues reported during endgame

Drag & Drop #96308
API refactoring #95854
TextBuffer/TextModel (blocker of https://github.com/microsoft/vscode/pull/96156)

The idea is every CellTextModel will manage its content in ITextBuffer, which be used as the backing store for TextModel thus every edit in Monaco Editor will be updated in the text buffer immediately. Also we will have a set of TextModel like API to use even when the cell is not attached to an editor yet.

acquireVSCodeApi(rendererId) in Notebook Webview
Working Copy (revert, hot exit)
Language selector

Please help add items which are not tracked by issues and we can have a good discussion about them tomorrow.


add retry logic to the build jobs validation (#279)

compare to https://github.com/kyma-project/eventing-manager/blob/main/scripts/verify-status.sh

Description
Changes proposed in this pull request:

add a proper retry-loop in the validation of the prow build job in the Create-release workflow (compare to https://github.com/kyma-project/eventing-manager/blob/main/scripts/verify-status.sh)
Related issue(s)

/test pull-nats-module-build

/test all

/retest

/test pull-nats-module-build

/test pull-nats-manager-build

/test pull-nats-module-build


Any support for pushing?

I'm trying to see if Keycloak plus your SCIM add-on can be used to provide user/group information to Atlassian Access.
Atlassian Access says that it works with SCIM providers but the documentation is only for a limited set of providers and, from what I can glean, it looks like all of those providers push to Atlassian Access, rather than AA syncing from Keycloak + SCIM.
https://confluence.atlassian.com/cloud/user-provisioning-959305316.html
Is that something I can achieve with the code you've written?
Thanks.

I should add that AWS Single Sign-on also requires "inbound" support for automatic provisioning, so if there is a way of getting this to work with Keycloak, it would be very much appreciated!

I should add that AWS Single Sign-on also requires "inbound" support for automatic provisioning, so if there is a way of getting this to work with Keycloak, it would be very much appreciated!

I just recently had a discussion with another user who tried to link Azure AD with my SCIM extension. After overcoming some troubles we made it work and he provided a simple description how to do it:
https://github.com/Captain-P-Goldfish/scim-for-keycloak/wiki/Use-with-Microsoft-Azure-AD
Does this help?
Otherwise I need more information.

I just recently had a discussion with another user who tried to link Azure AD with my SCIM extension. After overcoming some troubles we made it work and he provided a simple description how to do it:
https://github.com/Captain-P-Goldfish/scim-for-keycloak/wiki/Use-with-Microsoft-Azure-AD
Does this help?
Otherwise I need more information.

I had read and following the linked document but quickly realised that the document takes you through steps that mirrors how Atlassian Access and AWS SSO work. In other words, the document gets you to the point where you have a SCIM URL and authentication token that you plug into Azure AD ... but there doesn't seem to be anywhere within Keycloak/SCIM to enter a SCIM URL/authentication token.
I may be wrong but I think https://tools.ietf.org/html/rfc7642#section-2.3.1 references the use case I'm after, where Keycloak/SCIM is CSP-1 and Atlassian Access or AWS SSO are CSP-2. So, a change occurs within Keycloak that shows a new user has been created and then something then triggers AA/AWS SSO to tell it that a new user has been created.
I think that this process is normally handled by a SCIM client but I'm not sure how such an application would be able to pick up on changes occuring within Keycloak in order to tell the next CSP.
Does that help/clarify?

I had read and following the linked document but quickly realised that the document takes you through steps that mirrors how Atlassian Access and AWS SSO work. In other words, the document gets you to the point where you have a SCIM URL and authentication token that you plug into Azure AD ... but there doesn't seem to be anywhere within Keycloak/SCIM to enter a SCIM URL/authentication token.
I may be wrong but I think https://tools.ietf.org/html/rfc7642#section-2.3.1 references the use case I'm after, where Keycloak/SCIM is CSP-1 and Atlassian Access or AWS SSO are CSP-2. So, a change occurs within Keycloak that shows a new user has been created and then something then triggers AA/AWS SSO to tell it that a new user has been created.
I think that this process is normally handled by a SCIM client but I'm not sure how such an application would be able to pick up on changes occuring within Keycloak in order to tell the next CSP.
Does that help/clarify?

scim-for-keycloak does only provide server side support not client side.
From what I understand Atlassian is acting as a SCIM client representing CSP-1. So when a create-user-event in Atlassian is triggered it should send a push trigger to keycloak (CSP-2) creating the user also there.
Is this what your are looking for?
Currently it is not possible to do it the other way around since I did not implement the client side in keycloak. Doing so should be possible though but I am afraid I cannot provide this any time soon since my resources are pretty much consumed.

scim-for-keycloak does only provide server side support not client side.
From what I understand Atlassian is acting as a SCIM client representing CSP-1. So when a create-user-event in Atlassian is triggered it should send a push trigger to keycloak (CSP-2) creating the user also there.
Is this what your are looking for?
Currently it is not possible to do it the other way around since I did not implement the client side in keycloak. Doing so should be possible though but I am afraid I cannot provide this any time soon since my resources are pretty much consumed.

From what I understand Atlassian is acting as a SCIM client representing CSP-1. So when a create-user-event in Atlassian is triggered it should send a push trigger to keycloak (CSP-2) creating the user also there.
Is this what your are looking for?

No - the other way around. A "create-user-event" in Keycloak needs to trigger push events to CSP-2, be it Atlassian Access or AWS SSO or similar.

Currently it is not possible to do it the other way around since I did not implement the client side in keycloak.

I was coming to that conclusion. Thank you for confirming it.

Doing so should be possible though but I am afraid I cannot provide this any time soon since my resources are pretty much consumed.

I understand. Thank you for what you have done.

From what I understand Atlassian is acting as a SCIM client representing CSP-1. So when a create-user-event in Atlassian is triggered it should send a push trigger to keycloak (CSP-2) creating the user also there.
Is this what your are looking for?

No - the other way around. A "create-user-event" in Keycloak needs to trigger push events to CSP-2, be it Atlassian Access or AWS SSO or similar.

Currently it is not possible to do it the other way around since I did not implement the client side in keycloak.

I was coming to that conclusion. Thank you for confirming it.

Doing so should be possible though but I am afraid I cannot provide this any time soon since my resources are pretty much consumed.

I understand. Thank you for what you have done.


Configuration breaks when disabling diagnostics

Hello! I've updated hotpot to the main branch after some weeks without updating and it appears to no longer work with disabled diagnostics.
Here is a minimal init.lua with the problem
# init.lua

require("hotpot").setup({
  enable_hotpot_diagnostics = false,  # <-- Everything is well when it is set to true
})

Which produces the following error whenever I open neovim.
Error detected while processing /home/iago/.config/nvim/init.lua:
E5113: Error while calling lua chunk: .../packer/start/hotpot.nvim/lua/hotpot/api/diagnostics.lua:236: attempt to index local '_36_' (a number value)
stack traceback:
        .../packer/start/hotpot.nvim/lua/hotpot/api/diagnostics.lua:236: in function 'setup'
        /home/iago/.config/nvim/init.lua:2: in main chunk
Press ENTER or type command to continue

Apologies for the poor quality control. Fixed in 4caa744d2b660dfc1368155553f91d6093366efb.


Create additional info blocks

You can make your resume less official by adding more entertaining info, like your hobbies and interest, or what do you like, some interactive content or joke, easter egg, etc.
https://github.com/SkyKeyUA/homepage

https://github.com/SkyKeyUA/homepage


bug-fix-3.11/FE-211: Allow gravatars for users

Scope & Purpose
Backport for #18991

[x] :hankey: Bugfix

Checklist

[x] :book: CHANGELOG entry made

Related Information

[x] GitHub issue / Jira ticket: https://arangodb.atlassian.net/browse/FE-211

[ ] https://jenkins01.arangodb.biz/job/arangodb-ANY-jslint/29540/

[x] https://jenkins01.arangodb.biz/job/arangodb-ANY-jslint/29588/


Fix targetPort for Service selects WE

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

Fixes https://github.com/istio/istio/issues/23971


[WIP] Dockerize ursim with driver in docker compose

PR creates easy to use docker-compose setup for using ursim within docker container together with ros2 dockerized driver

Codecov Report

Merging #144 (0030705) into main (d837e74) will decrease coverage by 0.10%.
The diff coverage is n/a.

@@           Coverage Diff            @@
##            main    #144      +/-   ##
========================================
- Coverage   3.06%   2.95%   -0.11%
========================================
  Files         13      13
  Lines        947     947
  Branches     152     152
========================================
- Hits          29      28       -1
- Misses       849     850       +1
  Partials      69      69

Flag
Coverage Δ

unittests
2.95% <ø> (-0.11%)
:arrow_down:

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

Impacted Files
Coverage Δ

ur_robot_driver/src/dashboard_client_ros.cpp
7.82% <0.00%> (-0.44%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d837e74...0030705. Read the comment docs.


Simple Action Server Deletes The Goal

Discussed in https://github.com/aler9/goroslib/discussions/83

Originally posted by Beril-1 September 28, 2021
Hello!
By following the examples provided in goroslib, I implemented a SimpleActionServer  that waits for the user input which may take a bit of time.  My problem is when I do "rostopic echo to the  /status"  the status array is being cleaned and the goal is being deleted after 5 seconds and I can not conclude the process. I saw in goroslib a configuration called "DeleteGoalAfter" in the NewSimpleAction function adjusted to 5 seconds (https://github.com/aler9/goroslib/blob/6f6095873d06d5e9c6146d1cb4ae6560983fe547/actionserver.go#L248).
May it be the issue? What is the correct way of implementing the simpleActionServer to keep the goals? I would be glad if you could help. Thank you!
Cheers,
Beril

Fixed in main.


Open to adding source_up_global option?

I've got a use case where it would be useful for direnv to act like source_up was in every .envrc file[1]. Ideally, this would just be a ~/.direnvrc option, something like source_up_global. The mechanism I'm envisioning would be to find all .direnv files, searching upwards, and then apply them in turn from topmost to bottommost. That way a "lower" directory could override a "higher" one, which seems like what Least Surprise would dictate.
Is this something that you'd be open to getting a patch for? I'm willing to do the work, I just want to make sure you're receptive to the idea.
[1]: My use case is this: I have distinct trees for my "work" and "personal" projects.  I'd like to have work/.direnv set GIT_AUTHOR and friends to my work identity, and projects/.direnv set them to my personal identity, without having to set them in each individual project-level .direnv, and without having to put source_up in each individual project-level .direnv.

Hi @genehack , I don't mind adding new commands to the stdlib.
My own guideline is that I start by adding commands to my own ~/.direnvrc and when I find them to be generally useful and stable I would move them to the stdlib. I can also see how that command could be useful to others.
In terms of naming, source_up_all might be better.

Ah, I was thinking this was something that would need to be done at a 'tool' level, not at the 'stdlib' level. I'll play around with adding it to the ~/.direnvrc and see if I can get that to work.
Thanks!

Yeah it's fine to add new internal commands as well. I had to do that for expand_path for example because there is no good cross-platform shell or system command to do that.
Here you can see how the stdlib command just forwards to direnv: https://github.com/zimbatm/direnv/blob/master/stdlib.sh#L52
And here is the implementation: https://github.com/zimbatm/direnv/blob/master/cmd_expand_path.go . The Private: true flag hides it from the normal help output.

So, thinking about this more, I think this is less a new command, and more like a global configuration flag affecting the code in https://github.com/zimbatm/direnv/blob/master/cmd_export.go.
Another (probably better) way to implement what I want would be to have direnv hook $SHELL take an option flag, like --load-all, which would cause it to output a different subcmd in the hook, something like direnv export_all $SHELL.
Essentially, I want a global way to always force multiple .direnv files to "layer" upwards, without having to put source_up() in each one of them.

If a command is executed in the ~/.direnvrc it's executed whenever a
.envrc is loaded, in effect making it a global config.
Here is a direnvrc skeleton to get you started:
source_up_all() {
  # your code here
  echo Hi
}

source_up_all

On 21 Jan 2015 02:03, "John SJ Anderson"<EMAIL_ADDRESS>wrote:

So, thinking about this more, I think this is less a new command, and more
like a global configuration flag affecting the code in
https://github.com/zimbatm/direnv/blob/master/cmd_export.go.
Another (probably better) way to implement what I want would be to have direnv
hook $SHELL take an option flag, like --load-all, which would cause it to
output a different subcmd in the hook, something like direnv export_all
$SHELL.
Essentially, I want a global way to always force multiple .direnv files
to "layer" upwards, without having to put source_up() in each one of
them.
—
Reply to this email directly or view it on GitHub
https://github.com/zimbatm/direnv/issues/154#issuecomment-70772225.


allowing specifying of multiple mainModules

Fixes #45
Signed-off-by: RinkiyaKeDad<EMAIL_ADDRESS>

Looks like the PR is breaking stuff, I'm getting Max Depth Of Dependencies: 1 for k/k

/hold

/unhold

/lgtm
/approve
Before
depstat stats

or
depstat stats -m k8s.io/kubernetes

Direct Dependencies: 128
Transitive Dependencies: 354
Total Dependencies: 389
Max Depth Of Dependencies: 31

After
ls staging/src/k8s.io | wc -l

echo depstat stats -m "k8s.io/kubernetes$(ls staging/src/k8s.io | awk '{printf ",k8s.io/" $0}')"

depstat stats -m "k8s.io/kubernetes$(ls staging/src/k8s.io | awk '{printf ",k8s.io/" $0}')"

      27

depstat stats -m k8s.io/kubernetes,k8s.io/api,k8s.io/apiextensions-apiserver,k8s.io/apimachinery,k8s.io/apiserver,k8s.io/cli-runtime,k8s.io/client-go,k8s.io/cloud-provider,k8s.io/cluster-bootstrap,k8s.io/code-generator,k8s.io/component-base,k8s.io/component-helpers,k8s.io/controller-manager,k8s.io/cri-api,k8s.io/csi-translation-lib,k8s.io/kube-aggregator,k8s.io/kube-controller-manager,k8s.io/kube-proxy,k8s.io/kube-scheduler,k8s.io/kubectl,k8s.io/kubelet,k8s.io/legacy-cloud-providers,k8s.io/metrics,k8s.io/mount-utils,k8s.io/pod-security-admission,k8s.io/sample-apiserver,k8s.io/sample-cli-plugin,k8s.io/sample-controller

Direct Dependencies: 163
Transitive Dependencies: 307
Total Dependencies: 364
Max Depth Of Dependencies: 31

As expected:

Direct dependencies go up (since number of things referenced by our staging repos is greater)
Transitive dependencies go down (since transitive deps only referenced by our staging repos get recategorized as direct deps)
Total dependencies go down (since all the things we list as main modules don't get counted as deps)
Max depth stays the same, since it's computed from the first mainModule

once this gets released in a tag, we can update the depstats CI job to use the depstat stats -m "k8s.io/kubernetes$(ls staging/src/k8s.io | awk '{printf ",k8s.io/" $0}')" invocation to include all staging modules as main modules


Facebook Messenger "No Internet Warning" - Unable to Search and Find Users - Chat doesn't work.

Facebook messenger app seems very faulty. It constantly shows "No Internet" then "Connecting to Internet" in red lettering at the top of the chat window.
I was also unable to search for a chat with a friend. The friend showed up upon searching their name, but after clicking on their name, the chat didn't show up. I just see an empty pane with a blank "Facebook User" at the top.

I have the same issue. When using Messenger in Station, I usually see No internet connection at the top. I'm able to use Messenger in Safari, so my internet connectivity is not an issue.

#143


app.energized.pro seems to be down

Energized Protection - block ⚡

Let's make an annoyance free, better open internet, altogether!

Issue Submit Form

  Provide the following infos properly, which will help us to resolve your issue quickly.

Issue(s):
Type x in between [ ] and make sure there isn't any space between brackets. Example; for Your Selected Issue(s), type like this - [x]
You can select more than one category of issues if you need to!

[ ] Whitelist
[ ] Blacklist
[ ] App Broken
[ ] Website Broken
[ ] Request
[x] Other Issue

Pack(s):
Write the name of the pack(s) you are using.

Pack(s) Name:

Extension(s):
Also name the extension(s) if you are using any. If you don't then leave it blank.

Extension(s) Name:

Domain(s):
If you are submitting this issue for whitelist/blacklist issue, send us the domain(s) for whitelisting/blacklisting here. Kindly use the Code Tag to prevent tracking.

Domain(s):

Your Config:
Just to ensure there is no issues or conflicts with other app/software/magisk module/extension/source list.
Make sure you are running Energized Protection Service only.

Client:

Version:

Details:
Write us a lil bit more about your issue or query. You can attach any screen shot or log of the issue or advert, this will help to highlight it.

Your Issue Detail:
I am using Fedora 32 and visited your website app.energized.pro via Brave browser but the page is not accessible.
It says "Your PHP installation appears to be missing the MySQL extension which is required by WordPress."
Please fix. Thank you

Thank you for making Energized Protection great, with your kind help!
A project by Ador with ❤

Tested, the same problem happens when using Firefox browser and Chrome browser on Windows

Now it's working. Closing.

Now it's working. Closing.


Try to fix the master build issue with documentation

This PR try to fix the intermittent master build failure by pulling the gh-pages branch before pushing the update.

Since you always fixed the broken builds I never saw the build log on failure, I'm actually not sure what is the issue. From what I gathered, there are some situations where there is a new commit made on gh-pages between the moment the build is initiated and the moment publish-docs.sh tries to push the new docs to the branch. Am I in the right ?

Yes, you're right! The build log looks like this:
+git config user.name 'Travis CI'
+git config push.default simple
+git add --all .
+git diff --cached --exit-code --quiet
+git commit -m '[AUTO-COMMIT] Documentation update'
[gh-pages a2d436c] [AUTO-COMMIT] Documentation update
 60 files changed, 449 insertions(+), 130 deletions(-)
+git push
To<EMAIL_ADDRESS> ! [rejected]        gh-pages -> gh-pages (fetch first)
error: failed to push some refs to<EMAIL_ADDRESS>hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

And I just realised that my github token is visible in this build log. I'll add a commit to this PR to change the token and add --quiet everywhere.

What I do not get is in what cases does this happen ? When do we have two master commits running on Travis CI at the same time ?

Yes, I believe so. Both of them get the same branch, and one push faster than the other.

I removed the token in .travis.yml to set it directly on travis website, and made @lumol-bot the author for documentation updates. This should be OK for me.
I can temporary activate the documentation build on this branch to tests the changes, what do you think?

I can temporary activate the documentation build on this branch to tests the changes, what do you think?

Yes sure.
Does the lumol-bot have the rights to push in the repo ?
Also, if the issue is caused by two different commits on master, is rebasing the solution ? Shouldn't we just let the most recent one overwrite the other ?

Does the lumol-bot have the rights to push in the repo ?

No, good catch. Should we give him rights, or should we use another account for this?

Also, if the issue is caused by two different commits on master, is rebasing the solution ? Shouldn't we just let the most recent one overwrite the other ?

Maybe. I wanted to play it safe here, but a git push --force might be the solution.

Maybe. I wanted to play it safe here, but a git push --force might be the solution.

The way I see it, if the current commit is the latest one we force push, else we don't do anything. I don't understand what would happen when we rebase, does it make sense with generated documentation ?

I went with the force push solution, and gave push right to the bot.

It works! https://github.com/lumol-org/lumol/commit/072618d96b26d155b24567d919630442c84b3956. I removed the test commit, so we can merge this.


Considering adding a toolbar and then measuring the screen height.

Application have toolbar, so this needs to be considered before calculating the screen height.

Agreed 👍  Adding it to pipeline

@tushar-acharya , is this point covered? Have you got time to work on this point and add the specific height with considering the toolbar?

@phanirajabhandari Do you guys have any plans of maintaining this repo? If not, I would recommend adding it to the project title.
@SagarKhurana Unfortunately, I no longer work on the project. If you have time to work on this, please create a pull request and we can review and merge it.


Deploy production countly instance

Currently countly is deployed on mia-countly-test. We should rather setup a proper production instance of it by writing the appropriate ansible playbook.

I have deployed a production countly instance on digital ocean: doams1-countly.
The ansible dom0-bootstrap script applied cleanly to the host.