Support latest AGP requirements

Explain your changes
The latest versions of AGP require a namespace key and value under the android key. Initially, the error was caused by the package flutter_inappwebview which is used by the sdk. See error below.

 error building flutter_inappwebview
A problem occurred configuring project ':flutter_inappwebview'.
> Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
   > Namespace not specified. Specify a namespace in the module's build file: /Users/me/.pub-cache/hosted/pub.dev/flutter_inappwebview-5.8.0/android/build.gradle. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.
 If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.
==============================================================================

2: Task failed with an exception.

What went wrong:
Failed to query the value of property 'buildFlowServiceProperty'.

Could not isolate value org.jetbrains.kotlin.gradle.plugin.statistics.BuildFlowService$Parameters_Decorated@3de90a71 of type BuildFlowService.Parameters
A problem occurred configuring project ':flutter_inappwebview'.
Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
Namespace not specified. Specify a namespace in the module's build file: /Users/me/.pub-cache/hosted/pub.dev/flutter_inappwebview-5.8.0/android/build.gradle. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.

       If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.

After upgrading flutter_inappwebview , the same error happened with the sdk itself. See error below:

 error building sdk
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.

What went wrong:
A problem occurred configuring project ':kinde_flutter_sdk'.

Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
Namespace not specified. Specify a namespace in the module's build file: /Users/me/.pub-cache/hosted/pub.dev/kinde_flutter_sdk-1.0.2/android/build.gradle. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.

 If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.
==============================================================================

2: Task failed with an exception.

What went wrong:
Failed to query the value of property 'buildFlowServiceProperty'.

Could not isolate value org.jetbrains.kotlin.gradle.plugin.statistics.BuildFlowService$Parameters_Decorated@198b8fe of type BuildFlowService.Parameters
A problem occurred configuring project ':kinde_flutter_sdk'.
Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
Namespace not specified. Specify a namespace in the module's build file: /Users/me/.pub-cache/hosted/pub.dev/kinde_flutter_sdk-1.0.2/android/build.gradle. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.

       If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.
==============================================================================

BUILD FAILED in 2m 25s
Running Gradle task 'assembleProductionDebug'...                  145.8s
Error: Gradle task assembleProductionDebug failed with exit code 1

Of course, things just don't work easily, flutter_inappwebview  has introduced breaking changes in v6.
This PR does the following:

Upgrade flutter_inappwebview and flutter_custom_tabs
Fix the breaking changes introduced by flutter_inappwebview and flutter_custom_tabs
Set namespace for the Android package for the sdk.

Checklist

[x] I have read the “Pull requests” section in the contributing guidelines.
[x] I agree to the terms within the code of conduct.

🛟 If you need help, consider asking for advice over in the Kinde community.

Tested in flutter_starter_kit. everything works as expected.
https://github.com/kinde-oss/kinde-flutter-sdk/assets/16679732/62923e12-18c3-4b13-8993-7172506d46da


Synthseg model

This looks like a nice update that adds an optional (experimental) model.
I think the change to the L/R flipping method is good for debugging the work/ dir, but I don't think it will affect any of the final outputs since they get flipped twice anyway. Can you confirm @akhanf?
Only other thing I might suggest is naming the model synthseg_v0 or something like since we may update it later on (I think I have a slightly more up-to-date model that I could sub in too)

The new unflipping method was generating some problems, so made fewer steps utilize the hemi-Lflip space. Namely, only shape_inject.smk and nnunet.smk used flipped space (autotop.smk no longer does).


Parse parameter decorators

Because Method Parameter Decorators is now a TC39 stage 0 proposal, I'd like to propose babylon to parse parameter decorators.
While the actual transform is still being debated, it would be great if babylon only parses the syntax and allows users to transform it with third-party plugins. One concrete use case is Angular 2's decorators.
https://phabricator.babeljs.io/T1301
(Reopening #3 that was automatically closed because of rebased master)

@thejameskyle I've updated the code to use ParameterDecorator type as you suggested.
Also, I've excluded function parameter decorators because the proposal says:

Function expression and function declaration parameters
This proposal currently targets only method parameters, because function expressions and declarations don't currently have a proposal that would be in Stage 0 or higher.

Function expression decorators and function parameter decorators have been
excluded from the proposal due to semantical issues (primarily the temporal
dead zone issues).
It wouldn't hurt to have syntactical support for these two so that we can
experiment with various implementations to get the semantics right.
I do expect that over time, especially if the implementation based on
mirrors is picked as the winner, function expression decorators and
function parameter decorators will be included in the proposals.
On Tue, Mar 22, 2016 at 8:52 AM Shuhei Kagawa<EMAIL_ADDRESS>wrote:

@thejameskyle https://github.com/thejameskyle I've updated the code to
use ParameterDecorator type as you suggested.
Also, I've excluded function parameter decorators because the proposal
https://docs.google.com/document/d/1Qpkqf_8NzAwfD8LdnqPjXAQ2wwh8BBUGynhn-ZlCWT0/edit#
says:
Function expression and function declaration parameters
This proposal currently targets only method parameters, because function
expressions and declarations don't currently have a proposal that would be
in Stage 0 or higher.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/babel/babylon/pull/12#issuecomment-199877750

@IgorMinar I'd like to parse function parameter decorators too but I'd rather want this PR to be merged sooner.
@thejameskyle What do you think about supporting function parameters decorators at this time?

I'm fine with either. If excluding function declaration and function
parameter decorators makes it easier to get this merged then go ahead
without those two. We primarily care about function expression decorators
and method parameter decorators.
On Wed, Mar 23, 2016 at 4:21 AM Shuhei Kagawa<EMAIL_ADDRESS>wrote:

@IgorMinar https://github.com/IgorMinar I'd like to parse function
parameter decorators too but I'd rather want this PR to be merged sooner.
@thejameskyle https://github.com/thejameskyle What do you think about
supporting function parameters decorators at this time?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/babel/babylon/pull/12#issuecomment-200302190

It's probably fine if they are be behind separate this.hasPlugin("...") checks, which the work in this PR should already be behind.

Sorry I haven't had a chance to look at this sooner. This looks good besides the fact that ParameterDecorator should just be Decorator. We already overload this node type for class decorators. We can look into splitting it up in a major but I'd prefer we stick to just Decorator for consistency.

@kittens @thejameskyle Updated ParameterDecorator to Decorator and dropped the distinction between method and function parameters. Please let me know if there's anything to be done before it's merged.
@IgorMinar Just to make it clear, function expression decorators are currently not supported due to this check.

Don't know if we want a test for params in other node type that are functions: ArrowFunctionExpression, ExportDefaultDeclaration?
method-parameter-decorator is ClassMethod in babylon, and there's also ObjectMethod.

@hzoo Thanks for your advice. I'll add tests for the other node types.

@hzoo I added tests for other node types except ArrowFunctionExpression. It does not work and I'd like to leave it as is.
ArrowFunctionExpression's parameter decorator throws "Leading decorators must be attached to a class declaration" error in parseDecorators with this PR's implementation. ArrowFunctionExpression's parameter is parsed by parseParenAndDistinguishExpression (with parens) or parseExprAtom (without parens) without knowing that it is a parameter until => appears. In the parse methods, parseDecorators throws the error because the parameter is not a class. The other node types' work because they are parsed by parseBindingList that doesn't use parseDecorators.
To support ArrowFunctionExpression's parameter decorators, we have to strip the class-only check in parseDecorators or parse ArrowFunctionExpression's parameters differently somehow. Both ways might affect the current behavior of Babylon and I don't think they are worth doing while ArrowFunctionExpression's parameter decorator is not actually in the stage 0 proposal yet.

Sounds good, I didn't think arrow functions were in there but I didn't check the proposal or anything :stuck_out_tongue:.

@hzoo @thejameskyle is this PR good? Can we get it merged? thanks!

:+1: from me

@kittens
We may want to figure out the issue with runtime 5/6 before we release I think? And we haven't made a release yet since moving the repo

Thanks everyone :tada:
@hzoo Do we need to update other packages before releasing it? I'm afraid that a new property decorators on existing node types may be invalidated by node type/property check.

Yeah we'll need to update babel-types at least https://github.com/babel/babel/tree/master/packages/babel-types/src/definitions, but the checks are restrictive checks so it shouldn't error? (Benefits of keeping it in the monorepo are showing :smile:).
The decorators transform isn't working atm and there's logan's https://github.com/loganfsmyth/babel-plugin-transform-decorators-legacy

@hzoo Thanks! As far as I know, the types that will get decorators as a field will be:

Identifier
AssignmentPattern
ArrayPattern
ObjectPattern
RestElement

The legacy transformer shouldn't error because it doesn't use Decorator visitor.


Fix error format

This fixes the error reported by Go 1.10 (that runs go vet with go test) on Travis:
$ go test ./...
# github.com/motemen/gore/gocode
gocode/gocode_test.go:12: Error call has possible formatting directive %#v
ok  	github.com/motemen/gore	5.837s
FAIL	github.com/motemen/gore/gocode [build failed]

Could you merge this?

Thank you.


Label time

    @ocots NB. Do the same for `time!` as the independent variable can (*is* in abstract format) be named, so the name can be used for `xlabel`.

Originally posted by @jbcaillau in https://github.com/control-toolbox/control-toolbox.github.io/discussions/21#discussioncomment-5285608

done!


Please implement -messaging:didReceiveRegistrationToken: to be provided with an FCM token.

Hi There,
Great plugin. I've built a series of apps and happily integrated this plugin. However today I'm struggling to get iOS to work. I've followed all of the steps and now when running the application on an iPhone Xcode gives me the following error:
The object <FCM: 0x2810fec00> does not respond to -messaging:didReceiveRegistrationToken:. Please implement -messaging:didReceiveRegistrationToken: to be provided with an FCM token.

Same here

So I figured out what my issue was. I had not called Plugins.PushNotifications.register();
Once I had done that then I was in the clear.

I am having the same problem and calling register didnt resolve my issue. What I noticed is that the token that I am trying to get is from the PushNotificationsPlugin and not the FCMPlugin. Since it has a getToken method I am going to try that

It isnt working... I'll look at the capacitor PushNotificationPlugin repo

closing as it seem to be sorted out

Sorry for reopening this issue but I am getting the same error message in my console and PushNotifications.register returns an empty value.
I am calling it like this:
PushNotifications.requestPermission().then( result => {
      if (result.granted) {
        // Register with Apple / Google to receive push via APNS/FCM
        PushNotifications.register().then((value) => {
          console.log("registration token: ", value);
        }).catch((error) => {
          console.error(error);
        });
      } else {
        // Show some error
        console.error("registration failed");
      }
    });

The request permission dialog comes up and when I click allow it tells me:
registration token: {}

I'm having the same issue. I init it in the index.tsx the following way
const setupPushNotifications = async () => {
  if (!isPushNotificationsAvailable) return;
  const primission = await PushNotifications.requestPermission();

  if (primission.granted) {
    PushNotifications.addListener("registration", (token) => {
      console.log("FCMPlugin.getToken()", FCMPlugin.getToken());
      console.log("registration token: ", token);
    });

    PushNotifications.register();
  }
};

setupPushNotifications();

My log, looks like this

+1


The order of image normalization and augmentation seems to be the same as the original implementation?

You mentioned that "For Cifar+ datasets image normalization was performed before augmentation. This may cause a little bit lower results than reported in paper."
However, I check the image preprocessing parts of these two implementations, and I find that both of them apply normalization before augmentation, so there should be other reason for the difference in performance.

I have the same question. I think the question should be whether the order of image normalization and augmentation matter since I notice some other implementations apply normalization after data augmentation during training. If yes, so which order should be better?

Hi all!
Here I try to implement code the same way as it was in original repo, but there still can be some difference. Really I don't know exactly what order of augmentation should be correct and better. It should be tested. Unfortunately, I have very tight schedule now. So, if somebody wants to make such experiment and send a result/updated code with PR - it will be really great!

I've checked the original repo. There is only one minor difference between yours and the authors'. For the augmentation part, the authors do flipping before translating, as in yours, the order is reverse. That's the only difference regarding data processing.

Ok, I will change the order and re-run the experiments, when I'm free.

Well, for CIFAR100+ dataset I've get an error 25.62 when previous was 25.87. I don't know did this happen because of another augmentation order or because of another initialization. But at least it didn't become worse. So I'm going to change the order. Thank you for reporting the issue!


Consumer Recovery - Reworked The Behaviors

@tiggerite
The previous behavior combined with later versions of the RabbitMQ.Client would cause several painful things to solve.
Current Observations/Pain Points

The brute force (rebuild channels always) could never benefit from the primary internal AutoRecovery mechanism inside the RabbitMQ.Client.
a. It is still also true though that AutoRecoveryModel does not actually guarantee to auto-recover all scenarios, there are normal scenarios such as bad queue consumption, bad publish, that will still kill channels.
DEFECT: Consumers using TransientChannels leaked into memory due to AutoRevovery, they never closed internally to the RabbitMQ.Client library.
TransientChannels Ids being 0 meant users who wanted to know what channel was struggling with the internal logging were unable to do so due to every Id being 0.
Consumers not using TransientChannels drained ChannelPools never returning them.
a. This behavior was by design, which I attempted to mitigate by designated UseTransientChannels = true as a default in Options.
b. If the Channel was used for publishing which threw an Exception at any stage (somewhere else in the code), meant the consumer died permanently without the brute force mechanism previously implemented.
DEFECT: Hot loop appeared during Consumer recovery.

Setup
Test Server: Windows 11
RabbitMQ.Client: v6.8.1
RabbitMQ Server: v3.13
Erlang: v26.2.3
Solutions
To start with, I will keep iterating the code. I wanted to see how much was still solvable internally without heavy refactoring. A lot of the library is still in pretty good shape. It's just the opinionated reconnecting that was struggling.
The easiest fix to start with is 3.). This means putting in an integer and start a range to use for TransientChannel ids. We don't have to track them like the pool, but identity will be guaranteed for the life time of the ChannelHost.
To eliminate 4.), all Consumers now just use TransientChannels.
For users who do not like that, great: SetChannelHostAsync() method is now protected and virtual. Inherit and override with your customizations to your hearts content.
protected virtual async Task SetChannelHostAsync()

To eliminate 5.), I first had to reliably reproduce it, but once I had that it was easy to see a fix. Consumers no longer call MakeChannelAsync straight away anymore. This method though was the cause of all hot loops on exception like this. Before we attempt to MakeChannelAsync (which is also being renamed to BuildRabbitMQChannelAsync. Check if the ConnectionHost is healthy first. Exit out gracefully with a false. This is then combined with an outer retry mechanism with sleep which we were already doing, except when this triggered an exception.
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public async Task<bool> BuildRabbitMQChannelAsync()
{
        ...

        var connectionHealthy = await _connHost
            .HealthyAsync()
            .ConfigureAwait(false);

        if (!connectionHealthy)
        {
            _logger.LogError(_makeChannelConnectionUnhealthyError, ChannelId, _connHost.ConnectionId);
            return false;
        }

        ....

Prototype Code
This solution needs some explaining.
In the Event of a Connection/ChannelHost closed event this method eventually gets fired. We load shed at the parent calling method. It's safe to say a SHUTDOWN EVENT should only have one long lived task is running.
As long as this was not a manual shutdown consumer call, we will loop here until the consumer has recovered.
Addressing 1.), we will no longer brute force build new Channels. It is of my opinion this will be enough for 80-90% of outage conditions.
healthy = await _chanHost.ChannelHealthyAsync().ConfigureAwait(false);
if (healthy)
{
    break;
}

For the remaining edge cases, Broker exception, Channel really is dead, Node failure etc. We have the second leg of this loop. To date, there is no way to internally tell if a Channel is truly dead non-recoverable. I will be blunt, I feel like this is a failure of the underlying RabbitMQ.Client. They should have enough internal domain knowledge, to indicate to callers, this channel needs to be replaced.
protected static readonly int _maxAutoRecoveryChannelHealthChecks = 10;
protected int _shutdownAutoRecoveryLoopCount = 0;

var healthy = false;
while (!_shutdown && !healthy)
{
    _shutdownAutoRecoveryLoopCount++;

    // With normal AutoRecovery enabled, the Channel will come back to life.
    healthy = await _chanHost.ChannelHealthyAsync().ConfigureAwait(false);
    if (healthy)
    {
        break;
    }
    // Periodically, we will check if the connection is healthy but the channel
    // is still closed.
    else if (_shutdownAutoRecoveryLoopCount > _maxAutoRecoveryChannelHealthChecks)
    {
        _shutdownAutoRecoveryLoopCount = 0;

        await ReviewConnectionHealthInsteadOfChannelHealthAsync();
    }

    await Task.Delay(Options.PoolOptions.SleepOnErrorInterval).ConfigureAwait(false);
}

So what we do here is adjust the above logic to keep track of how many times we have already gone through this loop. If after 10 checks, the channel is still down, we STILL don't know if it's dead or the RabbitMQ server is still coming up. The counter does allow us to try something else.
await ReviewConnectionHealthAsync();
What we attempt to do here is to independently now check the ConnectionHost health with a new public exposed method from ChannelHost.
If the connection is also unhealthy, we simply return out. If the Connection has recovered it should be Healthy. This means we have successfully identified a disparity between the Channel and Connection.
We still don't know with 100% certainty the Channel is dead permanently. We need to observe it a little bit later (to allow for the internal AutoRecovery mechanism to have kicked in).
    //
    // If connection is not healthy, we do nothing.
    if (!connectionHealthy) return;

    // We give a brief sleep to allow the channel to recover one last time while
    // the connection state has been confirmed healthy. If it has not recovered by now,
    // we no longer wait. We will stop here until we rebuild RabbitMQ channel which for most
    // use cases will be immediately.
    var counter = 0;
    var channelHealthy = false;
    while (!channelHealthy && counter < Options.PoolOptions.MaxLastChannelHealthCheck)
    {
        await Task.Delay(Options.PoolOptions.SleepOnErrorInterval)
            .ConfigureAwait(false);

        channelHealthy = await _chanHost.ChannelHealthyAsync().ConfigureAwait(false);
        counter++;
    }

    if (!channelHealthy)
    {
        _logger.LogWarning(
            Consumers.ConsumerChannelReplacedEvent,
            ConsumerOptions.ConsumerName);

        // This is an inner infinite loop, until Channel is healthy/rebuilt.
        await _chanHost
            .WaitUntilChannelIsReadyAsync(Options.PoolOptions.SleepOnErrorInterval)
            .ConfigureAwait(false);
    }
}

The WaitUntilChannelIsReadyAsync is merely an infinite loop in the ChannelHost of attempting to make a new channel.
public virtual async Task WaitUntilChannelIsReadyAsync(int sleepInterval, CancellationToken token = default)
{
    var success = false;
    while (!token.IsCancellationRequested && !success)
    {
        success = await BuildRabbitMQChannelAsync().ConfigureAwait(false);
        if (!success)
        {
            try { await Task.Delay(sleepInterval, token).ConfigureAwait(false); }
            catch { /* SWALLOW */ }
        }
    }
}

There was one last thing that needed tweaking based off official RabbitMQ documents for recovery, is that the default NetRecoveryTimeout (in seconds) is 5. Our default for years was 10. To make sure that our behaviors are aligned with the defaults tested for RabbitMQ, we have lowered ours to match the 5. This all about when internally network recovery begins, so after 5 seconds, it will try to reconnect.

The design worked great, but I have always hated have two distinct workflows for recovery that now both need an attempt at AutoRecovery.
By modifying the ChannelHost built in WaitUntilChannelIsReadyAsync method, I feel like I have achieved nearly identical behaviors as the Consumer recovery mechanism.
    public virtual async Task WaitUntilChannelIsReadyAsync(int sleepInterval, CancellationToken token = default)
    {
        var connectionHealthy = await _connHost.HealthyAsync();
        if (!connectionHealthy)
        {
            _logger.LogInformation(_sleepingUntilConnectionHealthy, ChannelId, _connHost.ConnectionId);
            while (!token.IsCancellationRequested && !connectionHealthy)
            {
                try { await Task.Delay(sleepInterval, token).ConfigureAwait(false); }
                catch { /* SWALLOW */ }

                connectionHealthy = await _connHost.HealthyAsync();
            }
        }

        var success = false;
        while (!token.IsCancellationRequested && !success)
        {
            success = await BuildRabbitMQChannelAsync().ConfigureAwait(false);
            if (!success)
            {
                try { await Task.Delay(sleepInterval, token).ConfigureAwait(false); }
                catch { /* SWALLOW */ }
            }
        }
    }

    private static readonly string _makeChannelConnectionUnhealthyError = "Unable to create new inner channel for ChannelHost [Id: {0}]. Connection [Id: {1}] is still unhealthy. Try again later...";
    private static readonly string _makeChannelNotNeeded = "ChannelHost [Id: {0}] auto-recovered for Connection [Id: {1}]. New channel not needed.";
    private static readonly string _makeChannelSuccessful = "ChannelHost [Id: {0}] successfully created a new RabbitMQ channel on Connection [Id: {1}].";
    private static readonly string _makeChannelFailedError = "Making a channel failed. Error: {0}";

    [MethodImpl(MethodImplOptions.AggressiveInlining)]
    public async Task<bool> BuildRabbitMQChannelAsync()
    {
        await _hostLock.WaitAsync().ConfigureAwait(false);

        try
        {
            var connectionHealthy = await _connHost
                .HealthyAsync()
                .ConfigureAwait(false);

            if (!connectionHealthy)
            {
                _logger.LogError(_makeChannelConnectionUnhealthyError, ChannelId, _connHost.ConnectionId);
                return false;
            }

            if (_channel != null)
            {
                // One last check to see if the channel auto-recovered.
                var healthy = await ChannelHealthyAsync().ConfigureAwait(false);
                if (!healthy)
                {
                    await Task.Delay(1000);
                    healthy = await ChannelHealthyAsync().ConfigureAwait(false);
                }

                if (healthy)
                {
                    _logger.LogInformation(_makeChannelNotNeeded, ChannelId, _connHost.ConnectionId);
                    return true;
                }

                _channel.FlowControl -= FlowControl;
                _channel.ModelShutdown -= ChannelClose;
                Close();
                _channel = null;
            }

            _channel = _connHost.Connection.CreateModel();

            if (Ackable)
            {
                _channel.ConfirmSelect();
            }

            _channel.FlowControl += FlowControl;
            _channel.ModelShutdown += ChannelClose;

            _logger.LogDebug(_makeChannelSuccessful, ChannelId, _connHost.ConnectionId);

            return true;
        }
        catch (Exception ex)
        {
            _logger.LogError(_makeChannelFailedError, ex.Message);
            _channel = null;
            return false;
        }
        finally
        { _hostLock.Release(); }
    }

Lastly FlowControlled was used to determine the Channel's health. Now that ChannelHost uses ChannelHealthyAsync to determine when to perform AutoRecovery this needed to be handled else where.
I have modified the GetChannel calls for the ChannelPool that when the Channel is Healthy && FlowControlled to sleep until resolution. This will naturally allow the system to resolve the issue in parallel publishing scenarios at a small loss in performance.


Not compatible with Angular 5.0

FYI
ERROR in ../node_modules/ngx-contextmenu/lib/contextMenu.options.d.ts(1,10): error TS2305: Module '"C:/.../node_modules/@angular/core/core"' has no exported member 'OpaqueToken
'.

Thanks for the heads up.  This would be a great PR for a first time contributer.

Fixed in 2.0.0-beta.1


Log performance data history

Log performance data and implement mechanism that this can be made available (even only if locally on system running Homebridge)

Data will be stored in a CSV file on the local system.


Verify that Prometheus is shipped and enabled within RHODS

Signed-off-by: Pablo Felix Estevez Pico<EMAIL_ADDRESS>

https://opendatascience-jenkins-csb-rhods.apps.ocp-c1.prod.psi.redhat.com/job/rhods-ci-pr-test/814/console

I think you could've reused the Verify Traefik Deployment in tests/Tests/100__deploy/100__installation/102__post_install.robot


Add box integration

Same as https://github.com/mmoreram/translation-server/pull/2

:+1:

https://github.com/mmoreram/php-formatter/pull/28


ActionView::MissingTemplate in CamaleonCms::Admin::Settings#site

Missing partial camaleon_cms/admin/settings/admin/settings/custom_fields/_render, camaleon_cms/admin/admin/settings/custom_fields/_render, camaleon_cms/camaleon/admin/settings/custom_fields/_render, application/admin/settings/custom_fields/_render, /admin/settings/custom_fields/_render with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :jbuilder]}.

hey @lmany where did you found this error?
the correct code should be:
<%= render partial: "camaleon_cms/admin/settings/custom_fields/render", locals: {record: current_theme, field_groups: current_theme.get_field_groups, fields_name: "theme_fields"} %>

Hello thank you for your answer. I have this issue in the left menu admin when I clicked to "Settings>General sites". I used gem "camaleon_cms", github: 'owen2345/camaleon-cms', branch: "moduler" # version 2

what OS are you using? maybe windows?

Using Mac Os X. Maybe something wrong in my apps/themes/my_theme/config.json ?

If i have to create _render.html.erb to respond to <%= render partial: "admin/settings/custom_fields/render", locals: {record: current_theme, field_groups: current_theme.get_field_groups, fields_name: "theme_fields"} %>?

ohhh yeah,
the problem is in your my_theme/views/admin/settings.html.erb
please change:
admin/settings/custom_fields/render

into (added prefix "camaleon_cms" in version 2):
"camaleon_cms/admin/settings/custom_fields/render"

THANK YOU VERY MUCH!!!!!!!


Scipy build: _cephes.so linked with libraries in wrong order

Currently, when building Scipy with bento, the _cephes.so extension is linked so that -lgfortran comes before the -lsc_* static libraries. This apparently causes some symbols to go missing; adding -lgfortran to the end of the link stanza fixes the issue. I'm not sure if this is a waf or Bento bug.

CC'ing myself


Revert "fix fix auto partition load lost data in multi sender (#35287)"

Reverts apache/doris#35630 because it brought some more damaging bugs. we will fix it and merge in next version

run buildall


Update README.md

It's actually localforage - it's a Mozilla project https://www.npmjs.com/package/localforage

I guess the latest project reference is https://github.com/GroundMeteor/db/tree/grounddb-caching-2016


feat(rpc): Implement testing suit for estimate message fee method

feat(rpc): Implement testing suit for estimate message fee method
Please implement tests for the starknet_estimateMessageFee method as implemented here and referenced in the official JSON-RPC specs

I can take it sir !


[FEATURE] Add "none" option to borderSkipped for bar chart

Expected Behavior
Have the option to skip NO border stroke of a bar from bar chart. (option borderSkipped)
Current Behavior
borderSkipped can only be set to 'bottom', 'left', 'top' or 'right'.
For stacked (horizontal) bar charts, skipping a border creates a "hole" at the bar if the previous dataset is transparent (for example when creating a custom Gantt chart):

Possible Solution
Add value 'none', 'false' or similar to the borderSkipped option
Context
I created a Gantt chart (horizontal bar chart with four datasets (two for data, two for offset values)), which works fine so far (see picture above).
The first data is the blue bar, the second data is a bar without background color, but a red border (to show deviations of the two values).
I have two X axes (one for data & offset each) and one Y axis.
The problem is ChartJS' barSkipped option: It removes one border stroke (bottom, left, top or right), but I need to show ALL strokes for this use case.
Environment

Chart.js version: 2.7.2
Browser name and version: all

There is a pending PR to add this enhancement: https://github.com/chartjs/Chart.js/pull/5262


Blob values did not saved in yaml files

Steps to reproduce:
Configure unicorn to store items from Media library
Upload video item as blob into media library (default sitecore behavior)
Expected result: Base64 value stored in yaml file
Actual result: Blob id stored in yaml file

Thanks for the issue report. I was able to reproduce it and fix it. This is part of Unicorn 3.1b11, on NuGet now.
The root cause was due to the fix added in 3.1 to adapt to how Sitecore installs packages. The code to handle the partial data sent by packages was not aware of how to correctly read a blob field.

I did face similar issue, does this fix also solve this problem aswell.
master:/sitecore/media library/Globus/Portal/General Site Images/banner (217c8c69-1a69-46b5-a58d-8b684ef73811)
...Configuration\medialibrary\globus\Portal\General Site Images\banner.yml

DeserializationException: Failed to paste item: /sitecore/media library/Globus/Portal/General Site Images/banner
InvalidOperationException: Field 40e50ed9-ba07-4702-992e-a912738d32dc is a blob field, but it had no blob ID.

Yes, but you'll need to reserialize that item to get the blob id and blob
data into the yaml.
On Thu, Jan 21, 2016 at 9:26 PM Sivalingaamorthy<EMAIL_ADDRESS>wrote:

I did face similar issue, does this fix also solve this problem aswell.
master:/sitecore/media library/Globus/Portal/General Site Images/banner
(217c8c69-1a69-46b5-a58d-8b684ef73811)
...Configuration\medialibrary\globus\Portal\General Site Images\banner.yml
DeserializationException: Failed to paste item: /sitecore/media
library/Globus/Portal/General Site Images/banner
InvalidOperationException: Field 40e50ed9-ba07-4702-992e-a912738d32dc is a
blob field, but it had no blob ID.
—
Reply to this email directly or view it on GitHub
https://github.com/kamsar/Unicorn/issues/102#issuecomment-173815810.

This is fixed in 3.1 final.


Support Environment variables in settings/  SSH Config files

Syncing SSH Configs and Keys using OneDrive for Business to facilitate syncing the config file on a laptop on desktop.
Two issues arise, depending on the time frame the user profile is created/ existing profiles EntraID does not necessarily use the same profile name.  For example, on my laptop it's just my first name all lower caps.  Recently rebuilt my workstation and the profile uses my full name.  Second issue, on my desktop I have my profile relocated on a large SSD so all my SharePoint/ OD files are always available with a custom path/ drive letter. One the laptop it's using default C:.
The issue is with the SSH config location un-synced, I'd have to manage two separate config files for each device using the correct paths pointing to the key folder which I'm also keeping within my personal OneDrive store.  If I could use %OneDriveCommercial% in file paths within the config file and settings I'd be able to work around these issues.

We don't do anything custom with the ssh config file- we only invoke ssh which reads your config file as normal.


Test/451 auto reload

Monika Pull Request (PR)
What feature/issue does this PR add

add prod test cases
add detect config changes
Closing #451

How did you implement / how did you fix it

How to test

npm run prod_test

will re do


Show featured attachment metadata on summary & reorder pages

Summary page:

Reorder page*:

Current
Design

* This doesn't quite match the designs, which I assume have changed since it was created. But I believe it's a reasonable MVP we can iterate later. Here is the design:
Trello: https://trello.com/c/a5SwDzjX/1440-show-featured-attachment-metadata-when-reordering-and-on-the-document-summary

Thanks for all the effort on the comments, @ChrisBAshton! I'll try and summarise where I think we are. There a couple of things we ought to do before this goes in:

We should consider raising the numbering issue with the design system team, so the semantic issue with the component doesn't get lost when this gets merged.

We should document the work left to do here, or add an extra commit if it's not too hard. I'm referring to the comment in the description that this doesn't match the designs.

I've now left a comment in the Design System.
The frontend work to get it matching the designs is not trivial, so we'll have to leave it for the time being. I don't know where best to document that it doesn't yet match the design - perhaps I could write up a quick Trello card showing the 'current' vs 'desired' screenshots?

Thanks @ChrisBAshton. Can we add some screenshots to this PR to clarify the comment in the description (this PR vs. the design)? Since I'm not sure what the discprepancies are, it's hard for me to make a suggestion about what to do next. We probably don't need another card, though: we could include this information in the current one, tick off what's been done, and move it back to 'Todo'.

Done @benthorner 👍


Rely: Performance testing?

A key value proposition of native reason is performance - and the tooling can help significantly in that regard.
I think that rely could help serve this by providing faculty for performance tests. There are two main use cases:

Ensuring something that is supposed to be fast & efficient actually is fast & efficient
Ensuring that performance doesn't regress over time

Without proper benchmarking place - it's really easy for performance of features to atrophy. It's tough to measure it all the time and easy to make a change that breaks performance.
rely could help this by providing a way to specify performance tests. These would have specific goals (ie, < 1ms execution time, no allocations).
In addition, like snapshot tests, we could output 'performance snapshots' - storing some data about the test execution, and cached on CI. Then, we could compare - were any tests slower than previous runs? Are any all of a sudden allocating more memory? If so, we could flag it as a failure and catch a potential performance regression.
This would be a neat way to do in-depth benchmarking like @jordwalke did for the flex library: https://github.com/jordwalke/flex build-over-build across platforms.
There'd need to be some tuning to minimize noise, but I think with a combination of the two - performance goals, and build-over-build performance snapshots - rely could go a long way in helping both build performant apps and keep apps performant.
Do you think this would be useful? And if so - would it make sense for this to be part of rely, or perhaps a separate layer on-top of rely?

I think this definitely makes sense in rely. At a minimum this seems like it would be fairly straightforward to implement as a custom matcher when we expose that API.
In terms of first class support I have been scoping out the work of separating out code for custom reporters/allowing tests to be run async/in parallel and based on what Jest does I think that it is very probable that we will end up baking in timing data to the internal TestResult and public Reporters API. I'm taking a fair bit of inspiration from https://github.com/facebook/jest/blob/master/types/TestResult.js#L151 for this task

I think this would be great to have. Two things that will be important to take into account though:

Times can be significantly different depending on which machine is running the test
Times can be significantly different when other processes unrelated to Rely are hogging resources


add slides from 2020 meeting in Tromso

The slides at http://talks.bertuch.name/dataverse-k8s-20200124/ are great! They do such a good job introducing the project and explaining the context that I think they should go in the README.
@poikilotherm knows this but they come from https://site.uit.no/dataverseno/european-dataverse-workshop-2020/

@pdurbin, we're going to publish all presentations from the meeting in Tromso, probably it's going to happen next week.

@4tikhonov fantastic! Oh, at that reminds me, I love how I was able to add the "Dataverse in the European Open Science Cloud" talk ( https://www.youtube.com/watch?v=vAPpKuDQUDY ) you and @philippconzett gave at #dataverse2019 to https://dataverse.org/dataversetv because someone recorded it with a phone! More of that, please. :smile:

@pdurbin I'd be happy to include this talk within the guide or similar places, but then I would remove the FZJ branding. Is there a branding from GDCC or similar that I could apply instead?

@poikilotherm sure, maybe you could use the logo below from https://github.com/GlobalDataverseCommunityConsortium

If anyone knows where the SVG version is, please let me know!

Done as part of #207


PostgresQL functions/triggers are not synced to local after init --remote

Steps to reproduce:

Create a new app on nhost dashboard.
Open Hasura, then:

Create a new table, for example, profiles with 2 UUID columns id and user_id.
Add function, create a trigger, for example in my case, I made a sync trigger:

CREATE OR REPLACE FUNCTION sync_user_profile() RETURNS TRIGGER AS
$BODY$
BEGIN
    INSERT INTO
        public.profiles(id, user_id)
        VALUES(new.id, new.id);

        RETURN new;
END;
$BODY$
language plpgsql;

CREATE TRIGGER trigger_sync
     AFTER INSERT ON auth.users
     FOR EACH ROW
     EXECUTE PROCEDURE sync_user_profile();

Test by inserting a user row, it works fine as a new profile row was created.
Init the project locally with nhost init --remote and select the recently created app.
The app running on local will have a profiles table, but the users table lost trigger.

Currently I have to work around by creating the function locally again. But the trigger can not be migrated as trigger does not have CREATE OR REPLACE.

This has been fixed in our CLI (https://github.com/nhost/cli/pull/324). Please upgrade the CLI (sudo nhost upgrade) and try again.


Launch List can not be displayed correctly

VSCode Version: Code 1.11.0 (9122ec4b1068bd391e41974f46a4b54c1b9c90f9, 2017-04-05T20:52:01.201Z)
OS Version: Darwin x64 14.5.0
Extensions:

Extension
Author
Version

quick-open-file
AlanWalk
0.1.0

cpptools
ms-vscode
0.10.5

I create a new extension by yo, I cannot select Launch Tests when I try to run unit test.
Then I found that they were able to be selected, but the list was not displayed correctly.
Steps to Reproduce:
Please see this video: http://take.ms/ZOlWq

I do not know why, this issue suddenly disappeared, and I can not reproduce it.

I never saw it behave like that and I can not reproduce.
Also when that happens do other drop down boxes also not work? For instance the one in the output panel?
Closing until you can reproduce again


Flag magic usage errors as failures

Related to https://github.com/treebeardtech/nbmake/issues/80

I'm a little late to the party, but I noticed you all aren't using a notebook review tool and wanted to invite you to review this pull request with GitNotebooks: https://gitnotebooks.com/treebeardtech/nbmake/pull/81
It lets you do things like comment on rendered markdown and code cells, so might be an easy win for your PR reviews.


[Feature] Remove dependency to Microsoft Visual C++ 14.0

Describe the Feature
Hello,
I work in enterprise environment without privileged access. I can install "oracledb" package without privileged account
python -m pip install oracledb
However, when installing dbt-oracle, it needs Microsoft Visual C++ 14.0 and thus it needs privileged access.
python -m pip install dbt-oracle
Moreover, it says  building 'cx_Oracle' extension - does it mean that dbt-oracle is still referencing old package, not the new one oracledb
So I don't understand, why oracledb package is installing fine, but dbt-oracle fails, even though under the hood, it fails on the same python package.
Describe alternatives you've considered
None
Who will this benefit?
Everyone without privileged access on Windows 11.
Anything else?
Adding versions:
(dbt-env) C:\Users\BG3828\mlu_repos_personal\dbt_demo>dbt --version Core:  installed: 1.7.11
(dbt-env) C:\Users\BG3828\mlu_repos_personal\dbt_demo>python --version Python 3.11.5

@scanbix
Originally dbt-oracle was built using cx_Oracle. We support both cx_Oracle and oracledb for users to be able to migrate smoothly. By default, dbt-oracle uses oracledb.
We plan to remove cx_Oracle from dependency requirement.
if you have oracledb installed try installing dbt-oracle in the following manner:
python -m pip install dbt-core==1.7.11
python -m pip install --no-dependencies dbt-oracle

This should avoid cx_Oracle


Generate UUID command needs to grayed out if it cannot be worked

when nothing in main window, uuid command(ctrl+alt+shift+u) in edit panel is activated looks like it can be used. but if I command it, there are noting action after command. So I think I need to be grayed out when it cannot be worked.

Ok, thanks for the bug report @PzaThief
The button is really always active.


Help needed: How to do the floor3d full card like in the example videos?

Help needed: How to do the floor3d full card like in the example videos?
The card is quite small.

Hello marrobHD, you need to create a view in Panel mode (it is a switch you need to turn on when creating the view). You can also put a style attribute in the card, this way:
style: 'height: 700px; width: 700px'

Hope  I answered in my comment before

yep you did. I forgot to reply.
Thanks!


Basic ActorCritic Policy

We should probably have a basic actor-critic policy definition for algorithms that'll be based on it. E.g. #17 (DDPG), A2C, etc

Instead of having separate policies.py and values.py files, we can just have one with BaseActor, BaseCritic and 'BaseActorCritic and different policies inheriting from those. Does this match up with what you were planning?


[DRAFT][PROTON] Init Proton

[x] Refactor proton installation. We should use the same version of pybind11
[x] jsoncpp can be downloaded instead of added into the repo

Co-authored-by: Philippe Tillet<EMAIL_ADDRESS>Co-authored-by: Hai Duong<EMAIL_ADDRESS>

Nice!
Can we download dependencies (e.g. json.hpp) the same way we download pybind11? https://github.com/openai/triton/blob/main/python/setup.py#L119

Can we download dependencies (e.g. json.hpp) the same way we download pybind11?

Given how much flakiness we've had with downloading dependencies, why wouldn't we want to check it in (or use a git submodule)?

(I know there was some recent concern about the size of the Triton repo, but text files are cheap in git; it's everything else that causes the problem IME.)

(I know there was some recent concern about the size of the Triton repo, but text files are cheap in git; it's everything else that causes the problem IME.)

I followed the old style to download the releases from github. If needed, we can replace all these dependencies with submodules.

I followed the old style to download the releases from github. If needed, we can replace all these dependencies with submodules.

Given how much trouble we have had downloading files as part of our CI build (this was our main point of flakiness), I feel like it would be a regression to add new files that we download as part of every CI build.  IOW that was the old style, but I think we've learned a lesson that these cause flakiness.
Personally I'd prefer to check them in, or if we decide not to do that, we could make sure that they are cached in CI using the caching mechanism we've added recently.

(i.e. I know git submodules are a pain, so if it's just a few files we could just copy-paste them into the repo, that's fine)

Hi @jlebar, we had a discussion in the group meeting. They mentioned the downloading problem is from packages installed with conda but not those downloaded from Github, so it's probably fine to keep the current infrastructure, considering that checking in may bring license and other issues. What do you think?

Hi @jlebar, we had a discussion in the group meeting. They mentioned the downloading problem is from packages installed with conda but not those downloaded from Github, so it's probably fine to keep the current infrastructure, considering that checking in may bring license and other issues. What do you think?

The single-file json.hpp is 100% MIT licensed https://github.com/nlohmann/json/blob/develop/single_include/nlohmann/json.hpp, so there is no problem including that in our repository.  (I'm actually not aware of any major OSS license where including it in the repo directly as opposed to downloading it is an issue.)
This approach may also open us up to supply-chain attacks.  I don't exactly know how github releases work -- can they be changed afterwards?  We're not verifying the sha256 of the downloaded file, right?
But if this is how people want to do it, then I don't block the PR.

Hi @jlebar, we had a discussion in the group meeting. They mentioned the downloading problem is from packages installed with conda but not those downloaded from Github, so it's probably fine to keep the current infrastructure, considering that checking in may bring license and other issues. What do you think?

The single-file json.hpp is 100% MIT licensed https://github.com/nlohmann/json/blob/develop/single_include/nlohmann/json.hpp, so there is no problem including that in our repository. (I'm actually not aware of any major OSS license where including it in the repo directly as opposed to downloading it is an issue.)
This approach may also open us up to supply-chain attacks. I don't exactly know how github releases work -- can they be changed afterwards? We're not verifying the sha256 of the downloaded file, right?
But if this is how people want to do it, then I don't block the PR.

I convinced Phil that it's worth talking about again at the next meeting, but you should proceed normally for now :)

This approach may also open us up to supply-chain attacks. I don't exactly know how github releases work -- can they be changed afterwards? We're not verifying the sha256 of the downloaded file, right?

That is a valid point. I'm OK either way. Let's see what others' thoughts are.


Can't build anything with pythonbrew on OS X 10.7 Lion

I have tried building python 2.7.1 and 2.7.2 on a clean install of OS X Lion with Xcode 4.1 to no avail. It fails everytime. I have built ruby and perl via RVM and perlbrew fine, so the basic system in sane. This system is a brand new, and had a clean copy of Snow Leopard on it that was upgraded to Lion.
I noticed this blog about issues that were discovered and fixed in perlbrew for Lion. Maybe it is related?
http://www.perlbrew.pl/FixLion.html
I also have the build.log should it be useful.

Failing for me also.

pythonbrew install 3.2.1 yield 4 failed tests:
test_ctypes test_dbm test_distutils test_platform

Same issue here.
Added info to a Gist here: https://gist.github.com/1618234

Obviously the test_platform is wrong.
        if sys.byteorder == 'little':
            self.assertEqual(res[2], 'i386')
        else:
            self.assertEqual(res[2], 'PowerPC')

The platform is listed as x86_64, so this is just a bad test.
The pythonbrew docs even show that this test is wrong.
the default is a 32-bit only binary (i386 and ppc). The flavour can be
specified using the option ``--with-universal-archs=VALUE``. The following
values are available:

  * ``32-bit``:   ``ppc``, ``i386``

  * ``64-bit``:   ``ppc64``, ``x86_64``

  * ``all``:      ``ppc``, ``ppc64``, ``i386``, ``x86_64``

  * ``3-way``:    ``ppc``, ``i386`` and ``x86_64``

  * ``intel``:    ``i386``, ``x86_64``

This test is... strange...
test_distutils
i686-apple-darwin11-llvm-gcc-4.2: /private/var/folders/bz/9564twzd2f95kgzvzvt1w1yr0000gn/T/tmpL4I5DR/foo.so: No such file or directory
test test_distutils failed -- Traceback (most recent call last):
The directories exist down to /T which does not have a /tmp subdirectory.

The more I look at the logs, the more it looks like there are just bad tests in Python. The code built successfully, it's just the tests failing.
I think the best course of action is to just --force install it.

+1
pythonbrew install 2.7.2
OS X 10.7.2
Xcode 4.2 upgraded from 4.1

I upgraded to OS X 10.7.3 yesterday, through AppStore I installed XCode 4.3 (you need to start XCode which triggers the 'real' installer. However, pythonbrew install 2.7.2 was still not working.. so I learned about the trick that will do it (not sure about earlier versions of OSX/XCode though). you need to install the Command Line Tools for XCode then everything seems to work nicely. You can download them either on the http://developer.apple.com website or over the Downloads pane in XCode's preferences.


Guideline on how to use scrapy-playwright based on a real corporative use case

Hey folks.
At the company we work at, BuscoJobs, we applied Scrapy Playwright on 48 spiders.
We have created a guideline (in Spanish) to help users get started with this library. Our intention is that this guideline serve as reference and a starting point for further exploration.
We gladly expect your comments. @fiorellaaguirrezabala, @carlosplanchon
https://docs.google.com/document/d/179CrA-Nb68JmmMrlD0wycmGxKM9kjpZIDXEp0AMZ7No/edit?usp=sharing

Wow! It'd be great if we could all learn from it if it were in English. Is it possible to reproduce this in English and the code saved Python files in a GitHub project?

Hey! The repository is already available in English, and you can access it on GitHub. Here's the link. Feel free to explore and let me know if you have any questions or suggestions.

@rukshar69  ^


Display different layout in MJML App Preview and Outlook

I have designed an email where you can see from here , the problem is happening in footer social icons and download buttons. The MJML App is displayed the design perfectly, however when I tried to send a test email and view in different email platform, I found out Outlook Desktop in Windows 11 and Outlook App in Windows 11 are showing different layout in footer compared to Outlook Web.
Does anyone know what happened? Is the problem happened in my mjml code?
Reproduction Steps:

View in https://mjml.io/try-it-live/DQKtKaUgO
Copy over the MJML code to MJML Desktop App
Send test email to your own email
Open in Outlook App Desktop and Outlook Web to see the difference.

Expected behavior:

The "Connect with us" and social icons should be up and down instead of left and right
Observed behavior:

This is what happened in Outlook Desktop App.
MJML version:
MJML Version 4.12.0
Email clients the bug is seen on:

Outlook Desktop in Windows 11
Outlook Desktop App in Windows 11

You have more than 100% of content inside your group. Browser know how to handle this but  not Outlook.
You can just do a 2 column layout with 1 mj-text + 1 mj-social for each.

@iRyusa may be can you show me an example for this?

https://mjml.io/try-it-live/YtKHhCvnv

@iRyusa is it possible to change the social element to my own icon in this case?

Yes, everything is mentioned in the doc of mj-social

@iRyusa I tried to make the icon with rectangular size, seems like it doesn't work even I set the icon-size, the icon is still in square form with the empty space for top and bottom of the image, any other way to achieve this?


⚠ Bofrost.fr has degraded performance

In 3707544, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 950 ms

Resolved: Bofrost.fr performance has improved in 2baa802.


Added dashboards for kibana

Kibana4 can't import our old json file anymore.
To keep the same features as the previous kibana role, we have to
recreate for kibana 4:

Visualisations
Dashboard
Logstash
Default Index
Default Search

This cannot be done by creating json files and uploading them in a
folder.
Two choices were possible: use elasticdump (a third party cli in
js running with node) or do manual http calls.
This commit implements the latest by:

Discovering the latest version of Kibana installed
Exporting a version of the items listed above after manual generation
Enabled the binding of ES on localhost for debugging purposes
Importing the items above by directly reaching ES from the kibana
nodes.

Connects rcbops/u-suk-dev#179
Signed-off-by: Jean-Philippe Evrard<EMAIL_ADDRESS>

RPC-AIO-Ceph-Liberty-PR: Fail

RPC-AIO-Liberty-PR: Fail

As a co-author, I can't review this, and at this point I've made some significant changes to @evrardjp's work. Tagging in @mattt416 @git-harry and @d34dh0r53 to do the review. You should all be able to use this AIO to verify that this sets things up as we expect. I heartily encourage you to spin up your own AIO though.

Once the Home dashboard is loaded the following visualisation don’t appear to work:

OpenStack API Response Times (Median vs Average vs Min)

OpenStack API Response Times

They both have the error ‘Could not locate that index-pattern-field (id: httptime)’

There's no release note, I think it would be worth mentioning the changes in one.
Where their any specific acceptance criteria for this? I've spun up an AIO and apart from the issue mentioned in the previous comment I see graphs and data that look appropriate but not sure how to make any assessment beyond that.
https://github.com/rcbops/rpc-openstack/blob/master/rpcd/playbooks/roles/kibana/tasks/kibana_post_install.yml#L130-L141 should probably be removed but only a nit so not vital for this commit.

The Home dashboard didn’t load automatically, I had to manually load it from the saved list.

I wasn't aware this was a requirement.

They both have the error ‘Could not locate that index-pattern-field (id: httptime)’

Interesting. I haven't seen that error.

Where their any specific acceptance criteria for this?

I wasn't aware of any. I don't think @evrardjp had his hands on any. Maybe @d34dh0r53 knows of AC for this or @b3rnard0?

https://github.com/rcbops/rpc-openstack/blob/master/rpcd/playbooks/roles/kibana/tasks/kibana_post_install.yml#L130-L141 should probably be removed but only a nit so not vital for this commit.

I'll remove that cruft with the addition of the release note (although I'm not exactly sure what you want the release note to say other than Kibana was upgraded and we upgraded the visualizations with it).

The Home dashboard didn’t load automatically, I had to manually load it from the saved list.

I wasn't aware this was a requirement.

I wasn't suggesting it was, just pointing out in case it should go there by default.

They both have the error ‘Could not locate that index-pattern-field (id: httptime)’

Interesting. I haven't seen that error.

Where their any specific acceptance criteria for this?

I wasn't aware of any. I don't think @evrardjp had his hands on any. Maybe @d34dh0r53 knows of AC for this or @b3rnard0?

https://github.com/rcbops/rpc-openstack/blob/master/rpcd/playbooks/roles/kibana/tasks/kibana_post_install.yml#L130-L141 should probably be removed but only a nit so not vital for this commit.

I'll remove that cruft with the addition of the release note (although I'm not exactly sure what you want the release note to say other than Kibana was upgraded and we upgraded the visualizations with it).

I've not done a comparison between this and Liberty but I think that should probably do it.

There wasn't any really specific AC other than essentially recreating what we had with the previous iteration of ELK.

So this last update:

Adds a release note,
Adds "Home-dashboard" as the default App Id,
Removes Sheps' commented out task

@d34dh0r53 @sigmavirus24 @git-harry I'm not aware of any specific acceptance criteria around the Home dashboard. Makes sense to mark this as a known issue and to try get additional feedback from Support (@BjoernT) around specific requirements. Lesson learned for future technical debt items.

Also to note,

I've not done a comparison between this and Liberty but I think that should probably do it.

Neither have I. I was trusting that @evrardjp did the update well and didn't miss anything. I suppose one of us should perform a comparison between the two. You might note that there's one extra graph and that's because the response time graph is not quite so useful without a bit of context around the percentiles graph I added next to it.

👍

I have deployed this on an 8 GB AIO.  Inititally I was able to load the dashboard but then eventually some processes were killed due to OOM.  I am redeploying on a 16 GB instance and will do some further testing after that, but I do not know enough about the ELK stack to comment further on this review.

:+1:


Correction and Suggestion

I add the '' after --fees and suggest to add 'delegate keys mnemonic' in the '--cosmos-phase'
Thanks

Thanks this is great!


Disable ListView onKeyboardClick on empty cursor

PR includes

[x] Bug Fix

Related issues

Resolve #783

/canary


New Feature ✨: Enable Request Term

Description:

Activate the term submission feature to capture user-requested terms.
Store submitted terms in the database and display them under a new "Requested" tab.
Sort the list of requested terms by the date.
Prevent the display of these terms in the main tabs; they should only appear in the "Requested" tab.
If the term in the database has no definition, automatically categorize it as "requested" over using the current "visible" true/false field.

bonus item: create upvote

Working on the endpoint for this rq


drivers: mcpwm: esp32: Driver update for new HAL

Remove deprecated functions to comply with new HAL versions.
Update clock configuration to support newer devices.

LGTM

had to rebase due to CI errors


webpack-isomorphic-tools::development() method deprecated

Got this error after running npm run start-dev
[webpack-isomorphic-tools] [error] `.development()` method is now deprecated
(for server-side instance only, not for webpack plugin instance) and has no effect.
Set up a proper `process.env.NODE_ENV` variable instead: it should be
"production" for production, otherwise it assumes development.
The currently used mode is: development.
`process.env.NODE_ENV is: development

unsure if this is webpack-isomorphic-tools or this repo or what not it's late

On bin/server.js you should try to remove '.development()'.

And try to use this folk repo https://github.com/bertho-zero/react-redux-universal-hot-example. It's updated.


Add Catalan, add one Italian sentence, fix French typo, fix typo in comments, fix comments

Hi, thanks for the PR!
I have just updated the files from master as there were some missing translations and I've also fixed your merge conflicts for you, could you please go through the files you changed one more time and update some of the strings that are missing translations? Thanks!

Hi there Joni, sorry for the delay, here you go!

Hey all, the new 3.0.0 version has changed most of the interface and localization strings (this is true for existing localizations as well), so we'll need to refresh the translation files. It would be best to start from the new strings as a baseline and do a pull request based on that.
Because of this, I'll close this PR for now, but please feel free to comment if you think an other approach would be more beneficial.
Thank you!


update readme(ts) for arm-advisor path

The path update is in reference to the github issue Azure/azure-sdk-for-js#2097
Please review Azure/azure-sdk-for-js#2097 as well
@salameer @daschult @kpajdzik @Azure/azure-sdk-eng

Automation for azure-sdk-for-go

Automation for azure-sdk-for-python

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-js

Can one of the admins verify this patch?

Automation for azure-sdk-for-net
A PR has been created for you:
https://github.com/azure/azure-sdk-for-net/pull/5742
.NET SDK Commits:
https://github.com/adxsdknet/azure-sdk-for-net/pull/5742/commits/a348bd7748f4ae94553785b1a737a84093b9d9a3

Automation for azure-sdk-for-java


Run failedin windows

fail to run in windows
operation: try to decode base64 (I have base64 installed in windows)
Error:
E5108: Error executing lua: ...m-data/lazy/whop.nvim/lua/telescope/_extensions/whop.lua:32: Error executing lua: vim/_editor.lua:418:
nvim_exec2(): Vim(!):E485: Can't read file C:\Users\xxx\AppData\Local\Temp\nvim.0\wdDyRT\1
stack traceback:
[C]: in function 'nvim_exec2'
vim/_editor.lua:418: in function 'cmd'
C:/dev/nvim/nvim-data/lazy/whop.nvim/lua/whop/init.lua:147: in function 'run_cmd'
...m-data/lazy/whop.nvim/lua/telescope/_extensions/whop.lua:33: in function <...m-data/lazy/whop.nvim/lua/telescope/_extension
s/whop.lua:32>
[C]: in function 'nvim_buf_call'
...m-data/lazy/whop.nvim/lua/telescope/_extensions/whop.lua:32: in function 'key_func'
...nvim-data/lazy/telescope.nvim/lua/telescope/mappings.lua:257: in function <...nvim-data/lazy/telescope.nvim/lua/telescope/m
appings.lua:256>
stack traceback:
[C]: in function 'nvim_buf_call'
...m-data/lazy/whop.nvim/lua/telescope/_extensions/whop.lua:32: in function 'key_func'
...nvim-data/lazy/telescope.nvim/lua/telescope/mappings.lua:257: in function <...nvim-data/lazy/telescope.nvim/lua/telescope/m
appings.lua:256>

Hi! Thank you for reporting.
What happens when you run %!base64 -d as a plain vim command? If the error is the same, than I suggest looking into the specifics of base64 on Windows.
I don't have a Windows machine at the moment, so I can't reproduce it. Feel free to submit a PR if you find anything.

Closing due to inactivity.


Convert BLE Mesh bridge platform directory into a component

Could you make that directory into a component so that it will automatic update in my custom app when I pull esp-matter? The way it is currently have to manually copy it after each pull.

@jonsmirl The external platform source code is user specific, so we will not provide official external platform code (in components). The external platform directory in blemesh_bridge is specific to the example, but won't work for other use cases. Also, we don't expect our customers changing anything in components folder.
If you don't need to change anything in the BLE Mesh bridge platform directory, you can simply set the CONFIG_CHIP_EXTERNAL_PLATFORM_DIR to the same directory;
Otherwise, you should maintain you own platform code, and use softlink for most of the files, just maintain the custom souce files.


Opening URLs with open under Yosemite fails

I've been using tmux and reattach-to-user-namespace for a long time now (thanks a lot for your work!) and the combination worked flawlessly, until my upgrade to Yosemite. Now I get this error, when trying to open a URL (this is inside a tmux session):
% reattach-to-user-namespace -v
reattach-to-user-namespace version 2.3
    Supported OSes: OS X 10.5-10.10
% open http://www.google.com
LSOpenURLsWithRole() failed with error -600 for the URL http://www.google.com.
% echo 'foobar' | pbcopy
% foobar

My tmux configuration contains this line:
set-option -g default-command "which reattach-to-user-namespace >/dev/null && reattach-to-user-namespace -l $SHELL || $SHELL"

And that works with pbcopy and pbpaste, but fails with open.
The open commands also works outside of tmux.
Now, I'm not too sure if this project is the right place for this issue, but it seems like that every other issue recommends looking at reattach-to-usre-namespace.
I already had that installed and in use for a long time, I'm on the latest version too, so I thought I'd open this issue to see if we can get to the bottom of this.
If you need any more information, please tell me!

I just thought I'd update the status of this issue here: it all works. I'm currently on 10.10.4, using tmux 2.0 and reattach-to-user-namespace 2.4. Maybe one of the Yosemite upgrades fixed this along the way.

FWIW, I'm on 10.10.4, using Tmux 2.0, and reattach-to-user-namespace 2.4, and I periodically run into the same issue; restarting the Tmux server fixes the issue.
I also can't reproduce the bug though, so I don't know if this is of any use.

I'm running into this exact issue using tmux 2.0 and OSX 10.11.6. Specifically:

open ANY_URL fails with LSOpenURLsWithRole() failed with error -600 for the URL http://google.com.
ssh-agent stops working
If I quit all tmux sessions, open URL works again

Here's my tmux.conf.


feat(lint): mention origin template to the linted file output

Current dependencies on/for this PR:

main

PR #69

PR #70

PR #72
PR #71

PR #73

PR #74

PR #75

PR #76   👈

This comment was auto-generated by Graphite.

Current dependencies on/for this PR:

main

PR #69

PR #70

PR #72
PR #71

PR #73

PR #74

PR #75

PR #76   👈

This comment was auto-generated by Graphite.

Current dependencies on/for this PR:

main

PR #69

PR #70

PR #72
PR #71

PR #73

PR #74

PR #75

PR #76   👈

This comment was auto-generated by Graphite.

@pevisscher queued this pull request to merge with Graphite.

@pevisscher merged this pull request with Graphite.


Failures on [vm/concurrency] Guard Field::length updates.

There are new test failures on [vm/concurrency] Guard Field::length updates..
The tests
standalone_2/io/regress_flutter_57125_test Timeout (expected Pass)

are failing on configurations
app_jitk-linux-release-x64

Log: https://dart-ci.appspot.com/log/app-kernel-linux-release-x64/app_jitk-linux-release-x64/10130/standalone_2/io/regress_flutter_57125_test
--- Command "app_jit" (took 02.000801s):
DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart --snapshot=/b/s/w/ir/out/ReleaseX64/generated_compilations/app_jitk/tests_standalone_2_io_regress_flutter_57125_test/out.jitsnapshot --snapshot-kind=app-jit --ignore-unrecognized-flags --packages=/b/s/w/ir/.packages /b/s/w/ir/tests/standalone_2/io/regress_flutter_57125_test.dart

exit code:
0

--- Command "vm" (took 01:01.000228s):
DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart --ignore-unrecognized-flags --packages=/b/s/w/ir/.packages /b/s/w/ir/out/ReleaseX64/generated_compilations/app_jitk/tests_standalone_2_io_regress_flutter_57125_test/out.jitsnapshot

exit code:
null

diagnostics:
Process list including children: [18470]
Trying to capture stack trace for pid 18470
PID 18470 - process
TID 18470:
#0  0x00007fc511b70360 pthread_cond_wait@@GLIBC_2.3.2
#1  0x0000564340c53b08 dart::Monitor::WaitMicros(long)
#2  0x00005643410d3d7a Dart_RunLoop
#3  0x00005643409cb552 dart::bin::RunMainIsolate(char const*, char const*, dart::bin::CommandLineOptions*)
#4  0x00005643409cc534 dart::bin::main(int, char**)
#5  0x00005643409cd16d main
#6  0x00007fc5114b0840 __libc_start_main
#7  0x00005643409c5f69 _start
TID 18473:
#0  0x00007fc511597ad3 epoll_wait
#1  0x00005643409cf058 dart::bin::EventHandlerImplementation::Poll(unsigned long)
#2  0x0000564340b14825 dart::bin::ThreadStart(void*)
#3  0x00007fc511b6a6ba start_thread
#4  0x00007fc5115974dd __clone
TID 18474:
#0  0x00007fc511b70709 pthread_cond_timedwait@@GLIBC_2.3.2
#1  0x0000564340c53af0 dart::Monitor::WaitMicros(long)
#2  0x0000564340cd95ef dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)
#3  0x0000564340cd99ec dart::ThreadPool::Worker::Main(unsigned long)
#4  0x0000564340c533bd dart::ThreadStart(void*)
#5  0x00007fc511b6a6ba start_thread
#6  0x00007fc5115974dd __clone
TID 18475:
#0  0x00007fc511b70360 pthread_cond_wait@@GLIBC_2.3.2
#1  0x0000564340c53b08 dart::Monitor::WaitMicros(long)
#2  0x0000564340cefea8 dart::BackgroundCompiler::Run()
#3  0x0000564340cd9518 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)
#4  0x0000564340cd99ec dart::ThreadPool::Worker::Main(unsigned long)
#5  0x0000564340c533bd dart::ThreadStart(void*)
#6  0x00007fc511b6a6ba start_thread
#7  0x00007fc5115974dd __clone
TID 18476:
#0  0x00007fc511b70709 pthread_cond_timedwait@@GLIBC_2.3.2
#1  0x0000564340c53af0 dart::Monitor::WaitMicros(long)
#2  0x0000564340cd95ef dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)
#3  0x0000564340cd99ec dart::ThreadPool::Worker::Main(unsigned long)
#4  0x0000564340c533bd dart::ThreadStart(void*)
#5  0x00007fc511b6a6ba start_thread
#6  0x00007fc5115974dd __clone
TID 18477:
#0  0x00007fc511b7149f pthread_sigmask
#1  0x0000564340b0d446 dart::bin::FDUtils::WriteToBlocking(int, void const*, unsigned long)
#2  0x00005643409ce6a6 dart::bin::EventHandlerImplementation::SendData(long, long, long)
#3  0x00005643409cdf09 dart::bin::Builtin_EventHandler_SendData(_Dart_NativeArguments*)
#4  0x0000564340bd1f4e dart::NativeEntry::AutoScopeNativeCallWrapperNoStackCheck(_Dart_NativeArguments*, void (*)(_Dart_NativeArguments*))
#5  0x00007fc510b82414
TID 18479:
#0  0x00007fc511b70360 pthread_cond_wait@@GLIBC_2.3.2
#1  0x0000564340b14ef8 dart::bin::Monitor::WaitMicros(long)
#2  0x00005643409d5b01 dart::bin::ExitCodeHandler::ExitCodeHandlerEntry(unsigned long)
#3  0x0000564340b14825 dart::bin::ThreadStart(void*)
#4  0x00007fc511b6a6ba start_thread
#5  0x00007fc5115974dd __clone

eu-stack: dwfl_thread_getframes tid 18477 at 0x7fc510b82413 in /memfd:dart-codespace (deleted): Callback returned failure

--- Re-run this test:
python tools/test.py -n app_jitk-linux-release-x64 standalone_2/io/regress_flutter_57125_test

@aam Could you please take a look?

I don't think this was caused by my recent change - it reproduces with some effort on previous cls too.

I believe the test is flaky as it seems possible for the process to exit without stdin getting SocketException. @sortie @lrhn could you take a look please? (the test was introduced in https://dart-review.googlesource.com/c/sdk/+/148063)

@aam You're right, standalone_2/io/regress_flutter_57125_test is flaky. In fact, it passed 5 times on your CL during deflaking step, so it should not have turned bot red. It seems like an infra bug, also seen on other bots and CLs. Closing as duplicate to https://github.com/dart-lang/sdk/issues/44352 (unless @sortie or @lrhn want to chase and fix this flaky failure).

I'd prefer to leave that to someone qualified in OS internals.


ExpectContinue property

Env: hadoop 2.8.5
when use UploadFile() API,
hadoop will return "HTTP/1.1 100 Continue" before "HTTP/1.1 201 Created"
ExpectContinue need to be set true to get 201 otherwise EnsureSuccessStatusCode will throw an exception.

What is the error you are getting when using the library?

When I use UploadFile()
An exception throw shows "HttpRequestException: Response status code does not indicate success: 100 (Continue)."
After look into, server return 100 continue before 201.
===================
HTTP/1.1 100 Continue
HTTP/1.1 201 Created
Location: hdfs://localhost:9000/tmp/1.txt
Content-Length: 0
Connection: close

Ah I see. I'm guessing this is without something like Apache Knox between your client and WebHDFS. I'm not sure if this is something where we can make sure we don't send the ExpectContinue header in the http client. I would hope the server doesn't just automatically return a "100 Continue" even if we don't ask for it. Can you put together a pull request to address the issue?


Use tla_python parser

At the moment we are using the Sany parser, by calling Apalache's parse command.
This works, however, we need to extract information from the input and it is slow.
Instead, we shuld use this Python parses for TLA+.
On top of giving us info on whether a file parses or not, it will also give information about variables, constants, files that the main tla file extends (addressing the issue #182 ) etc.

After getting deeper into the task, I encountered several problems:

the parser will only parse contents of a single file out of the box. (It will provide information about which are the files extendees and instancees, though.) We would still need to handle the logic of putting all those files together and, based on the error message, figuring out the location of the error in each individual file. We get all of these for free in Sany
error messages seem to be less informative than the ones we get from Sany

Based on these problems, I suggest to give up on this issue (unless a more convincing reason for using this parser exists)

@danwt , would like to hear your take on this (in case I overlooked something in the tla_python parser)

the parser will only parse contents of a single file out of the box. (

Correct, it's a parser not an interpreter.

error messages seem to be less informative than the ones we get from Sany

That could well be.

Based on these problems, I suggest to give up on this issue

I don't know to be honest. You might find SANY ok. You could try to extract the sany code from the rest of the tlaplus/ code (link).
I experimented with the CLI and got sany to dump json. However @konnov warned me that they spent years in Apalache to properly use SANY's output. That's why I opted for tla_python.

We would still need to handle the logic of putting all those files together and, based on the error message, figuring out the location of the error in each individual file

Yeah that sucks, but AFAIK when it comes to TLA+ code manipulation, there are no easy answers.
A while ago I made an issue discussing the parsing options, and @konnov and @shonfeder  participated. I cannot find it for the life of me! Does anybody have any clue (@andrey-kuprianov)?

At the moment we are using the Sany parser, by calling Apalache's parse command.
This works, however, we need to extract information from the input and it is slow.

Do you know the source of the slowdown? Is it just bootstrapping JVM and Scala? If so, parsing may be the first command that we should integrate in the server mode. /cc @shonfeder

Is it just bootstrapping JVM and Scala?

Yes, exactly that.


RSA key generator calls new SecureRandom() with no algorithm name

From @shepheb on February 26, 2014 19:31
If one calls init() on an RSAKeyGenerator without supplying a randomizer, it tries to call new SecureRandom(), which fails because it doesn't specify an algorithm name, and "" is not a valid algorithm.
This can be worked around, of course, by supplying a randomizer oneself. But either the fallback should work, or the caller should be required to supply one.
Copied from original issue: izaera/cipher#65

From @izaera on February 26, 2014 19:38
Right now I don't want to provide a default SecureRandom because we don't have an standard entropy source in Dart and the two provided by cipher are not easily usable.
But you can pass a ParametersWithRandom in init() and provide the SecureRandom yourself. See the table here:
https://github.com/izaera/cipher/wiki/Table-of-provided-algorithms
for a description of what parameters can be used for each algorithm. See this example passing a ParametersWithRandom to RSA:
https://github.com/izaera/cipher/blob/master/test/signers/rsa_signer_test.dart
You can use the "Block cipher used in CTR mode" as SecureRandom implementation if you wish. See the example of use here:
https://github.com/izaera/cipher/blob/master/test/random/block_ctr_random_test.dart
The caveat is that you have to seed it with true entropy for the key and/or IV values. I would be interested in knowing how you generate your entropy. Please consider giving me feedback about it. Thanks.

From @izaera on February 26, 2014 19:39
You can of course use the two EntropySources provided by cipher, one reads from a file (can be used with /dev/random) and the other from a URL (can be used with random.org, though it is not secure).
I mean to get the entropy for the key and IV.

From @izaera on February 26, 2014 20:21
Good :-).
Nevertheless maybe you are interested in starring this bug I created: https://code.google.com/p/dart/issues/detail?id=15064
I'll close this bug. If you have any problems, reopen another one.

From @shepheb on February 26, 2014 19:56
Since I'm generating a key for authenticating with ADB (the Android Debug Bridge) over USB, the security of the key is not vital. I don't know of any entropy source even in a Chrome App, and certainly not on the web.
However! In my specific case, I do have a source of mediocre entropy to use. It just occurred to me: the Android device generates a random string of 20 bytes as a nonce token for the host computer to sign and return in order to authenticate. I could use that token, and probably the current time, as a decently random string. Again, that's hardly bulletproof entropy, but it's unpredictable and secure enough for Android debugging - it's just there to stop a charging station from hijacking your device.


bootstrap-datetimepicker: Cannot read property 'addClass' of undefined

Laravel Version: 5.5.34
Voyager Version: 1.0.15
PHP Version: 7.1
Database Driver & Version: MySQL
Browser: Chrome 63.0.3239.132 (dev, 64bit)
System: Windows 10

Description:
I don't change anyone edit view...

Error

jQuery.Deferred exception: Cannot read property 'addClass' of undefined TypeError: Cannot read property 'addClass' of undefined
    at o.init (https://partner.smfamily.ru/vendor/tcg/voyager/assets/js/app.js:77:1615)
    at new o (https://partner.smfamily.ru/vendor/tcg/voyager/assets/js/app.js:77:856)
    at HTMLInputElement.<anonymous> (https://partner.smfamily.ru/vendor/tcg/voyager/assets/js/app.js:77:16669)
    at Function.each (https://partner.smfamily.ru/vendor/tcg/voyager/assets/js/app.js:14:14819)
    at ye.fn.init.each (https://partner.smfamily.ru/vendor/tcg/voyager/assets/js/app.js:14:13082)
    at ye.fn.init.e.fn.datetimepicker (https://partner.smfamily.ru/vendor/tcg/voyager/assets/js/app.js:77:16559)
    at HTMLDocument.<anonymous> (https://partner.smfamily.ru/vendor/tcg/voyager/assets/js/app.js:24:100854)
    at c (https://partner.smfamily.ru/vendor/tcg/voyager/assets/js/app.js:24:25135)
    at u (https://partner.smfamily.ru/vendor/tcg/voyager/assets/js/app.js:24:25449) undefined
ye.Deferred.exceptionHook @ app.js:24

Link

Steps To Reproduce:

Install Laravel 5.5.34
Install Voyager 1.0.15
Create bread with editable timestamps
Try to edit row of the new bread.

Wow... I'm sorry. This is duplicate (#1806). You can find temporary solution in comments.


simplify Chinese language package for v1.1

simplify Chinese language package for v1.1

Thanks for the package @nicolaslopezj  will review it

Thanks a lot for the PR.
But we have some errors. Please use the structure used in https://github.com/orionjs/orion/blob/v1.1/packages/lang-en/en.js because the one you are using is the old.

I am a newer. May be a short guide for contribution and testing helps a lot.

Translate this gist. https://gist.github.com/nicolaslopezj/12802f6d80dc2385d9d4.
You can publish another gist with Chinese lang or make another pr.
Thanks!


Error when creating new project on gradle compile phase

Hi! I have a gradle dependencies error when generating new project from LibGDX project generator. When i open the resulting project in IDE (Android Studio or IntelliJ) i have the same error and no configurations exists.I use MacOS.
Stacktrace:
Executing '/Users/kirill/Downloads/test/gradlew clean --no-daemon'
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/4.6/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'test'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not find bundletool.jar (com.android.tools.build:bundletool:0.1.0-alpha01).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/tools/build/bundletool/0.1.0-alpha01/bundletool-0.1.0-alpha01.jar
   > Could not find builder-model.jar (com.android.tools.build:builder-model:3.1.0).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/tools/build/builder-model/3.1.0/builder-model-3.1.0.jar
   > Could not find apksig.jar (com.android.tools.build:apksig:3.1.0).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/tools/build/apksig/3.1.0/apksig-3.1.0.jar
   > Could not find baseLibrary.jar (com.android.databinding:baseLibrary:3.1.0).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/databinding/baseLibrary/3.1.0/baseLibrary-3.1.0.jar
   > Could not find annotations.jar (com.android.tools:annotations:26.1.0).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/android/tools/annotations/26.1.0/annotations-26.1.0.jar

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 4s

[ ] Android
[ ] iOS
[ ] MacOS

Can you provide exact reconstruction steps? What settings you are using in the tool, what JDK version, what android SDK version. Also providing the generated project would be good.

java version "1.8.0_144"
Im using sdk from Android Studio:
Android sdk tools 26.1.1
Android sdk platform-tools 28.0.0
screenshot from generating tool: https://drive.google.com/file/d/1_G6kh70hRGO_2L0h8Pj2w1qikUrX3yI5/view?usp=sharing
generated project:
https://drive.google.com/file/d/1NAN_lPWPpcz-SH9JpD_yjSTM7BcVkhA7/view?usp=sharing

Can you try the following:
In your build.gradle switch line 9 and 10.
        jcenter()
        google()

to become
        google()
        jcenter()

After this, run ./gradlew build from command line.

@Shadkirill   Works for me, I'm using Android Studio 3.1.4 and my system is in internet connection.
Downloaded your project
Imported into Android Studio, Tried to refresh for Gradle sync.
Not able to find buildToolsVersion 28.0.2
Changed buildToolsVersion to 27.0.3 from 28.0.2 because I don't have 28.0.2 at that time.
Done
Run on android Device using Run/Debug config. No Problems.


Angular 11: Production build Error: Expected a pseudo-class or pseudo-element

🐞 bug report
Affected Package
Not exactly sure.
Is this a regression?
This bug did not exist in Angular 6.
Description
Recently upgraded from Angular 6 to Angular 11 incrementally using https://update.angular.io. Everything went smooth and Angular runs locally using ng serve but when trying to build a production-build using ng serve --prod it gives just following error:
Error: Expected a pseudo-class or pseudo-element.
When using ng build --prod --verbose=true, it results in lot of logs similar to:
WARNING in Conflict: Multiple assets emit different content to the same filename 3rdpartylicenses.txt

WARNING in Conflict: Multiple assets emit different content to the same filename 3rdpartylicenses.txt

ERROR in Expected a pseudo-class or pseudo-element.
Child mini-css-extract-plugin<EMAIL_ADDRESS>                   Asset      Size  Chunks  Chunk Names
    3rdpartylicenses.txt  42.5 KiB
    Entrypoint mini-css-extract-plugin = *
    chunk    {0} * (mini-css-extract-plugin) 73 KiB [entry] [rendered]
     [24IM]<EMAIL_ADDRESS>70.5 KiB {0} [built]
         ModuleConcatenation bailout: Module uses module.id
         single entry<EMAIL_ADDRESS>mini-css-extract-plugin
     [JPst] ./node_modules/css-loader/dist/runtime/api.js 2.46 KiB {0} [built]
         [only some exports used: default]
         ModuleConcatenation bailout: Module is not an ECMAScript module
         harmony side effect evaluation ../../../css-loader/dist/runtime/api.js [24IM]<EMAIL_ADDRESS>2:0-82
         harmony import specifier ../../../css-loader/dist/runtime/api.js [24IM]<EMAIL_ADDRESS>3:30-57

    LOG from webpack.buildChunkGraph.visitModules
    <t> prepare: 0.013822ms
    <t> visiting: 0.013708ms
Child mini-css-extract-plugin<EMAIL_ADDRESS>                   Asset      Size  Chunks  Chunk Names
    3rdpartylicenses.txt  43.6 KiB
    Entrypoint mini-css-extract-plugin = *
    chunk    {0} * (mini-css-extract-plugin) 220 KiB [entry] [rendered]
     [Hvlo]<EMAIL_ADDRESS>217 KiB {0} [built]
         ModuleConcatenation bailout: Module uses module.id
         single entry<EMAIL_ADDRESS>mini-css-extract-plugin
     [JPst] ./node_modules/css-loader/dist/runtime/api.js 2.46 KiB {0} [built]
         [only some exports used: default]
         ModuleConcatenation bailout: Module is not an ECMAScript module
         harmony side effect evaluation ../../../../css-loader/dist/runtime/api.js [Hvlo]<EMAIL_ADDRESS>2:0-85
         harmony import specifier ../../../../css-loader/dist/runtime/api.js [Hvlo]<EMAIL_ADDRESS>3:30-57

    LOG from webpack.buildChunkGraph.visitModules
    <t> prepare: 0.014615ms
    <t> visiting: 0.011623ms

Angular version: 11 and Node version: 12.16.3
🌍  Your Environment
Angular Version:

Angular CLI: 11.0.3
Node: 12.16.3
OS: darwin x64

Angular: 11.0.3
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Ivy Workspace: Yes

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1100.3
@angular-devkit/build-angular   0.1100.3
@angular-devkit/core            11.0.3
@angular-devkit/schematics      11.0.3
@angular/cdk                    11.0.1
@angular/fire                   6.1.4
@angular/material               11.0.1
@schematics/angular             11.0.3
@schematics/update              0.1100.3
typescript                      4.0.5

Anything else relevant?
This bug did not exist in Angular 6 and we followed all the points in https://update.angular.io but still the production build is failing. Unfortunately, there's no specific file that is referred with the error logs even though verbose=true is mentioned. Dev mode working perfectly.

Thanks @JoostK for transferring this issue to appropriate repository!

In this case we should produce an error with the offending file path.

The error message 'Expected a pseudo-class or pseudo-element.' may suggest a syntax error of pseudo-classes in one of the CSS files.
Example having a space after the : like:
+ ul li:last-child {
- ul li: last-child {

Thanks, @clydin, and @alan-agius4 for the quick fix. However, I'd like to add that I had to make the same change in the JS file instead of the TS file from the PR commit.


PT needs to have a unified theme selection

It is unclear why there are two theme settings. It feels like there should be one global settings as we'd be getting into a lot of edge case permutations.
Environment
Windows build number: 18362.14
PowerToys version: Master->329392b7d6ec98ea133939434f640ffd21beb0f8
PowerToy module for which you are reporting the bug (if applicable): Settings screen

Steps to reproduce

go to settings
go to short cut guide

In the general settings page, the option is only for the Settings app itself, not for the modules.
The current implementation assumes that each module has it's own color setting.
I agree that this is not ideal and it may confuse the users.
We made this choice because for some modules a dark theme may not even be possible (pure Win32 modules), so if we have just a general settings for all modules, it will be confusing to see some that don't actually switch color. Or we can use a global settings and specify in the module settings that the module doesn't support the Dark Mode so at least the users will not be confused.
Ideally all modules will use WPF so a global setting will be consistent for all modules..

Theme and color information should come from the OS, not from individual PTs.  This then will cause everything to become disjointed and we'd have 100 different settings for the same thing.

new settings but shift code to use the global theming in SCG

Following up from #6218. I use a dark theme for Windows and most apps, but PowerToys Run is too hard to see when it's using a dark theme (you can see an example of this in that issue).
I wanted to set PowerToys Run to use the light theme but there's no setting for it. I know consolidating to the system setting was mentioned, but PowerToys is a bundle of smaller applications, each which could, and probably should, have their own settings.
For instance, the shortcut overlay I want to use the system theme since that looks better, but PowerToys Run I want to use a light or custom theme. I haven't used the color picker enough to have an opinion on that, but I could see myself wanting to change that too if it blends in too much.

@xt0rted Issue for PT Run is here: https://github.com/microsoft/PowerToys/issues/7313
A community member did a PR to enable it.
https://github.com/microsoft/PowerToys/pull/7355

@crutkas
if we accept #7313, should we still keep this open?

valid point  At this point they are separate anyways.  Each is independent.


don't support Swift4.0?

Looks like a great library. Would be nice to have swift 4.0 support.

Just add @objc in front of all the #selector methods and the errors will go away.

I did it but it happens when i run it and use the pencil.

@titopalito did you try it on a device? I have seen this behavior in simulator, but it's a LOT LESS or non existent in a real device.

I'll try to get a real device then 😅.
Thanks a lot 👍

I'm facing the same issue. It is less obvious on real device, but it still happens. Sometimes black diagonal lines appear after saving the image. Anyone knows how to fix this?

@hengchengfei  Please update to the latest release 0.6 and update me :D


[add] torznab: More complete RSS XML entry data

Motivation for changes:
I needed access to the size child of the RSS <item> element like the rss
input plugin provides.
Detailed changes:
While trying to address that I noticed what seemed
like an unnecessarily limited and hard-coded approach to extracting the
<item> elements children, so this change implements a more generalized
approach.
I would like to use a more generalized approach for the <torznab:attr>
children as well.  The current implementation is, however, sufficient for now
and ripping that out would be more invasive.
In fact, I'd love to see FlexGet use something like
xmltodict3 wherever data is
being extracted from XML and inserted into entries so that using RSS or other
XML in FlexGet is consistent throughout.

I noticed this same CI error when trying to set up local development:
ERROR: Could not find a version that satisfies the requirement dataclasses==0.8 (from versions: 0.1, 0.2, 0.3, 0.4, 0.5, 0.6)
ERROR: No matching distribution found for dataclasses==0.8

That package isn't needed nor available for Python 3.7+, so I don't think those failures are related to this PR and I'm sue it's a known issue.

This PR is stale because it has been open 150 days with no activity. Remove stale label or comment or this will be closed in 60 days.

I'm still waiting for a response to my question about the CI failures.

I'm still waiting for a response to my question about the CI failures.

Hmm, sorry about that. I'm not sure what would be going wrong there. Can you try rebasing or merging in current develop and seeing if it happens again? Seems like this is too old for me to see the test results.

Hmm, sorry about that. I'm not sure what would be going wrong there. Can you try rebasing or merging in current develop and seeing if it happens again? Seems like this is too old for me to see the test results.

Thanks for the followup!  I'm not sure when I'll be to get around to that, but I'll let you know when/if I do.