[BUG]: Home Screen not appearing with the Menu options

Describe the bug
I have deployed the app and everything seems to be have gone very well. On;y problem is that, the Menus on the Home Page when doesn't appear when I compare it to what I see watching the Setup Video. I've re-watched the video and gone through the documentation but not sure what I'm missing? I've used the Admin App to input data into the List but the end user app will not show the menus. Also, no images were downloaded.  I'll will attach screenshots here.
Also, when I add some more options to the PresenceStatus Field in SharePoint and refresh the datasource, in App Studio, It doesn't seem to be showing up when I go and edit the code in the OnVisible property of the Work Status Screen. Should I be editing something in one of the Flows?
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
Menu should be appearing in on the Home Screen of the App
Screenshots

Interface(please complete the following information):

Browser: Chrome
Version date: 90.0.4430.72 (Official Build) (64-bit)

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
The portion of Code regarding the WorkStatus.... The "out of office" which is part of the original works but the "out sick" and the "on annual leave" comes up with the red squeegly lines.
// Translations and icon for out of office.
"out of office",
Table(
{
Icon: cc_icon_oof,
DateRangeQuestion: varString.WorkStatusOutOfOffice,
DateRangeReceipt: varString.WorkStatusMessageOutOfOffice,
ShareToTeamEmail: varString.EmailOutOfOffice,
AutoReplyMessage: varString.EmailOutOfOffice
}
),
//Translations and icon for out sick.
"out sick",
Table(
{
Icon: cc_icon_oof,
DateRangeQuestion: varString.WorkStatusOutSick,
DateRangeReceipt: varString.WorkStatusMessageOutSick,
ShareToTeamEmail: varString.EmailOutSick,
AutoReplyMessage: varString.EmailOutSick
}
),
//Translations and icon for on annual leave.
"on annual leave",
Table(
{
Icon: cc_icon_oof,
DateRangeQuestion: varString.WorkStatusOnAnnualLeave,
DateRangeReceipt: varString.WorkStatusMessageOnAnnualLeave,
ShareToTeamEmail: varString.EmailOnAnnualLeave,
AutoReplyMessage: varString.EmailOnAnnualLeave
}
)

I've been seeing the same behavior over the last two weeks
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to 'The App OnStart.'
Right click App  'Choose OnStart'
Scroll down to 'to the colNav collection, double click and view the columns'
See error

Expected behavior
You would expect to see values in the following columns:
Screen
Image
If you remove the Screen  (//Screen: 'Request Screen') column from being populated in all instances on App OnStart, then the icons will reappear on the home page.   If you try to add the Screen column back to the colNave collection it will break.
From what I can tell, the Screen (Data type: Control) is no longer allowed in a collection?
Screenshots
If applicable, add screenshots to help explain your problem.
For all Collect(colNav) if statements,  comment out (or remove) all entries starting adding a Screen value

If I put the Screen column back in the collection then I get the error on the gallery I'm binding to again

If you click on the colNav collection passed to the Home Screen, you'll see that it's not being populated, even though it populated in the App OnStart
If I click on the Items property of the home menu you get the error that the gallery is expecting a different record structure

It seems that PowerApps collections no longer support using a column of type data control.  I cannot find a reference to which column data types are supported within a collection.    Maybe this is something that needs to be cast from a text to a control in the gallery?
Any help would be much appreciated.   I completed a clean install of the Crisis Communication App this morning into a dev tenant with the exact same results.
Interface(please complete the following information):

Browser Edge 90.0.818.49 (Official build)(64bit)

Additional context
Add any other context about the problem here.

Hi Microsoft/Powerapps-Tools,
Not sure if this will reach you.
I eventually resolved this with the help of a Microsoft support engineer.
In the Menu Components, look for the code/formula in the item property
Sort(colNav, Id) and change it to Sort(colNav, "Id")
Looks like updates in PowerApps over the last year means PowerFx, requires
the double quotes now.
Thank you.
On Wed, 5 May 2021, 17:23 Andrew Burns, @.***> wrote:

I've been seeing the same behavior over the last two weeks
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to 'The App OnStart.'
Right click App 'Choose OnStart'
Scroll down to 'to the colNav collection, double click and view the
columns'
See error

Expected behavior
You would expect to see values in the following columns:
Screen
Image
If you remove the Screen (//Screen: 'Request Screen') column from being
populated in all instances on App OnStart, then the icons will reappear on
the home page. If you try to add the Screen column back to the colNave
collection it will break.
From what I can tell, the Screen (Data type: Control) is no longer allowed
in a collection?
Screenshots
If applicable, add screenshots to help explain your problem.
For all Collect(colNav) if statements, comment out (or remove) all entries
starting adding a Screen value
[image: image]
https://user-images.githubusercontent.com/71793225/117173488-6f5b0a80-ad92-11eb-9058-a24913285c3d.png
If I put the Screen column back in the collection then I get the error on
the gallery I'm binding to again
[image: image]
https://user-images.githubusercontent.com/71793225/117173985-eb555280-ad92-11eb-9b0d-e0ffbff54d9c.png
If you click on the colNav collection passed to the Home Screen, you'll
see that it's not being populated, even though it populated in the App
OnStart
If I click on the Items property of the home menu you get the error that
the gallery is expecting a different record structure
[image: image]
https://user-images.githubusercontent.com/71793225/117174322-366f6580-ad93-11eb-86c0-5bdbf82df549.png
It seems that PowerApps collections no longer support using a column of
type data control. I cannot find a reference to which column data types are
supported within a collection. Maybe this is something that needs to be
cast from a text to a control in the gallery?
Any help would be much appreciated. I completed a clean install of the
Crisis Communication App this morning into a dev tenant with the exact same
results.
Interface(please complete the following information):

Browser Edge 90.0.818.49 (Official build)(64bit)

Additional context
Add any other context about the problem here.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/powerapps-tools/issues/936#issuecomment-832829133,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALIABREF4NYQ22J235XRBNDTMFWHHANCNFSM43DC3NSQ
.

Thanks for getting back to me and providing the tip.   I’m not sure if this email will get to you or not.
When the Collection (colNav) is initialized and  populated in App On Start, the values for Screen (Column data type control) and Image (Column data type image) It looks like this:
@.***D74241.3C2E6560]
If you look at colNav in the item property of the home screen, it is immediately evaluated to “There is an error in this formula”
[Graphical user interface, text, application, email  Description automatically generated]
Thanks,
Andrew
From: Douglas Doe @.>
Sent: Thursday, May 6, 2021 2:42 AM
To: microsoft/powerapps-tools @.>
Cc: Burns, Andrew @.>; Comment @.>
Subject: [EXT] Re: [microsoft/powerapps-tools] [BUG]: Home Screen not appearing with the Menu options (#936)
Hi Microsoft/Powerapps-Tools,
Not sure if this will reach you.
I eventually resolved this with the help of a Microsoft support engineer.
In the Menu Components, look for the code/formula in the item property
Sort(colNav, Id) and change it to Sort(colNav, "Id")
Looks like updates in PowerApps over the last year means PowerFx, requires
the double quotes now.
Thank you.
On Wed, 5 May 2021, 17:23 Andrew Burns<EMAIL_ADDRESS>wrote:

I've been seeing the same behavior over the last two weeks
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to 'The App OnStart.'
Right click App 'Choose OnStart'
Scroll down to 'to the colNav collection, double click and view the
columns'
See error

Expected behavior
You would expect to see values in the following columns:
Screen
Image
If you remove the Screen (//Screen: 'Request Screen') column from being
populated in all instances on App OnStart, then the icons will reappear on
the home page. If you try to add the Screen column back to the colNave
collection it will break.
From what I can tell, the Screen (Data type: Control) is no longer allowed
in a collection?
Screenshots
If applicable, add screenshots to help explain your problem.
For all Collect(colNav) if statements, comment out (or remove) all entries
starting adding a Screen value
[image: image]
https://user-images.githubusercontent.com/71793225/117173488-6f5b0a80-ad92-11eb-9058-a24913285c3d.pnghttps://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_71793225_117173488-2D6f5b0a80-2Dad92-2D11eb-2D9058-2Da24913285c3d.png-253E&d=DwQFaQ&c=NiOR8IkXLhcUqFjNjo0l66HyisETVb29NaGS6Ur75Pc&r=3IsN8Fl5PQQNFbZXNSdn8Q&m=HOdcwsDCCmlPV-MrdulODwdBBKeOz3dTsHYDXgI7eOA&s=hPn625G0kNC6yc-qdciL-hJ5pU39OKllbuN-lS1yAG8&e=
If I put the Screen column back in the collection then I get the error on
the gallery I'm binding to again
[image: image]
https://user-images.githubusercontent.com/71793225/117173985-eb555280-ad92-11eb-9b0d-e0ffbff54d9c.pnghttps://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_71793225_117173985-2Deb555280-2Dad92-2D11eb-2D9b0d-2De0ffbff54d9c.png-253E&d=DwQFaQ&c=NiOR8IkXLhcUqFjNjo0l66HyisETVb29NaGS6Ur75Pc&r=3IsN8Fl5PQQNFbZXNSdn8Q&m=HOdcwsDCCmlPV-MrdulODwdBBKeOz3dTsHYDXgI7eOA&s=wEXebXcjiNgCQnglT4Kz291t-P8KLB4NSh-VB0NBrsg&e=
If you click on the colNav collection passed to the Home Screen, you'll
see that it's not being populated, even though it populated in the App
OnStart
If I click on the Items property of the home menu you get the error that
the gallery is expecting a different record structure
[image: image]
https://user-images.githubusercontent.com/71793225/117174322-366f6580-ad93-11eb-86c0-5bdbf82df549.pnghttps://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_71793225_117174322-2D366f6580-2Dad93-2D11eb-2D86c0-2D5bdbf82df549.png-253E&d=DwQFaQ&c=NiOR8IkXLhcUqFjNjo0l66HyisETVb29NaGS6Ur75Pc&r=3IsN8Fl5PQQNFbZXNSdn8Q&m=HOdcwsDCCmlPV-MrdulODwdBBKeOz3dTsHYDXgI7eOA&s=yWxgb9LS4IxnbQDFnhOjIh35dHfWQO7pKYc75Emcevw&e=
It seems that PowerApps collections no longer support using a column of
type data control. I cannot find a reference to which column data types are
supported within a collection. Maybe this is something that needs to be
cast from a text to a control in the gallery?
Any help would be much appreciated. I completed a clean install of the
Crisis Communication App this morning into a dev tenant with the exact same
results.
Interface(please complete the following information):

Browser Edge 90.0.818.49 (Official build)(64bit)

Additional context
Add any other context about the problem here.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/powerapps-tools/issues/936#issuecomment-832829133https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_powerapps-2Dtools_issues_936-23issuecomment-2D832829133-253E&d=DwQFaQ&c=NiOR8IkXLhcUqFjNjo0l66HyisETVb29NaGS6Ur75Pc&r=3IsN8Fl5PQQNFbZXNSdn8Q&m=HOdcwsDCCmlPV-MrdulODwdBBKeOz3dTsHYDXgI7eOA&s=jzC-y8WU57-74BOXyvdD0x0IFGY0VrG-X7Vm6naakr8&e=,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALIABREF4NYQ22J235XRBNDTMFWHHANCNFSM43DC3NSQhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALIABREF4NYQ22J235XRBNDTMFWHHANCNFSM43DC3NSQ-253E&d=DwQFaQ&c=NiOR8IkXLhcUqFjNjo0l66HyisETVb29NaGS6Ur75Pc&r=3IsN8Fl5PQQNFbZXNSdn8Q&m=HOdcwsDCCmlPV-MrdulODwdBBKeOz3dTsHYDXgI7eOA&s=P_C4nCkPlGRi93a2KKPwzhtWEXEZdtdhjJ__-C7AyI0&e=
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_powerapps-2Dtools_issues_936-23issuecomment-2D833305123&d=DwMFaQ&c=NiOR8IkXLhcUqFjNjo0l66HyisETVb29NaGS6Ur75Pc&r=3IsN8Fl5PQQNFbZXNSdn8Q&m=HOdcwsDCCmlPV-MrdulODwdBBKeOz3dTsHYDXgI7eOA&s=ph2TWh7ckJMf0fMsMBtHUKA5cyNxdiMf_vtmJ2LNkBg&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ARDXUSN54VPXMJBC3GBVWK3TMJB25ANCNFSM43DC3NSQ&d=DwMFaQ&c=NiOR8IkXLhcUqFjNjo0l66HyisETVb29NaGS6Ur75Pc&r=3IsN8Fl5PQQNFbZXNSdn8Q&m=HOdcwsDCCmlPV-MrdulODwdBBKeOz3dTsHYDXgI7eOA&s=6MK9L4jAfy9ZmKXMIliTqZCOQntuOJwvFnRxluHBl2g&e=.

Doug, thanks for your help.   I didn't have success with that, but it could also mean that my tenant hasn't received the update.  I'll keep my eye on this.
What I finally did to resolved the issue, was to go back into both the HomeMenu and MainMenu components and set their Items property to the table definition (before this was set to Sort(colNav,Id)
Table(     {         Id: 0,          ScreenName: "",          Description: "",          Screen: App.ActiveScreen,          Image: SampleImage     } )

On each gallery control in those components, I verified that the Items property was set to HomeMenu.Items and MainMenu.Items respectively.
On each gallery control, update the Default property to use the component property for Items:
Change LookUp(colNav,Id=First(selectedScreen).Id) to LookUp(MainMenu.Items,Id=First(selectedScreen).Id)
Switch back to screens, Home Screen, and set the HomeMenu_1 Items property to Sort(colNav,Id).

You will need to repeat this on each screen that incorporates the Main Menu Component.   For example, FAQ Screen,

Hope this helps.

Hi Andrew,
Rather unfortunate you've had to use this long process.
Another workaround that also did it for me was to replace the Sort(colNav,
Id) with just colNav in the component item properties of the HomeNav and
MainNav.
Thanks.
Douglas
On Thu, 6 May 2021, 16:30 Andrew Burns, @.***> wrote:

Doug, thanks for your help. I didn't have success with that, but it could
also mean that my tenant hasn't received the update. I'll keep my eye on
this.
What I finally did to resolved the issue, was to go back into both the
HomeMenu and MainMenu components and set their Items property to the table
definition (before this was set to Sort(colNav,Id)
Table( { Id: 0, ScreenName: "", Description: "", Screen: App.ActiveScreen,
Image: SampleImage } )
[image: image]
https://user-images.githubusercontent.com/71793225/117322428-9f1e1700-ae53-11eb-8b65-e701e9f63e53.png
On each gallery control in those components, I verified that the Items
property was set to HomeMenu.Items and MainMenu.Items respectively.
On each gallery control, update the Default property to use the component
property for Items:
Change LookUp(colNav,Id=First(selectedScreen).Id) to
LookUp(MainMenu.Items,Id=First(selectedScreen).Id)
Switch back to screens, Home Screen, and set the HomeMenu_1 Items property
to Sort(colNav,Id).
[image: image]
https://user-images.githubusercontent.com/71793225/117324758-b5c56d80-ae55-11eb-8f02-787f3acab90c.png
You will need to repeat this on each screen that incorporates the Main
Menu Component. For example, FAQ Screen,
[image: image]
https://user-images.githubusercontent.com/71793225/117324969-ead1c000-ae55-11eb-91e8-d5377a6bc1d4.png
Hope this helps.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/powerapps-tools/issues/936#issuecomment-833616370,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALIABRBZJ5JMSMTFE7GFHJLTMKYYVANCNFSM43DC3NSQ
.


int type can't be parsed

There's a program fcallNoInfer.p4 in examples/inference with a function
int f(in int y){
    return y;
}

which we can't parse, because we don't let P4 programmers refer to the infinite-precision integer type int in source programs. This is either a bug in the example program or in our parser.

Seems like a parser bug.


NO-ISSUE: Bump xstream to version 1.4.21

The current xstream 1.4.20 is affected by CVE-2024-47072.
Updating xstream to ´1.4.21´ resolves the CVE

still missing the override for the quarkus blank app

@gitgabrio Feel free to review


Creating multiple stacked variable within tf.map_fn

Please make sure that this is a feature request. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:feature_template
System information

TensorFlow version (you are using): 1.10
Are you willing to contribute it (Yes/No): No

Describe the feature and the current behavior/state.
Currently, I am trying to create multiple variables within tf.map_fn but it just creates a single variable copied multiple times.
Will this change the current api? How?
Maybe
Who will benefit with this feature?
Projects related to multi-object tracking
Any Other info.

Do you have any use case that requires the feature you are interested in? .Please, share the related code.Thanks!

HI RaviKyram,
Thank you for your response, I am trying to use RT-MDNet (Real-Time_Multi- Domain Network) to achieve multi-object tracking. for that, I am trying to create a higher rank weight matrix stacked over one another depending on the number of objects detected. Currently, I was able to create multiple variables outside the graph but now I am trying to stack them and pass it to the last fully connected layer:
for n_obj in range(pos_data.shape[0]):
        W6 = tf.get_variable("fc6/kernel-" + str(n_obj), shape=(1, 512, 1),
                             initializer=tf.contrib.layers.xavier_initializer())

prob, train_op, accuracy, loss, pred, initialize_vars, y, fc6 = build_branches(fc5, W6)

def build_branches(fc5, n_obj):
    y = tf.placeholder(tf.int64, [None, None])

    with tf.variable_scope("fc6", reuse=tf.AUTO_REUSE):
        b6 = tf.get_variable('bias', shape=(1, 1, 1), initializer=tf.zeros_initializer())

    fc6 = tf.add(tf.matmul(fc5, W6), b6)

    loss = tf.reduce_mean(tf.nn.sparse_softmax_cross_entropy_with_logits(labels=y,
                                                                         logits=fc6))

    train_vars = tf.get_collection(tf.GraphKeys.TRAINABLE_VARIABLES, scope="fc6")

    with tf.variable_scope("",  reuse=tf.AUTO_REUSE):

        optimizer = tf.train.AdamOptimizer(learning_rate=0.001, name='adam')
        train_op = optimizer.minimize(loss, var_list=train_vars)

        initialize_vars = train_vars
        initialize_vars += [optimizer.get_slot(var, name)
                            for name in optimizer.get_slot_names()
                            for var in train_vars]
        if isinstance(optimizer, tf.train.AdamOptimizer):
            initialize_vars += optimizer._get_beta_accumulators()

    prob = tf.nn.softmax(fc6)
    pred = tf.argmax(prob, 2)
    correct_pred = tf.equal(pred, y)

    accuracy = tf.reduce_mean(tf.cast(correct_pred, tf.float32))

    return prob, train_op, accuracy, loss, pred, initialize_vars, y, fc6

I was able to create multiple branches but what I want is a single branch incorporating all the created variables stacked before the matmul operation on fc6 tensor.

here is an update to the issue, I was able to generate the multiple kernels outside the graph in a for loop and then giving it to the graph:
    w6 = []
    for n_obj in range(pos_data.shape[0]):
        w6.append(tf.get_variable("fc6/kernel-" + str(n_obj), shape=(512, 2),
                             initializer=tf.contrib.layers.xavier_initializer()))

    print("modeling fc6 branches...")
    prob, train_op, accuracy, loss, pred, initialize_vars, y, fc6 = build_branches(fc5, w6)

def build_branches(fc5, w6):
    y = tf.placeholder(tf.int64, [None, None])

    b6 = tf.get_variable('fc6/bias', shape=2, initializer=tf.zeros_initializer())

    fc6 = tf.add(tf.matmul(fc5, w6), b6)

    loss = tf.reduce_mean(tf.nn.sparse_softmax_cross_entropy_with_logits(labels=y,
                                                                         logits=fc6))

    train_vars = tf.get_collection(tf.GraphKeys.TRAINABLE_VARIABLES, scope="fc6")

    with tf.variable_scope("",  reuse=tf.AUTO_REUSE):

        optimizer = tf.train.AdamOptimizer(learning_rate=0.001, name='adam')
        train_op = optimizer.minimize(loss, var_list=train_vars)

        initialize_vars = train_vars
        initialize_vars += [optimizer.get_slot(var, name)
                            for name in optimizer.get_slot_names()
                            for var in train_vars]
        if isinstance(optimizer, tf.train.AdamOptimizer):
            initialize_vars += optimizer._get_beta_accumulators()

    prob = tf.nn.softmax(fc6)
    pred = tf.argmax(prob, 2)
    correct_pred = tf.equal(pred, y)

    accuracy = tf.reduce_mean(tf.cast(correct_pred, tf.float32))

    return prob, train_op, accuracy, loss, pred, initialize_vars, y, fc6

Now I want to figure out a way to delete the kernels for the object that is lost during the tracking. I guess that is not possible after the graph generation.

Please ask this type of question on StackOverflow as it's not a TF bug.


Move Outline view to sidebar

The Outline view is currently one of the options under the Explorer view.
Please "promote" Outline view so that it is directly listed on the sidebar.
This will simplify switching between the Explorer file lists and the Outline function lists

#49923 is superset of this and has received many upvotes, but has been open since May 2018 with no sign of action.

/duplicate


The macos version mentioned in the root readme file leads to a page that doesnt exist

Describe the bug
macos dmg release link is broken
To Reproduce
Steps to reproduce the behavior:

Go to the root readme file
Click on the link which leads to https://github.com/kubeshop/monokle/releases/download/downloads/Monokle-mac-universal.dmg
Nothing downloads, you get a 404

Hi,
We were releasing a minor version 2.0.6, that is now available. During the process we get this error as the new version is being built.
It should be working now


Find first occurrences in a sequence

I propose to add a new operator that takes some sequence of elements and a set of predicates, and returns a sequence of the first matching element (along with its index) for each predicate. The returned matches will be in the order of the predicates. If a predicate has no satisfying element, then its corresponding result will be an index of -1 and undefined element. The search terminates as soon as all predicates have at least one matching element or the source is exhausted. An overload can be supplied on top of this to simply provide values sought (optionally with an equality comparer) instead of predicates.
The source sequence is iterated once. A predicate is evaluated once per element and it is only used as long no matching element has satisfied it.
Prototype
public static IEnumerable<(int Index, T Item)> FindFirst<T>(this IEnumerable<T> source, IEnumerable<T> searches) =>
    source.FindFirst(searches, null);

public static IEnumerable<(int Index, T Item)> FindFirst<T>(this IEnumerable<T> source, IEnumerable<T> searches, IEqualityComparer<T> comparer) =>
    source.FindFirst(searches.Select(v => new Func<T, bool>(e => (comparer ?? EqualityComparer<T>.Default).Equals(e, v)))
                      .ToArray());

public static IEnumerable<(int Index, T Item)> FindFirst<T>(this IEnumerable<T> source, params Func<T, bool>[] searches)
{
    if (searches.Length == 0)
        yield break;

    var count = 0;
    var matches = new (int Position, T Item)[searches.Length];
    var i = 0;
    foreach (var item in source)
    {
        i++;
        for (var pi = 0; pi < searches.Length; pi++)
        {
            if (matches[pi].Position == 0 && searches[pi](item))
            {
                matches[pi] = (i, item);
                count++;
                break;
            }
        }

        if (count == searches.Length)
            break;
    }

    foreach (var m in matches)
        yield return (m.Position - 1, m.Item);
}

Example
var r1 =
    Enumerable.Range(1, 10)
              .FindFirst(x => x >  10,
                         x => x ==  3,
                         x => x >=  5);

// r1 = (-1, 10), (2, 3), (4, 5)

var r2 =
    "cond,anx,age,educ,gender,income,emo,p_harm,tone,eth,treat,english,immigr,anti_info,cong_mesg"
        .Split(',')
        .FindFirst(new[] { "gender", "age", "comment" });

// r2 = (4, "gender"), (2, "age"), (-1, null)

This sounds a lot like #81, which was rejected.

@fsateler #81 was not rejected. It was closed because Craig said “Nevermind then“ when I pointed out that Index can be used to the same effect. If anything, I'd say #236 is identical to #81. This one, however, is about multiple searches and finding the first occurrence of each.


docs: update the buttons for the channel page doc

Description
This PR updates the button for the channel page doc
Related issue(s)
Resolves #1099

@thulieblack Please update the Prev Button of Tutorials - Overview page also.

@akshatnema I dont understand what you mean

@thulieblack If you look on the https://www.asyncapi.com/docs/tutorials page, you will find that the Go Back button is pointing to Channel page, not Message page. So, you have to update it.
Look into this screenshot:

Hey @thulieblack, just an FYI that you can do all these bug fixes in ONE pull request; you didn't need to open a 2nd pull request. 😜

/rtm


[SITE-SUPPORT Request] for www.streamable.com

First of all thanks to everyone for this software.
I tried to make an extractor myself but could not figure out.
Example url: https://streamable.com/dnd1
They support downloads in two qualities:
Low : https://cdn.streamable.com/video/mp4-mobile/dnd1.mp4
High: https://cdn.streamable.com/video/mp4/dnd1.mp4
The default extractor seems to work for this particular link but it gets only the High Quality version.
title is in <h1> TITLE </h1>
Any help is appreciated.

Already supported in the latest version.


receive sdo excute then response sdo

I want to receive the sdo comand ，excute the command and then resonponse the relative command. what should i do if i want to use canopennode to realize this fuction?

sdo command is handled internally by the stack. you can set a callback for when a sdo read/write is received, so that you can modify the data accordingly before it is applied / a response is sent.

No. Either use a larger variable in your OD (e.g. octet string) or use Domain data type. Domain gives you a callback for start, data and end of transmission.


It should be possible to add new controller during runtime without restart

With roslyn it should be possible to call an api to load new controller.cs that is just included during runtime without restarting website or create an api to restart a website..
At this moment I have to restart and then new controller working

Working when starting visual studio without debugging


Update FSharp.Core package version to 4.2.1

Now that FSharp.Core.nuget 4.2.0 has been published:  https://www.nuget.org/packages/FSharp.Core/
Update repro to build package 4.2.1.

@dotnet-bot test Windows_NT Release_ci_part3 Build  please


Update TRY_IT_OUT.md

Use ToT crosvm as https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5065329 was merged in.

Thank you! Merged.


speed up image encoder segment-anything-fast

tracing a model can speed it up substantially and enable further optimization with tensorrt
examples of making the sam model trace-able:
https://github.com/developmentseed/segment-anything-services/pull/25
https://github.com/facebookresearch/segment-anything/pull/326
and an example converting a Yolov5 model to tensorrt format and serving it with torchserve: https://github.com/rbavery/animal_detector/tree/master/mdv5app

instead we can use https://github.com/pytorch-labs/segment-anything-fast/tree/main/segment_anything_fast
todo

test torch.export and see if we can use portable .pt2 and if it supports dynamic shapes for image input
if not, switch inference to use segtment-anything-fast library


permify env Command for Environment Inspection

Summary
Introduce a permify env command to inspect environment configurations in containers/runtimes, with obfuscation for sensitive values.
Problem
Difficulty in debugging and verifying environment setups without exposing sensitive information.
Solution
Command: permify env dumps environment variables and configurations.
Security: Automatically obfuscates secrets (e.g., PERMIFY_DATABASE_URI=postgres://***89fg).
Benefits
Simplifies debugging.
Enhances security with obfuscated outputs.

/bounty $200

/attempt #1067

Can I get assigned?

Hi,
I can work on that.

Will like to work on this. Let me know if I can be assigned

I am assigning it to @neo773 because he asked first, but we do not recommend opening a PR before assigning. If you hadn't been the first to ask, we wouldn't have consider your PR

Only reason why I went ahead as almost always it’s on priority basis, wouldn’t make sense if I was 10th person to comment and then open PR.

Wouldn't config be a more appropriate name since it prints env and config-inherited variables? It would be nice to see from where the config was read (if possible)? flag name, value, read from (env, config)?


New Event: guildMemberGameUpdateEvent

Adam told me to do it

There are multiple things wrong here:

There already is a UserGameUpdateEvent you just fire a second event
You used 4 commits for this change which could've been one

In addition, we are currently not looking for single events. We plan to look into all events with this new release.
We want to not only give this event attention but also all other events for documentation, hierarchy and convenience.
This only covers the convenience aspect and does that only for a single event without making a change but adding one additional event.
I know you probably had good intentions to add an event rather than replacing it but you should at least deprecate the one you want to replace so it can be safely removed in a successive version later on.
Based on these aspects I will close this Pull Request and hope you understand my reasoning.

👌


Implement OpenScanHub prototype

Fixes #2454
Fixes #2463
TODO:

[x] docs
[x] better error handling
[ ] better marketing - adding to news footer,.. - this can be done as a followup after running in prod for a week to see if everything works as expected

RELEASE NOTES BEGIN
We have added the initial version of functionality for running scans in OpenScanHub. You can read more about this functionality
here.
RELEASE NOTES END

we have discussed with @siteshwar that we will see whether getting this on staging will uncover some potential problems with OpenScanHub (same as getting it on prod that will cause higher load on OpenScanHub than usual) and could disable the config option depending on that if there will be any issues.

Wouldn't it be better to move the new methods from CoprBuildEndHandler to a separate helper class?

Wouldn't it be better to move the new methods from CoprBuildEndHandler to a separate helper class?

I assumed this will eventually be moved to a separate handler class once the config is refined later, but as you say, it makes sense to do it already, will change it.

thanks for the feedback! I went through the suggestions, PTAL @mfocko @nforro


Test mutating

Adds tests of all mutating methods from the Models sub-module.
Closes #38
NOTE I had to disable the tests for the quadrature routines. In these tests we read in some data from a .mat data file (generated by matlab). There is some bug in MAT.jl that throws an error when we read in the data now. I don't have time to track this bug down and/or fix it, so I just disabled those tests for the time being.

Coverage decreased (-18.49%) to 52.7% when pulling 6fbff131ab48b72f7f03e9fdc3a9322df0775e9c on test_mutating into 3ed25fc05de2920e57fa8be59355ca2d2a67902c on master.


stuck in update loop + reboot - thunderbolt

Awesome script.  Though the automatic updater causes an infinite loop of fetching the thunderbolt 1.2 update and rebooting, since said update downloads + "installs" + reboots, but somehow isn't really installed and seen again as available update.
I'll try to work around it by virtually unplugging the network cable and waiting an hour.

How is your VM qualifying for this update? If you have Thunderbolt peripherals that are being assigned to the VM, that may trigger this behavior. In that case, stop sharing and this update should no longer appear.

Not sure.  I assumed recent OSX version all come with thunderbolt drivers (that try to install security patches) ?
I don't have any thunderbolt peripherals and i'm unaware to anything thunderbolt being assigned to virtualbox / that VM.  I noticed the same behaviour a while back in a fresh Maverics VM, though then the only annoyance was that the app store kept saying there was an update available, which seemed to install without errors, but always kept as available update.
Current VM is a fresh Yosemite.

The Thunderbolt updates are generally firmware updates, which means that they're trying to update a piece of hardware. What is the VM running on? VMware Fusion? VMware ESXi?
If it's VMware Fusion, do you have a Thunderbolt display or are using Thunderbolt ethernet adapters?

Yes, it's firmware update 1.2, the only thing i could find is the same behaviour on a physical install, which was marked by apple as "known bug" (post dates from 2013).
It runs inside the latest virtualbox + extension pack.
Display is connected over HDMI, no additional ethernet adapters.  Physical ethernet says bus = PCI and physical thunderbolt says "no devices connected".

Ah, I just noticed that you mentioned that you were using this with VirtualBox. Unfortunately, VirtualBox doesn't support running OS X 10.7.x or later as a guest OS, so I never tested the installers created by this script with VBox:
https://www.virtualbox.org/wiki/Guest_OSes
For best results, I recommend using installers created by this script with either VMware's Fusion or ESXi virtualization solutions.

"Page last updated 2013-10-09"
Virtualbox itself gives me a specific option until OS X 10.9 (64 bit) a.k.a. Maverics, which seems indication enough that it's supported ?
Have you ever tested with XenServer of XCP ?

According to Oracle's listing, OS X 10.7.x or later are not listed as supported guest OSs:
http://www.oracle.com/technetwork/server-storage/virtualbox/support/index.html
XenServer officially does not support running OS X as a guest OS:
http://support.citrix.com/article/CTX125253
The virtualization solutions that I've tested have been VMware's Fusion and ESXi, running on Apple hardware. VMs which are hosted by those solutions are working fine with the installers generated by this script.
I have not tested VMware Workstation, as that virtualization solution generally will not run on Apple hardware. I have also not tested anything outside of VMware's virtualization solutions.


FreeType placeholder NPE fix

The fix for #88 introduced a code path that bypassed the existing null check, causing line 545 of ProjectData to throw a NPE during skin loading with placeholders, so this reverses the if-else statement to prevent that.

Nice find! I'll review when I have a chance. Thank you so much!

Okay, this one looks good. Thanks!


Certain cassettes take up a lot of storage

There are certain Betamax cassettes, specifically the stream cassettes, that take up megabytes of storage space because of their sheer size.
 My theory is that that stream contained 100 submissions with high comment counts.
If we optimized these numbers, maybe the build-from-git time could be reduced, especially if you have slow internet.

Some other ways the cassettes can be thinned:

Remove the pretty JSON serialiser and use something like jq if you want to see a cassette’s content.
Remove the Accept-Encoding: Identity header so the body content is gzip compressed.
Remove all or most of the request and response headers.
Perform the access token request outside or before running betamax so that each cassette doesn’t store a footprint of the initial access token request.

I still think Betamax is not exactly a good fit for this project. We don’t need to test the API, we should just test that the client emits the right request, then mock the API’s expected response.

You have some great ideas there, however, I'd like to weigh in with some specifics.
Primarily, I look at the cassettes on github for most new features to ensure there aren't more requests necessary to implement something. Removing the pretty printed cassettes, or compressing the results makes this significantly more challenging.
Generally speaking, you're right that we don't need cassettes. However, they're significantly easier to work with than mocking.

I also support removing the cassettes, because it's hard for new users to work with them. @bboe I think a simple python script can be devised that reads the JSON and outputs all of the URLs that are accessed.

@PythonCoderAS I find it a little surprising you would suggest something that makes reviews take even longer ;). I definitely don't want to check out repos locally to review the code.

@bboe Maybe a script we can tack onto the end of GitHub actions (before coverage) that reports the list?


added prefixed animation and keyframes

@beckyconning could you please take a look?
This makes animation and keyframes funcs rendering unprefixed and prefixed version. This doesn't change API and I suggest this should a patch version.

Nice :+1:
I'm only barging in to say, there have been some other changes merged today too, like an overhaul to fix issues with Color, so it needs a breaking change bump anyway.

@garyb Heh, maybe I should have waited a day or two before upgrading 7-8 halogen libraries 😜

Yeah, sorry :wink:... we have a request to add tabindex to Halogen too, I think that might necessitate another breaking change release there to accommodate a change in the global properties row.

@garyb no worries! 😄


Bank account - Error returns when input is entered in phone number, Tax ID and SSN fields

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.1-4
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Issue found when executing PR https://github.com/Expensify/App/pull/30568
Action Performed:
Bug 1: Phone number and Tax ID field

Navigate to staging.new.expensify.com
Go to Settings > Workspaces > any workspace
Go to Bank account
Click Connect manually
Proceed to Company information
Click Phone number field and enter a phone number
Click on the Tax ID field

Bug 2: SSN field
Precondition: Have a bank account added

Navigate to staging.new.expensify.com
Go to Settings > Wallet
Click Enable Wallet
Click on the SSN field
Enter a value

Expected Result:
The field will not return validation error when the input is not completed
Actual Result:
The phone number field returns validation error as soon as value is entered.
Tax ID and SSN fields show error as soon as the input field is focused
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

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

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/80998a5c-e155-4835-aa47-1e820b70a4ff
https://github.com/Expensify/App/assets/78819774/ffefa611-9e50-4308-9aab-0066a87620c1
View all open jobs on GitHub

Proposal
Please re-state the problem that we are trying to solve in this issue.
Bank account - Error returns when input is entered in phone number, Tax ID and SSN fields
What is the root cause of that problem?
We are validating Form when input change
What changes do you think we should make in order to solve the problem?

Should pass shouldValidateOnChange: false to FormProvider in CompanyStep Page
What alternative solutions did you explore? (Optional)

I don't think this is a bug

I think this is against Form guideline.
cc: @luacmartins
https://github.com/Expensify/App/blob/main/contributingGuides/FORMS.md#validate-on-blur-on-change-and-submit

Once a user has “touched” an input, i.e. blurred the input, we will also start validating that input on change when the user goes back to editing it.

But input is not "touched" yet.


test_import.test_answer fails with error

This is a new test added by Cesar
======================================================================
ERROR: test_import.test_answer
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/anaconda/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/rpa/pyqg/pyqg/tests/test_import.py", line 3, in test_answer
    import mkl
ImportError: No module named mkl

This is really a simple issue. I mistakenly assumed the user has mkl, which is not necessary to run the model.


Server Garbage Collection in ASP.NET Core

I'm actually not quite sure what I'm asking here.
TIL that there is a different type of garbage collection for servers available.
Screenshot:

So my question: Can you use the server gc in ASP.NET Core?

As per this you should be the COREHOST_SERVER_GC environment variable.

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.


length of record should be number of fields

I was curious how many columns were in a fuse output so I piped the output to cut len(this) and got 1 for every record.
It seems more intuitive that the length of a record should be the number of fields/columns it contains.  Not sure where the 1 is coming from.

@mccanne: Can you share your test data? With random test data I can't reproduce this on the latest Zed.
$ zq -version
Version: v0.31.0-3-gc361fd52

$ cat data.ndjson
{"foo": "bar", "one": "two"}
{"foo": "bar", "one": "two", "three": "four"}

$ zq 'cut len(this)' data.ndjson
{len:2}
{len:3}

$ zq 'fuse | cut len(this)' data.ndjson
{len:3}
{len:3}

Closind due to operator error :-)


Alice User Research Results

[ ] Sort by
[ ] Advanced search (logical AND and OR)
[ ] API Docs

Closing in favor of #9


create directory if it does not exist

The non-exist directory would cause failure, therefore, we have to create it in the first running.

The failure occurs:

FileNotFoundError: [Errno 2] No such file or directory: '/home/xxx/raisim_ws/raisimLib/complex-env-navigation/raisimGymTorch/env/envs/test/../../../../point_goal_nav/Result/ITS_729_100_10/cfg.yaml'

Okay, I see your related code, but I am afraid it does not work correctly.
The reason is in README the quick start is as:
cd PATH/raisimLib/
python complex-env-navigation/raisimGymTorch/env/envs/test/pgn_runner.py
Then your code checks whether there is point_goal_nav folder under raisimLib/.
However, /home/xxx/raisim_ws/raisimLib/complex-env-navigation/raisimGymTorch/env/envs/test/../../../../point_goal_nav/Result/ITS_729_100_10/cfg.yaml requires point_goal_nav folder to be under raisimLib/complex-env-navigation/.

Oh, what you pointed out is correct. I apologize for making a mistake when writing README.
The command should be as follows.
python complex-env-navigation/raisimGymTorch/env/envs/test/pgn_runner.py
python complex-env-navigation/raisimGymTorch/env/envs/test/src_runner.py
I updated README.

No problem, great for finding the problem!
I will close this PR.


AJAX Image Upload

It would be good to make image upload an AJAX action.
I found the following resources about this:
https://abandon.ie/notebook/simple-file-uploads-using-jquery-ajax
http://blog.teamtreehouse.com/uploading-files-ajax
One of them also mentions how you can use JS to check that the files are images, which is great

It may be good to keep images from different users separate as well...

Images from different users are now separate, but upload is not AJAX yet


[feature request] Guiding lines for first click accuracy

Hello !
I'm suggesting a little feature I've seen on other labeling tools : Guiding lines
Issue
First click accuracy while creating a bounding box is quite random without guiding lines.
Solution
Adding guiding lines following mouse cursor would make labeling faster because the first click wouldn't need to be re-adjusted.
Example
Here is an example with a 2px wide guiding line with 60% opacity :

Thanks you for reading this,
Valentin

@S7eezy we call this feature crosshair and it can be enabled in the <Image> tag:
<View>
  <Image name="image" value="$url" crosshair="true"></Image>
</View>


Update CONTRIBUTING.md

This file still pointed to https://github.com/redux-json-api/redux-json-api as a reference.
In order to improve the contribution to the project is nice to have a correct CONTRIBUTING.md

Hah, well spotted!


WIP: add pause/resume and improve network join/leave

Adds dat.pause() and dat.resume(), #69 . Right now this is just a alias for join and leave. Tried to use unprioritize but was having some issues with how hyperdrive forces downloads right now.
Also fix some bugs in the join * leave code. This makes the leave a bit more strict including destroying the swarm. There were still some messages getting through (protocol bug?) if I only left the swarm on the key, this may have been from duplicate connections.

Codecov Report

Merging #121 into master will decrease coverage by -3.21%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #121      +/-   ##
==========================================
- Coverage   98.49%   95.28%   -3.21%
==========================================
  Files           6        6
  Lines         266      276      +10
==========================================
+ Hits          262      263       +1
- Misses          4       13       +9

Impacted Files
Coverage Δ

dat.js
98.95% <100%> (-1.05%)
:x:

lib/init-archive.js
87.23% <0%> (-8.52%)
:x:

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 c8cc0c4...078aa9c. Read the comment docs.


Update README with only docker compose example

At the moment, dabs don't seem to work as well as the fact that there
hasn't been much development since the experimental announcement of the
DAB format.
Removing it from the README makes the example clearer as well as more
direct / informative.

ping @sebgoa

At the moment, the example and --dab functionality does not work.

lgtm
It has been long enough without movement on the dab front.

Since this is doc review / updating, it only requires one LGTM!
Mergin'


Remove version: GeoGebra.Geometry version 6.0.843

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://download.geogebra.org/installers/6.0/geometry/GeoGebraGeometry-Windows-Installer-6-0-843-0.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 912)


Spookify shows different embed header than profile picture spookified

Description
when running spookify with a id, it shows the other users pfp and name in the embed header, and the own profile pic spookified.
Steps to Reproduce
The header should match the spookified image
Expected Behaviour
The other persons pfp should be spookified, or the header should match the
Actual Behaviour

Would you like to implement a fix?

[ ] I'd like to implement the bug fix
[x] Anyone can implement the bug fix

This is already fixed in #597, however, I don't know how long it will take to get merged.


Add new metric config_lan_mode

Fixes #47
I know that this solution is probably not abstract enough for you to merge it, but until this is solved we are gonna use this fork, so ... just some inspiration :)
If you have an idea how to approach this in a better way, please let me know and I'll be happy to help.

Thanks for sharing the code! While I would still love to see a more generic framework for using ipmi-raw, I admit this will not materialize anytime soon, so I think it might be worth offering this for those who want it.
I only have one cosmetic request: could you rename the collector to sm-lan-mode? Calling it ipmi-raw might lead people to the assumption that it can handle arbitrary IPMI commands or such.

Yeah, that makes more sense :) Done.

Sorry it took so long, thanks a lot! I will write some documentation and then release a new version.


Generating a did:key secp256k1 from private key

So I may be confused as to what the seed is, as from the bitcoin perspective the seed is the passphrase to get to the private key, but given I already have a private key, can I generate a did:key from it? In that case what would be the expected syntax?
Thanks

This may help: https://w3c-ccg.github.io/did-method-key/

Ok so this is not the first time I'm using did:key and while I appreciate you sending to the spec which I should probably refresh my mind on, my question is really related to the @transmute/did-key-secp256k1 package.
Here is what I have done before, when I created a key pair and the did:key representation of that key pair:
if (type === SupportedSuites.secp256k1) {
    const seed = crypto.randomBytes(32);
    keyPair = await EcdsaSecp256k1VerificationKey2019.generate({
      seed
    })
    didKey = await didKeySecp256k1.generate({
      secureRandom: () => seed
    });
    didDocument = didKey.didDocument;
    keyPair.controller = didDocument.id;
    keyPair.id = didDocument.verificationMethod[0].id;
  }

However now, since I already have the private key, what would the API of the package expect to create a did document with the public representation derived from that private key?
I have a PEM format key generated as follows:
openssl ecparam -name secp256k1 -genkey -noout -out priv_k.pem

That's the one variable I cannot change because that's the way the private is handed to me.
Using keyto, I'm able to convert that key to JWK (private and public). I can confirm using JOSE that the public derived is the same with openssl or with JS, so I expect that the format is valid.
Then I am trying to convert the JWK to https://github.com/transmute-industries/verifiable-data/blob/main/packages/secp256k1-key-pair/src/getPublicKeyFromPublicKeyJwk.ts#L3, not entirely sure what format I should get from that, but basically trying to get back to a base58 format, sort of trying to replicate this behavior: https://github.com/transmute-industries/verifiable-data/blob/main/packages/secp256k1-key-pair/src/Secp256k1KeyPair.ts#L55-L57
However getPublicKeyFromPublicKeyJwk throws an error from secp256k1 level:

Public Key could not be parsed

Due to this condition not passing: https://github.com/cryptocoinjs/secp256k1-node/blob/master/lib/elliptic.js#L39. So I assume something somewhere is not the right math, but I'm not a cryptographer myself.
My ultimate goal is to get the PEM key represented as a did:key:secp256k1 format so that I can reference that public key in the proof.verificationMethod of my VC.
Hence my initial question, can I generate a did:key directly from the private key JWK, and if so how can I do it?


[EventRequest] Report 790 “Calculate Inventory”

Please change event OnBeforeQuantityOnHandBufferFindAndInsert in Report 790 on Warehouse Entry - OnAfterGetRecord() and including "Warehouse Entry" Record as parameter as shown in the image below:

And add a new publisher event OnBeforeInsertItemJnlLine in InsertItemJnlLine procedure as shown in the image below:

Please also add the Integration Event at the bottom of the Report:
LOCAL [IntegrationEvent] OnBeforeInsertItemJnlLine(VAR ItemJournalLine : Record "Item Journal Line";QuantityOnHandBuffer : Record "Inventory Buffer")

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Worst human verification  ever

Example URL(s)
Every website I go to that uses Cloudflare Human verification fails with Microsoft Edge on three different computers forcing the use of other browsers ... any other browser.
Actual Behavior
Cloudflair continues to cycle back to click to verify
Expected Behavior
I would expect verification when I click the box
Additional information
I am so disappointed I am start to write each web master using your system that the system sucks.   If I have this problem on three separate systems there must be hundreds of not thousands of users equally frustrated.

Apologies @OscarPhilips, but there's not much we can do about this from the docs repo or docs team side.
You might be able to find some information either in Cloudflare challenges or the Cloudflare community.


Haze v1.3.0

Summary:

Restructure codebase to support using haze outside of the CLI
Renamed CLI commands to import & export
New haze list command
Ensure that only directories are considered valid worlds

Motivation
Closes #8, closes #9, closes #10
Todos after merging:

Publish haze_core as a crate
Colorize haze list output/tweak it to your liking

Looks good!


Unexplained Logs

Am using the pub/sub example code but after afew idle minutes the process starts logging this on the console
D0326 20:35:23.510143000<PHONE_NUMBER>05056 chttp2_transport.c:683] got goaway [0]: 73 65 73 73 69 6f 6e 5f 74 69 6d 65 64 5f 6f 75 74 'session_timed_out'
D0326 20:35:24.358179000<PHONE_NUMBER>05056 chttp2_transport.c:683] got goaway [0]: 73 65 73 73 69 6f 6e 5f 74 69 6d 65 64 5f 6f 75 74 'session_timed_out'
D0326 20:35:26.633089000<PHONE_NUMBER>05056 chttp2_transport.c:683] got goaway [0]: 73 65 73 73 69 6f 6e 5f 74 69 6d 65 64 5f 6f 75 74 'session_timed_out'

Any Ideas why
Question moved from :
https://github.com/GoogleCloudPlatform/gcloud-node/issues/1187#issuecomment-201906588

Related: 5004

@lafama or @stephenplusplus: Those are messages from the gRPC core. Do y'all have the GRPC_TRACE environment variable set anywhere?
@ctiller For my own edification, would those kinds of logs appear even if the user hasn't set any logging variables?

Thanks for checking into this @soltanmm! When this came up with me before (in #5004), I made sure that wasn't set.

@ctiller Nevermind, found this.
So, yes, it turns out that in 0.13.0 there's some logging done that is unconditional w.r.t. environment variables. I'll poke around and see if we do that kind of thing still on master or our release-0_13 branches.

So, we still do, and we do want to eventually add a knob for controlling output verbosity.

Yuchen - we likely want to add two things here:
a public API gpr_set_log_verbosity(gpr_log_severity min_severity_to_print);
with an implementation in gpr_log_message()
and an environment variable that's parsed in init.c GRPC_VERBOSITY, taking the values of (DEBUG, INFO, ERROR) and calling the API function iff it hasn't been called by anyone else.
Care will need to be taken wrt threading... recommend using atomics for the global verbosity variable.

0.13.1 introduced a new type of output as well, for each call:
Service URL: https://datastore.googleapis.com/google.datastore.v1beta3.Datastore
Bearer ya29...
Service URL: https://datastore.googleapis.com/google.datastore.v1beta3.Datastore
Bearer ya29...
Service URL: https://datastore.googleapis.com/google.datastore.v1beta3.Datastore
Bearer ya29...
...

It looks like that's a bit of debug logging that I accidentally left in the Node code in the 0.13 branch.

Can we get this merged in? It's affecting gcloud-node's production version.

@stephenplusplus @jgeewax The npm package<EMAIL_ADDRESS>has been published with that fix.

When can we expect 0.13.2?

Added in #6189

@murgatroid99 are there any plans for releasing 0.13.2? gcloud users are still seeing the excess logging, since npm pre-releases have to be explicitly installed.

We are planning to release 0.14.0 soon, and that will have the same fix.

Okay, any breaking changes I should get gcloud prepared for?

We changed the argument order for method calls. Now the callback always comes last, and the metadata and options argument come before it, but are still optional.

Thanks!


Missing file in FileNotFoundError in profiling_camelyon_pipeline.ipynb

08:55:28  Running ./pathology/tumor_detection/ignite/profiling_camelyon_pipeline.ipynb
08:55:28  Checking PEP8 compliance...
08:55:29  Running notebook...
08:55:37  MONAI version: 1.3.0+57.gd7137cf4
08:55:37  Numpy version: 1.22.2
08:55:37  Pytorch version: 2.1.0a0+29c30b1
08:55:37  MONAI flags: HAS_EXT = False, USE_COMPILED = False, USE_META_DICT = False
08:55:37  MONAI rev id: d7137cf410617f4ec54c621d9511e982855a2892
08:55:37  MONAI __file__: /home/jenkins/agent/workspace/Monai-notebooks/MONAI/monai/__init__.py
08:55:37
08:55:37  Optional dependencies:
08:55:37  Pytorch Ignite version: 0.4.11
08:55:37  ITK version: 5.3.0
08:55:37  Nibabel version: 5.2.0
08:55:37  scikit-image version: 0.22.0
08:55:37  scipy version: 1.11.1
08:55:37  Pillow version: 9.2.0
08:55:37  Tensorboard version: 2.9.0
08:55:37  gdown version: 4.7.1
08:55:37  TorchVision version: 0.16.0a0
08:55:37  tqdm version: 4.65.0
08:55:37  lmdb version: 1.4.1
08:55:37  psutil version: 5.9.4
08:55:37  pandas version: 1.5.2
08:55:37  einops version: 0.6.1
08:55:37  transformers version: 4.36.2
08:55:37  mlflow version: 2.9.2
08:55:37  pynrrd version: 1.0.0
08:55:37  clearml version: 1.14.0rc0
08:55:37
08:55:37  For details about installing the optional dependencies, please visit:
08:55:37      https://docs.monai.io/en/latest/installation.html#installing-the-recommended-dependencies
08:55:37
08:55:39  papermill  --progress-bar -k python3
08:55:40  /usr/local/lib/python3.10/dist-packages/papermill/iorw.py:153: UserWarning: the file is not specified with any extension : -
08:55:40    warnings.warn(
08:56:12
Executing:   0%|          | 0/19 [00:00<?, ?cell/s]
Executing:   5%|▌         | 1/19 [00:01<00:27,  1.50s/cell]
Executing:  32%|███▏      | 6/19 [00:20<00:46,  3.56s/cell]
Executing:  42%|████▏     | 8/19 [00:28<00:40,  3.65s/cell]
Executing:  53%|█████▎    | 10/19 [00:30<00:25,  2.80s/cell]
Executing:  53%|█████▎    | 10/19 [00:32<00:29,  3.23s/cell]
08:56:12  /usr/local/lib/python3.10/dist-packages/papermill/iorw.py:153: UserWarning: the file is not specified with any extension : -
08:56:12    warnings.warn(
08:56:12  Traceback (most recent call last):
08:56:12    File "/usr/local/bin/papermill", line 8, in <module>
08:56:12      sys.exit(papermill())
08:56:12    File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1157, in __call__
08:56:12      return self.main(*args, **kwargs)
08:56:12    File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1078, in main
08:56:12      rv = self.invoke(ctx)
08:56:12    File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1434, in invoke
08:56:12      return ctx.invoke(self.callback, **ctx.params)
08:56:12    File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 783, in invoke
08:56:12      return __callback(*args, **kwargs)
08:56:12    File "/usr/local/lib/python3.10/dist-packages/click/decorators.py", line 33, in new_func
08:56:12      return f(get_current_context(), *args, **kwargs)
08:56:12    File "/usr/local/lib/python3.10/dist-packages/papermill/cli.py", line 254, in papermill
08:56:12      execute_notebook(
08:56:12    File "/usr/local/lib/python3.10/dist-packages/papermill/execute.py", line 134, in execute_notebook
08:56:12      raise_for_execution_errors(nb, output_path)
08:56:12    File "/usr/local/lib/python3.10/dist-packages/papermill/execute.py", line 241, in raise_for_execution_errors
08:56:12      raise error
08:56:12  papermill.exceptions.PapermillExecutionError:
08:56:12  ---------------------------------------------------------------------------
08:56:12  Exception encountered at "In [3]":
08:56:12  ---------------------------------------------------------------------------
08:56:12  AttributeError                            Traceback (most recent call last)
08:56:12  Cell In[3], line 4
08:56:12        2 dataset_url = "https://drive.google.com/uc?id=1uWS4CXKD-NP_6-SgiQbQfhFMzbs0UJIr"
08:56:12        3 dataset_path = "training.csv"
08:56:12  ----> 4 gdown.download(dataset_url, dataset_path, quiet=False)
08:56:12        6 # Download images
08:56:12        7 # by default the images expect to be under training/images/
08:56:12        8 image_dir = os.path.join("training", "images", "")
08:56:12
08:56:12  File /usr/local/lib/python3.10/dist-packages/gdown/download.py:259, in download(url, output, quiet, proxy, speed, use_cookies, verify, id, fuzzy, resume, format)
08:56:12      255     content_disposition = six.moves.urllib_parse.unquote(
08:56:12      256         res.headers["Content-Disposition"]
08:56:12      257     )
08:56:12      258     m = re.search(r"filename\*=UTF-8''(.*)", content_disposition)
08:56:12  --> 259     filename_from_url = m.groups()[0]
08:56:12      260     filename_from_url = filename_from_url.replace(osp.sep, "_")
08:56:12      261 else:
08:56:12
08:56:12  AttributeError: 'NoneType' object has no attribute 'groups'

Same to https://github.com/Project-MONAI/tutorials/issues/1598.
The link to the dataset is broken, which points to a wrong .txt file.
Hi Stephen, could you please help take a look at this? If the link is changed, I could help update it. Thanks!
@aylward

May not be due to permission but the issue described here
And I tried again my local, it can be downloaded successfully.

The gdrive files used in that jupyter notebook are set so that anyone with the link can view them.  See figure below.
The strange thing is that the file being downloaded (https://drive.google.com/uc?id=1uWS4CXKD-NP_6-SgiQbQfhFMzbs0UJIr) is only 149 Kb - the small annotation file.   The issue linked by @KumoLiu seems more related to large collections of files, although perhaps the issue can still happen from an accumulation of messages in the cookie that happen from repeated downloads across multiple sessions rather than from a single large download?   Interesting.   Glad it works from local.   Might have been a glitch in the matrix :)

Is there something wrong with assumptions about what the "Content-Disposition" value is the response headers? The value that I get by playing around with requests is 'attachment; filename="tumor_091.annotation.txt"' for that header entry. This doesn't appear to match the regex pattern here in the library. This has already been raised here on gdown itself.

Pin the gdown version as a workaround, close for now.
https://github.com/Project-MONAI/MONAI/pull/7384


feat: add Turkish lang file

Added Turkish language support.

I thank you for such a beautiful framework.

We should exclude language files from code coverage.


switch to GHC 8.10.7

8.10.7 is only 9 months younger than 8.10.3, but it allows us to use the latest HLS version. There would be one younger stackage LTS release (LTS 19.12 for ghc-9.0.2), but that is only 3 days old and may be unreliable. Also: table-layout does not work with GHC 9 yet.

I've just recompiles and it works. OK for me to merge.

Brilliant! Very happy to get rid of 8.10.3, finally.


Added custom Jasmine matchers; moved files to browser/e2e folders

Codecov Report

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

@@          Coverage Diff          @@
##           master    #85   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          23     23
  Lines         529    529
  Branches       59     59
=====================================
  Hits          529    529

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 e8c59fb...627e4b8. Read the comment docs.


Build should fail when there are compiler warnings

Description
Right now a Math build will not fail if there are compiler warnings. There is a PR that started to try to address this, but ran into problems with the MPI build: https://github.com/stan-dev/math/pull/891
Current Math Version
v2.18.0

@syclik is the reporter

Is this still relevant? I know sundials compilation spits out some warnings so I guess this wasnt addressed?

Are there known warnings remaining? If not, it should be enough to add -Werror to the compiler flags to make the builds fail on warnings.


Use of django Forms in a REST library

Just wondering if this library would be cleaner if no django forms were used.
Form validation should be replaced by serializer validation. Frontend validation is the responsability of the developer.
What's your opinion?

+1 and agree with @philippeluickx

This PR solves this issue

#151 merged. Closing.


unable to create account

is there anyway to integrate vestacp with boxbilling? i tired doing it but after connection of boxbilling and vestacp i am unable to create account as it says that user already exists and try another 2.

what version of boxbilling are you using? and let me know if you are using the latest update of Vesta CP

Both are lateat. Plz help and do you have skype?

still waiting...


Chatterino native host problem

I cant seem to get the extension to work. i have restarted browser and refreshed many times, disabled and re enabled the extension but im always stuck on this screen as shown in the screenshot.

the browser i am using is Brave, i have tested this on Chrome and it worked so i dont understand why it wouldn't work with Brave since its also a chromium based browser

Duplicate of #1294


gce:Build image based on rockylinux instead of centos8

Since centos8 is EOL, we need to switch to rockylinux to continue
supporting gce images (which are rpm based).

Verified:
https://jenkins.scylladb.com/job/scylla-4.4/job/gce-image/142/


How to run the memory scanner

Is the memory scanner able to run on windows machines?

No, the scanner currently uses /proc/$PID/maps which is a linux only way of reading memory

Okay, thanks for the info. Do these Structs and offsets work with the current Version of D2R?
https://github.com/blacha/diablo2/blob/master/packages/memory/src/struts/d2r.ts

These data structures are still all valid, but there are no offsets in this repo.
Most of the logic is using memory scanning to find patterns in the memory which are then used to find game objects


chore(master): release 1.8.2

:robot: I have created a release beep boop
1.8.2 (2024-05-07)
Bug Fixes

deps: bun lock file (ead02c5)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/BingusBoingus-Developer-Team/BingusBoingus/releases/tag/v1.8.2 :sunflower:


Compile time issues in Xcode using 'AzureCommunicationUI', '1.0.0-beta.2'

Xcode is showing multiple compile time errors in the library 'AzureCommunicationUI', '1.0.0-beta.2'.

I am using Xcode 12.3 and swift language version 5
Library name and version is 'AzureCommunicationUI', '1.0.0-beta.2'

This issue is related to the ios UI Lib and using xcode. We have duplicated your issue into the correct repo and will be closing this specific issue.
https://github.com/Azure/communication-ui-library-ios/issues/134


[Feature request] "display runnable query"

HI!
Great piece of code, I would love to see "display runnable query" functionality in it, like it is in Symfony...

And sorting list of queries by execution time

thanks, i'll try to look at it if i find some free time :)

I think sorting by execution time is now implemented.


Fix handlebars path

Fix handlebars path to pull from node_modules instead of vendor.
Changes

Pulls in handlebars via npm instead of bower.

Testing

./setup.sh local should pass.

Review

@sebworks
@jimmynotjim
@KimberlyMunoz

:+1:

:+1:


Update UMLS to UMLS2023AA

Since UMLS's extract script has to be reworked anyways per #291 and #232 (which featured a bad download of 2022AA and some hacky fixes with 73f503c), I think it is time to upgrade to 2023AA. (That way, the energy we could spend patching for an old version can be directed at a more updated version.)

As of KG2.8.4pre, this issue is complete:
match (n) where n.category="biolink:RetrievalSource" and n.name contains "UMLS" return n


Question: Do you plan to support npm

https://twitter.com/deno_land/status/1580356550966722560
<EMAIL_ADDRESS>(Interoperating with Node and NPM)
deno run -A --unstable npm:create-vite-extra

Hmm it's a good question! What would be the use case here? Since you can just npx for npm projects?

@AnandChowdhary Haha, create-vite-extra --template=deno-vue is a deno project instead of node and npm.


[DX] Wrong Favicon !!!

Description
The website of the project uses vercel's default favicon which degrades website's reputation among new people.
I would love to create a logo (Favicon) and implement it in code

A proposed logo

A kind of logo but if accepted can be made into favicon

Let's discuss this at #224.

@ykdojo I feel this issue can be closed now.

@Princeton21 we should still change the favicon right? Or is it already fixed?

@Princeton21 we should still change the favicon right? Or is it already fixed?

Yeah I guess it is fixed in #266
and I felt that both issues #224 and this focus on the same problem


Feat: Added XML support to Graphiql

Added Support for XML Results
Now graphiql can handle json as well as xml results. You have to choose response type from topbar using Handle JSON or Handle XML buttons.
Using express-graphql-multimode
Added options to send XML as well as json results to express-graphql and published it as express-graphql-multimode. It gets json and sends xml or json to client.

this looks great!
we have a feature freeze at the moment, as we are re-architecting GraphiQL entirely.  you'll be able to provide this as a plugin later. thanks for this!

this looks great!
we have a feature freeze at the moment, as we are re-architecting GraphiQL entirely. you'll be able to provide this as a plugin later. thanks for this!

The new Graphiql is using MonacoEditor instead of CodeMirror. So this plugin also needs some changes.

@alinauroz in fact, there are no plugins yet, so it will need a lot of changes! Stay posted. Thanks for this though!

@acao you are right. This will need a lot of changes. While working on this feature, we also need to assure that all other things are right. For example, when graphiql gets schema in XML form, DOC Explorer fails to work. I wrote a code (using recursive approach) to convert xml schema to json so that doc explorer can work fine but this solution failed to work because schema is a large file (a monolith) and due to recursive approach the stack overflows.
To overcome this problem, i did some changes in express-graphql-multimode (an npm package that i published, by doing some changes in express-graphql, to test xml result view in graphiql). If data is schema, express-graphql-multimode sends result as json otherwise as XML. Check this pseduo code
if data has __schema
 sendAsJSON(data)
else if result_mode is XML
 sendAsXML(data)
else
 sendAsJSON(data)

@acao Check this proposal. It has a plan to add support for different kinds of formats to graphiql with timeline. Create issue to give feedback or comment here


Supermium Logo blank after customize theme

Describe the bug
Some theme after applied, supermium logo will blank
To Reproduce
Steps to reproduce the behavior:

Open Supermium
Click "Customise Supermium"
Change Theme

Screenshots
theme in red rectangle normal

normal:

abnormal:

Desktop (please complete the following information):

OS: Win 7 build 7601 SP1 x64
Browser: Supermium 126.0.6478.254 R4 (Debugging Release)

FWIW, another duplicate of a known GUI bug; see here :wink: ...

damn it, i missed another duplicate of this "feature" :cry:
anyway i do it now and in all next issues (loco will be upgraded with each tenth cart)
:steam_locomotive: #434 #553 #584 #668 #809 #891 #943


fix(Button): pass focus options

According to https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus the focus method can have an options parameter, which is useful, for example, to prevent scrolling. With this fix, options parameter is passed to the referenced DOM element.

Codecov Report
Base: 99.75% // Head: 99.75% // No change to project coverage :thumbsup:

Coverage data is based on head (bd416d3) compared to base (c3cbcae).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4399   +/-   ##
=======================================
  Coverage   99.75%   99.75%
=======================================
  Files         180      180
  Lines        3248     3248
=======================================
  Hits         3240     3240
  Misses          8        8

Impacted Files
Coverage Δ

src/elements/Button/Button.js
95.55% <100.00%> (ø)

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Could you show me the architecture of moco?

I want to know more about moco and its design pattern. Could you help me.

The basic idea of Moco is very simple: RequestMatcher and ResponseHandler. If your request matches any matcher, the corresponding response handler will be invoked to return response.

@waitshang I wrote a Chinese article about Moco design. I hope it is helpful.


Factor out SrvResolver

Sydent has an SrvResolver class here: https://github.com/matrix-org/sydent/blob/8331f94e1e22c72c84683c271142f3237c707a27/sydent/http/srvresolver.py#L104
Synapse has one too with an associated test case.
I couldn't see one in Sygnal.

I think the entire srv_resolver file is duplicated in both cases.

I think the entire srv_resolver file is duplicated in both cases.

I believe this is the case (or meant to be the case). 😄

I looked at this briefly today, but was dismayed to see that Synapse's implementation includes make_deferred_awaitable which exists to interact with the logcontext machinery.
We could pull the log context into matrix python common. I would advocate pretty strongly against that. That feels like inappropriate coupling between "make this HTTP request" and "oh, by the way we are tracking CPU time".

See also https://github.com/matrix-org/synapse/issues/10342.


Add support for yx and xy grid sorting

feature addition for a fix to issue #246 add yx to the grid sorting options.

Yes! Big fan. @jalembke

@clauderic Curious if anyone has had a chance to take a look at this request.  Looking to integrate this into my project using the official repository.

@jalembke  it doesn't work for my situation. I have container with
flex-direction: column;
flex-wrap: wrap;

See pic.

Rebase your PR to latest master
https://github.com/iKBAHT/react-sortable-hoc

Hey there @jalembke - thanks for adding this PR! Any chance we can get it rebased and merged?

Looking for this change in official repository to add this into my project. When can this be released?


sms gateway

know you just did this last night and you may know about it, but ive been testing it and works great and super quick. I do get a warning in my twilio debugger.
Warning 12200
Invalid content was found starting with element 'Say'. One of '{Sms, Message, Redirect}' is expected
get: http://www.mvana.org/sca/chsyapnew/meeting-search.php
<?xml version="1.0" encoding="UTF-8"?> <Response>     <Say voice="woman" language="en">Meeting information found, listing the top 5 results.</Say>     <Sms>Hollywood Group of Hope Group Monday 7:30 PM 114 Walker Ln. in Goose Creek, SC</Sms>     <Sms>All Kidding Aside Group Monday 7:00 PM 3250 Ladson Road in Ladson, SC</Sms>     <Sms>Step Working Study Guide Group Monday 6:00 PM 2010 Hawthorne Dr in North Charleston, SC</Sms>     <Sms>Primary Purpose Monday 9:00 AM 2010 Hawthorne Ave in North Charleston, SC</Sms>     <Sms>Back to Basics Monday 12:00 PM 2010 Hawthorne Ave. in Bldg in back in North Charleston, SC</Sms>     <Say voice="woman" language="en">Thank you for calling, goodbye.</Say> </Response>
I temporary fixed this by creating a meating-searchsms.php and removing those say parts then directing my sms gateway to that, but I but you have some tricks up your sleave. maybe making those parts conditional to only voice calls

yeah this is a known issue, thanks for opening this.

fixed in https://github.com/radius314/yap/commit/96d2c3bb1d945302ec830a8f6eb1e7086223eaba?diff=split

please verify

awesome that fixed it, no warnings and works fine


tests: hup: Running out of space during final hup test

https://jenkins.product-os.io/job/leviathan-v2-template/759/artifact/reports/worker-74103ce-hup-beaglebone-black.log

balenaHUP will delete all docker files on the inactive partition before proceeding with hostapp-update, and we should probably do the same in our hup tests to resolve this.


504 Server Error: Gateway Time-out

Describe the bug
getting 504 timeout, cant fix it, and I dont think it suppose to happen. I think if you raise the timeout limits (or allow user to do that), then it will be good, because the times gradually increase between first thousand and second thousand. How do I fix it? I guess the issue is getting gradually worse, since in August #2460 it worked, and I must say since around 25 of september this issue exists to that extent. Before that I could scan it full without the limit with little to no issues (504 still existed, just not for 15 hours straight and still ongoing)
Reproduction
from huggingface_hub import list_models
count = 0
for model in list_models(task="text-generation", tags=["safetensors",], limit=5000,):
count += 1
print(count, model.id, model.downloads)
Logs
...
1994 unionai/pythia-1b-deduped-finetune-alpaca-cleaned 12
1995 TheBloke/stable-vicuna-13B-GPTQ 68
1996 emozilla/pythia-1.4b-deduped-rp-420m-4k 7
1997 emozilla/pythia-1.4b-deduped-rp-280m-4k 7
1998 TheBloke/OpenAssistant-SFT-7-Llama-30B-GPTQ 603
1999 Neko-Institute-of-Science/pygmalion-7b 810
2000 crumb/gpt2023 753
Traceback (most recent call last):
  File "/root/miniconda3/envs/quant/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 406, in hf_raise_for_status
    response.raise_for_status()
  File "/root/miniconda3/envs/quant/lib/python3.10/site-packages/requests/models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 504 Server Error: Gateway Time-out for url: https://huggingface.co/api/models?filter=text-generation&filter=safetensors&limit=5000&sort=trendingScore&cursor=eyIkb3IiOlt7InRyZW5kaW5nU2NvcmUiOjAsIl9pZCI6eyIkZ3QiOiI2NDRkZDEwOGZhOTRlOTNiMGVkMmRlMGQifX0seyJ0cmVuZGluZ1Njb3JlIjp7IiRsdCI6MH19LHsidHJlbmRpbmdTY29yZSI6bnVsbH1dfQ%3D%3D

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/root/miniconda3/envs/quant/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 1852, in list_models
    for item in items:
  File "/root/miniconda3/envs/quant/lib/python3.10/site-packages/huggingface_hub/utils/_pagination.py", line 46, in paginate
    hf_raise_for_status(r)
  File "/root/miniconda3/envs/quant/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 477, in hf_raise_for_status
    raise _format(HfHubHTTPError, str(e), response) from e
huggingface_hub.errors.HfHubHTTPError: 504 Server Error: Gateway Time-out for url: https://huggingface.co/api/models?filter=text-generation&filter=safetensors&limit=5000&sort=trendingScore&cursor=eyIkb3IiOlt7InRyZW5kaW5nU2NvcmUiOjAsIl9pZCI6eyIkZ3QiOiI2NDRkZDEwOGZhOTRlOTNiMGVkMmRlMGQifX0seyJ0cmVuZGluZ1Njb3JlIjp7IiRsdCI6MH19LHsidHJlbmRpbmdTY29yZSI6bnVsbH1dfQ%3D%3D

<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta
            name="viewport"
            content="width=device-width, initial-scale=1.0, user-scalable=no"
    />
    <meta
            name="description"
            content="We're on a journey to advance and democratize artificial intelligence through open source and open science."
    />
    <meta property="fb:app_id" content="1321688464574422" />
    <meta name="twitter:card" content="summary_large_image" />
    <meta name="twitter:site" content="@huggingface" />
    <meta
            property="og:title"
            content="Hugging Face - The AI community building the future."
    />
    <meta property="og:type" content="website" />

    <title>Hugging Face - The AI community building the future.</title>

504

Gateway Timeout

System info
- huggingface_hub version: 0.25.1
- Platform: Linux-5.15.0-122-generic-x86_64-with-glibc2.35
- Python version: 3.10.14
- Running in iPython ?: No
- Running in notebook ?: No
- Running in Google Colab ?: No
- Running in Google Colab Enterprise ?: No
- Token path ?: /root/.cache/huggingface/token
- Has saved token ?: True
- Who am I ?: RichardErkhov
- Configured git credential helpers:
- FastAI: N/A
- Tensorflow: N/A
- Torch: 2.3.1
- Jinja2: 3.1.4
- Graphviz: N/A
- keras: N/A
- Pydot: N/A
- Pillow: 10.3.0
- hf_transfer: 0.1.6
- gradio: N/A
- tensorboard: N/A
- numpy: 1.26.4
- pydantic: N/A
- aiohttp: N/A
- ENDPOINT: https://huggingface.co
- HF_HUB_CACHE: /root/.cache/huggingface/hub
- HF_ASSETS_CACHE: /root/.cache/huggingface/assets
- HF_TOKEN_PATH: /root/.cache/huggingface/token
- HF_HUB_OFFLINE: False
- HF_HUB_DISABLE_TELEMETRY: False
- HF_HUB_DISABLE_PROGRESS_BARS: None
- HF_HUB_DISABLE_SYMLINKS_WARNING: False
- HF_HUB_DISABLE_EXPERIMENTAL_WARNING: False
- HF_HUB_DISABLE_IMPLICIT_TOKEN: False
- HF_HUB_ENABLE_HF_TRANSFER: False
- HF_HUB_ETAG_TIMEOUT: 10
- HF_HUB_DOWNLOAD_TIMEOUT: 10

Hi @RichardErkhov, really sorry that you encountered this issue, we're currently experiencing problems with these types of requests. Our backend team is aware of the situation, but unfortunately, the fix isn't straightforward. We'll make sure to update you as soon as we have more info on this!
thanks for your understanding 🤗

Ok, thank you, waiting for solution. Any help I can provide ?

thanks a lot for offering help! 🤗 you actually helped by reporting the issue :) we are able to reproduce the error, so I think we are good on this side. We will keep you updated.


Refresh FLAnimatedImageView

On iOS 13 system, refresh  FLAnimatedImageView a same gif,it will flash.But iOS  12 system not flash.

Not sure if it will help you or not but we were having the same flashing problem with this code
imageView.animatedImage = animatedImage
self.addSubview(imageView)

but when we changed it to this it stopped flashing
self.addSubview(imageView)
imageView.animatedImage = animatedImage


[release/3.1] Fix smoke test timeout detection to work again

.NET Core 2.1 and 3.1 use separate strings of text to indicate that the application is running. Both include this text, though:
Application started. Press Ctrl+C to shut down.

Update the timeout detection logic to be more flexible and catch this line of text anywhere in the output, not just in the last line.
This brings the timeout for some of these test runs down from 30 seconds to 2 or 3 seconds.
Fixes: #1655

macOS CI fails due to prebuilt baseline errors:
/Users/runner/work/1/s/repos/Directory.Build.targets(555,5): error : 4 new packages used not in baseline! See report at /Users/runner/work/1/s/artifacts/prebuilt-report/baseline-comparison.xml for more information. Package IDs are: [/Users/runner/work/1/s/repos/known-good.proj]
/Users/runner/work/1/s/repos/Directory.Build.targets(555,5): error : runtime.placeholder-rid.Microsoft.NETCore.DotNetAppHost.3.1.9 [/Users/runner/work/1/s/repos/known-good.proj]
/Users/runner/work/1/s/repos/Directory.Build.targets(555,5): error : runtime.placeholder-rid.Microsoft.NETCore.DotNetHost.3.1.9 [/Users/runner/work/1/s/repos/known-good.proj]
/Users/runner/work/1/s/repos/Directory.Build.targets(555,5): error : runtime.placeholder-rid.Microsoft.NETCore.DotNetHostPolicy.3.1.9 [/Users/runner/work/1/s/repos/known-good.proj]
/Users/runner/work/1/s/repos/Directory.Build.targets(555,5): error : runtime.placeholder-rid.Microsoft.NETCore.DotNetHostResolver.3.1.9 [/Users/runner/work/1/s/repos/known-good.proj]
  321 packages used as expected in the baseline.

Is that expected?

macOS CI fails due to prebuilt baseline errors:
/Users/runner/work/1/s/repos/Directory.Build.targets(555,5): error : 4 new packages used not in baseline! See report at /Users/runner/work/1/s/artifacts/prebuilt-report/baseline-comparison.xml for more information. Package IDs are: [/Users/runner/work/1/s/repos/known-good.proj]
/Users/runner/work/1/s/repos/Directory.Build.targets(555,5): error : runtime.placeholder-rid.Microsoft.NETCore.DotNetAppHost.3.1.9 [/Users/runner/work/1/s/repos/known-good.proj]
/Users/runner/work/1/s/repos/Directory.Build.targets(555,5): error : runtime.placeholder-rid.Microsoft.NETCore.DotNetHost.3.1.9 [/Users/runner/work/1/s/repos/known-good.proj]
/Users/runner/work/1/s/repos/Directory.Build.targets(555,5): error : runtime.placeholder-rid.Microsoft.NETCore.DotNetHostPolicy.3.1.9 [/Users/runner/work/1/s/repos/known-good.proj]
/Users/runner/work/1/s/repos/Directory.Build.targets(555,5): error : runtime.placeholder-rid.Microsoft.NETCore.DotNetHostResolver.3.1.9 [/Users/runner/work/1/s/repos/known-good.proj]
  321 packages used as expected in the baseline.

Is that expected?

Hmm, we got rid of our OSX-only prebuilt in https://github.com/dotnet/source-build/commit/95cba1a111a8a5e5359cc4abe067f3eda8a01c6f but even then they were different:
-  <!-- OSX-only prebuilts.  copy them to new baselines for now (may need version updates) -->
-    <Usage Id="Microsoft.NET.Sdk.IL" Version="3.0.0-preview-27107-01" />
-    <Usage Id="runtime.osx-x64.Microsoft.NETCore.ILAsm" Version="3.0.0-rc1.19455.6" Rid="osx-x64" />
-    <Usage Id="runtime.osx-x64.Microsoft.NETCore.ILDAsm" Version="3.0.0-rc1.19455.6" Rid="osx-x64" />
-    <Usage Id="runtime.osx-x64.Microsoft.NETCore.Jit" Version="3.0.0-rc1.19455.6" Rid="osx-x64" />
-    <Usage Id="Microsoft.NETCore.App.Host.osx-x64" Version="3.0.0" Rid="osx-x64"/>
-    <Usage Id="Microsoft.NETCore.App.Host.osx-x64" Version="3.1.0-preview1.19506.1" Rid="osx-x64"/>
-    <Usage Id="Microsoft.NETCore.App.Host.osx-x64" Version="3.1.0-preview2.19525.6" Rid="osx-x64"/>
-    <Usage Id="runtime.osx-x64.Microsoft.NETCore.Runtime.CoreCLR" Version="3.0.0-rc1.19455.6" Rid="osx-x64" />
-    <Usage Id="Microsoft.NETCore.App.Host.osx-x64" Version="3.0.0" />
- <!-- end OSX-only prebuilts -->

Builds seem to have suceeded since then.  I'm trying an OSX build locally to see if it's some weirdness with the CI - sometimes the config on those machines changes.

Hmm, we got rid of our OSX-only prebuilt in https://github.com/dotnet/source-build/commit/95cba1a111a8a5e5359cc4abe067f3eda8a01c6f but even then they were different:
-  <!-- OSX-only prebuilts.  copy them to new baselines for now (may need version updates) -->
-    <Usage Id="Microsoft.NET.Sdk.IL" Version="3.0.0-preview-27107-01" />
-    <Usage Id="runtime.osx-x64.Microsoft.NETCore.ILAsm" Version="3.0.0-rc1.19455.6" Rid="osx-x64" />
-    <Usage Id="runtime.osx-x64.Microsoft.NETCore.ILDAsm" Version="3.0.0-rc1.19455.6" Rid="osx-x64" />
-    <Usage Id="runtime.osx-x64.Microsoft.NETCore.Jit" Version="3.0.0-rc1.19455.6" Rid="osx-x64" />
-    <Usage Id="Microsoft.NETCore.App.Host.osx-x64" Version="3.0.0" Rid="osx-x64"/>
-    <Usage Id="Microsoft.NETCore.App.Host.osx-x64" Version="3.1.0-preview1.19506.1" Rid="osx-x64"/>
-    <Usage Id="Microsoft.NETCore.App.Host.osx-x64" Version="3.1.0-preview2.19525.6" Rid="osx-x64"/>
-    <Usage Id="runtime.osx-x64.Microsoft.NETCore.Runtime.CoreCLR" Version="3.0.0-rc1.19455.6" Rid="osx-x64" />
-    <Usage Id="Microsoft.NETCore.App.Host.osx-x64" Version="3.0.0" />
- <!-- end OSX-only prebuilts -->

Builds seem to have suceeded since then.  I'm trying an OSX build locally to see if it's some weirdness with the CI - sometimes the config on those machines changes.

I can't repro this locally and OSX CI is now failing at the beginning of the build with homebrew errors and I don't think this change could have caused that.  I logged https://github.com/dotnet/source-build/issues/1977 and I think this is good to merge.

I can't repro this locally and OSX CI is now failing at the beginning of the build with homebrew errors and I don't think this change could have caused that.  I logged https://github.com/dotnet/source-build/issues/1977 and I think this is good to merge.


remove scope for registry login

Signed-off-by: ye.sijun<EMAIL_ADDRESS>Fixes: https://github.com/containerd/nerdctl/issues/717

panic: runtime error: slice bounds out of range [:1] with capacity 0

goroutine 1 [running]:
github.com/containerd/containerd/remotes/docker.GetTokenScopes({0x15a4338, 0xc00003e0a0}, {0x0, 0x0, 0x0})
        /home/jun.linux/go/pkg/mod/github.com/containerd/containerd@v1.6.0-beta.5.0.20220106193438-3ccd43c8f685/remotes/docker/scope.go:96 +0x28f
github.com/containerd/containerd/remotes/docker.(*authHandler).doBearerAuth(0xc0001c4a20, {0x15a4338, 0xc00003e0a0})
        /home/jun.linux/go/pkg/mod/github.com/containerd/containerd@v1.6.0-beta.5.0.20220106193438-3ccd43c8f685/remotes/docker/authorizer.go:274 +0xb9
github.com/containerd/containerd/remotes/docker.(*authHandler).authorize(0xc0000b3900, {0x15a4338, 0xc00003e0a0})
        /home/jun.linux/go/pkg/mod/github.com/containerd/containerd@v1.6.0-beta.5.0.20220106193438-3ccd43c8f685/remotes/docker/authorizer.go:253 +0x39
github.com/containerd/containerd/remotes/docker.(*dockerAuthorizer).Authorize(0xc0000b3900, {0x15a4338, 0xc00003e0a0}, 0xc00003c300)
        /home/jun.linux/go/pkg/mod/github.com/containerd/containerd@v1.6.0-beta.5.0.20220106193438-3ccd43c8f685/remotes/docker/authorizer.go:126 +0x6d
main.tryLoginWithRegHost({0x15a4338, 0xc00003e0a0}, {0xc0002d94a0, {0x158db10, 0xc0000b3900}, {0x7fff8feacda0, 0x21}, {0x1298980, 0x5}, {0x129667c, ...}, ...})
        /Users/jun/Documents/workspace/nerdctl/cmd/nerdctl/login.go:269 +0x2b4
main.loginClientSide({0x15a4338, 0xc00003e0a0}, 0xc00032e780, {{0x7fff8feacdc5, 0x15}, {0x7fff8feacdde, 0xf}, {0x0, 0x0}, {0x0, ...}, ...})
        /Users/jun/Documents/workspace/nerdctl/cmd/nerdctl/login.go:237 +0x7e8
main.loginAction(0xc00032e780, {0xc000403ce0, 0x1, 0x6})
        /Users/jun/Documents/workspace/nerdctl/cmd/nerdctl/login.go:101 +0x290
github.com/spf13/cobra.(*Command).execute(0xc00032e780, {0xc00003a0a0, 0x6, 0x6})
        /home/jun.linux/go/pkg/mod/github.com/spf13/cobra@v1.3.0/command.go:856 +0x60e
github.com/spf13/cobra.(*Command).ExecuteC(0xc00037fb80)
        /home/jun.linux/go/pkg/mod/github.com/spf13/cobra@v1.3.0/command.go:974 +0x3bc
github.com/spf13/cobra.(*Command).Execute(...)
        /home/jun.linux/go/pkg/mod/github.com/spf13/cobra@v1.3.0/command.go:902
main.xmain()
        /Users/jun/Documents/workspace/nerdctl/cmd/nerdctl/main.go:85 +0x9f
main.main()
        /Users/jun/Documents/workspace/nerdctl/cmd/nerdctl/main.go:68 +0x19

@Junnplus https://github.com/containerd/containerd/pull/6463  seems merged, could you update this PR ?

@AkihiroSuda Updated, but need help. Run action containerd/project-checks failed, am i missing something?
  To proceed despite packages unresolved in go 1.16:
  	go mod tidy -e
  If reproducibility with go 1.16 is not needed:
  	go mod tidy -compat=1.17
  For other options, see:
  	https://golang.org/doc/modules/pruning

go mod tidy -compat=1.17

Could you try this?

Could you try this?

I mean ci can't green, it's ok locally

Could you try that command and push to this PR, and see whether CI passes?

I think it might be related to https://github.com/containerd/project-checks/blob/main/script/validate/vendor#L24


fix(@angular/cli): support default options for multiselect list x-prompt

PR Checklist
Please check to confirm your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/angular/angular-cli/blob/main/CONTRIBUTING.md#-commit-message-guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: #28843
What is the new behavior?
This PR provides support for default options for multiselect list x-prompt after switching to @inquirer/prompts library.
Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

The changes were merged into the following branches: main, 18.2.x, 19.0.x


Revert "Remove tools.jar dependency from TKG"

Reverts adoptium/TKG#633
related: https://github.com/adoptium/aqa-tests/issues/5760#issuecomment-2491232607

Could someone please delete the now-merged branch revert-633-testmauve? Thanks.

Done