If the UCD process to be deployed has spaces it picks just the first name before the space.

Example process name  "Deploy to CICS"  when passing this as a parameter it will only pick the "Deploy" and it will fail due missing process.  The bypass is to create a process without spaces..
But this needs to be fixed.
Regi

I have the same issue with Applications that have spaces.

Is there a way to identify the Application or process GUID and use that?


fix #202

This allows to set the OQS_PERMIT_UNSUPOPORTED_ARCHITECTURE CMake option via an environment variable.

I'm not sure if an environment variable is the best way of doing this...  But I also don't want to turn it into a feature, because it's not exactly a supported configuration: with unsupported architectures there's a good chance of generating non-constant-time code.

Could you rebase this please?

@wucke13 Could you rebase this?


Improve regexp args

Improve regexp arguments handling for failOn option to accept any kind of expression, plus plain strings

This feature doesn't have sense any more as we're managing the list of licenses to be SPDX compliant, instead of regex


Added futures

Futures are backport of concurrent.futures from python 3.

Can you change the reference link to point to the docs for concurrent.futures?

Changed.

Change that link to point to the latest 3 docs -- just replace "3.4" with "3" in the URL -- and I will happily accept the PR.

Ok, thanks :)

Thanks!


feature: add memory numa info

add memory numa info for supporting memory numa-aware scheduling. The major additions are same as definition of  kubernetes mostly.

/cc @huone1

That's great, I am also interested in that feature, can you give me some reference so that l can scan quickly and help review this feature?

Sure. I also think that I need to give more discriptions. I will supplement some references.

The related issues are: https://github.com/volcano-sh/volcano/issues/1865 / https://github.com/volcano-sh/volcano/issues/1749
Kubelet will write numa memory topology to /var/lib/kubelet/memory_manager_state.
Those topology info will be used to calculate memory TopolofyHints. ref: https://github.com/kubernetes/kubernetes/blob/03bcfab1a6675563672ddc11bd24c613967b102c/pkg/kubelet/cm/memorymanager/policy_static.go#L426
(The info would be like):
{
   "policyName":"Static",
   "machineState":{
      "0":{
         "numberOfAssignments":1,
         "memoryMap":{
            "hugepages-1Gi":{
               "total":0,
               "systemReserved":0,
               "allocatable":0,
               "reserved":0,
               "free":0
            },
            "memory":{
               "total":134987354112,
               "systemReserved":3221225472,
               "allocatable":131766128640,
               "reserved":131766128640,
               "free":0
            }
         },
         "nodes":[
            0,
            1
         ]
      },
      "1":{
         "numberOfAssignments":1,
         "memoryMap":{
            "hugepages-1Gi":{
               "total":0,
               "systemReserved":0,
               "allocatable":0,
               "reserved":0,
               "free":0
            },
            "memory":{
               "total":135286722560,
               "systemReserved":2252341248,
               "allocatable":133034381312,
               "reserved":29295144960,
               "free":103739236352
            }
         },
         "nodes":[
            0,
            1
         ]
      }
   }
}

/cc @william-wang @huone1

It's generally OK to me.
/lgtm

/approve

@Thor-wl I think we'd better revert the pr https://github.com/volcano-sh/apis/pull/62 first. I need to re-learn this work. And I will finish the whole work first, after than commit corresponding prs.


add MqttMessageFactory and optimize codes.

add MqttMessageFactory and optimize codes.

Please open a new issue to explain why you want to do this, and associate this PR with the issue

Thanks for your review. Now I have fixed these problems.

please fix CI

please fix CI

I fixed CI errors.

LGTM
@ShannonDing


Add extra VM?

How can I add extra VM with additional node? I see Env variable EXTRA_VMS=0 in localrc. Increasing the count is sufficient?

Yeah it looks like that should still work - but I never really liked how that experiment turned out.  I was planning on ripping it out.
So, if you manage to find some use-case that option actually solves - I'd be interested to hear about it.


Slow down of tests - Debugging

Hello,
since a few weeks we have a strange slow down of our Selenium tests on moon. Several test execution steps take much longer than before e.g. opening the browser, clicking on elements etc. The time increase ranges from a second to several seconds.
We have already ruled out a few things:

We don't expect that the test object is the problem. (Locally we couldn't see any time increase)
There was also no update with Selenium or moon.
Memory and cpu usage of the pods seem to be also ok.
There also seems to be no network issue.

Do you have any suggestions to better debug such an issue? I would like to determine where the additional time is used. So basically during test x moon communication or the real execution in the test pod.

@whrostre make sure you have all required firewall rules to static resources: styles, scripts, images and so on. Some pages could be loading such files from third-party resources and this could slow down things.

@whrostre make sure you have all required firewall rules to static resources: styles, scripts, images and so on. Some pages could be loading such files from third-party resources and this could slow down things.

Thanks for the hint, but we already ruled out that the webpage we are testing is the issue. Since just opening the browser takes more time than before.

@whrostre in that case I would check browser pods with kubectl describe po chrome-XXXX -n moon. Investigate this output and check how much time it takes to schedule the pod, to pull browser images and so on. Moon basically just creates a pod and waits for it to switch to Running state.

Thank you. We fixed the problem with adding resources.


Scheduled Tasks

This is incredible software here and I wish I were smart enough to add to the project. It's very helpful and has made it easy for me to make backups to my google drive.
Once a week I manually kick off about 10 saved tasks. What I was wondering is if anyone has found a way to schedule these tasks to automate the tasks? In other words, I'm lazy and would like for the tasks to start themselves on some sort of schedule.

Man I wish I knew how to code lol. This would be a game changer for me as I could set my PC to backup my encrypt job at 2am each morning while I'm asleep.

It will be available soon

On 20 Mar 2022, at 16:12, SysAdminDoc @.***> wrote:
Man I wish I knew how to code lol. This would be a game changer for me as I could set my PC to backup my encrypt job at 2am each morning while I'm asleep.
—
Reply to this email directly, view it on GitHub https://github.com/kapitainsky/RcloneBrowser/issues/200#issuecomment-1073283121, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADXJHOTHJNSFWYSAWEQTV5LVA5E5RANCNFSM5OBQAM2A.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.

It will be available soon

That will be awesome!

This fork (https://github.com/lefevbre-organization/FileSync) implemented the scheduler but would love to stay with this project. Maybe you can take some of their ideas? I like the layout of kap's project better.

interesting:) give me some motivation:)

Hi, just wondering if there's any update on task scheduling & auto mounting? Thanks!

I was wondering if there is anything we can do to help (maybe financially) to get task scheduling?

Kap's actions show this project is dead, despite what he says. Time to move onto the better fork.

If anyone's interested and is able to build from source, I've done this in my fork.


Introduce typings

Description
Long story shorts. I would like to see connexion having typings.
Reason is simple...the codebase is large and quite complicated which makes having a typed code a necessity needed to unveil the functionality behind lines of code.
Obviously speaking we would need to drop support for 2.7 which I voted for in #990 which is not that bad of an idea given that 2.7 is reaching EOL and it's been, I guess, about 10 years since 3.x has been introduced to us.
Expected behaviour
connexion has typed codebase
Actual behaviour
connexion does not have typed codebase

@hjacobs what do you say. I can help with making a typings for connexion if you want to.
But let's see if can drop 2.7 first. If so, I will do just that along with creating a plan to proceed with introducing typings.

We don't need to drop support for python 2.7 to start introducing typing in the Connexion codebase. https://mypy.readthedocs.io/en/latest/python2.html

@rafaelcaricio yeah, it is not needed but 2.7 goes out of the picture in few months. No reason to stick around with it.

I vote for dropping Python 2.7 support!

I vote for drop 2.7 support as well.

@hjacobs @rafaelcaricio

https://github.com/zalando/connexion/pull/1058
https://github.com/zalando/connexion/pull/1057

The five syntax errors mentioned in #1392 might be a useful place to start the gradual adoption of type hints.

Closing in favor of #1111


Contributor's guide

Fixes #950

Sorry for my prior comment, I see that you recommend the awesome list! Can we link to that somewhat prominantly if we are slimming down the IDE docs?

Sure, see #975.


FS22 Mod Folder Checker

When you go to the conflicts and go to remove the mod it says FS19 Mod Checker : Cannnot move to quarantine.

At the very bottom of the window is a link that says "view debug log" - this will give a bit more information on what went wrong.  Without seeing that, at a guess - the quarantine location is either unset or un-writable.  You can change it in settings.  (The little gear icon)


File listing v2

Incorporates new file and directory listing parameters and response fields for file shares.

Currently aligning with .NET on includeExtendedInfo being a Boolean vs a boolean. This should be discussed at the 78 API review.


FASET database cleanup

We will be deleting the faset_survey table, and retaining the faset_visit and faset_response tables with the use remaining roughly constant with what it is today.
Thankfully, the response column isn't an enum, so we can easily enable an "other" field, which was a request from leadership last summer


Add operators for Paddle

The following ops are added:

rmsnorm_fwd, rmsnorm_bwd, rmsnorm_fwd_fp8
scaled (upper triang) (masked) softmax  fwd+bwd
fused_attn_fwd_qkvpacked, fused_attn_fwd_kvpacked, fused_attn_bwd_qkvpacked, fused_attn_bwd_kvpacked

(To avoid merge conflict, I create my git branch based on @Tom-Zheng 's PR262.  Please merge his PR first and then this one)

@Wong4j there are some conflicts due to #262

@Wong4j there are some conflicts due to #262

Conflicts resolved.

CC @jeng1220  @Tom-Zheng

Hi @timmoon10 , would you please take a look?

/te-ci

/te-ci


Add initialization check in case of extending android.app.Service

Currently, the SBG generated onCreate methods for extended android.app.Service does not check if the runtime is initialized. In cases of sticky background services, there could be a case when the application is not running and there is no initialized NativeScript runtime. This commit ensures the runtime will be initialized in case it is not.

https://github.com/NativeScript/android-runtime/issues/1347


minimum subnet size modification required

[Enter feedback here]
https://learn.microsoft.com/en-us/azure/app-service/overview-vnet-integration#subnet-requirements
wrong statement
When you're creating subnets in Azure portal as part of integrating with the virtual network, a minimum size of /27 is required -> a minimum size of /24 is required
https://learn.microsoft.com/en-us/azure/logic-apps/secure-single-tenant-workflow-virtual-network-private-endpoint#considerations-for-outbound-traffic-through-virtual-network-integration
same statement describing a minimum as /27.
creating subnet in portal requires /24 as a minimum.

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

ID: 077513b8-750f-13f3-b973-36a7b53b8562
Version Independent ID: baf5fae6-c52e-b8ef-cd04-2b1b462643bb
Content: Integrate your app with an Azure virtual network - Azure App Service
Content Source: articles/app-service/overview-vnet-integration.md
Service: app-service
GitHub Login: @madsd
Microsoft Alias: madsd

Looks like you are creating a functions plan. The limitations for that is documented here: https://learn.microsoft.com/en-us/azure/azure-functions/functions-networking-options?tabs=azure-cli#subnets
(/24 for Windows and /26 for Linux)

@johamms
Thanks for your feedback! We will investigate and update as appropriate.

Looks like you are creating a functions plan. The limitations for that is documented here: https://learn.microsoft.com/en-us/azure/azure-functions/functions-networking-options?tabs=azure-cli#subnets (/24 for Windows and /26 for Linux)

It's a logic app App service plan.

Can you describe the steps used to create/repro it? This seems to be logic apps specific, and I just need to confirm from your repro steps to route appropriately.

Logic app standard->networking>vnet integration>add vnet>

Can you describe the steps used to create/repro it? This seems to be logic apps specific, and I just need to confirm from your repro steps to route appropriately.

Logic app standard->networking>vnet integration>add vnet>creating subnet

@johamms I confirmed the issue and will create a work item for the portal UX team to resolve this. As a workaround you can create the subnet first in the Virtual Network, and then integrate with your Logic App from the App Service Networking blade.
Thank you for your help here.

@johamms I confirmed the issue and will create a work item for the portal UX team to resolve this. As a workaround you can create the subnet first in the Virtual Network, and then integrate with your Logic App from the App Service Networking blade. Thank you for your help here.

Thanks madsd!


Change dispatch flow

ATM the dispatch flow is
1. Container#call
2. Application#call
3. Middleware#call
4. Configuration#call
5. Controller.call

2 -> 3 -> 4 doesn't make amy sense. An idea is creating a dispatcher class:
1. Container#call
2. Application#call
3. Configuration#call
4. Middleware#call
5. Dispatcher#call
6. Controller.call

Or skip 3 and go directly from 2 -> 4. Since 3 will only point to 4 anyway (Tell, Don't Ask).

Fixed in https://github.com/sandelius/ramverk/commit/57e56cd0fd09f0cd20ad525c42707fa7cc9ad91e
I went with:
1. Container#call
2. Application#call
3. Middleware#call
4. Dispatcher#call
5. Controller.action


[BUG] HangUpAsync never returns

Library name and version
Azure.Communication.Calling 1.0.0-beta.29
Describe the bug
Following the official quick start guide:
https://docs.microsoft.com/en-us/azure/communication-services/quickstarts/voice-video-calling/get-started-teams-interop?pivots=platform-windows
HangUpAsync does not work properly.
Expected behavior
await call_.HangUpAsync(new HangUpOptions()); works properly
Actual behavior
await call_.HangUpAsync(new HangUpOptions()); never returns and the user is not disconnected properly from the call
Reproduction Steps

Follow the official quick start guide: https://docs.microsoft.com/en-us/azure/communication-services/quickstarts/voice-video-calling/get-started-teams-interop?pivots=platform-windows
Run the project
Join to an scheduled Teams meeting
Press leave button

Environment
UWP
Target version: Windows 10, version 2004 (10.0; Build 19041)
Min version: Windows 10, version 1809 (10.0; Build 17763)
Microsoft Visual Studio Professional 2022 (64-bit) Version 17.0.4

@juanmalm , Thanks for reporting, I am looking into this issue. I will get back to you with an update.

@juanmalm , Apologies for the delay in response. I followed the steps and I am able to leave the meeting without any issues. The await call_.HangUpAsync(new HangUpOptions()) works properly. Only difference is that I am using Visual Studio 2019.
How frequently are you getting this issue?
In the meantime, I will try to reproduce the issue in Visual Studio 2022 as well

@juanmalm , Following up to check if you got the chance to look into my previous comment. Please let me know

Hi @MughundhanRaveendran-MSFT. My issue is reproducible 100%. It happened previously with VS2019 (I already uninstalled it) and right now it is happening with VS2022. I forgot to mention in repro steps that I'm joining to a meeting which currently has a Teams user connected with a Teams client in a MacBook Pro. I will try to reproduce it connecting with a user on a Windows client.
Later I will attach a project in which I reproduce the issue. Also if you are able to provide me an email address, I can record a video showing the issue.

Here you have the code I'm using. I can share with you the project and a video showing the issue if you provide me an email address.
MainPage.xaml.cs
using Azure.Communication.Calling;
using Azure.Communication.Identity;
using Azure.WinRT.Communication;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using Windows.UI.Core;
using Windows.UI.Popups;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;

namespace poc_teams_integration
{
    public sealed partial class MainPage : Page
    {
        private const string communicationServicesConnectionString = "USE A VALID CONNECTION STRING!!!!!!!!!!!!!";

        private CommunicationIdentityClient communicationIdentityClient;
        private Call call_;
        private CallClient call_client;
        private CallAgent call_agent;
        private DeviceManager deviceManager;
        private LocalVideoStream[] localVideoStream;
        private Authenticator authenticator;
        private string userToken;

        public MainPage()
        {
            InitializeComponent();
            InitCommunicationIdentityClient();
            InitCallClientAndDeviceManager();
            authenticator = new Authenticator();
        }

        private async void InitCallClientAndDeviceManager()
        {
            call_client = new CallClient();
            deviceManager = await call_client.GetDeviceManager();
        }

        private void InitCommunicationIdentityClient()
        {
            communicationIdentityClient = new CommunicationIdentityClient(communicationServicesConnectionString);
        }

        private async void JoinButton_ClickAsync(object sender, RoutedEventArgs e)
        {
            if (!await ValidateInput())
            {
                return;
            }

            await CreateCallAgent();

            await CreateLocalVideoStream();

            await JoinTeamsMeeting();
        }

        private async Task CreateCallAgent()
        {
            try
            {
                if (string.IsNullOrEmpty(userToken))
                {
                    var token = await authenticator.AcquireTokenAsync();

                    // https://docs.microsoft.com/en-us/azure/communication-services/quickstarts/manage-teams-identity?pivots=programming-language-csharp
                    var accessToken = await communicationIdentityClient.GetTokenForTeamsUserAsync(token);
                    userToken = accessToken.Value.Token;
                }

                if (call_agent is null)
                {
                    var token_credential = new CommunicationTokenCredential(userToken);
                    call_agent = await call_client.CreateCallAgent(token_credential, new CallAgentOptions());

                    call_agent.OnCallsUpdated += Agent_OnCallsUpdated;
                }
            }
            catch (Exception ex)
            {
                await new MessageDialog($"It was not possible to create call agent. Please check if token is valid:{Environment.NewLine}{ex.Message}").ShowAsync();
                return;
            }
        }

        private async Task CreateLocalVideoStream()
        {
            try
            {
                if (deviceManager.Cameras.Count > 0)
                {
                    var videoDeviceInfo = deviceManager.Cameras[0];
                    localVideoStream = new LocalVideoStream[1];
                    localVideoStream[0] = new LocalVideoStream(videoDeviceInfo);

                    var localUri = await localVideoStream[0].CreateBindingAsync();

                    await Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
                    {
                        LocalVideo.Source = localUri;
                        LocalVideo.Play();
                    });

                }
            }
            catch (Exception ex)
            {
                await new MessageDialog($"Error creating local video stream:{Environment.NewLine}{ex.Message}").ShowAsync();
                return;
            }
        }

        private async Task JoinTeamsMeeting()
        {
            try
            {
                var joinCallOptions = new JoinCallOptions();
                joinCallOptions.VideoOptions = new VideoOptions(localVideoStream);
                var teamsMeetingLinkLocator = new TeamsMeetingLinkLocator(TeamsLinkTextBox.Text);
                call_ = await call_agent.JoinAsync(teamsMeetingLinkLocator, joinCallOptions);

                call_.OnStateChanged += Call_OnStateChangedAsync;
            }
            catch (Exception ex)
            {
                await new MessageDialog($"It was not possible to join the Teams meeting. Please check if Teams Link is valid:{Environment.NewLine}{ex.Message}").ShowAsync();
                return;
            }
        }

        private async void Call_OnStateChangedAsync(object sender, PropertyChangedEventArgs args)
        {
            try
            {
                await Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
                {
                    CallStatusTextBlock.Text = call_.State.ToString();
                });

                switch (((Call)sender).State)
                {
                    case CallState.Disconnected:
                        await Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
                        {
                            LocalVideo.Stop();
                            LocalVideo.Source = null;
                            RemoteVideo.Stop();
                            RemoteVideo.Source = null;
                        });

                        localVideoStream[0].ReleaseBinding();
                        localVideoStream[0] = null;
                        break;
                    default:
                        Debug.WriteLine(((Call)sender).State);
                        break;
                }
            }
            catch (Exception ex)
            {
                await new MessageDialog($"Call_OnStateChangedAsync error:{Environment.NewLine}{ex.Message}").ShowAsync();
            }
        }

        private async void LeaveButton_ClickAsync(object sender, RoutedEventArgs e)
        {
            try
            {
                if (call_ is null)
                {
                    return;
                }

                await call_.StopVideo(localVideoStream[0]);
                await call_.HangUpAsync(new HangUpOptions());
            }
            catch (Exception ex)
            {
                await new MessageDialog($"It was not possible to leave the Teams meeting:{Environment.NewLine}{ex.Message}").ShowAsync();
            }
        }

        private async Task<bool> ValidateInput()
        {
            if (TeamsLinkTextBox.Text.Trim().Length == 0 || !TeamsLinkTextBox.Text.StartsWith("http"))
            {
                await new MessageDialog("Please enter Teams meeting link.").ShowAsync();
                return false;
            }

            return true;
        }

        private async void Agent_OnCallsUpdated(object sender, CallsUpdatedEventArgs args)
        {
            foreach (var call in args.AddedCalls)
            {
                foreach (var remoteParticipant in call.RemoteParticipants)
                {
                    await AddVideoStreams(remoteParticipant.VideoStreams);
                    remoteParticipant.OnVideoStreamsUpdated += async (s, a) => await AddVideoStreams(a.AddedRemoteVideoStreams);
                }
                call.OnRemoteParticipantsUpdated += Call_OnRemoteParticipantsUpdated;
                call.OnStateChanged += Call_OnStateChangedAsync;
            }
        }

        private async void Call_OnRemoteParticipantsUpdated(object sender, ParticipantsUpdatedEventArgs args)
        {
            foreach (var remoteParticipant in args.AddedParticipants)
            {
                await AddVideoStreams(remoteParticipant.VideoStreams);
                remoteParticipant.OnVideoStreamsUpdated += async (s, a) => await AddVideoStreams(a.AddedRemoteVideoStreams);
            }
        }

        private async Task AddVideoStreams(IReadOnlyList<RemoteVideoStream> streams)
        {

            foreach (var remoteVideoStream in streams)
            {
                var remoteUri = await remoteVideoStream.CreateBindingAsync();

                await Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
                {
                    RemoteVideo.Source = remoteUri;
                    RemoteVideo.Play();
                });
                remoteVideoStream.Start();
            }
        }
    }
}

Authenticator.cs
using Microsoft.Identity.Client;
using System;
using System.Threading.Tasks;
using Windows.UI.Popups;

namespace poc_teams_integration
{
    internal class Authenticator
    {
        private IPublicClientApplication PCA;
        private string ClientID = "USE A VALID CLIENT ID!!!!!!!!!!!!!";
        readonly static string[] Scopes = { "https://auth.msft.communication.azure.com/Teams.ManageCalls" };

        public Authenticator()
        {
            PCA = PublicClientApplicationBuilder.Create(ClientID)
                .WithRedirectUri($"msal{ClientID}://auth")
                .Build();
        }

        public async Task<string> AcquireTokenAsync()
        {
            try
            {
                var authResult = await PCA.AcquireTokenInteractive(Scopes)
                    .ExecuteAsync();
                return authResult.AccessToken;
            }
            catch (Exception e)
            {
                await new MessageDialog($"Error adquiring token: {e.Message}").ShowAsync();
                return string.Empty;
            }
        }
    }
}

Hi @MughundhanRaveendran-MSFT . Any updates on this?

@juanmalm , Apologies for the delay. I was trying to run your code however I was unable to resolve Remotevideo and Localvideo properties. Could you please provide those as well?

Sure! My fault. Here you have the missing file.
MainPage.xaml

<StackPanel>
    <TextBox
        x:Name="TeamsLinkTextBox"
        Margin="10,10,10,10"
        PlaceholderText="Please enter the Teams meeting link."
        TextWrapping="Wrap" />
    <StackPanel
        HorizontalAlignment="Center"
        Orientation="Horizontal">
        <Button
            x:Name="JoinButton"
            Margin="10,10,10,10"
            Click="JoinButton_ClickAsync"
            Content="Join Teams Meeting" />
        <Button
            x:Name="LeaveButton"
            Margin="10,10,10,10"
            Click="LeaveButton_ClickAsync"
            Content="Leave Meeting" />
    </StackPanel>
    <TextBlock
        x:Name="CallStatusTextBlock"
        Margin="10,10,10,10"
        TextWrapping="Wrap" />
    <TextBlock
        x:Name="RecordingStatusTextBlock"
        Margin="10,10,10,10"
        TextWrapping="Wrap" />
    <Grid
        HorizontalAlignment="Stretch"
        VerticalAlignment="Stretch">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <MediaElement
            x:Name="LocalVideo"
            Grid.Column="0"
            HorizontalAlignment="Stretch"
            AutoPlay="True"
            Stretch="UniformToFill" />
        <MediaElement
            x:Name="RemoteVideo"
            Grid.Column="1"
            HorizontalAlignment="Stretch"
            AutoPlay="True"
            Stretch="UniformToFill" />
    </Grid>
</StackPanel>

@juanmalm , I am able to reproduce the issue by using your latest code. The issue only occurs when a user who has joined from Mac client is already present in the Teams call. I will have a discussion internally and get back to you.
Appreciate your patience on this issue.

Any updates?

@acsdevx-msft Could you please look into this issue and provide an update once you get a chance ?

Azure.Communication.Calling 1.0.0-beta.29 was deprecated and we have released GA versions of the SDK at https://www.nuget.org/packages/Azure.Communication.Calling.WindowsClient#versions-body-tab.  We have verified this scenario is working properly.
Closing this issue for now and please file new tickets for issues discovered in your tests with our new SDK. Thanks.


Refactor MLLM

In order to enhance the flexibility and usability of the multimodal model, it is necessary to refactor the existing llava code.

@hhaAndroid @LZHgrla  什么时候能够合并呢？这个PR非常牛叉。

Hi @hhaAndroid
Thanks for your great work! May I ask if this branch can work now.


Have service use same label name as deployment

Fixes #7

@ioben great catch!
Would you mind changing everything back to app? I think that's more conventional, and there wasn't really a need to switch.
Thanks!

Sure, updated commit is pushed


Using Retry.Exponential(TimeSpan, TimeSpan, TimeSpan) results in OutOfMemoryException

After upgrading from 3.4.1 to 3.5.7 we're seeing that MT is throwing an OOM on startup due to our use of the Retry.Exponential(TimeSpan, TimeSpan, TimeSpan) policy:
endpointConfig.UseRetry(Retry.Exponential(TimeSpan.FromMinutes(1), TimeSpan.FromHours(2), TimeSpan.FromMinutes(1)));

The stacktrace of the resulting exception is:
System.OutOfMemoryException: Array dimensions exceeded supported range.
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at GreenPipes.Policies.ExponentialRetryPolicy..ctor(IExceptionFilter filter, Int32 retryLimit, TimeSpan minInterval, TimeSpan maxInterval, TimeSpan intervalDelta)
   at MassTransit.Retry.Exponential(TimeSpan minInterval, TimeSpan maxInterval, TimeSpan intervalDelta)

I've seen in this bug that indicates that exponential retry policies with a very high retry limit are no longer supported in which case I'd expect the Retry.Exponential(TimeSpan, TimeSpan, TimeSpan) overload to be marked as obsolete.

You need to use the right method:
endpointConfig.UseRetry(x => x.Exponential(...));

If you resolved your issue, please close it.


Updated Upstream (Paper, Tuinity, & Airplane)

Upstream has released updates that appear to apply and compile correctly
Paper Changes:
809466f2e Fix anchor respawn acting as a bed respawn when using the end portal (#5540)
d219fd642 [Auto] Updated Upstream (Bukkit/CraftBukkit)
db464b099 Implement methods to convert between Component and Brigadier's Message (#5542)
4047cffca Add PlayerBedFailEnterEvent (#4935)
70d697e6e Update Paperpclip
5ed771591 [CI-SKIP] Remove bad null annotation (#5538)
454a4c78e More World API (#3850)
869e02304 Add PlayerDeepSleepEvent (#5525)
fb56fc35e fix non-dummy objectives not updating
dc859a61f [CI-SKIP] [Auto] Rebuild Patches
7d1689f1a  Add missing checkReachable check for shulker boxes (#5453)
ba8eb3d4b Add missing Javadoc for COLORABLE MaterialTag (#5376)
db801cbf3 Fix PlayerItemHeldEvent firing twice (#5534)
14de2b795 fix PigZombieAngerEvent cancellation (fixes #5319) (v2) (#5329)
86d684ad1 Add get-set drop chance to EntityEquipment (#5528)
33fb8cf63 Add consumeFuel to FurnaceBurnEvent (#5532)
9957f4630 Fix duplicating /give items on item drop cancel (#5536)
d94882043 Fix legacyComposer not using AsyncChatEvent messages (#5509)
053bd82cc Don't print spawn load time when not loading spawn (#5467)
a6d78caae Add isDeeplySleeping to HumanEntity (#5470)
711b7a80b Expose more Adventure serializers through PaperComponents (#5443)
3f63bde0c Set Area Effect Cloud Rotation (#5462)
3523f0fda Remove useless check on player interact cancellation (#5448)
6574d1aa8 fix #5526 - use correct type when sending message to clients
dbfa833ec don't throw when loading TE with invalid keys
a9525a6f7 Do not schedule poi task for each block write on chunk gen
39bf5b525 Update teams known as code owners
fbae9dbe0 [Auto] Updated Upstream (Bukkit/CraftBukkit)
ac4a33aab [Auto] Updated Upstream (Bukkit)
c1e07158b [Auto] Updated Upstream (Bukkit/CraftBukkit)
5e4b88e95 Fix dangling sout
23afda179 basic hostname validation
0fb8bdf0e Updated Upstream (Bukkit/CraftBukkit) (#5508)
88ab784da [Auto] Updated Upstream (CraftBukkit)
ca7111d5f Fix PlayerItemConsumeEvent cancelling (fixes #4682) (#5383)
06fb560dc Add support for tab completing and highlighting console input from the Brigadier command tree (#5437)
0a9b89c7a Fix occasional light gen issues for neighbor blocks (#5500)
Tuinity Changes:
b12d0cce3 Replace ticket level propagator
42df8e1e0 Correctly handle recursion for chunkholder updates
73eb2a856 Do not copy visible chunks
8a4f3be69 Do not schedule poi task for each block write on chunk gen
7d36676fc Fix light source locking
f1ec0c20d Add concurrency check to ProtoChunk light sources
159d1468f Improvements to chunk loader system
32b4d526b Updated Upstream (Paper)
ac5adca33 Make sure lit is set for pre 1.14 chunks
Airplane Changes:
31272d80f Flare Update
8f3271328 Remove criterion patch
0fed2df62 Various patches that need to be reorganized later
f78856bde Updated Upstream (Tuinity)
f7d6382ad Flare Update
71d079991 Update gradle configuration
0f7977428 Updated Upstream (Tuinity)
3b3cde7b0 Correctly use DEAR values, fix config reloading
dd6091981 Updated Upstream (Tuinity)
07897895b Updated Upstream (Tuinity)
c1e4d7143 Fluid cache patch

haha don't merge this yet. its not building as toothpick doesn't recognize files from Paper-MojangAPI

updated to the latest airplane, ready for merge


as.janno() expects "Individual_ID" instead of "Poseidon_ID"

> names(output_janno)
 [1] "Poseidon_ID"                   "Collection_ID"                 "Country"
 [4] "Site"                          "Location"                      "Longitude"
 [7] "Latitude"                      "Date_C14_Labnr"                "Date_BC_AD_Start"
[10] "Date_BC_AD_Stop"               "Date_BC_AD_Median"             "Date_C14_Uncal_BP"
[13] "Date_C14_Uncal_BP_Err"         "Date_Type"                     "Nr_Libraries"
[16] "Capture_Type"                  "UDG"                           "Library_Built"
[19] "Damage"                        "Nr_SNPs"                       "Endogenous_DNA"
[22] "Contamination"                 "Contamination_Err"             "Group_Name"
[25] "Genetic_Sex"                   "MT_Haplogroup"                 "Y_Haplogroup"
[28] "Source_Tissue"                 "Genotype_Ploidy"               "Data_Preparation_Pipeline_URL"
[31] "Coverage_on_Target_SNPs"       "Genetic_Source_Accession_IDs"  "Primary_Contact"

> output_janno %>% poseidonR::as.janno()
Error in check_if_all_mandatory_columns_present(x) :
  The janno file lacks the following columns: Individual_ID

> output_janno %>% dplyr::rename("Individual_ID" = "Poseidon_ID") %>% poseidonR::as.janno()
## Does not complain about that specific issue with my output_janno

> packageVersion("poseidonR")
[1] ‘0.7.0’

I can not reproduce that :thinking:.
Can you check what poseidonR:::janno_mandatory_columns gives you? When and how did you install the package?

I followed the instructions on the website (using remotes::install_github). Updating the package was the first thing I tried, when I got the error.
> poseidonR:::janno_mandatory_columns
[1] "Individual_ID" "Group_Name"    "Genetic_Sex"

I just realised that although packageVersion says 0.7.0 my RStudio package list actually says 0.5.0 😅
Not sure how that has happened.

forcing reinstallation of the package and detaching/reattaching seems to have fixed this issue.


Performance problems using Windows Server 2019 Datacenter - Gen2 image

Describe the Problem
Using an Azure VM with "Windows Server 2019 Datacenter - Gen2", edge becomes slow and some commands unresponsive. At the end even shutting down the vm ends up in an error message. The same tests work well using Windows 10 Pro image.
To Reproduce

Deloy elfow using an azure vm/winserver 2019 image, using Standard_D2s_v3 size
Provision an edge device
Add 7 temperature sensor modules to the edge device
Wait until the deployment happens
Check the deployment using 'sudo docker ps' command. As modules start, the command gets slower and slower
Try to get a module log e.g 'sudo iotedge logs edgeHub'
Try to stop the vm - it returns an error

Expected behavior
Similar behavior than on Windows 10
explain your problem.
Windows Host OS:

Edition: Windows Server 2019 Datacenter - Gen2
Version: 1809 Build 17763.2237
Virtual Machine: Azure VM D2s_v3 (happens with

Additional context
This is related to https://github.com/Azure/iotedge/issues/5087
The customer has TLS related errors on windows server when uses more modules. The error message indicates that the certificate being used does not have corresponding private key. An isolated test (importing and using certificates) showed that repeating the operation 200ms later, the system already has the information about the private key.
Although it is not necessarily comes from the performance issue, there are two things indicates that it might be related: the customer does not see the error on Windows 10 (which does not have the performance problem), and the 200ms delay makes the certificate work.
The certificate problem is mentioned only for context; I am reporting the performance problem. My approach to "solve" the certificate problem is to make the Windows Server setup as performant as the Win 10 one and see if the problem still occurs.

Hi @vipeller,
I think you are having a memory issue. Could you please indicate what was your "Deploy-Eflow" command you used? I suspect that you are using the default memory allocation (1024MB) and when you deploy the 7 temperature modules, you're running out of memory.
Thanks,
Francisco

@fcabrera23 I followed this walk-through: https://docs.microsoft.com/en-us/azure/iot-edge/quickstart?view=iotedge-2018-06
I did not specify any parameters for Deploy-Eflow, so you maybe be right. Is it different the default for Win 10?

@vipeller,
The default values are the same for both Client and Server SKUs (1 vCpu Core, 1024MB of memory). Can you try reinstalling, but this time, deploy the EFLOW VM using 2 or 4GB of memory. You can do that by specifying the -memoryInMb flag.
Thanks,
Francisco

Hi @vipeller,
Did you test your scenario with a bigger memory allocation? If so, are you still facing the same issue?
Thanks,
Francisco

Hi @fcabrera23 sorry, I have not taken the time yet, will test it soon.

@fcabrera23 it works well with bigger memory set, thank you. You can close this ticket now.


some edge cases for shiftRight and shiftLeft

Is it possible to change the behavior of shiftRightand shiftLeft to match how BigInt works (https://github.com/tc39/proposal-bigint) with large second argument?
bigInt(0).shiftRight(-100000000000000000000) should give bigInt(0)
bigInt(0).shiftLeft(100000000000000000000) should give bigInt(0)
bigInt(5).shiftRight(100000000000000000000) should give bigInt(0)
bigInt(5).shiftLeft(-100000000000000000000) should give bigInt(0)
bigInt(-5).shiftRight(100000000000000000000) should give bigInt(-1)
bigInt(-5).shiftLeft(-100000000000000000000) should give bigInt(-1)

I'm looking at the specification for it, and I can't find this behavior documented anywhere. Am I missing it somewhere?
I'm curious why they would want to return 0 and 1 for large arguments? Do you have any idea?

just because the operation "a << b" works only when both args are bigints (as all other Arithmetic and Bitwise operations).

what if to update the limit to<PHONE_NUMBER>740991 ?


add more rMQR samples

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 2 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.007%) to 28.09%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

rmqr/decode.go
0
2
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.007%

Covered Lines:
2132

Relevant Lines:
7590

💛  - Coveralls


Various bugfixes and small changes

This PR should be merged after #68. This was branched from those changes.
Resolves #65 (unless further cherrypicks should be discovered)
Fixes #70
Also fixes several bugs I've discovered while using the module.

oh wow that rebase is ugly


[Port 56d] 3 Commits from 56d

SphereX Issue #59
Fixed: Items inside trade window not firing @DropOn_Item trigger
I tested and the issue was there. The fix by Coruja is now well apply on X.
SphereX Issue #68
12-11-2016, Coruja
Fixed: Resurrect, Reveal, Meteor Swarm and Lightning spells showing effect animation even when EFFECT_ID=0 is set
Resurrect: Fixed like 56d
Reveal: Work differently on X no need of this
Light: Added the effect because it was wiped on X
Meteor Swarm :  On X it seem to be removed
SphereX Issue #58
22-07-2016, Coruja
Fixed: Security issue setting account login as chat name when newest clients try to setup the chat window for the first time and the char name is not available.
I only removed the possibility to have account name as chat name. Description for the Fix was insane

Can you explain more about meteor swarm and lightning? At a quick look it seems to me a legit fix

About the  meteor swarm, it's the same thing than lot of spell. EFFECT_ID=  change nothing on the script. On X, all spell seem to be rework and effect in script don't have interraction.
For exemple, if I set
[SPELL 55]
DEFNAME=s_meteor_swarm
EFFECT_ID=i_fx_fireball

The meteor will send a fireball on the char and smoke will be on the char..  It's work very well.. But if I do:
EFFECT_ID=0
It happen the same thing.  So effect_ID do nothing on lot of spell.
About Lighting it was a mistake, lighting send a lighting on the head and it's work fine. The modif was for s_light. I added it because X did not have effect for this

About the  meteor swarm, it's the same thing than lot of spell. EFFECT_ID=  Effect is already well do. On X, lot of spelll seem to be rework and effect in script are well implement interraction. If you set 0 or any effect it work well.
I have difficulty to make good test with script pack because it seem to have some problem with spell configuration. When I test with my script it work well. Bug in script pack will be find later.
About Lighting it was a mistake, lighting send a lighting on the head and it's work fine. (if you add an effect_id it's add this effect over the lighting)
The modif of coruja was for s_light. I added it on the commit because on X it was impossible to have an effect for this spell. Now, I think it's fine admin can add effect via script.


Fix DOIs in MERRITT for Moorea Biocode

characters that Merritt is expecting.
For example, doi.org/10.7286/V1154F0D targets https://merritt.cdlib.org/m/ark:/13030/m5zs409j/1
However, the target URL should look like this instead: https://merritt.cdlib.org/m/ark%253A%252F13030%252Fm5zs409j
Note the colon character has been replaced with “%253A” and the following forward slashes with “%252F”.
Do you have access to the Biocode Commons account in EZID to revise the target URLs so they make use of double-escaped characters? If not, Maria Gould mentioned that John Deck should have access (perhaps Neil does as well).
On a similar note, EZID can also be used to register a new DOI for ark:/13030/m5478zfg. Once it’s registered, I’d be happy to help with adding it as a local identifier to the object in Merritt.
One other question: Do you want the target URLs to always resolve to the latest version of the object in Merritt? If so, please omit the trailing forward slash and number at the end of the URL. e.g. “/1”  The number refers to a specific version, while omitting it just pulls up the latest version.

Citations for the missing Merritt items:
V1154F0D
Moorea Biocode Project (2014). "Moorea Biocode Field Information Management System (FIMS)"
V1MW2F22
Moorea Biocode Project (2014). Moorea Biocode Laboratory Information Management System (LIMS)"
V1H41PBN
Moorea Biocode Project (2014).  "Moorea Biocode Laboratory Information Management System Trace and Gel Images"

Ok. I have manually updated them in the DB and also changed the book chapter from a dataset to an article

thanks for fixing this @briri!


I can not figure out how to set it up correctly

I followed the instructions https://kellnr.io/documentation, I set the hostname, and I also tried to set it up using an IP, but neither worked for me. I I tried docker, and local serveice, but switched to starting it manully to see the console directly.
When I try to publish empty crate, I will get this error in console:

DEBUG request: tower_http::trace::on_response: finished processing request latency=2 ms status=404 method=GET uri=/api/v1/crates/info/refs?service=git-upload-pack version=HTTP/1.0

When I try to add dependency:
polars = { version = "0.38.1", features = ["csv", "http"], registry = "my-registry" }

DEBUG request: tower_http::trace::on_response: finished processing request latency=0 ms status=404 method=GET uri=/api/v1/crates/info/refs?service=git-upload-pack version=HTTP/1.0

And local error:

fatal: repository 'https://test.bandola.cz/api/v1/crates/' not found
error: failed to get polars as a dependency of package polars_test v0.1.0 (D:\rs\polars_test)
Caused by:
failed to load source for dependency polars
Caused by:
Unable to update registry my-registry
Caused by:
failed to fetch https://test.bandola.cz/api/v1/crates/
Caused by:
process didn't exit successfully: git fetch --force --update-head-ok https://test.bandola.cz/api/v1/crates/ +HEAD:refs/remotes/origin/HEAD (exit code: 128)

if I add the dependency like this:
polars = { version = "0.38.1", features = ["csv", "http"] }

DEBUG request: tower_http::trace::on_response: finished processing request latency=0 ms status=200 method=GET uri=/api/v1/crates/config.json version=HTTP/1.0
DEBUG request: tower_http::trace::on_response: finished processing request latency=1 ms status=404 method=GET uri=/api/v1/crates/po/la/polars version=HTTP/1.0

And local error:

cargo.exe build --color=always --message-format=json-diagnostic-rendered-ansi --package polars_test --bin polars_test
Updating kellnr-cratesio index
error: no matching package named polars found
location searched: registry crates-io
required by package polars_test v0.1.0 (D:\rs\polars_test)

My config.toml:
[registries]
#my-registry = { index = "sparse+https://test.bandola.cz/api/v1/crates/", token = " actual token " }
my-registry = { index = "https://test.bandola.cz/api/v1/crates/", token = " actual token " }

[source.crates-io]
replace-with = "kellnr-cratesio"

[source.kellnr-cratesio]
registry = "sparse+https://test.bandola.cz/api/v1/crates/"
#registry = "sparse+http://<IP_ADDRESS>:8000/api/v1/crates/"
#index = "sparse+http://<IP_ADDRESS>:8000/api/index/"

[net]
git-fetch-with-cli = true

The commented lines are just some of the examples what I tried. I have token I created in UI there, not " actual token ", but did not want to include that in a public report.
Can you please help me figure out how to set it up correctly? I want it to be mostly internal mirror of crates.io with some private crates.

Hi! Try it with the config below.
[registries]
my-registry = { index = "sparse+https://test.bandola.cz/api/v1/crates/", token = " actual token " } # sparse is required

[source.crates-io]
replace-with = "kellnr-cratesio"

[source.kellnr-cratesio]
registry = "sparse+https://test.bandola.cz/api/v1/cratesio/" # cratesio NOT crates!

If you want to pull polars through kellnr, you do not have to specify the registry.
polars = { version = "0.38.1", features = ["csv", "http"] } is enough. You only need to specify the registry for your own packages. The proxy is transparent.
If something still doesn't work. Let me know.

Well I was testing on my local PC, against my server, I must have missed the /cratesio/, because I was trying so many different options, that is my mistake....
But I already know, this would not work, because of the https, in my company environment. The working solution I find so far is an shared folder inside the nework acting a "directory registry", adding crates is quite an manual process, but considering that no git request to an external source will work, I am not sure, that there is even an better solution 😢

I don't understand why https is an issue. Kellnr works with and without https. Can you elaborate what the issue is?

I was trying to run it from my personal public domain, where I have canfigured everything to be https.
Neither cargo nor git cli are able to download anything from outside of company network, and few allowed sites.
To be honest I did not try any http only, because everything redirects to https by default I did not really even think about it.


Fixed quotly.py

quotly.py wasn't working and there were apparently some bugs.

Leme chk bro

Reopen

Is it tested by u?

Is it tested by u?

Yes. Tested and working fine.

Ohk this I m testing now


android has no campaign attribute for LinkProperties ?

iOS has it and Android doesn't it seems.

@pcompassion actually we do not offer this on iOS. campaign is a parameter that may be retrieved in-app, but it's only really intended to be set on Marketing links. We provide other ways of labeling links so you can see aggregate analytics, the most versatile being tags.
We're closing this for now. Please let us know if you have other questions about this, including other alternatives to campaign.


Add thumbnails to Wikimedia

Problem

Related to #2442, we have seen tiff images coming from Wikimedia, so while that issue gets solved, we can also add thumbnails to these images and prevent situations where the browser can't show the image, like the following case:
https://openverse.org/image/3caf9d55-f9b3-471b-9ce2-926fdb07a0e4

Description

We can get the thumbnail of the width we want appending the param iiurlwidth=<desired_number> to the API endpoint, e.g: https://commons.wikimedia.org/w/api.php?action=query&titles=File:Albert Einstein Head.jpg&prop=imageinfo&iiprop=url|user|dimensions|extmetadata|mediatype|size&iiurlwidth=600
One possible issue with this is that the documentation says:

For performance reasons if this option is used, no more than 50 scaled images will be returned.

Our current batch limit is set to 250.
Additional context

Source: https://wmds-archive.toolforge.org/t/accessing-a-commons-thumbnail-via-wikidata/499/

Upload an Image: First, upload your image to Wikimedia Commons.
Edit a Page: Go to the Wikimedia page where you want to add the thumbnail.
Add Image Link: Use double square brackets and the "File:" prefix to link to your image, like this: [[File:YourImageFilename.jpg]].
Customize Thumbnail: If needed, adjust the thumbnail's size, position, and caption within the brackets, like this: [[File:YourImageFilename.jpg|thumb|right|250px|Caption for the image]].
Save the Page: Save the page to display your thumbnail.

We've started generating thumbnail URLs on the fly for Wikimedia in #4736. Do we still need proper thumbnail URLs in the catalogue for Wikimedia? One of the difficulties is that the Wikimedia thumbnail endpoint also supports compression and resizing. Building them in the API means we have finer grained control over where we send parameters for those things, which also improves our ability to serve thumbnails for TIFFs and other formats Photon does not support. Using static thumbnail URLs in the catalogue would limit our ability to take advantage of that.
Can we close this issue in favour of the solution in #4736 or do y'all feel that is only a stop-gap, and a catalogue based approach would be better suited?

I have seen this and will respond to this discussion when I have time!

Sounds good. I was mostly expecting @krysal to reply as the author of the issue, just to clarify.


Tekton cli integration

Rewrite of the extension basing functionality on openshift-tools
The extension is currently able to display the same view as the current state of master (minus cluster tasks which have not yet been implemented through the tkn cli) without the race condition #7 that was identified.
There's still lots to do, but I think this is a lot closer to what we ultimately want.

Merging to continue iterating on this.


Resolution

This is a proposed resolution for:
https://github.com/cine-io/cineio-broadcast-android/issues/5
The ints in BroadcastConfig are set to Integers so they can be null, satisfying the checks that are set up in BroadcastActivity to ensure that a default resolution is captured.
Sorry a commit correcting build.gradle is sneaking up in there - I have yet to figure out how to ignore build.gradle in the android-sdk subdirectory.

This is super helpful. You're totally right that an uninitialized int is 0. So we should initialize it manually to -1 and then check for -1 when including it in the bundle extras.
I'll merge this and make the necessary changes.
To avoid committing the other config files, check out git add --patch and git checkout --patch. That will help you decide what to commit. I always patch add for every commit.

Thanks @lgorse. Merged and pushed 0.0.11.

Cool! I wasn't sure if the -1 was the best solution, since it requires a
"magic number" which can get lost in the mix, whereas null values are
fairly straightforward to the client.
On Sat, Jan 17, 2015 at 4:06 PM, Thomas Shafer<EMAIL_ADDRESS>wrote:

Thanks @lgorse https://github.com/lgorse. Merged and pushed 0.0.11
https://github.com/cine-io/cineio-broadcast-android/releases/tag/v0.0.11
.
—
Reply to this email directly or view it on GitHub
https://github.com/cine-io/cineio-broadcast-android/pull/6#issuecomment-70390395
.

--

Laurent Gorse
MBA, class of 2013
Stanford Graduate School of Business
650.644.9188
<EMAIL_ADDRESS>gsb.stanford.edu|Facebook: StanfordGSB http://facebook.com/StanfordGSB
|Twitter: @StanfordBiz http://twitter.com/StanfordBiz


Same sorting order as Photos.app

Hi, i have some problems to get the same sort order the actual photo app has.
When i upload an image to my photos e.g via airdrop or download from the internet, this photo appears on top in my photo.app. Even if the creationDate of this photo is older or from last year, etc.
But in TLPhotoPicker the sorting is defined by creation date, which results in a different sorting, because of the older creationDates in this example.
I tried using  PHFetchOptions:

sortDescriptors: "creationDate"
let fetchOptions = PHFetchOptions()
fetchOptions.sortDescriptors = [NSSortDescriptor(key: "creationDate", ascending: false)]

This is the default and the sorting is different from photos.app like described

sortDescriptors: "modificationDate"
let fetchOptions = PHFetchOptions()
fetchOptions.sortDescriptors = [NSSortDescriptor(key: "modificationDate", ascending: false)]

Looks close to the sorting of the photos.app but still the sorting is slightly different to the photos.app

No sortDescriptors at all

let fetchOptions = PHFetchOptions()
When i use just fetchOption without any sortDescriptors, the result is sorting is correct, but in the wrong  order. --> Oldest photos first.
This could be some kind of workaround, when it would be possible to invert the result array...
Did i miss something here or is there no way to get the default sorting from the photos app ?
p.s.: best photos library i have seen :-)
best regards, peter

+1 we would like a solution to this for our project as well.

Hi, @ppoh71 like you correctly stated, the current default sort order is by creation date which is the same than the camera roll of the photos app, but not the recents of the photos app.
That means if you add a photo from somewhere, which was taken years ago (i.e. creationDate is years ago), it will show under the camera roll in the year it was taken (far back, and the user would have to scroll all the way back), while in the recents you see it right at last, with the date when it was added.
Also on Stackoverflow the only solution mentioned for achieving this, is by using no sortDescriptors, like you wrote:
let fetchOptions = PHFetchOptions()
The only way how to deal with the reverse order of the fetchResults is to use a reverse index, like described here:
https://stackoverflow.com/a/38364910
On the first view, I guess this would need to be implemented in TLAssetsCollection.swift -> func getTLAsset(at indexPath: IndexPath) -> TLPHAsset?
+1 for a solution where we could switch between the sorting by creationDate and that recents sorting with a reversed index.

+1 for a solution to switch between the sorting by creationDate and that recents sorting with a reversed index.


Terms of use hyperlinks (EXPOSUREAPP-8848)

Ticket

I noticed a side effect in the open PR https://github.com/corona-warn-app/cwa-app-android/pull/5498#issuecomment-1228445813 which would make the links in the Terms of Use not clickable. I can see this on Android 8 and 12.
I wonder also why the Terms of Use links are plain text whereas the Privacy links use HTML tags.

I noticed a side effect in the open PR Privacy policy not displayed correctly on old devices (EXPOSUREAPP-7268) #5498 (comment) which would make the links in the Terms of Use not clickable. I can see this on Android 8 and 12.

I wonder also why the Terms of Use links are plain text whereas the Privacy links use HTML tags.

@MikeMcC399  #5498 is not merged yet, I think Terms of use links were broken even before . this PR is fixing them which is independent from the other PR

@mtwalli

Thanks for the feedback! Now that this PR for Terms of Use is merged, we can continue the discussion only in #5498.


pull of signed image results in messy "docker images" output

Description of problem:
After pulling a signed image, there is an "extra" entry (with tag <none>) in "docker images" output.  This makes it difficult to rmi the image (you have to force it, or else first delete the properly-tagged entry, or delete by digest.
pvn@gyarados /home/pvn> docker images
REPOSITORY               TAG                 IMAGE ID            CREATED             SIZE
pvnovarese/mprime        latest              459769dbc7a1        5 days ago          4.461 MB
pvnovarese/mprime        <none>              459769dbc7a1        5 days ago          4.461 MB

You can see the difference with --digests=true
pvn@gyarados /home/pvn> docker images --digests=true
REPOSITORY               TAG                 DIGEST                                                                    IMAGE ID            CREATED             SIZE
pvnovarese/mprime        latest              <none>                                                                    459769dbc7a1        5 days ago          4.461 MB
pvnovarese/mprime        <none>              sha256:0b315a681a6b9f14f93ab34f3c744fd547bda30a03b55263d93861671fa33b00   459769dbc7a1        5 days ago          4.461 MB

It's not a dangling image:
pvn@gyarados /home/pvn> docker images -f "dangling=true"
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE

This was previously reported but seems to have gotten lost in the shuffle:
https://github.com/docker/docker/pull/14546#issuecomment-124271277
So discussing this with @icecrime it seems that what's occurring is

client asks notary server to get the image digest for whatever tag is being pulled
client sends a pull by digest request
client tags the result with whatever tag was asked for

This should result in just one entry in the "docker images" output, with both the proper digest AND the tag.  The current behavior is bad user experience, since it not only creates messy output, it also violates the "no additional commands" design goal, since there are now extra steps required to clean up this mess.
pvn@gyarados /home/pvn> docker version
Client:
 Version:      1.10.0-dev
 API version:  1.22
 Go version:   go1.5.2
 Git commit:   8537501
 Built:        Mon Dec 21 21:05:49 2015
 OS/Arch:      linux/amd64
 Experimental: true

Server:
 Version:      1.10.0-dev
 API version:  1.22
 Go version:   go1.5.1
 Git commit:   38724c8
 Built:        Sat Nov 14 23:08:45 UTC 2015
 OS/Arch:      linux/amd64
 Experimental: true

pvn@gyarados /home/pvn> docker info
Containers: 2
Images: 63
Server Version: 1.10.0-dev
Storage Driver: devicemapper
 Pool Name: docker-8:19-30670953-pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 10.74 GB
 Backing Filesystem: extfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 1.607 GB
 Data Space Total: 107.4 GB
 Data Space Available: 105.8 GB
 Metadata Space Used: 3.572 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.144 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Data loop file: /usr/local/home/docker/0.0/devicemapper/devicemapper/data
 WARNING: Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.
 Metadata loop file: /usr/local/home/docker/0.0/devicemapper/devicemapper/metadata
 Library Version: 1.02.107 (2015-09-05)
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
 Volume:
 Network:
Kernel Version: 4.2.3-300.fc23.x86_64
Operating System: Fedora 23 (Workstation Edition)
CPUs: 4
Total Memory: 11.73 GiB
Name: gyarados
ID: A4R7:H3JO:KZC5:RVLX:334J:YWWC:QDTW:ZATQ:QED7:MRVU:CTDE:XDMB
Username: pvnovarese
Registry: https://index.docker.io/v1/
Experimental: true

pvn@gyarados /home/pvn> uname -a
Linux gyarados 4.2.3-300.fc23.x86_64 #1 SMP Mon Oct 5 15:42:54 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Environment details (AWS, VirtualBox, physical, etc.):
physical Fedora 23 box, but seems to be independent of environment
How reproducible:
100%
Steps to Reproduce:

enable Docker Content Trust
pull a signed image
there is no step 3

Actual Results:
pvn@gyarados /home/pvn> docker images --digests=true
REPOSITORY               TAG                 DIGEST                                                                    IMAGE ID            CREATED             SIZE
pvnovarese/mprime        latest              <none>                                                                    459769dbc7a1        5 days ago          4.461 MB
pvnovarese/mprime        <none>              sha256:0b315a681a6b9f14f93ab34f3c744fd547bda30a03b55263d93861671fa33b00   459769dbc7a1        5 days ago          4.461 MB

Expected Results:
pvn@gyarados /home/pvn> docker images
REPOSITORY               TAG                 IMAGE ID            CREATED             SIZE
pvnovarese/mprime        latest              459769dbc7a1        5 days ago          4.461 MB

pvn@gyarados /home/pvn> docker images --digests=true
REPOSITORY               TAG                 DIGEST                                                                    IMAGE ID            CREATED             SIZE
pvnovarese/mprime        latest              sha256:0b315a681a6b9f14f93ab34f3c744fd547bda30a03b55263d93861671fa33b00   459769dbc7a1        5 days ago          4.461 MB

Additional info:
n/a

Additionally, there's a big difference in what happens when you try to create a new container based on this image:
pvn@gyarados /home/pvn> docker -D run -d pvnovarese/mprime:latest
DEBU[0000] reading certificate directory: /home/pvn/.docker/tls/notary.docker.io
DEBU[0000] ignoring certificate, did not pass validation: docker.io/library/busybox/074cad59e43e13b440b11d1b5521e20aa8633fc8f3928720590268895711d0c6.crt
DEBU[0000] ignoring certificate, did not pass validation: docker.io/library/fedora/1185d39e76fe6e74293acd8df35a6ef542a6bf71d88b6c7944524cdc53ee2313.crt
DEBU[0000] ignoring certificate, did not pass validation: docker.io/library/hello-world/ff544c7f4ffa0a61b2fb836fb581182181c971acd58a7023c9a3b049dc952edd.crt
DEBU[0000] ignoring certificate, did not pass validation: docker.io/pvnovarese/clock/19d8187ba3d685bfbf70142e2efd61abcb8d4e81c85125ff69c91ab749083524.crt
DEBU[0000] ignoring certificate, did not pass validation: docker.io/pvnovarese/debug/f814c0f8371be789bb444f808d5022d6988dac20757f9f468e2c1f0c9956edc9.crt
DEBU[0000] ignoring certificate, did not pass validation: docker.io/pvnovarese/hello-world/b79ea1d3e95120f7ac6bbaa5a2b5b21142ff9beb13f8793c94824f87f087451b.crt
DEBU[0000] ignoring certificate, did not pass validation: docker.io/pvnovarese/mprime/2542f549ba3f7ed915bdc5a34f92ba599330247c49d0e18b1c56ae9e0b03106a.crt
DEBU[0000] Adding cert with certID: 074cad59e43e13b440b11d1b5521e20aa8633fc8f3928720590268895711d0c6
DEBU[0000] Adding cert with certID: 1185d39e76fe6e74293acd8df35a6ef542a6bf71d88b6c7944524cdc53ee2313
DEBU[0000] Adding cert with certID: ff544c7f4ffa0a61b2fb836fb581182181c971acd58a7023c9a3b049dc952edd
DEBU[0000] Adding cert with certID: 19d8187ba3d685bfbf70142e2efd61abcb8d4e81c85125ff69c91ab749083524
DEBU[0000] Adding cert with certID: f814c0f8371be789bb444f808d5022d6988dac20757f9f468e2c1f0c9956edc9
DEBU[0000] Adding cert with certID: b79ea1d3e95120f7ac6bbaa5a2b5b21142ff9beb13f8793c94824f87f087451b
DEBU[0000] Adding cert with certID: 2542f549ba3f7ed915bdc5a34f92ba599330247c49d0e18b1c56ae9e0b03106a
DEBU[0000] Failed to initialize PKCS11 environment: No library found.
DEBU[0000] Increasing token expiration to: 0 seconds
DEBU[0001] 200 when retrieving metadata for root
DEBU[0001] entered ValidateRoot with dns: docker.io/pvnovarese/mprime
DEBU[0001] found the following root keys: [2542f549ba3f7ed915bdc5a34f92ba599330247c49d0e18b1c56ae9e0b03106a]
DEBU[0001] found 1 valid leaf certificates for docker.io/pvnovarese/mprime
DEBU[0001] found 1 valid root certificates for docker.io/pvnovarese/mprime
DEBU[0001] entering root certificate rotation for: docker.io/pvnovarese/mprime
DEBU[0001] Adding cert with certID: 2542f549ba3f7ed915bdc5a34f92ba599330247c49d0e18b1c56ae9e0b03106a
DEBU[0001] ignoring certificate addition to: docker.io/pvnovarese/mprime
DEBU[0001] Root validation succeeded for docker.io/pvnovarese/mprime
DEBU[0001] Adding key 575b6c071d260ebcd3c59f5a061603ece372e508d765a440582110534b7357f3
DEBU[0001] Adding key 97abef2861f45cc5a16172ea5143befc7d2b0f72acd7cc95087ff31b7323007c
DEBU[0001] Adding key f6fc4a2093f2fc053685cd0a4e03e758e132e28d5663b179ad3b18f9d549a387
DEBU[0001] Adding key 2542f549ba3f7ed915bdc5a34f92ba599330247c49d0e18b1c56ae9e0b03106a
DEBU[0001] Adding role root with keys 2542f549ba3f7ed915bdc5a34f92ba599330247c49d0e18b1c56ae9e0b03106a
DEBU[0001] Adding role snapshot with keys f6fc4a2093f2fc053685cd0a4e03e758e132e28d5663b179ad3b18f9d549a387
DEBU[0001] Adding role targets with keys 575b6c071d260ebcd3c59f5a061603ece372e508d765a440582110534b7357f3
DEBU[0001] Adding role timestamp with keys 97abef2861f45cc5a16172ea5143befc7d2b0f72acd7cc95087ff31b7323007c
DEBU[0001] updating TUF client
DEBU[0001] downloadTimestamp
DEBU[0001] 200 when retrieving metadata for timestamp
DEBU[0001] timestamp role has key IDs: 97abef2861f45cc5a16172ea5143befc7d2b0f72acd7cc95087ff31b7323007c
DEBU[0001] verifying signature for key ID: 97abef2861f45cc5a16172ea5143befc7d2b0f72acd7cc95087ff31b7323007c
DEBU[0001] successfully verified timestamp
DEBU[0001] downloadSnapshot
DEBU[0001] using cached snapshot
DEBU[0001] snapshot role has key IDs: f6fc4a2093f2fc053685cd0a4e03e758e132e28d5663b179ad3b18f9d549a387
DEBU[0001] verifying signature for key ID: f6fc4a2093f2fc053685cd0a4e03e758e132e28d5663b179ad3b18f9d549a387
DEBU[0001] successfully verified snapshot
DEBU[0001] using cached targets
DEBU[0001] targets role has key IDs: 575b6c071d260ebcd3c59f5a061603ece372e508d765a440582110534b7357f3
DEBU[0001] verifying signature for key ID: 575b6c071d260ebcd3c59f5a061603ece372e508d765a440582110534b7357f3
DEBU[0001] successfully verified targets
DEBU[0001] updating TUF client
DEBU[0001] downloadTimestamp
DEBU[0001] 200 when retrieving metadata for timestamp
DEBU[0001] timestamp role has key IDs: 97abef2861f45cc5a16172ea5143befc7d2b0f72acd7cc95087ff31b7323007c
DEBU[0001] verifying signature for key ID: 97abef2861f45cc5a16172ea5143befc7d2b0f72acd7cc95087ff31b7323007c
DEBU[0001] successfully verified timestamp
DEBU[0001] downloadSnapshot
DEBU[0001] using cached snapshot
DEBU[0001] snapshot role has key IDs: f6fc4a2093f2fc053685cd0a4e03e758e132e28d5663b179ad3b18f9d549a387
DEBU[0001] verifying signature for key ID: f6fc4a2093f2fc053685cd0a4e03e758e132e28d5663b179ad3b18f9d549a387
DEBU[0001] successfully verified snapshot
DEBU[0001] using cached targets
DEBU[0001] targets role has key IDs: 575b6c071d260ebcd3c59f5a061603ece372e508d765a440582110534b7357f3
DEBU[0001] verifying signature for key ID: 575b6c071d260ebcd3c59f5a061603ece372e508d765a440582110534b7357f3
DEBU[0001] successfully verified targets
DEBU[0001] using cached targets
DEBU[0001] targets role has key IDs: 575b6c071d260ebcd3c59f5a061603ece372e508d765a440582110534b7357f3
DEBU[0001] verifying signature for key ID: 575b6c071d260ebcd3c59f5a061603ece372e508d765a440582110534b7357f3
DEBU[0001] successfully verified targets
33e8b590c835371b43a2c32edb47cc08538097b3b35891460176052dbee05f34

Now, compare this to creation when we specify the digest:
pvn@gyarados /home/pvn> docker -D run -d pvnovarese/mprime@sha256:0b315a681a6b9f14f93ab34f3c744fd547bda30a03b55263d93861671fa33b00
17e921adb660e621a1eb05a5e291a86a538fef4bbe20f43d54f73a1e5117dd30

This is probably more of a documentation issue, since nowhere in docs.docker.com (that I could find, at least) do we list the best practice for actually running new containers once the signed image is pulled.  Honestly, I'm not sure which of those two is the better option.  It seems that the engine just implicitly trusts anything that has a digest attached to it?  Not sure how secure that is, it seems more robust to verify the signature (etc) at run time (perhaps the key has been rotated/expired since we pulled?, etc).


Implement verification result cache at the executor level

Ratify should cache verification result at the executor level to handle scenario when multi node deployments are validating the same image. This would also help with audit scenario discussed here

We want to think about in which scenarios the cache needs to be invalidated (e.g. on config update). and make sure logging reflects which response are fresh/vs cached.

This has security implications to work through.  Need to consider if we should do this at all.

I think we may need to reprioritize this given recent conversations about implementing caching so audit loops complete. cc: @sozercan

Yes, this is a priority task. There needs to be a cache and invalidation process (perhaps based on TTL?) which should be configurable or disabled completed if needed

@sajayantony @luisdlp can we add this to beta 2 milestone?

Adding @toddysm. Beta2 is in 2/3 weeks so not sure if we can get  it given the holidays.

Not in scope for Beta 2.  Will address on RC 1.

Cache has been enabled.


can't access a secret variable in gulp

I create a PAT as a secret variable. I use that token from within a gulp task through process.env["VAR_NAME"]
This variable is always empty on build time. Is this a known issue for node?

Not known - looking

Are you running on a windows agent or osx/linux?

I tried it on all platforms.
On Dec 5, 2015, at 8:04 AM, Bryan MacFarlane <notifications<EMAIL_ADDRESS>wrote:
Are you running on a windows agent or osx/linux?

Reply to this email directly or view it on GitHubhttps://github.com/Microsoft/vso-agent/issues/164#issuecomment-162216391.

Bump

Investigating ...

Secret variables need to be mapped into inputs of tasks.  They don't get set as vars
So on definition variables
mysecret=foo
On task (such as shellscript)
arguments="foo bar $(mysecret)"
Now it's available


Add Jenkins pipeline

@rtyler
Adding jenkins pipeline with HTML coverage report publisher

@bitwiseman if I merge this, would you be offended if I took a crack at cleaning up the RVM hackery?

Not at all.  I'd like to see what it looks like unhacked.


Add support for Hypertext Application Language

HAL (http://stateless.co/hal_specification.html) is a simple format that gives a consistent and easy way to hyperlink between resources in your API.
The goal of this PR is to add this content type to the default ones.
Closes #277.

@ordepdev I get what you're saying, yet I stand at my position that it should not be part of the core.It can be easily done with the current tesla.
Again, adding "text/javascript" was a mistake in the early days, it might get removed in 2.0 but so far I'm not breaking backwards compatibility for aesthetic reasons only.
@ordepdev I appreciate your contribution and the time you've spend to describe the case. Unfortunately I have to say no, I'm sure you understand that. Thank you again, and I hope this won't put you away from future contributions.


[Post Ray 2.2.0 Release] Update Ray versions to Ray 2.2.0

Signed-off-by: Dmitri Gekhtman<EMAIL_ADDRESS>

Why are these changes needed?

This PR updates Ray versions to Ray 2.2.0.
It should be merged after the Ray 2.2.0 release.
Related issue number

Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[ ] Manual tests
[ ] This PR is not tested :(

I did my best with grep. If anything is missing, we can fix it later.

SGTM

Hey folks, ray 2.2.0 release is out. The PR is unblocked to be merged if it's ready.

Hey folks, ray 2.2.0 release is out. The PR is unblocked to be merged if it's ready.

Thanks for the update!

I've resolved conflicts. This should be fine to merge after the CI finishes.


[fix] remove chart id from filter_scopes metadata if chart is not in dash anymore

CATEGORY
Choose one

[x] Bug Fix
[ ] Enhancement (new features, refinement)
[ ] Refactor
[ ] Add tests
[ ] Build / Development Environment
[ ] Documentation

SUMMARY
when user or db migration removed a chart from dashboard, we didn't update filter_scopes metadata. It didn't cause any issue when we load filters in dashboard. But when user copy dashboard with slices, it will show error because dashboard can't find the new slice id from the copied dashboard:

TEST PLAN
CI and manual test
ADDITIONAL INFORMATION

[X] Has associated issue: #9188
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

REVIEWERS
@serenajiang @michellethomas

@graceguo-supercat part of my confusion was the reuse of the slice_id local variable. For readability there may be merit in using a different variable name. This comment is non-blocking.

thanks John. I feel it is very bad to reuse local variable. I didn't notice it. Definitely need fix. it.

@graceguo-supercat part of my confusion was the reuse of the slice_id local variable. For readability there may be merit in using a different variable name. This comment is non-blocking.

Codecov Report

Merging #9213 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #9213   +/-   ##
=======================================
  Coverage   58.91%   58.91%
=======================================
  Files         372      372
  Lines       11996    11996
  Branches     2937     2937
=======================================
  Hits         7068     7068
  Misses       4750     4750
  Partials      178      178

Continue to review full report at Codecov.

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


DimensionModel.compute_file_hash has a minor bug that does not appear to cause an error

This is no longer an issue.


compat/arc4random.c: use memset instead of explicit_bzero

Use memset instead of explicit_bzero to avoid the following build failure with uclibc-ng since version 10.0.3 and
https://github.com/NetworkConfiguration/dhcpcd/commit/837d09e34c487edaa92aa2ae71a630d84c927f8e:
/home/fabrice/buildroot/output/host/lib/gcc/arm-buildroot-linux-uclibcgnueabi/12.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../compat/arc4random.o: in function `_rs_stir_if_needed':
arc4random.c:(.text+0x8cc): undefined reference to `explicit_bzero'

C23 gives us memset_explicit(), so maybe in 3-10 years we can start using it

With this change, chances are the call to memset() will be optimized out by the compiler and the rnd buffer won't be erased. I don't know the security impact of that but I assume there was a good reason to use explicit_bzero() in the first place.
Wouldn't it be safer to leverage feature test macros or the like to keep relying on explicit_bzero() on systems that support it and use alternatives on others?

Happy to look at a PR that adds HAVE_MEMSET_EXPLICT and HAVE_BZERO_EXPLICIT macros set by configure and call the relevant functions accordingly. If anyone is concerned by this in dhcpcd-10.0.4 they can always set CFLAGS=-O0 which should disable any optimisations.

@thithib This is now done and I emitted a warning if we have to fallback to memset.
Only uclibc users (which @ffontaine is using based on his output) will see this warning hopefully.


[CHAD-8746] Fixed category for DM2500ZB from Light to Switch

Fixed category for DM2500ZB from Light to Switch
Signed-off-by: Keuckdo Bang<EMAIL_ADDRESS>

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

sengled

@greens
I can't merge this PR because https://github.com/SmartThingsCommunity/SmartThingsEdgeDrivers/runs/6701178751?check_suite_focus=true
can you merge this PR?


sqrtD alternative implementation

sqrtD currently uses Heron's iteration. Worthwhile to compare to Newton's method with iteration
x_{j+1} = x_j + x_j (1 − x_j^2 * y)/2

This halved the running time even for small arguments (~50 bits) and improved even more for larger arguments.


[Proposal] Generate mapping file of slices and original audio files

Summary
As a video editor, I want to slice videos based on the audio part. I need to remove silence parts from my live playbacks. If this tool can produce a file that maps sliced audios to time spans of the original audio, I can use the mapping file to slice my videos to remove silence parts automatically with video processing tools (like ffmpeg). I can also use speech to text tools to filter audio slices, then filter spans of my videos based on the mapping file.
File format
The following file maps time spans of 2 original audios to 5 audio slices. The output path of the mapping file needs to be specified from GUI before slicing.
{
  "outputFolder": "C:\\Users\\UserName\\Videos\\PlaybackSlices",
  "tasks": [
    {
      "originalFile": "C:\\Users\\UserName\\Videos\\Playback202405030234.wav",
      "slices": [
        {
          "start": 0,
          "end": 1780,
          "file": "Playback202405030234_0.wav"
        },
        {
          "start": 1780,
          "end": 2460,
          "file": "Playback202405030234_1.wav"
        }
      ]
    },
    {
      "originalFile": "C:\\Users\\UserName\\Videos\\Playback202405040330.wav",
      "slices": [
        {
          "start": 0,
          "end": 2790,
          "file": "Playback202405040330_0.wav"
        },
        {
          "start": 3150,
          "end": 9460,
          "file": "Playback202405040330_1.wav"
        },
        {
          "start": 12800,
          "end": 14690,
          "file": "Playback202405040330_2.wav"
        }
      ]
    }
  ]
}

Note
I'm not sure whether I can implement this feature by myself. Because I'm new to Python. If I managed to implement this feature, I'll open a pull request.

I've updated the UI and finished the JSON exporting part on my fork. But the time unit of spans are not in milliseconds. The time unit is actually seconds multipled by the sample rate. Once the unit conversion is done, I'll create a pull request.

If you want to obtain time stamps, see https://github.com/flutydeer/audio-slicer/discussions/18#discussioncomment-7452464

@flutydeer Thanks for letting me know OpenVPI's dataset-tools. However, that tool uses audio frames instead of milliseconds as time unit, which is unfriendly for ffmpeg.
I've finished the time unit conversion part on my fork. The output JSON uses milliseconds.
If you're interested in the time stamps feature, I can create a pull request.


initSession not returning

I recently updated my branch SDK, and trying to use it with Ionic 1.
After seeing the deprecated message for the global window.DeepLinkHandler function, I updated my code from
Branch.initSession().then(function (response) {
to
Branch.initSession(function (response) {
but it stopped working. I managed to trace it a bit, and found that it gets to the line
return execute('initSession');, but never returns. I had to revert back to using the global function, and it works fine (?).
I call initSession after Branch.setDebug(DEVELOPMENT_MODE); but that one seems to return fine.

Hello @Nostrus,
Thank you for reaching out.
So basically what is happening:

You update the Branch SDK
You got an error saying DeepLinkHandler is depreciated
You removed

// global function
function DeepLinkHandler(data) {
  if (data) {
    alert('Data Link handler response: ' + JSON.stringify(data));
  }
}

You added

// Branch initialization
Branch.initSession(function(data) {
  // read deep link data on click
  alert('Deep Link Data: ' + JSON.stringify(data));
});

You click on your deep link
You are not getting data from the code in 4.

Can you please try the following?

Try the following testing procedures so there is no cached version of your app
Give me your environment info ( cordova plugin, cordova info) and device info (iOS version, Android version)
Give me any relevant Branch code. Since you are using Ionic 1, the placement of Branch.initSesssion is important

I look forward to your response.
Best,

Hi @ethanneff, thanks for the quick reply!
So, when when seeing the deprecated message I still get back the initSession response saying
{"+is_first_session":false,"+clicked_branch_link":false}
After doing steps 3 and 4 I no longer manage to step into the callback of initSession, which I previously used to handle application logic (hiding main loader and navigating to subpage based on Branch data)
I don't click on any link in this scenario. I deleted my app from my Adnroid phone before reinstalling it, but same results.
Android version is 5.1.
Branch.initSession(function (response) { is being called inside $ionicPlatform.ready(function () {
I attached cordova info, hope this is enough information :)
plugin-list.txt
cordova info.txt

@Nostrus , can you try executing your Branch.initSession inside the Angular .run() method instead of the $ionicPlatform.ready?

I tried this, and although my app doesn't halt anymore, the initSession callback is not called, either. Not sure anymore if it's supposed to be called in this new version. Same thing happens as I described originally:

it gets to the line return execute('initSession'); but never returns.

Hello @Nostrus,
Can you make sure Branch is defined in your app? You can do this by: launching your app to your device

Hello @Nostrus
Can you make sure Branch is defined in your app? You can do this by:

Connecting your device to your computer
Launching your app
Inspecting your app with Safari (docs)
Typing in Branch into Safari console
Example:

Additionally, when you are initializing Branch, can you make sure you are doing it it both deviceReady and resume.
Best,

@ethanneff Sorry for not getting back on this. I started migrating my app to Ionic 2 and invested time in that instead. Will update my code to use the Typescript examples of your library and that will hopefully work just fine.


PrefixLM is loaded as CausalLM after HuggingFace export

When loading a prefix-lm model trained with llm-foundry into HuggingFace, one is tempted to do an AutoModelForCausalLM.from_pretrained(<snapshot>).
However, this loads the model not as a prefix-lm but as a causal LM (what I learnt the hard way).
In consequence, the predictions of the model are not exactly random, but rather suboptimal given its training state.
I consider this a bug, because it lets the user falsely believe that the model is loaded correctly. It is also kind of sneaky, as only if we compare the model predictions after loading with the ones from e.g. the training, we can see that something is not right.
The expected behavior would be to not allow a loading of a prefix-lm model as a causal LM with a pure left-to-right mask.
Environment

conceptual problem with the HuggingFace interfacing  (tested with llm-foundry:main)

To reproduce
Steps to reproduce the behavior:

train a prefix-lm
convert it with the llm-foundry scripts to HuggingFace
Load it via AutoModelForCausalLM.from_pretrained()

Model will be loaded in the wrong state.
Expected behavior
Model will not be loaded at all. An error message reminds me to turn on trust_remote_code

Hey @timsteuer, just to confirm. If you specify trust_remote_code=True, everything works the way you expect?

Yes, after trust_remote_code everything works fine.

Got it, unfortunately there isn't anything we can do about this. When you do AutoModelForCausalLM.from_pretrained() with an mpt model and trust_remote_code=False, it never touches code that Mosaic controls. It only uses Hugging Face code, because they have created an implementation of MPT within transformers itself.

Oh, I see.
So from your side, it might be a good idea to document that somewhere very prominently.
I only got the idea after reading to load the model with trust_remote_code=True in the HF documentation under usage tips.
Also, do you think it would be worthwhile to raise an issue / pull request @ HuggingFace?
If I get it correctly, they just have to check the config for the model's objective to see if they can load their implementation or have to use your implementation with trust_remote_code=True.

Yeah, docs are a good idea. We have an explicit error if you try to use MPT with trust_remote_code=False in foundry too. Where might you have looked for them to help me decide where to put them?
As for an issue/PR on Hugging Face, sounds reasonable to me! I'm not sure if they will want to do this because there are actually quite a few things that our implementation supports that theirs does not, but no harm in asking.

Hm, documentation may be helpful at the following two places:

In the scripts/inference/convert_composer_to_hf.py: show a warning when converting a prefix-lm that this must be loaded with trust remote code=True  to work as expected.
Put an entry inside the LLM Foundry Tutorial (something like common pitfalls)

Thanks for the suggestions, will do!

We decided to deprecate and remove support for preflixlm, so I'm going to go ahead and close this issue.


fix(opentrons-ai-client): fix textboxarea position issue

Overview
fix textboxarea position issue
close AUTH-425

Test Plan

Changelog

Review requests

Risk assessment

Need to merge other 2 PRs into edge before making this PR open.
https://github.com/Opentrons/opentrons/pull/15193
https://github.com/Opentrons/opentrons/pull/15226


K8SPXC-1423: Delete mysql-init secret with finalizer

CHANGE DESCRIPTION
Problem:
mysql-init secret is not cleaned up by percona.com/delete-pxc-pvc finalizer
Solution:
clean up
CHECKLIST
Jira

[x] Is the Jira ticket created and referenced properly?
[x] Does the Jira ticket have the proper statuses for documentation (Needs Doc) and QA (Needs QA)?
[x] Does the Jira ticket link to the proper milestone (Fix Version field)?

Tests

[x] Is an E2E test/test case added for the new feature/change?
[x] Are unit tests added where appropriate?
[x] Are OpenShift compare files changed for E2E tests (compare/*-oc.yml)?

Config/Logging/Testability

[x] Are all needed new/changed options added to default YAML files?
[x] Did we add proper logging messages for operator actions?
[x] Did we ensure compatibility with the previous version or cluster upgrade process?
[x] Does the change support oldest and newest supported PXC version?
[x] Does the change support oldest and newest supported Kubernetes version?

Test name
Status

affinity-8-0
passed

auto-tuning-8-0
failure

cross-site-8-0
passed

demand-backup-cloud-8-0
passed

demand-backup-encrypted-with-tls-8-0
failure

demand-backup-8-0
passed

haproxy-5-7
passed

haproxy-8-0
passed

init-deploy-5-7
passed

init-deploy-8-0
passed

limits-8-0
passed

monitoring-2-0-8-0
passed

one-pod-5-7
passed

one-pod-8-0
passed

pitr-8-0
passed

pitr-gap-errors-8-0
passed

proxy-protocol-8-0
passed

proxysql-sidecar-res-limits-8-0
passed

pvc-resize-5-7
passed

pvc-resize-8-0
passed

recreate-8-0
passed

restore-to-encrypted-cluster-8-0
failure

scaling-proxysql-8-0
passed

scaling-8-0
passed

scheduled-backup-5-7
failure

scheduled-backup-8-0
passed

security-context-8-0
passed

smart-update1-8-0
passed

smart-update2-8-0
passed

storage-8-0
passed

tls-issue-cert-manager-ref-8-0
passed

tls-issue-cert-manager-8-0
passed

tls-issue-self-8-0
passed

upgrade-consistency-8-0
passed

upgrade-haproxy-5-7
passed

upgrade-haproxy-8-0
passed

upgrade-proxysql-5-7
passed

upgrade-proxysql-8-0
passed

users-5-7
passed

users-8-0
passed

validation-hook-8-0
passed

We run 41 out of 41

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/1762/commits/8f61794abde4042c7f3a906a6f2f94c83e1d412f
image: perconalab/percona-xtradb-cluster-operator:PR-1762-8f61794a


add aliases for hash, hmac, verify, sign, cipher[iv], decipher[iv]

node has crypto.Hash as an alias for crypto.createHash and the same with Hmac, Verify, Sign, Cipher, Cipheriv, Decipher, and Decipheriv

ACK, and TIL

yeah I noticed this when looking to get the spelling of pseudoRandomNumber

3.9.0 (it's technically a feature)


Populate requests in get_state

Right now get_state does not populate requests:
https://github.com/paradigmxyz/reth/blob/0bf59eea514c3a8e24ebcece3fadf2d236e45389/crates/storage/provider/src/providers/database/provider.rs#L889-L895
The RequestsProvider method requires a timestamp which is not fetched in this method, so we may need to either refactor get_state (and the trait API), get the timestamp some other way, or refactor the RequestsProvider API.

this might no longer be necessary depending on whether we actually need to store requests
cc @onbjerg

still needed for rpc

we no longer store them


does not invoke not existing methods

As the addListener and removeListener methods are not part of Animated interface it should be called defensively.
Specifically, I faced problem when _parent property of AnimatedInterpolation was instance of AnimatedModulo (which does not implement removeListener method). On component unmount it called __detach method which afterwards throwed an uncaught error.

I believe #49 should fix this, though it may not be a bad idea to add this and be defensive anyway


allow non-global install

It's a bad practice to clutter your global PATH with project dependent tools.
Most 'global' NPM modules, including fuge, are targeted at building and maintaining projects.
I always install these into the local node_modules of the project and add node_modules/.bin to the $PATH so that I can use another version of the 'global' tool for another project.
For some reason, Fuge can't work like that:
➜  fubar git:(master) ✗ export $PATH=PATH:node_modules/.bin
➜  fubar git:(master) ✗ npm i fuge
...
➜  fubar git:(master) ✗ fuge generate system
module.js:341
    throw err;
    ^

Error: Cannot find module '/home/nherment/workspace/nearform/fubar/node_modules/fuge/node_modules/generator-fuge/generators/app/index.js'
    at Function.Module._resolveFilename (module.js:339:15)
    at Function.require.resolve (internal/module.js:23:19)
    at locateGenerator (/home/nherment/workspace/nearform/fubar/node_modules/fuge/util.js:85:20)
    at /home/nherment/workspace/nearform/fubar/node_modules/fuge/generator.js:72:20
    at Array.forEach (native)
    at createEnv (/home/nherment/workspace/nearform/fubar/node_modules/fuge/generator.js:71:16)
    at Object.generateSystem (/home/nherment/workspace/nearform/fubar/node_modules/fuge/generator.js:426:11)
    at Command.generateSystem [as func] (/home/nherment/workspace/nearform/fubar/node_modules/fuge/fuge.js:43:15)
    at Command.call (/home/nherment/workspace/nearform/fubar/node_modules/commist/index.js:100:8)
    at Object.parse (/home/nherment/workspace/nearform/fubar/node_modules/commist/index.js:58:19)

I agree, and it's probably a one line fix in utils.js somewhere.
The way it tries to find generators, and frankly most things around scaffolding in general needs work.

I've found another bug with using fuge as a local project dependency.  Not sure if it's the same one line fix, but here's the report... this doesn't at all relate to the generators, and is running under Windows, if that makes any difference.
When run as a local dependency the resolution to any env_file files in system.yml will be relative to fuge directory.  When run as a global dependency, the resolution will be to the root of the project (or maybe cwd, unsure)
I had a heck of a time figuring out why I could npm start my project fine with an npm script that ran fuge build and fuge run but failed when I typed fuge shell manually from the command line, invoking the global bin command.
Also, maybe a separate bug - but if it fails to load the env file, no errors are reported.  When using fuge run will will just not show anything.  Inside fuge shell you can at least use info $app and it will report:
Error: D:\Code\system.env does not exist
not managed or unknown process

... that is when the project is located in D:\code\fuge-tests

It wasn't build with this in mind so I think trying to bash it in will end in trouble. For now this isn't officially supported.


Add Stats typing support

What kind of change does this PR introduce?
refactoring, typing
Did you add tests for your changes?
no
If relevant, link to documentation update:
N/A
Summary
Add (incomplete) typing to Stats.js.
Does this PR introduce a breaking change?
no
Other information

Why ESLint valid-jsdoc hating our JSDoc so much? 😁

Things are so much better since you opened this PR. Please resolve the conflicts.

@sandersn I've rebased the branch and fixed few errors. I think it is good now.


Unable to integrate bootstrap CSS and Jquery with react-boilerplate application

I am following react-boilerplate framework in our react based application.
This entire application is based on some third party CSS called Bootstrap CSS and JQUERY. I am unable to integrate or import them in an application. If i am importing it in main index.html page also those styles are not affecting the pages.
Kindly suggest me any alternative solutions.
Thanks.

Please fill out the issue template and be more specific on what actually isn't working.

Please fill out the issue template and be more specific on what actually isn't working.

I am not able to import bootstrap css and jquery to my application.
what is meant by issue template?

When you open an issue, the first thing you're doing is deleting that text in the box. That's the issue template, please fill it out.


Feat/conversation read wechaty

支持会话已读功能
https://github.com/wechaty/grpc/issues/189

https://github.com/wechaty/puppet/blob/c70a9b47a49170e94da7c06c4ead2348dc6dd88f/src/mixins/message-mixin.ts#L52-L57
The above code is two functions actually:
    conversationReadMark (conversationId: string) : Promise<boolean>
    conversationReadMark (conversationId: string, hasRead: boolean) : Promise<void>

The first is the getter, and the second is the setter.
I forget how we deal with the similar case before, can you help us to link 1-2 examples before?

https://github.com/wechaty/puppet/blob/c70a9b47a49170e94da7c06c4ead2348dc6dd88f/src/mixins/message-mixin.ts#L52-L57
The above code is two functions actually (overloaded):
    conversationReadMark (conversationId: string) : Promise<boolean>
    conversationReadMark (conversationId: string, hasRead: boolean) : Promise<void>

The first is the getter, and the second is the setter.
I forget how we deal with the similar case before, can you help us to link 1-2 examples before?

This will work because all fields in proto3 are optional.
Example: https://github.com/wechaty/grpc/blob/8d71b1750f32c9e78574f4264d8d79ada8a4a062/proto/wechaty/puppet/contact.proto#L78-L88
However it is not necessary for most Conatc and Room methods to be both setter and getter because we usually get them from contact / room payload. (This ia a different problem)

@huan this PR is ready to be reviewed

Thanks! Then let's merge the fix CI one before merging this one.


Data preprocessing

Fixed the data_loading and plt.fmri files
I delelted the convolution_script

we don't need the convolution script?

No we never ended up writing up the code to do the convolution and the scenes_pred.py replaces the analysis were going to do here

oh right, ok cool

Coverage remained the same at 97.222% when pulling 28ddd995619c5bd84c6dcaaf28e59e1bc456e471 on smoothing_dev into 618c2f31d5d3b2e32bfbf7b66aca44308cfea358 on master.