fix: added fetch env config to imitate the ee repo functionality

Description

Added the fetching of environment config for ee repo on create new app onboarding flow.
Imitated the fetchingEnvironmentConfigs function from ee to ce to provide consistency on both repos
Avoid the redirection from datasource sagas for changing the datasource form which was throwing error trying to create a redirection url.

PR fixes following issue(s)
Fixes #29231

if no issue exists, please create an issue and ask the maintainers about this first

Media

A video or a GIF is preferred. when using Loom, don’t embed because it looks like it’s a GIF. instead, just link to the video

Type of change

Please delete options that are not relevant.

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
Chore (housekeeping or task changes that don't impact user perception)
This change requires a documentation update

Testing

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration.
Delete anything that is not relevant

[ ] Manual
[ ] JUnit
[ ] Jest
[ ] Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/ok-to-test


Codeigniter-Empty-Barcode-Generator-Zend-Library-CI3

I've tried your library, but I can't see output only either any error.
it's displaying a blank page.

Kindly help me resolving this.
Thank you.

Please check your error log php...
I think your problem is php image library, and what kind of image library do you have?

i have same problem can you tell me how to solve this issue?

I find problem solve. when is use Layout Libraries then problem.

@mysoftit what do u mean?

I got same problem is bercode generate in CI Framwork. when i delete Layout Libraries then issue is solved.

Hi,
i'm facing this issue please help me how to solve this issue..
@mysoftit you have talk about the layout libarary is this libaray is part of zend barcode libaray..

@desta88 @mysoftit same issue :(

Can you please tell me you are using any custom library?

@mysoftit I am using AdminLTE, besides that I am using a library for QR Code. The QR Code is working fine

@mysoftit even when i clone this whole repo, paste it in htdocs and try to run it, it show black screen with a small square

can you shared your project i will try. but i solve my project develop HMVC with layout library when i delete layout library then working .

@mysoftit please share you mail id

<EMAIL_ADDRESS>

i have same issue. I dont know why, allredy rename to Zend Controller

i've the same issue. not able to find the solution

Please check your error log php...
I think your problem is php image library, and what kind of image library do you have?
dsdsdsd


religiousAffiliationCode does not work without displayName

this is a sample from the  section of an epic CCD

I was thinking that it should return "AME" if religiousAffiliationCode exists without displayName.
Or creating a function to translate any code.

Might be a bug from Epic's generation of the CCD
code="AME" does not seem to be a code for codeSystem="2.16.840.1.113883.5.1076"


bestvideo and/or bestaudio select non-existent format codes for some YouTube videos

As in #8955, some videos fail to download with ERROR: giving up after 10 retries, inspecting shows the format code that are attempted to download, 141 is not available on YouTube, yet youtube-dl formats still have the code available:
$ youtube-dl https://www.youtube.com/watch?v=tb-U5694Bhg -Fv
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'https://www.youtube.com/watch?v=tb-U5694Bhg', u'-Fv']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.03.18
[debug] Python version 2.7.9 - Linux-3.19.0-2-amd64-x86_64-with-debian-8.3
[debug] exe versions: ffmpeg 2.8.6-1, ffprobe 2.8.6-1
[debug] Proxy map: {}
[youtube] tb-U5694Bhg: Downloading webpage
[youtube] tb-U5694Bhg: Downloading video info webpage
[youtube] tb-U5694Bhg: Extracting video information
[youtube] tb-U5694Bhg: Downloading MPD manifest
[info] Available formats for tb-U5694Bhg:
format code  extension  resolution note
140          m4a        audio only DASH audio  127k , m4a_dash container, mp4a.40.2@128k (44100Hz), 559.30KiB
141          m4a        audio only DASH audio  255k , m4a_dash container, mp4a.40.2@256k (44100Hz), 1.10MiB
160          mp4        256x144    DASH video  111k , avc1.42c00c, 15fps, video only, 483.89KiB
133          mp4        426x240    DASH video  245k , avc1.4d4015, 25fps, video only, 1.05MiB
134          mp4        640x360    DASH video  562k , avc1.4d401e, 25fps, video only, 2.14MiB
135          mp4        854x480    DASH video 1112k , avc1.4d401e, 25fps, video only, 4.72MiB
136          mp4        1280x720   DASH video 2204k , avc1.4d401f, 25fps, video only, 9.42MiB
137          mp4        1920x1080  DASH video 4135k , avc1.640028, 25fps, video only, 17.67MiB
264          mp4        1920x1080  DASH video 4934k , avc1.4d4028, 25fps, video only, 20.07MiB
17           3gp        176x144    small , mp4v.20.3,  mp4a.40.2@ 24k
36           3gp        320x180    small , mp4v.20.3,  mp4a.40.2
5            flv        400x224    small , h263, mp3  @ 64k
43           webm       640x360    medium , vp8.0,  vorbis@128k
18           mp4        640x360    medium , avc1.42001E,  mp4a.40.2@ 96k
22           mp4        1280x720   hd720 , avc1.64001F,  mp4a.40.2@192k (best)

Thus, downloading format bestaudio fails:
$ youtube-dl https://www.youtube.com/watch?v=tb-U5694Bhg -vf bestaudio
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'https://www.youtube.com/watch?v=tb-U5694Bhg', u'-vf', u'bestaudio']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.03.18
[debug] Python version 2.7.9 - Linux-3.19.0-2-amd64-x86_64-with-debian-8.3
[debug] exe versions: ffmpeg 2.8.6-1, ffprobe 2.8.6-1
[debug] Proxy map: {}
[youtube] tb-U5694Bhg: Downloading webpage
[youtube] tb-U5694Bhg: Downloading video info webpage
[youtube] tb-U5694Bhg: Extracting video information
[youtube] tb-U5694Bhg: Downloading MPD manifest
[debug] Invoking downloader on u'https://r2---sn-p5qlsnez.googlevideo.com/videoplayback?id=b5bf94e7af780618&itag=141&source=youtube&requiressl=yes&nh=IgpwcjAxLmlhZDI2KgkxMjcuMC4wLjE&mv=u&ms=au&pl=24&mm=31&mn=sn-p5qlsnez&ratebypass=yes&mime=audio/mp4&gir=yes&clen=1148340&lmt=1381155063707495&dur=35.990&upn=mxUwqVfrW1E&fexp=9405960,9408214,9416126,9419452,9420452,9422342,9422596,9423661,9423662,9426857,9427364,9427902,9429297,9431012,9431115,9431117,9431439,9431530,9431862,9432056,9432684&mt=1458913528&sver=3&key=dg_yt0&signature=3B50EC8BC20440B2B9C0315493E6857E739A047D.048FC7A8B29F9FCB4DFE074973BE102E8B638BA0&ip=<IP_ADDRESS>&ipbits=0&expire=1458935225&sparams=ip,ipbits,expire,id,itag,source,requiressl,nh,mv,ms,pl,mm,mn,ratebypass,mime,gir,clen,lmt,dur'
[download] Got server HTTP error. Retrying (attempt 1 of 10)...
[download] Got server HTTP error. Retrying (attempt 2 of 10)...
[download] Got server HTTP error. Retrying (attempt 3 of 10)...
[download] Got server HTTP error. Retrying (attempt 4 of 10)...
[download] Got server HTTP error. Retrying (attempt 5 of 10)...
[download] Got server HTTP error. Retrying (attempt 6 of 10)...
[download] Got server HTTP error. Retrying (attempt 7 of 10)...
[download] Got server HTTP error. Retrying (attempt 8 of 10)...
[download] Got server HTTP error. Retrying (attempt 9 of 10)...
[download] Got server HTTP error. Retrying (attempt 10 of 10)...
ERROR: giving up after 10 retries
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/downloader/http.py", line 58, in real_download
    data = self.ydl.urlopen(request)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1929, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 475, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 558, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 500: Internal Server Error

And the default bestvideo+bestaudio/best fails with the same error, shown in #8955.
Either non-existent format codes should be removed from the format list or bestvideo & bestaudio should fallback to best existent format
(On a side node, format code 140 exists and is not silent.)

Duplicate of #3721.
We are well aware of the problem, no need to create duplicates.
To remove non-existent formats each format should be checked thus this will involve lots of additional network I/O that is unnecessary in most cases.


Specify key csv

Backend support for https://github.com/multinet-app/multinet-client/issues/15.

One thing to note, after adding this support, I think we should split up the validate_csv function, as I'm no longer satisfied with the way it operates:
https://github.com/multinet-app/multinet-server/blob/f3bf95a1da2c257958837e00844f0ad20f769097/multinet/uploaders/csv.py#L48-L91
The current way it works is messy, and does the testing for both node and edge tables, but really they're mutually exclusive test cases, and have no real reason to be in the same function. Splitting them up to do their respective checking would eliminate the need for confusing conditionals against the key argument. I would have done this here, but I thought it'd be too big of a change, and thought it'd be better to do that in a separate PR.

Anyway, please lmk what you guys think.

Also I reworked the test_csv_uploader file a bit, as before all the tests were in one function, and it would have grown uncomfortably large with these additions. Hopefully that wasn't too off topic for this PR.

I'm not sure we should force users to use _key if it exists though. I think we should suggest it, if it exists, but I don't think it should throw a validation error if another key variable is specified

I see your point, but if we allow that then we'll be overwriting the _key field. This isn't a problem necessarily, if the user is fully aware of what they're doing, but I'm uneasy about it. I'd like to hear @waxlamp weigh in.

I'm not sure we should force users to use _key if it exists though. I think we should suggest it, if it exists, but I don't think it should throw a validation error if another key variable is specified

I see your point, but if we allow that then we'll be overwriting the _key field. This isn't a problem necessarily, if the user is fully aware of what they're doing, but I'm uneasy about it. I'd like to hear @waxlamp weigh in.

Makes sense. Maybe a suitable solution would be to just rename the field the original _key column to something else and write the new column? Then nothing is overwritten and the users intentions are executed. I think Roni will have useful insight, though.

I'm not sure we should force users to use _key if it exists though. I think we should suggest it, if it exists, but I don't think it should throw a validation error if another key variable is specified

I see your point, but if we allow that then we'll be overwriting the _key field. This isn't a problem necessarily, if the user is fully aware of what they're doing, but I'm uneasy about it. I'd like to hear @waxlamp weigh in.

Makes sense. Maybe a suitable solution would be to just rename the field the original _key column to something else and write the new column? Then nothing is overwritten and the users intentions are executed. I think Roni will have useful insight, though.

The best thing to do is add one more toggle in the UI, a checkbox that says something like "Overwrite _key field if it exists". If that checkbox is unchecked, and the uploaded file contains a _key field, then it should fail validation with something like "Existing _key field would be overwritten". On the serverside, this ought to be fairly simple to add--it requires one more bool argument to the upload and validation functions, and the validation function would wrap the new checks for existing _key field in an if-block conditioned on that argument.
What do you think, @AlmightyYakob?

The best thing to do is add one more toggle in the UI, a checkbox that says something like "Overwrite _key field if it exists". If that checkbox is unchecked, and the uploaded file contains a _key field, then it should fail validation with something like "Existing _key field would be overwritten". On the serverside, this ought to be fairly simple to add--it requires one more bool argument to the upload and validation functions, and the validation function would wrap the new checks for existing _key field in an if-block conditioned on that argument.
What do you think, @AlmightyYakob?

That sounds like a good idea. Specifically, I think the default should be the unchecked state, to be safe.

Do you want to add this feature in on the current PR, or in a followup?

I can add it here, it's pretty relevant to this change so I think it's warranted.


how to use the publish-strategies of MediatR 12.0

I don't understand how to use the publish-strategies of MediatR, can anyone give me an example?
public static async Task DispatchDomainEvents(this IMediator mediator, DbContext context,List<DomainEvent> deletedDomainEvents)
    {
        // If the delete domain events list has a value publish it first.
        if (deletedDomainEvents.Any())
        {
            foreach (var domainEvent in deletedDomainEvents)
                await mediator.Publish(domainEvent);
        }

        var entities = context.ChangeTracker
            .Entries<BaseEntity>()
            .Where(e => e.Entity.DomainEvents.Any())
            .Select(e => e.Entity);

        var domainEvents = entities
            .SelectMany(e => e.DomainEvents)
            .ToList();

        entities.ToList().ForEach(e => e.ClearDomainEvents());

        foreach (var domainEvent in domainEvents)
            await mediator.Publish(domainEvent);
    }

I want to use the PublishStrategy.ParallelNoWait strategy to send notifications.

You need to specify that when registering/configuring mediatr.
If you're using the MS DI package, something like this:
services.AddMediatR(cfg=>{ cfg.NotificationPublisher = new YourStrategy(); });
Jimmy added 'ForeachAwait' and 'ParalellWhenAll'. You can write your own based on the examples in the repo.

See the release notes:
https://github.com/jbogard/MediatR/releases/tag/v12.0.0
And upgrade guide:
https://github.com/jbogard/MediatR/wiki/Migration-Guide-11.x-to-12.0
The docs have also been updated for custom notification publishers:
https://github.com/jbogard/MediatR/wiki#custom-notification-publishers

Thank you for your reply.
if I want to use PublishStrategy.ParallelNoWait:
Can I write this right?
public class ParallelNoWaitPublisher : INotificationPublisher
{
    public Task Publish(IEnumerable<NotificationHandlerExecutor> handlerExecutors, INotification notification, CancellationToken cancellationToken)
    {
        foreach (var handler in handlerExecutors)
        {
            Task.Run(() => handler.HandlerCallback(notification, cancellationToken));
        }

        return Task.CompletedTask;
    }
}

Oh yeah you can straight up copy the code from there in the samples, that was the point of them. I only added a couple basic options because there's so many possibilities.
Keep in mind this option won't bubble up exceptions so if your notification handler throws, you won't know unless you log it.

Yes, I got it. I just use it to send notification emails and don't want it to affect or interrupt the main thread even if there is an exception
Thank you very much for your support

@remcoros
services.AddMediatR(cfg=>{ cfg.NotificationPublisher = new YourStrategy(); });
It's look like this code set global stragtegy. Could I specify strategy for each publish event ?

Thanks, I resolve it !
    public class TestEvent: BaseEvent
    {
    }

    public abstract class BaseEvent : INotification
    {
        public PublishStrategy PublishStrategy { get; set; } = PublishStrategy.Async;
    }

    public enum PublishStrategy
    {
        SyncContinueOnException = 0,
        SyncStopOnException = 1,
        Async = 2,
        ParallelNoWait = 3,
        ParallelWhenAll = 4,
        ParallelWhenAny = 5,
    }

then publish like below:
await _mediator.Publish(new TestEvent() { PublishStrategy = PublishStrategy.ParallelNoWait }, cancellationToken);

Finally, CustomPublisher.cs
    internal class CustomPublisher : INotificationPublisher
    {
        public async Task Publish(IEnumerable<NotificationHandlerExecutor> handlerExecutors, INotification notification, CancellationToken cancellationToken)
        {
            if (notification is BaseEvent)
            {
                BaseEvent e = (BaseEvent)notification;

                if (e.PublishStrategy == PublishStrategy.Async)
                {
                    await AsyncContinueOnException(handlerExecutors, notification, cancellationToken);
                }
                else if (e.PublishStrategy == PublishStrategy.SyncStopOnException)
                {
                    await SyncStopOnException(handlerExecutors, notification, cancellationToken);
                }
                else if (e.PublishStrategy == PublishStrategy.SyncContinueOnException)
                {
                    await SyncContinueOnException(handlerExecutors, notification, cancellationToken);
                }
                else if(e.PublishStrategy == PublishStrategy.ParallelNoWait)
                {
                    ParallelNoWait(handlerExecutors, notification, cancellationToken);
                }
                else if (e.PublishStrategy == PublishStrategy.ParallelWhenAny)
                {
                    ParallelWhenAny(handlerExecutors, notification, cancellationToken);
                }
                else if(e.PublishStrategy == PublishStrategy.ParallelWhenAll)
                {
                    ParallelWhenAll(handlerExecutors, notification, cancellationToken);
                }
                else
                {
                    throw new ArgumentException("Unknown publish strategy.");
                }
            }
            else
            {
                throw new ArgumentException("Notification event class should inherit BaseEvent.");
            }
        }

        private Task ParallelWhenAll(IEnumerable<NotificationHandlerExecutor> handlers, INotification notification, CancellationToken cancellationToken)
        {
            var tasks = new List<Task>();

            foreach (var handler in handlers)
            {
                tasks.Add(Task.Run(() => handler.HandlerCallback(notification, cancellationToken)));
            }

            return Task.WhenAll(tasks);
        }

        private Task ParallelWhenAny(IEnumerable<NotificationHandlerExecutor> handlers, INotification notification, CancellationToken cancellationToken)
        {
            var tasks = new List<Task>();

            foreach (var handler in handlers)
            {
                tasks.Add(Task.Run(() => handler.HandlerCallback(notification, cancellationToken)));
            }

            return Task.WhenAny(tasks);
        }

        private Task ParallelNoWait(IEnumerable<NotificationHandlerExecutor> handlers, INotification notification, CancellationToken cancellationToken)
        {
            foreach (var handler in handlers)
            {
                Task.Run(() => handler.HandlerCallback(notification, cancellationToken));
            }

            return Task.CompletedTask;
        }

        private async Task AsyncContinueOnException(IEnumerable<NotificationHandlerExecutor> handlers, INotification notification, CancellationToken cancellationToken)
        {
            var tasks = new List<Task>();
            var exceptions = new List<Exception>();

            foreach (var handler in handlers)
            {
                try
                {
                    tasks.Add(handler.HandlerCallback(notification, cancellationToken));
                }
                catch (Exception ex) when (!(ex is OutOfMemoryException || ex is StackOverflowException))
                {
                    exceptions.Add(ex);
                }
            }

            try
            {
                await Task.WhenAll(tasks).ConfigureAwait(false);
            }
            catch (AggregateException ex)
            {
                exceptions.AddRange(ex.Flatten().InnerExceptions);
            }
            catch (Exception ex) when (!(ex is OutOfMemoryException || ex is StackOverflowException))
            {
                exceptions.Add(ex);
            }

            if (exceptions.Any())
            {
                throw new AggregateException(exceptions);
            }
        }

        private async Task SyncStopOnException(IEnumerable<NotificationHandlerExecutor> handlers, INotification notification, CancellationToken cancellationToken)
        {
            foreach (var handler in handlers)
            {
                await handler.HandlerCallback(notification, cancellationToken).ConfigureAwait(false);
            }
        }

        private async Task SyncContinueOnException(IEnumerable<NotificationHandlerExecutor> handlers, INotification notification, CancellationToken cancellationToken)
        {
            var exceptions = new List<Exception>();

            foreach (var handler in handlers)
            {
                try
                {
                    await handler.HandlerCallback(notification, cancellationToken).ConfigureAwait(false);
                }
                catch (AggregateException ex)
                {
                    exceptions.AddRange(ex.Flatten().InnerExceptions);
                }
                catch (Exception ex) when (!(ex is OutOfMemoryException || ex is StackOverflowException))
                {
                    exceptions.Add(ex);
                }
            }

            if (exceptions.Any())
            {
                throw new AggregateException(exceptions);
            }
        }
    }


Safe rules not working with pyaspio

Hello
When using py-aspio I've noticed a strange issue. If I run the following code (from within a python file):
%!  INPUT (Set<Thing> things) {
%!      exists(n.name) for n in things;
%!  }

%!  OUTPUT {
%!	testing = set { query: testing(X); content: X; };
%!  }

testing(X):-exists(X), thing(X).
thing(book).
thing(knife).

I get an empty output (the set 'testing' is empty).
If I add exists(book) to the code manually (writing it in as a rule instead of including it in the input specification), then book is included in the output set.
If I remove 'thing(X)' from the body of the testing(X) rule, then the output includes both book and knife, which is the behaviour I want (book and knife are both included in the input set 'things').
However with my real code (this is just a simple example) I can't remove the equivalent of 'thing(X)' from rules because I want to use SPARC to translate a sparc-formatted file into a basic asp-file, and in the translation process SPARC automatically tries to make rules 'safe' by including the requirement that they be of the right sort.
Why is this happening, and is there any way I can fix it?

Hello,
the issue is a bit subtle: dlvhex distinguishes between a normal constant symbol book and a quoted string constant "book". So it should work if you change the last two lines to:
thing("book").
thing("knife").

py-aspio always outputs quoted string constants (for consistency; so it works with all kinds of strings we get from the Python code).
I hope this helped!

Thank you for your help :)

No problem :)


Word the readmes better

Many of the packages have a section like that:

This module provides automatic instrumentation for package name.
For automatic instrumentation see the @opentelemetry/sdk-trace-node package.

Which reads very weird to me - both are kind of true, but in a different way.
https://github.com/open-telemetry/opentelemetry-js-contrib/pull/797#issuecomment-1001695501 suggested a better wording:

This module provides automatic instrumentation for the ___ module, which may be loaded using the @opentelemetry/sdk-trace-node package and is included in the @opentelemetry/auto-instrumentations-node bundle.
If total installation size is not constrained, it is recommended to use the @opentelemetry/auto-instrumentations-node bundle with @opentelemetry/sdk-node for the most seamless instrumentation experience.

Go over the readmes and fix the above occurrences.
Alternatively, we could figure out a better format for the README to avoid such tweaks in the future.

@dyladan would this be a PR implementing that pattern for all the relevant folder's readmes in https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node, and then a variation of that content in the web folder?

Yes. Are you considering taking on this work?

Yes, I think the only missing detail would be some of the context for the web folder, but I think we can first focus on the node folder and address web in a later PR.

https://github.com/open-telemetry/opentelemetry-js-contrib/pull/960 @dyladan confirming I have the right pattern/links before propogating further.


⚠ ClamAV has degraded performance

In 3e8a969, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 90 ms

Resolved: ClamAV performance has improved in decedd8.


Avoid dynamic imports

Avoid dynamic imports using __import__ or importlib where possible.

Import procedures from __main__
Import enrichment procedures from defaults.py
Import cumulative points in flow.py
Anything else?

After the fix, change kubemarine.spec correspondingly.

Cumulative points are fixed within #332

Enrichment procedures are to be fixed in #577


Create PositiveNumber type

Description
Create the PositiveNumber type in the kotools.types.number package.
This type should be available on all platforms.
Dependencies

[x] #99

Checklist

[x] Create the type with its builders.
[x] Update Work in progress section in changelog.

Done.

Don't include this issue in the version 3.0.0. We will focus on the Int hierarchy instead.


ARTEMIS-659 Remove unneeded CDI dependency.  Switch to geronimo atinj…

…ect JAR in all uses.
It turned out the client wasn't even using the dependency and the JARs were duplicated.  So more than anything this is clean up of unnecessary dependencies.

I just opened #694. And I'm running a few tests on it. It seems good so far.

BTW: keep this one open for now. Let me finish my tests first.

Closing out since Clebert pushed his own version.

@johnament thanks for pointing this out. I only pushed it because you pointed this was not needed.


[SPARK-5709] [SQL] Add EXPLAIN support in DataFrame API for debugging purpose

Test build #27181 has started for   PR 4496 at commit c2d5338.

This patch merges cleanly.

Test build #27181 has finished for   PR 4496 at commit c2d5338.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27181/
Test FAILed.

Test build #27184 has started for   PR 4496 at commit 5d92e1b.

This patch merges cleanly.

Test build #27184 has finished for   PR 4496 at commit 5d92e1b.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27184/
Test FAILed.

Test build #27205 has started for   PR 4496 at commit 013b05a.

This patch merges cleanly.

Test build #27205 has finished for   PR 4496 at commit 013b05a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27205/
Test PASSed.

Test build #27256 has started for   PR 4496 at commit 44ddb78.

This patch does not merge cleanly.

mind rebasing quickly?  we are going to cut a snapshot release soon.

yes, I am working on it now.

Test build #27262 has started for   PR 4496 at commit 552aa58.

This patch merges cleanly.

Test build #27256 has finished for   PR 4496 at commit 44ddb78.

This patch passes all tests.
This patch does not merge cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27256/
Test PASSed.

Test build #27262 has finished for   PR 4496 at commit 552aa58.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27262/
Test PASSed.


Fixes for CVE-2023-45288.

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] If you are adding/removing a .spec file that has multiple-versions supported, please add @microsoft/cbl-mariner-multi-package-reviewers team as reviewer (Eg. golang has 2 versions 1.18, 1.21+)
[ ] Ready to merge

Summary

What does the PR accomplish, why was it needed?
Change Log

CVE-2023-45288

Does this affect the toolchain?
NO
Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2023-45288

Test Methodology
TODO

should we target the main branch instead of 2.0 ?

Thanks. Fixed.

looks good overall, can you add a buddy build for validation? and resolve the conflicts for moby

https://dev.azure.com/mariner-org/mariner/_build/results?buildId=557937&view=results


Multi board project (Feature request)

Expected behavior
When a project size is a little big and several contributes involve, multi board project is required with access right of project members to specific boards in a project.

Probably a duplicate with #6.

I could not find the requested feature in your great work which you have commented as Duplicate
Is that really a project can have several boards and some member can access some and others can access others and the supervisor can see all boards in one dashboard? please advise.

+1


CPDEL-438: Add authentication to R&P client

Context
We added authentication to R&P, so our calls to their api won't work anymore.
Changes proposed in this pull request
Add authentication to our client. If you want the top secret key for R&P dev environment, pm me.
Guidance to review
Try logging in as<EMAIL_ADDRESS>It should work.
Testing
This is essentially adding one more secret, not sure there is much to test other than the integration actually working in practice.

After changes from https://github.com/DFE-Digital/early-careers-framework/pull/391 everything should work. I checked that it works with the current version of R&P dev environment db (I logged in as lead provider, yay).
That db will get wiped and re-created, but the PR I linked to will make sure that we keep the same E&L token that it has now.


Prerendering of views and window object missing?

Hi,
I'm currently trying to use powerbi-client library in my reactredux application.  However, when I use it i get the following exception:
Exception: Call to Node module failed with error: Prerendering failed because of error: ReferenceError: window is not defined
I believe this is because it tries to preRender some of the views and the views depend on a library that utilize the window object, but the window object does not exist on the server side.
Is disabling the prerender feature the only way to get around this problem?
Any advice appreciated,
Thanks,
Derek

One option that comes into my mind would be to render the component only on the client.

Agreed with @stephtr - you will need to put some logic around any code that tries to reference window so that it doesn't run during server-side prerendering. For example, use a check like if (typeof window !== 'undefined') { ... run client-side code ... }.

what about import 'xyz'. you can not put something like if in the import section

My use case was to use an external library wich attach an object to the global jQuery '$'. So it couldn't be used in server side.
I finally added the import of the external lib only in the boot-client.ts file in order to being include only in client side.


APP-1476: Make drop down select focus on top result

20230327_Make drop down select focus on top result
Items to Note:

Updates select and multi-select components to have the top (ordered) result already in focus such that a user can press enter and select that first item.
PR includes tests for this behavior as well.

Tested behavior manually, and it works as advertised. Tests look good, too!

Thanks for reviewing!


Enabling I18N causes all TinyMCE widgets to disappear

If I set USE_I18N = True in my settings.py, all TinyMCE widgets vanish. Looking at my page source, the TinyMCE widget isn't rendering any markup.

This has been documented with https://github.com/aljosa/django-tinymce/commit/214e1c6afb8d3c26417afc00bdbae3e3d8a71aae


Inertia representation

Hi
I am using kdl_parser 1.13.1. I am creating a tree from a urdf file in order to afterwards convert it to a chain with the getChain() function of kdl (because I didn't find a direct way to create a chain from a urdf file). My question is are the Inertia in the URDF file supposed to be with respect to the centre of gravity of the respective segment? Or with respect to the tip of the segment? Or with respect to the joint? I could not really understand how the Inertias are treated in the kdl_parser.

My question is are the Inertia in the URDF file supposed to be with respect to the centre of gravity of the respective segment?

As far as I remember,  the 3D inertia in the URDF file are expressed in the center of gravity of the link, that in the URDF context is sometime referred to "inertia" frame (not to be confused to the "inertial" frame of classical mechanics).
See https://github.com/ros/kdl_parser/blob/2.4.0/kdl_parser/src/kdl_parser.cpp#L106 for the related code.

Thank you! That is what I somwhat expected froom the code, but I wasn't sure if I got it right. But does that mean I can represent it in the URDF file with respect to the CoM and kdl will take care of it or do I have to do something so that the inertias are represented right? (Some context: I use the chain afterwards for the ChainIdSolver_RNE to calculate the torques. The torques are off what gazebo is telling me they should be, so I thought maybe there is something wrong with the Inertias)

But does that mean I can represent it in the URDF file with respect to the CoM and kdl will take care of it or do I have to do something so that the inertias are represented right?

Unless there is something wrong, the kdl_parser should convert the inertia in the representation expected by KDL.

(Some context: I use the chain afterwards for the ChainIdSolver_RNE to calculate the torques. The torques are off what gazebo is telling me they should be, so I thought maybe there is something wrong with the Inertias)

Depending on the precise physics engine, physics parameters and how you are computing the torque in Gazebo (if it includes friction, etc etc) then there may be several factors that may give you mismatching result. I personally would suggest to start with a really simple model (a single pendulum) for which you can compute analyitical the dynamics, and then validate both KDL and Gazebo with your analytical solution. Once you know that everything is consistent for a simple example, then you can try to get consistent results from a more complex mechanism.

Unless there is something wrong, the kdl_parser should convert the inertia in the representation expected by KDL.

Ok great

I personally would suggest to start with a really simple model (a single pendulum) for which you can compute analyitical the dynamics, and then validate both KDL and Gazebo with your analytical solution.

That sounds like a good plan. Thank you for your time!

Since I believe this is a question (and not something to change), I'm going to go ahead and close this.  Please feel free to reopen if you think there is a bug/problem in kdl_parser.


Adjust Site Style to FOSSASIA, fix small design issues and adjust colors

[ ] Fix the menu bar - currently it disappears when scrolling
[ ] Re-use the FOSSASIA style top menu bar and include the science hack logo (in white) on the top left
[ ] Take out "Register Here" on top bar
[ ] Change top background to red style
[ ] Change link color to red across page
[ ] Separate css from pages

@mariobehling I want to work on this

Do you mean something like the top menu bar in https://fossasia.org/?

With "Change link color to red across page" do you mean the yellow one?

link color

Change all links to red color similar to fossasia.org.

@mariobehling Instead of blue, the color must be red, right?

And the background color of the menu must be always red, right?

I think you misunderstand. Please compare to http://pslab.fossasia.org for example. Style should be similar across fossasia pages. Thanks.

The icon should be this?

This is my progress

@mariobehling The navbar should be always red?

I think that it would be better if it turns white when you scroll the page to the white section, like above

Yes, @Heredroky pls provide a demo link ?

@jig08 With which link does the image have to join with?

@jig08 Check the preview: https://heredroky.github.io/sciencehack.in/index.html


fix(form): internal package on local dev environment symlinked to node_modules

Fixes #239
Description of changes:

change internal packages reference to use * instead of latest.
turborepo check step depends on packages' build.

Tag a reviewer: @ayoayco
Tasks:

[x] I have ran the build command to make sure apps are working: npm run build
[x] I have ran the tests to make sure nothing is broken: npm run test
[x] I have ran the linter to make sure code is clean: npm run lint
[x] I have reviewed my own code to remove changes that are not needed

@ayoayco for sharing internal packages we should use *. Using latest will install the packages from the registry to their internal node_modules on dev.
To remove the wrong symlinks, we must delete the package-lock.json first and install afterwards.

Thanks for this @fazzaamiarso! I'm going to release a new version of our packages to npm. Do you think it is safe or better to tag it as a beta first?

@ayoayco I think it's better to be safe and release the beta version first.

I tested this manually in a new app from scratch and decided we can release as we usually do, because we don't have a lot of users and the core features are still there anyway :)


Added code for removing white spaces

Added code for removing white spaces in the expression.
I tested it on PRINT 23 * 10 + 30  and PRINT 23- 698 * ( 4*(63-2569)-56). However, it is working only if there is just one expression in source.bas  file. It is not working if there are multiple expressions in source.bas
For e.g -
PRINT 23-698(4*(63-25*69)-56)
PRINT 2 * 3
PRINT 3 * 9 * 7
Here only one expression is getting evaluated.

Well, it's quite interesting idea to pre-process an expr just before parsing in a for loop, but may be we could do it just right within a while loop?


SR-IOV - Added 11 new Test Cases

Added the following new TCs:

Broadcast packet test
Multicast packet test
Multiple Linux sending TCP traffic to same host
Continuous Ping, disable SR-IOV, enable SR-IOV
iPerf, disable SR-IOV, enable SR-IOV
Change RSS settings during iPerf
Tear down VMQ and fallback to synthetic NIC
Limit test – 32 VMs, one SR-IOV device each
Limit test – one VM with max NICs, max SR-IOV devices
Reboot during iPerf then connect successfully
iPerf Stress test

For more detailed info, please check the FTM Automation spreadsheet
Important note: Also changed all SR-IOV TC_Covered codes to accommodate
the new TCs

 SR-IOV new test cases


Doesn't seem to be picking up qr codes

I implemented component to scan qr codes:
  // -- methods -- //
  onBarcode = event => {
    console.log(event);
    AlertIOS.alert("Barcode Found!", "Type: " + event.type + "\nData: " + event.data);
  };

  // --- render --- //
  <Camera
    onBarCodeRead={this.onBarcode}
    barCodeTypes={["qr"]}
    aspect={Camera.constants.Aspect.fill}
  />

this.onBarcode doesn't seem to be triggered, despite me trying camera on 10 different qr codes. (Bitcoin address, post tracking website etc...). Did I implement this correctly and is there a known issue? Possibly related to #989 but in my case downgrading to v0.10.0 didn't help
Device: iPhoneX
react-native: 0.50.3
react-native-camera: 0.12.0

@IljaDaderko if your application do not specified just to scan qr code you do not have to declare barcodeTypes

@koswarabilly it indeed needs to only work with qr type, I removed  barCodeTypes={["qr"]} and it started to work 👍 however I would like to add it back after the fix, to ensure only qr codes are being scanned for.

@IljaDaderko i think you can use validation instead of declaring barcode type, let the barcodetype as default then make validation in your onBarcode and check event.type , if it is qr then do the action you want if not return null, anyway have you successfully insert location metadata to image capture?

@koswarabilly I wasn't able to insert any metadata I'm afraid, as this is not a part of my app. As for qr specific stuff, yeh thats the approach I took, but will leave this open as this feature was documented in docs and appears to be broken

@IljaDaderko I was having the same problem after updating to the latest react-native-camera release. Then when I tried to do some logs I realized that the qrcode id changed from qr to org.iso.QRCode.
What solved the issue for me was using the constants provided by the module itself:
import { RNCamera } from 'react-native-camera';

const { BarCodeType } = RNCamera.Constants;

// ...

<RNCamera
  style={styles.camera}
  barCodeTypes={[BarCodeType.qr]}
  onBarCodeRead={this.onBarCodeRead} />

// ...

onBarCodeRead({ type, data }) {
  if (type === BarCodeType.qr) {
    // do something
  }
}


create_data_bag only works with strings

Because ServerRunner does not automagically load data_bags (even though SoloRunner does with proper configuration), I am using server.create_data_bag.  But this does not work with all types of data bag.  I am currently work around by stubbing all these data bags.
I get the following error when I make a databag with items that are lists
RuntimeError:
     set only works with strings: ["organizations", "chef", "data", "test", "item"] = [1, 2]

Here is the example used
require 'spec_helper'

describe 'serverrunner create databag' do
  let(:chef_run) do
    ChefSpec::ServerRunner.new do |node, server|
      server.create_data_bag('test', {'item'=> [1, 2]})
    end.converge('recipe[databag-test]')
  end

  it 'does not raise an exception' do
    expect { chef_run}.to_not raise_error
  end
end

The correct usage is
server.create_data_bag('test', 'item' => { 'stuff' => [1,2]})


polyfill.io service

I just watched a next.js tutorial that had some tips based on real world next.js production usage.  The author highly recommended putting this into the head to defer and potentially eliminate ever needing to worry about older browser support:  https://polyfill.io/v2/docs/
Interesting article that goes into some details: https://hackernoon.com/polyfills-everything-you-ever-wanted-to-know-or-maybe-a-bit-less-7c8de164e423
It is blocking, but extremely fast to load (potentially already browser cached since it is common), browser specific responses ensure small payload for newer browsers (won't stream a bunch of unnecessary stuff to be evaluated on the client unlike other polyfill solutions).    It could be a good safety net for new users until they get themselves to a point in their own development when they can understand their older browser support strategy better.

Actually seems like next.js has something reasonable built in:
https://github.com/zeit/next.js/#browser-support
The polyfill.io service would be one option if you happen to want to support older browsers without any stress.  Something that would go in a extra documentation section perhaps.


Support for Multiple Headers with the Same Name

I have checked the following:

[X] I've searched existing issues and found nothing related to my issue.

Describe the feature you want to add
Currently, Bruno does not support sending multiple headers with the same name but different values.
In the Bruno app, when sending multiple headers with the same name but different values, only the last header is shown in the timeline. The previous headers with the same name are not displayed, making it difficult to verify all sent headers.
Mockups or Images of the feature
Here's the screenshot.

Yes, this is a major issue. PostMan handles this correctly by not overwriting and sending multiple headers.

I'm not sure if this is the same problem, but with set-cookie there are different headers. This is also described in the specification.
I'm having this problem. The server sends multiple set-cookies and in curl the headers are displayed correctly. In the bruno web interface, the values are somehow combined.
curl
< content-type: application/json
< set-cookie: session=; Path=/; Max-Age=0
< set-cookie: session=secret; Path=/; Max-Age=3600

bruno
Somehow it seems to be combined.
set-cookie	session=; Path=/; Max-Age=0session=secret; Path=/; Max-Age=3600


Avoid computing after winlen

Mostly useless for many application, but critical for some spectral analysis methods (e.g. peak picking, peaks classification)

Useless if the frequency oversampling is not tremendous


Modules installer

This is a simple modules installer (can't handle multiple files, or requirements yet)
It connects to http://jaspermoduleshub.herokuapp.com/
I added a walk_packages on brain.py so that modules can be installed in subfolders.

I get the following error if I use AT&T STT. I have already copied the APP_KEY, Secret_key from site (Basic free access).
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): api.att.com
DEBUG:requests.packages.urllib3.connectionpool:"POST /oauth/v4/token HTTP/1.1" 400 None
ERROR:jasper.mic:Transcription failed!
Traceback (most recent call last):
File "/root/jasper/jasper/mic.py", line 117, in check_for_keyword
transcribed = self.passive_stt_engine.transcribe(f)
File "/root/jasper/plugins/stt/att-stt/att.py", line 57, in transcribe
r = self._get_response(data)
File "/root/jasper/plugins/stt/att-stt/att.py", line 97, in _get_response
headers = {'Authorization': 'Bearer %s' % self.token,
File "/root/jasper/plugins/stt/att-stt/att.py", line 52, in token
self._token = r.json()['access_token']
KeyError: 'access_token'
Do I need to upgrade to premium account so to get STT access or there is something wrong with code/keys?


Perk p2 single ext

Hello,
in this PR which is a continuation of the previous PR of PERK2_single, I tried to make Convex and ECOS weak dependencies of Trixi by adding a file called TrixiConvexECOSExt.
Please let me know if something goes wrong and needs improving!

Doing a review today (maybe 60% done)

Both test failures looks real:
https://github.com/trixi-framework/Trixi.jl/actions/runs/8950168743/job/24585250457?pr=1908#step:7:2058
https://github.com/trixi-framework/Trixi.jl/actions/runs/8950168743/job/24585251161?pr=1908#step:7:1372

@warisa-r I just noticed that a NEWS.md item is missing. Please go through the review checklist once more and that there's nothing else that was forgotten

Are we good to go here?


[ENHANCEMENT] Choose columns to display with presets

Proposed changes
Add a feature that permit the user to choose a preset and then apply a filter on those columns. Example : a preset with 3 columns(id,age,name), on click, all the other columns will be hidden.
Types of changes
What types of changes does your code introduce to @o2xp/react-datatable?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Code improvement

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x ] I have read the CONTRIBUTING doc
[x ] I have signed the CLA
[x] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[x ] I have added necessary documentation (if appropriate)

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

 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.Mike Trieu seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


fix: consume context values as a default one

📜 Description

💡 Motivation and Context
Closes https://github.com/kirillzyusko/react-native-keyboard-controller/issues/398
📢 Changelog

JS

iOS

Android

🤔 How Has This Been Tested?

📸 Screenshots (if appropriate):

📝 Checklist

[ ] CI successfully passed
[ ] I added new mocks and corresponding unit-tests if library API was changed

@breakingrobot may I kindly ask you to test this PR? 🙏
I believe it should fix the problem 😊

@breakingrobot okay, thank you! I'll merge it and publish 1.11.5 soon 👀


Resolve any lifetime variables to 'static after inference

Chalk's unification can sometimes create lifetime variables, which we
currently don't really deal with, but at least we don't want to leak
them outside of inference.
Should fix #8919.

bors r+


[RFC] Time and Span don't have the same interface for inspection

While starting to use Time and Span for the first time, I encountered with some compiler errors while trying to inspect the result of certain operations. Trying to apply minute to a variable sometimes worked, sometimes gave an error.
This was due to the different class returned by each of this operations involving Time and Span

Time - Time gives a Time::Span
Time - Time::Span gives a Time
Time::Span - Time::Span gives a Time::Span

I understand that this may come from Mono, but is there a reason why we might wan to keep it like this for 1.0?
This happens with day, hour, minute and second

I don't understand what's the problem here.
What do you mean by "apply minute to a variable"? Can you show an example of code and want you expected it to do?
The subtraction results seem quite logical to me, this is just basic math. Time represents an instant on the time line and Time::Span an interval. The difference between two instants is an interval. Subtracting an interval from an instant results in another instant. And the difference between two intervals is another interval.

You are right. Reading it now I wasn't very clear about what I meant.
The issue I'm trying to address is that the inspection methods for Time are in singular (day, hour...) and for Time::Span are in plural (days, hours).
Of course I have no issue with the subtraction results and the returned class for each one.
What I was trying to highlight is that very early on my first approach to using dates in Crystal I needed to memorize those returned classes in order to properly inspect the result, and that felt strange.

The singular vs. plural is on purpose: In the usual representation of instances based on time units, each one of them represents a proportional component, such as the second, the minute, the hour, the day, the month, the year of that instance. That's why the methods are in singular form.
A time span spans a number of seconds, minutes, hours, days, months, years. Thus the methods are in plural from.

Maybe my non-native english is getting in the middle, but Time::Span#minutes returns the minute component of the whole time span represented in the normalized(?) form. I understand that total_minutes is plural. I too feel weird that is Time#minute  and Time::Span#minutes.
I also consider that you should be dealing with one or the other type usually, but having two similar, yet different APIs for related types is a bit confusing IMO.
Time::Span.new(minutes: 60).hours # => 1
Time::Span.new(minutes: 60).minutes # => 0
Time::Span.new(minutes: 60).seconds # => 0
Time::Span.new(minutes: 60).total_minutes # => 60.0
Time::Span.new(minutes: 60).total_seconds # => 3600.0

I don't think this is any different in other languages. In spanish for example you ask "¿Qué hora es?" for the time and "¿Cuantas horas?" for a time span.
And IMO it should actually be considered a feature that the accessor methods in Time and Time::Span have different names, because they're different concepts. It makes it easier to tell both data types apart.
That Time::Span.new(minutes: 60).minutes doesn't return 60 is related to #6522

I don't follow why you say they are a different concept @straight-shoota. I understand that a Time::Span is not a Time, but to me both #minute and #minutes return the mm components when the values are expressed in a human friendly format: HH:mm:ss.
I also fail to see the relationship with #6522. Even if the amount and unit are preserved the #minutes method should still match my previous statement IMO.

Time represents an instant and can be expressed as a human readable format including a minute component which describes the minute of the hour. Time::Span is an interval and can be expressed as a human readable format including a minutes component which describes the amount of minutes in this interval.
Okay, so you're just saying that Time::Span#minutes should always return the total amount of minutes in the interval, not just the minutes component. So it should be swapped with #total_minutes, and the other would be #minutes_component?

I think for a time span you can say: 2, hours, 3 minutes, 5 seconds. Then if you ask "how many minutes" it will say "3". But if you ask "how many total minutes there are" it's a different question.
That's at least what the API is modeling, and we copied it from C#. Whether it's good or bad, I don't know.

No, I don't think @bcardiff is saying that. I think you're just wordplaying to make it fit with the current definitions. You can also say that in Time there is a minute component that describes the number of minutes since the hour.
Also, Time represents the interval of time since the day 0 (let's keep religious topics aside). So there is not such thing as "absolute time". It's purely conventional.

I'm pretty sure time would still exist even if nobody had invented calendars and clocks to keep track of it 😄 Without going too deep into philosophics, I think that should count as "absolute".
However, you're right that it's also legitimiate to describe the time of day as the interval since the beginning of the day. And applied to the smaller units, the minute component as the number of minutes elapsed since the beginning of the hour.
But in my understanding this is no longer only about time instances, but time intervals come into play. We're talking about an interval of time since the beginning of the hour.

Yes, I agree we shouldn't reinvent the theory of relativity in this thread 😆
And conventions or not, I agree that Time is trying to represent an absolute place in time. So I think that's what makes the singular methods appropriate: that particular combination of year/day/month/hour/minute/second it's a non repeatable entity.

Since these are not the total_* methods, I think unifying their naming would be fine. I'd choose the plural version from Time::Span to stick with.
I don't think it matters much though.


PhysicalPath parameter not consistent in xWebsite

The PhysicalPath property is marked as "Mandatory" on Set-TargetResource, but "write" in the MOF.  This is misleading when you look at the help generated in the ISE and results in the somewhat difficult to troubleshoot error message:

PowerShell DSC resource MSFT_xWebsite  failed to execute Test-TargetResource functionality with error message: PowerShell Desired State Configuration does not support execution of
commands in an interactive mode. Please ensure that the underlying command is not prompting for user input, such as missing mandatory parameter, confirmation prompt etc.

Fortunately this is an easy fix, unfortunately we don't have much in the way of unit testing on this module so it'll take more time to bootstrap up the test infastructure then it will to actually correct the problem. :grinning:
What we should decide on is if it should be required or not.
If we change the mof file to Required (which would remove the warning) we'd have to add it to the Get-TargetResource which personally I find a bit gross as we don't actually use the physical path.
If we actually remove the required parameter on the file we then have no way of enforcing (short of checking that the variable is null and throwing, which makes me think it should just be required. So I guess adding it to Get-TargetResource is the "better" option?

I agree with @tysonjhayes final analysis.  Physical-Path should be required.  Perhaps it's an issue in DSC that anything other than the key properties are required for Get-TargetResource.  Theoretically, only the key properties should be needed to get the resources.

@TravisEz13 I've got a fix for this already and can copy/paste some of my tests from xNetworking to get this going pretty quickly. Should have something I can give back by tomorrow or so (assuming appveyor plays nice with me).

OK so this is actually blocked on xDSCResourceDesigner having a bug in the embedded classes.  This is fixed in the cDSCResourceDesigner. So I won't be able to test this until the bug in xDSCResourceDesigner is fixed. @TravisEz13 do we want to wait until xDSCResourceDesigner is fixed for me to submit this or should I go ahead?

blocked because you cannot write proper tests?
How about we add placeholder tests for the resource designer tests and add a test that tries to calls a configuration without the parameter, and verify it throws.  Example with the Registry Resource, and the ValueName parameter missing:
Describe -Name 'Example' -Fixture {
    it -name 'ExampleIt' -test {

           configuration ExampleConfig
            {
                Import-DscResource –ModuleName ’PSDesiredStateConfiguration’
                Registry ExampleFile
                {
                    Key = 'keyExample'
                }
            }

        {
            ExampleConfig

        } | should throw "Errors occurred while processing configuration 'ExampleConfig'."
    }
}


Finalize MySQL installation and configuration.

Fixes: #17

Add mysql database drivers as optional dependency and add it as extra (pip3 install nautobot[mysql] or poetry install --extras mysql)
All mentions of "PostgreSQL database" have been made generic
Added mentions of how to configure MySQL correctly
Added pip3 install mysqlclient to the install docs
Added a new environment variable for NAUTOBOT_DB_ENGINE to be able to specify the database engine without needing to modify the config
Also cast CONN_MAX_AGE to an int now
All configs/template configs have been updated w/ the new settings/environment variables

To do:

[ ] Wire up to CI/CD to run MySQL and PostgreSQL unit test suites in parallel
[ ] :shipit:

Thoughts on merging this in its current state and doing the CI updates as a separate PR, just so we can get people "officially testing" with MySQL sooner than later?

Thoughts on merging this in its current state and doing the CI updates as a separate PR, just so we can get people "officially testing" with MySQL sooner than later?

Works for me.


PingFed link is wrong

link "PingFederate Integration with Azure Active Directory and Office 365" to https://docs.pingidentity.com/bundle/O365IG20_sm_integrationGuide/page/O365IG_c_integrationGuide.html results in 404 page not found.  suggest this link: https://support.pingidentity.com/s/document-item?bundleId=integrations&topicId=rnd1563994997124.html

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

ID: 21fa537d-81fc-ccc9-f7f8-1486e71dea62
Version Independent ID: 8e578d88-8bcb-a229-95f6-10b760d6f563
Content: Azure AD Connect: Custom installation
Content Source: articles/active-directory/hybrid/how-to-connect-install-custom.md
Service: active-directory
Sub-service: hybrid
GitHub Login: @billmath
Microsoft Alias: billmath

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

@SaurabhSharma-MSFT
@vht1too is correct, the link should point to https://support.pingidentity.com/s/document-item?bundleId=integrations&topicId=rnd1563994997124.html

@vht1too @eriawan The PR for the fix has been created and it will be merged soon. Thanks again for pointing this out, I am closing the issue based on this update, please let us know if there is something else that we can help you with.


Adding boolean argument to ML Commons API

Description
Closes #135
Check List

[x] New functionality includes testing.

[ ] All tests pass

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #143 (4035e71) into main (7ff5113) will decrease coverage by 0.31%.
The diff coverage is 81.81%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main     #143      +/-   ##
==========================================
- Coverage   89.97%   89.66%   -0.31%
==========================================
  Files          29       29
  Lines        3491     3494       +3
==========================================
- Hits         3141     3133       -8
- Misses        350      361      +11

Impacted Files
Coverage Δ

opensearch_py_ml/ml_commons/ml_commons_client.py
75.00% <80.95%> (-13.47%)
:arrow_down:

opensearch_py_ml/ml_commons/ml_common_utils.py
100.00% <100.00%> (ø)

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


Does SALSA apply a mapping quality (MAPQ) filter?

Hello, does SALSA apply any mapping quality (MAPQ) filter? Due to the repetitiveness of our genome, only around 60% of reads are mappable (even using normal Truseq libraries) at MAPQ>30. What would be the recommendation in this case?
Thank you!

If you use Arima mapping pipeline, it would filter all the reads with mapq less than 30 and remove them from further analysis.

The Arima mapping pipeline's default MAPQ filter is 10, but you can increase it in the configuration section to 30. See the parameter called "MAPQ_FILTER".


Week 1 Review Ticket

Individual GitHub pages (3 points)

GitHub page for Test Prep study, requiring 5.3, 5.4 notes and actions( See "GitHub pages actions" at the bottom of each TPT page on cspcoders).
GitHub page that documents key learnings and code snippets using GitHub and replit.
InfoDB lists
InfoDB loops
Fibonacci - (For Fibonacci(n)  print complete list 0 - n  and not just the nth term)

3/3, had everything necessary for this week.


Relicense to MIT-0 and release 1.0.4

Fixes https://github.com/fedora-python/Pello/issues/13

LGTM, thank you.

Tagged on GitHub and released on PyPI https://pypi.org/project/Pello/1.0.4/


Use vue variable in md-select option

Thanks for all your work on this project.
Here is the problem: http://codepen.io/georgedragnea/pen/egXgaB
When I change the "Currency", the text from select("Currency display") should update. It's get updated if I click on it, but not automatically.

Hi, @george-dragnea. Then first mdSelect change, you need to tell second mdSelect to change selectedText.
Here is some dummy example.

@VicarEscaped thanks for your support. I thought that was a bug.


ConstraintError throws unresolvable InvalidArgumentException

ConstraintError needs to either add a use line, or qualify the exception.

Whoops. Will fix.

Already done it - see PR #370 :-)

Have also added a test for this to #366.

Lovely, thank you!

Will be official in 6.0.0


Add password reset to the interface

Closes #436
Should work, but if anyone could test, that would rock!
strider-mailer v0.2.0 should be published for easy testing without smtp setup.

Having the password reset link hidden in the footer is bad UX. It should be added to the login form and shown when rendering a failed login message.

I agree. Will totally take a PR :wink:

I've moved the link in https://github.com/Strider-CD/strider/commit/8a43b9a95cdd2ff456607ebf7a26646c193001c2
@knownasilya Did I mess up anything with https://github.com/Strider-CD/strider/commit/c1cc25d64ba060617df24c4b5235205c0980bbd1 I'm not quite sure what happened there :P

Looks fine to me.


generate:ui:add-schema-column   Undefined class constant 'PS_TYPE_VARCHAR'

This are my pestle commands on a clean M2:
pestle.phar magento2:generate:module Foredev Hellotest 0.0.1
pestle.phar generate_crud_model Foredev_Hellotest Thing
pestle.phar magento2:generate:ui:add-schema-column app/code/Foredev/Hellotest/Setup/InstallSchema.php foredev_hellotest_thing thing_name varchar
bin/magento module:enable Foredev_Hellotest
The following modules have been enabled:

Foredev_Hellotest

bin/magento setup:upgrade
...
Updating modules:
Schema creation/updates:
Module 'Foredev_Hellotest':
Installing schema... PHP Fatal error:  Undefined class constant 'PS_TYPE_VARCHAR' in /Users/dandodd/Projects/tpmco.dev/app/code/Foredev/Hellotest/Setup/InstallSchema.php on line 46
Fatal error: Undefined class constant 'PS_TYPE_VARCHAR' in /Users/dandodd/Projects/tpmco.dev/app/code/Foredev/Hellotest/Setup/InstallSchema.php on line 46

Confirmed.  The PS_ prefix was meant for as an internal to pestle thing for the various text types.  Looks like it accidentally leaked though into the generated file.  We're investigating and preparing a patch release.  In the meantime, you can continue by manually editing InstallSchema.php and changing PS_TYPE_VARCHAR to TYPE_TEXT.

That FIxed the VARCHAR, now I get the warning in the decimal:
 [Exception]
  Warning: array_key_exists() expects parameter 2 to be array, integer given in /Users/dandodd/Projects/tpmco.dev/vendor/magento/framework
  /DB/Ddl/Table.php on line 352

->addColumn('thing_count',
\Magento\Framework\DB\Ddl\Table::TYPE_DECIMAL,
Is ---->>    12,4,
S/B -->>  [12,4]
['nullable' => false, 'default' => '0.0000'],
"thing_count field"
)
Thanks

That @ddoddsr -- have any other problems cropped up as you've used the new command?

I'll let you know as I find them, least I can do to help out on a cool tool.
I'll work on some more this weekend.
I noticed the generate full module left off magento2: on
generate_crud_model, generate_route and generate_view
They did work as far as I can tell
On Mar 31, 2017 3:58 PM, "Alan Storm"<EMAIL_ADDRESS>wrote:

That @ddoddsr https://github.com/ddoddsr -- have any other problems
cropped up as you've used the new command?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/astorm/pestle/issues/262#issuecomment-290828245, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADkeb0vPBjYTFuVXkcPVWRpg4KV4AJGsks5rrWkBgaJpZM4Mv7wq
.

Thanks again @ddoddsr -- we just pushed pestle 1.3.1 to the servers. The version should fix the problem with PS_ constants as well as the missing array brackets for the decimal type.
Re: generate_crud_model, generate_route -- those were the original command names before we moves to the magento2:generate:etc... style names.  There's a informal aliasing system in place that allows the old generate_crud_model, generate_route style commands to keep working for folks who are reading old documentation.
That should cover things -- if you're still having trouble, or find more problems, please feel free to reopen this issue or open a new one.  Thanks again for your bug reports -- pestle wouldn't be possible without them.


Persistently pre-allocate volumes' files

The current implementation appends each image at the end of the volume file. That is, a volume's data file grows with each image added. This is against one of the key aspects of Haystack's spec. Also, in some scenarios that I've tested, this leads to huge fragmentation and slows down retrieval.
Instead, the application should persistently pre-allocate a large file to ensure the file is mostly contiguous (I don't think that can be guaranteed) and mitigate the risk of fragmentation. It can then write image binaries in that file by tracking where was the last image written. I'm not talking about sparse files. They suffer from the same issue.
In newer version of Linux Kernel this can be done using "fallocate" system call and is already supported by ext4 and xfs (and a couple of other ones). In older systems (or other file systems that don't support fallocate) the only way to do this is to pre-allocate and fill the file with zeros which is slow and inefficient. But if it needs to happen, it can happen once and when the volume is starting up for the first time (unlike today that it happens when the first image is added).
Useful link:
https://www.spinics.net/lists/linux-ext4/msg43070.html

https://github.com/chrislusf/seaweedfs/blob/master/weed/command/master.go#L41

Oh, cool. I didn't realise this is already in place. I'll have to try the new version then.


code for box plots

Hello author, thank you for doing such an excellent job! Sorry to bother you, may I ask how your box plots diagram was drawn, what parameters did you input, and do you have specific code?

Sorry for my late reply and out boxplot is ploted by MatLab and the inputs include the final metrics for all cases (e.g., dice, NSD, ...), you can try this in MatLab!!!


Adds VTT tag rendering for ,  and

Continues the work of #2724, changing the implementation according to https://github.com/google/shaka-player/pull/2724#issuecomment-667409089
Solve #2348

I updated the PR with the addressed comments

When this enhancement can be expected to be released?

@ScripterYoda, this will be released in v3.1, which is currently blocked on some TTML issues that I introduced during the CEA work (sorry!) and @michellezhuogg is actively working on fixing (thanks!)


Resend functionality only to failed recipients

On an installation with around 8K users, on some enterprise-wide messages the intended recipients will be all of them. After having a few failed dispatches, currently there is a no way to resend the message only to failed ones or no easy way to target them on a subsequent duplicated message.
Feature request: Would it possible to add an option to resend a message when there are failures, to the recipients for which the previous dispatch failed.

Thank you for sharing the idea and will be shared with concerned team.


libsForQt5.mlt: 6.12.0 -> 6.14.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/mlt/versions.
meta.description for libsForQt5.mlt is: '"Open source multimedia framework, designed for television broadcasting"'.
Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS
/bin/sh passed the binary check.
1 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 6.14.0 with grep in /nix/store/s9vwwgi8i6nmps0w19s23sx4wy1vam0i-mlt-6.14.0
directory tree listing: https://gist.github.com/2d0260f4561376e7fdb411a396222fb6
du listing: https://gist.github.com/e9098d8f3906cf5c3501d20bb0533941

Rebuild report (if merged into master) (click to expand)

21 total rebuild path(s)
7 package rebuild(s)
7 x86_64-linux rebuild(s)
7 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
7 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
kdeApplications.kdenlive
kdenlive
libsForQt5.mlt
libsForQt511.mlt
libsForQt512.mlt
shotcut
synfigstudio

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/s9vwwgi8i6nmps0w19s23sx4wy1vam0i-mlt-6.14.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A libsForQt5.mlt https://github.com/r-ryantm/nixpkgs/archive/c276ec415f7b58cc840537176e340edf886b73f2.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/s9vwwgi8i6nmps0w19s23sx4wy1vam0i-mlt-6.14.0
ls -la /nix/store/s9vwwgi8i6nmps0w19s23sx4wy1vam0i-mlt-6.14.0/bin

cc @cillianderoiste for testing.

openblas for aarch64 should be fixed
@GrahamcOfBorg build libsForQt5.mlt

nix-review shows no issues


Sflow support on v.7

I am testing the sflow collecting with "host sflow" tool (https://sflow.net/host-sflow-linux-config.php).
I can see the packets coming in but nothing is written to the Kafka topics and there are no error messages in the logs. I saw a couple of tickets for sflow and was wondering if anyone has been able to test sflow successfully with vflow v0.7.
Thanks,

@ttrading sflow is stable at v.07 please check the counters through http://localhost:8081/flow
also make sure the sflow port is correct.

We are sending some sflow v5 traffic to vflow v0.7. Problem is that no packets are making it to the Kafka topic. Other Netflow protocols work fine.
We are keeping an eye on the vflow.log but no debug information is provided. We send the sflow packets to the host system and capture them using tcpdump. Is there a way to enable some logging for sflow so that we can start troubleshooting.
Thanks

Is there any solution? I have the same problem. SFlow receiving works fine, at least according to the logs
[vflow] 2021/06/16 08:19:55 sflow.go:186: rcvd sflow data from: x.x.x.x:55201, size: 1324 bytes

but there isn't any output to Kafka topics. At SFlow stats I see that at least 3900 messages were received, but 0 messages were decoded. Can this be a trouble?
  "SFlow": {
      "UDPQueue": 0,
      "MessageQueue": 0,
      "UDPCount": 3958,
      "DecodedCount": 0,
      "MQErrorCount": 0,
      "Workers": 200
}

@Jacfal I think your device sends sflow expanded data format, vFlow doesn't support it.


Op 6934 audit rbac

We prefer small, well tested pull requests.
Please refer to Contributing to Spinnaker.
When filling out a pull request, please consider the following:

Follow the commit message conventions found here.
Provide a descriptive summary for your changes.
If it fixes a bug or resolves a feature request, be sure to link to that issue.
Add inline code comments to changes that might not be obvious.
Squash your commits as you keep adding changes.
Add a comment to @spinnaker/reviewers for review if your issue has been outstanding for more than 3 days.

Note that we are unlikely to accept pull requests that add features without prior discussion. The best way to propose a feature is to open an issue first and discuss your ideas there before implementing them.
https://devopsmx.atlassian.net/browse/OP-6934

This PR  triggered this build in this execution, please merge to master only if this succeeds:  https://spin.prod.opsmx.com/#/applications/gitprtrigger/executions/details/01FA2Y08F4CTM44MACS9CP0Q6C

RunTestJar RESULT: Total tests run: 278, Failures: 1, Skips: 0 Reviewers , please check that the changes in this PR did not cause the failures in  http://jenkins.opsmx.net:8181/jenkins/job/Dev-run-tests-on-gitpr-parallel/ws/emailable-report-580.html


Using pytorch lightning for training

Hi, there.
Have you considered adapting the training process to pytorch lightning instead of a custom-built runner? Because pytorch lightning provides a more friendly way to use multi-GPU.
I've adapted an example: pretraning step using APC based pytorch lightning as it supports DDP.

Hi,
This is what we are doing internally now, and we do not aim to adapt it only for lightning (as it has frequent API changes and not suitable to directly depend on) but for many general training packages including SpeechBrain and Huggingface Trainer.
Please stay tune, and thanks for the suggestion!


Return tensor of last states in RNN

Hi, all,
Sorry it's not so obvious for the title.
So, there is a special function I need in Recurrent Networks. Typically, if I selected return_sequences, then all hidden states will be returned, which is good typically. Or if I set it to False, then only the last state will be returned.
However, I need a special format of return_sequences where I want all elements in the returned tensor be the last state. More precisely,
Typically, we may have output sequence tensor as:
[h_t-2, h_t-1, h_t]

Now, I need
[h_t, h_t, h_t]

Is this even doable? I tried to use expand_dims and repeat_elements API, but then Keras told me the result is not a Keras tensor. Do anyone have some ideas? Do you think I should write a layer for this purpose? I thought about changing rnn API, but it seems too much effort.

I think RepeatVector can solve your problem, please see the example inside. The only problem is that you will need to know how many time to repeat.

I tried to use expand_dims and repeat_elements API, but then Keras told me the result is not a Keras tensor.

You need to use Lambda layer to wrap these backend function. e.g.:
def repeat(x):
    return K.repeat_elements(x, 3, -1)
x = Lambda(repeat) (x)

Emmmm.... interesting... I will try it out! Thanks!


Calyptos: When deploying via internal network, NC connectivity is not restored

Please find attached environment.yml
https://eucalyptus.atlassian.net/secure/attachment/25700/calyptos-1441686965.tgz
a logs/bootstrap.log
a logs/calyptos_commitid
a logs/environment.yml
a logs/prepare.log
a logs/provision.log
a logs/validate.log
During the install, the process hangs after 'service network restart' on all three NCs
Doesn't appear to re-assign static IP entries and defaults back to DHCP

# Internal bridged interface
[root@odc-d-30 network-scripts]# cat /etc/sysconfig/network-scripts/ifcfg-em2
DEVICE=em2
TYPE=Ethernet
BRIDGE=br0
NOZEROCONF=true

#Internal bridged interface
[root@odc-d-30 network-scripts]# cat /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE=br0
BOOTPROTO=dhcp       <=== Needs to be set to whatever was previously set in ifcfg-em2
NOZEROCONF=true
ONBOOT=yes
TYPE=Bridge
PERSISTENT_DHCLIENT=1

Missing lines in ifcfg-br0:
BOOTPROTO=none
IPADDR=<IP_ADDRESS>
NETMASK=<IP_ADDRESS>
DNS1=<IP_ADDRESS>
DNS2=<IP_ADDRESS>
PERSISTENT_DHCLIENT=yes

@dmccue Ill take a look today. Should be an easy fix in the eucalyptus-cookbook.

@dmccue my bad I assumed you wanted DHCP there.
This will take a bit more work on my end to figure out the right way to swap those interface files.

@dmccue this should be fixed here:
https://github.com/eucalyptus/eucalyptus-cookbook/pull/204
Let me know how it goes.

Verified fixed, Thanks!: https://eucalyptus.atlassian.net/secure/attachment/25611/calyptos-1441138161.tgz
[root@odc-d-30 ~]# cat /etc/sysconfig/network-scripts/ifcfg-em2
DEVICE=em2
TYPE=Ethernet
BRIDGE=br0
NOZEROCONF=true
[root@odc-d-30 ~]# cat /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE=br0
ONBOOT=yes
HWADDR=B8:AC:6F:94:EC:44
TYPE=Ethernet
BOOTPROTO=none
IPADDR=<IP_ADDRESS>
NETMASK=<IP_ADDRESS>
DNS1=<IP_ADDRESS>
DNS2=<IP_ADDRESS>
PERSISTENT_DHCLIENT=yes
TYPE=Bridge


Added changes to save HCP password,skipped pakages for rhel9 for HCP

Updated to save the HCP password on bastion - kubadmin-password
Fix  for creating bastion for HCP
Added change in hcp prerequisite installation , to skip devel packages if rhlel version >= 9
added change to delete the expect file after usage

yeah i am saving the password where kubeconfig is there
which is the default thing i guess .
we still need to mention the location of where the password is .?

yeah i am saving the password where kubeconfig is there which is the default thing i guess . we still need to mention the location of where the password is .?

Yes please. Just in case that something went wrong the user should know where security relevant data is located.


Automatic update of EasyConfig.Net.Core to 1.0.48

NuKeeper has generated an update of EasyConfig.Net.Core to 1.0.48 from 1.0.47
1 project update:
Updated NuKeeper\NuKeeper.csproj to EasyConfig.Net.Core 1.0.48 from 1.0.47
This is an automated update. Merge only if it passes tests
NuKeeper: https://github.com/NuKeeperDotNet/NuKeeper

I was testing a different branch, but why not?


Add a benchmark to verify performance

Is your feature request related to a problem? Please describe.
The project needs a benchmark to verify its performance.
Describe the solution you'd like
Add some benchmark associated to the produce/consume API calls to verify performance and identify possible bottlenecks.
Describe alternatives you've considered
Introduce some counter or other mechanism to measure time like Stopwatch.
Additional context
N/A

The benchmark cannot be built with an absolute vision. What it can done is to have some function that executes in the same way, but use a different underlying mechanism: i.e. use KNet in some function and use e.g. Confluent.Kafka in other.
Pairing this two executions it is possible to compare both implementations.
Anyway it is mandatory to use configurations which, more or less, create similar environments: if the configuration is in one case, or in another, is optimized the comparison has no real meaning. The previous consideration comes from the number of possible options can be used when a consumer/producer is allocated, how the underlying mechanism manages message batching both in receive mode (consume) and send mode (produce).

@masesdevelopers: Add a new benchmark which measures the time elapsed from the moment where a record is sent from the producer to the reception of the same record from a consumer: it is like a roundtrip. I think this benchmark can measure both producer and consumer performance, maybe it is possible to use https://github.com/masesgroup/KNet/issues/53#issuecomment-1126036921


Crash when on debugging view hierarchy.

I have the following error when try to debug view hierarchy.
Accessibility isn't configured for my views. Action title is also nil, but image not.
Fatal error: You must provide either a title or an image for a SwipeAction: file /Users/larryonoff/Develop/Projects/work/rocketbody/ios/Pods/SwipeCellKit/Source/SwipeTableViewCell+Accessibility.swift, line 88
2018-01-06 13:20:45.801471+0300 RocketBody[7964:2947206] Fatal error: You must provide either a title or an image for a SwipeAction: file /Users/larryonoff/Develop/Projects/work/rocketbody/ios/Pods/SwipeCellKit/Source/SwipeTableViewCell+Accessibility.swift, line 88
Error:    Unable to capture view hierarchy.
Details:  Log Title: Data source expression execution failure.
Log Details: (null)

Log Method: -[DBGDataSourceConnectionLibViewDebugger _executeLLDBExpression:forRequest:onPotentialThread:iteration:]_block_invoke_2
Method:   -[DBGViewDebugger updateDebugHierarchy]_block_invoke_2
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.

Fixed as part of PR #156


Svelte DevTools shows the "Not Working?" text in Chrome

Describe the bug
I just updated to version 3.0.0 of svelte-loader and I noticed that it broke dev tools. When I downgraded back to ^2.13.0 everything works fine.
To Reproduce
Steps to reproduce the behavior:

Update to "svelte-loader": "^3.0.0"
Build your app in dev mode
Open the dev tools
You will get the Svelte DevTools Not Working error

Additional context
I believe it has to do with this change in the new svelte-loader:  compiler options must now be specified under compilerOptions. I have not tested this supposition though.
Thanks for your work with the devtools. It's been so helpful that I am not updating svelte-loader yet for just this reason.

I can second that I am getting the same error when using svelte-loader 3.1.1.  I have not been able to find a workaround

same issue using esbuild

Is this still an issue? If so, could you provide more details? Minimal repro project would be ideal, but if you don't have it, I can look at a real project which breaks for you.

Hello @bershanskiy. Yes this is still an issue for me. If you are ok with it I could add you to a private repo which breaks for me.
I have noticed that using Laravel 8 and the latest Svelte breaks the devtools.

If you are ok with it I could add you to a private repo which breaks for me.

Yes, that could help to find root cause and create a minimal reproduction steps.

If you are ok with it I could add you to a private repo which breaks for me.

Yes, that could help to find root cause and create a minimal reproduction steps.

Invite sent. I am available to answer any questions you might have. Thanks once again.

@bershanskiy any updates here?

@bershanskiy any updates here?

Current extension logic is rather odd and requires significant rework to fix all quirks. I created a few PRs, some of which were already merged, and 4 more are still open and unreviewed. At this time, I'm not sure how to proceed to minimize merge conflicts/breakage.


Incorrect swagger-core wiki content for ApiParam output

The current wiki on Annotations-1.5.X says

Here we have two parameters. The first, username which is a part of the path. The second is the body, in this case a User object. Note that both parameters have the required property set to true. For the @PathParam, this is redundant as it is mandatory by default and cannot be overridden.
The output would be:
 "parameters": [
  {
    "name": "username",
    "in": "path",
    "description": "name that need to be deleted",
    "required": true,
    "type": "string"
  },
  {
    "in": "body",
    "name": "body",
    "description": "Updated user object",
    "required": false,
    "schema": {
      "$ref": "#/definitions/User"
    }
  }
]

It should have been:
Here we have two parameters. The first, username which is a part of the path. The second is the body, in this case a User object. Note that both parameters have the required property set to true. For the @PathParam, this is redundant as it is mandatory by default and cannot be overridden.
The output would be:
 "parameters": [
  {
    "name": "username",
    "in": "path",
    "description": "name that need to be deleted",
    "required": true,
    "type": "string"
  },
  {
    "in": "body",
    "name": "body",
    "description": "Updated user object",
    "required": true,
    "schema": {
      "$ref": "#/definitions/User"
    }
  }
]

NOTE: The value of required key for user parameter should have been true.
Here is the updated content:
https://github.com/ahartoto/swagger-core-wiki/commit/6ee69e818cba478f6ddc2bc678cada48a2ac6f5b

Sharp eyes! Fixed, thanks!