It takes too many clicks of "Load More Frames" to get the full call stack when there are lots of stack frames.

I was a debugging a crash with 175+ stack frames and I had to keep hitting the "Load More Frames" over and over (it only loaded a small number of frames like 20). I think the "Load More Frames" should be replaced by "Load All Frames"...I don't know a good use case where you would not want that. I've never had this problem when using the Visual Studio debugger.
It hit another case a few days ago with a possible stack over flow and I gave up trying to obtain stack frames because there were so many I had to manually load.
Originally reported at https://github.com/microsoft/vscode-cpptools/issues/5752 .

I think this feature request makes sense.
However fetching all the frames might be slow, so just replacing "Load More Frames" with "Load All Frames" might not be the best solution in all cases.
However I am open for experimenting with this. Thus assigning to August to change to "Load All Frames" and in that milestone we can see how it behaves in practice.

It would be very slow for the C/C++ extension to load all the frames at once if the call stack is very big, but we have a feature in the backlog to improve the performance on fetching unnecessary data like the function arguments names and types.

@WardenGnaw Do you know why VS doesn't have the "Load More Frames" issue? Is it because they have the optimizations that don't fetch the unnecessary data?

MIEngine is only used in SSH Attach to Process using GDB. The slowness occurs when we need to request the arguments for each frame in the call stack. Each one of these is a separate evaluate request to GDB.

I think the best would be to only change this on the vscode side on the c++ extensions improves the performance of fetching. So until then assinging this to backlog.

One clarification: both the C++ and C# debuggers already do all the work up front, so "Load All Frames" would be near instantaneous for these adapters, and the change in this issue would improve the debugging experience for both of them.
In the C++ (GDB/LLDB) case there is an optimization that the C++ extension could have (but currently doesn't) to defer formatting frames until requested. If implemented, this would make clicking "Load All Frames" a little slow, but still faster than obtaining any frames is today (since some of the work would already be done), so still totally acceptable. In the C++(vsdbg)/C# we don't have a good way to obtain the frame count without doing all the work, so we would probably not implement this. Also frame formatting isn't nearly as slow as it is in GDB.
To answer Sean's question -- the optimization that full Visual Studio employs is that, when entering break state, VS will obtain just the the top stack frame with source, which can be done cheaply in the common case, and then the full call stack is obtained asynchronously. This achieves a similar effect to what VS Code achieves with the partial call stack, but without the need for the 'more' frames.

@gregg-miskelly thanks for clarifying.
Also note that VS Code also does the Visual Studio optimisation, we first fetch the top stack frame, then the rest up to 10. And for frames after that we do it only when the user clicks "Load More Frames"
fyi @connor4312 on potentially changing "Load More Frames" with "Load All Frames" with regards to js-debug performance.

js-debug will do some amount of work mapping compiled locations back to source locations, if source maps area available. This might take some amount of time if remote sourcemaps haven't yet loaded before the user clicks the "load all" button, but otherwise should be fairly instantaneous.

Ok, let me assign it to August so we maybe change it in debt week and we have the whole of august to gather feedback

I have pushed a change as we have agreed.
The action is now call "Load All Stack Frames". I have tried it for some simpler js-debug cases and seems to work just fine.
Please try it out with VS code insiders from Friday and let me know how ti goes. Thanks!

@weinand raised a good point:
"since you are now requesting all stackframes when pressing the "load more" button, how do you protect against the case of an infinite recursion with a 1000000 element stack?"
Currently we are not protecting against this case.
We could for example always ask for up to 1000 stack frames.
Alternativly the debug adapter can cap the totalFrames number returned with the StackTraceResponse.
Let me know what you think.

Requesting some large number of frames from the start is probably fine. I think most languages with tail call recursion where infinite recursion is possible don't represent each tailed function as part of the stack, but there might be some that do...

Both the C++ and C# debug adapters have internal max frame counts.

Thanks for feedback. So it seems for now we will not have a limit on the VS Code side. We can easily add this later if we hit into issues.

To verify:

Start debugging some program which has more than 30 stack frames. For example some simple recurisve function
Make sure that you get the "Load All Frames" button and clicking on it all stack frames are loaded


Fixed typo in module example

Module was created incorrectly such that it would not deploy into kubernetes as the name was set incorrectly. I have added the correct syntax for it to install into kubernetes.
Description
Fix typos in the documentation
Related Issues
List related issues.
Testing
A few sentences describing what testing you've done, e.g., manual tests, automated tests, deployed in production, etc.
Todos

[ ] Tests
[ ] Documentation

Other

If this is a documentation change, please open the pull request at https://github.com/datawire/ambassador-docs instead.
Code changes should occur against master.

I've opened https://github.com/datawire/ambassador-docs/pull/199 to make this change in ambassador-docs.


VMI create admitter: Remove getNumberOfPodInterfaces

What this PR does
The VMI creation admitter denies VMI creation in case there are readiness and/or liveness probes when there is no pod network defined.
Replace the call to the custom getNumberOfPodInterfaces with the standard vmispec.LookupPodNetwork.
Doing so, enable us to remove the unit tests of getNumberOfPodInterfaces which test an implementation detail instead
of the admitter's exported API.
The Describe container containing the unit tests for getNumberOfPodInterfaces unfortunately also contains additional tests, so its subject was changed.
This scenario described above is covered by the probes tests in the admitter's unit tests file.

Fixes #
Why we need it and why it was done in this way
The following tradeoffs were made:
The following alternatives were considered:
Links to places where the discussion took place:
Special notes for your reviewer

Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] Design: A design document was considered and is present (link) or not required
[ ] PR: The PR description is expressive enough and will help future contributors
[ ] Code: Write code that humans can understand and Keep it simple
[ ] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note

NONE

/kind cleanup

/uncc @stu-gott @lyarwood
/cc @ormergi @nirdothan @EdDev

/approve
@orelmisan Thank you!

/retest-required

/retest-required


DCOS-48818: add file input support

Testing

Trade-offs

Dependencies

Screenshots

Merged this with an older green run in place and aborted the current CI run.

:tada: This PR is included in version 2.87.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


As far as I can see not possible to mix types in Values{T1,....Tn}

I am trying to make a parser from html microdata to Schema.Net. As far as I can see now, I can only use 1 type in Values with more then 1 generic argument.
e.g. I would like to be able to parse an image using url, but somewhere later in the document I would like to add ImageObject type, because the creator of the html page made a differnce in types of images.

Must say: nice class generating tool. I changed two classes to suit my needs better. I think it should be possible now to mix Values, and so loosing the Values{T1,..Tn} objects. I wouldn't know a good way to do newtonsoft serialization.
I added the following method to property, might be useful to someone
    public void AppendIndentLineInterface (StringBuilder stringBuilder, int indent)
    {
        stringBuilder.AppendIndentLine(indent, $"public interface I{this.Name} {{ object Data {{ get; set; }} }}");
        stringBuilder.AppendIndentLine(indent, $"public interface I{this.Name}<T> : I{this.Name} {{ new T Data {{ get; set; }} }}");
        foreach (var type in this.Types)
        {
            stringBuilder.AppendIndentLine(indent, $"public class {this.Name}{type.CSharpTypeString} : I{this.Name}<{type.CSharpTypeString}>");
            stringBuilder.AppendIndentLine(indent, $"{{");
            stringBuilder.AppendIndentLine(indent + 4, $"object I{this.Name}.Data => Data;");
            stringBuilder.AppendIndentLine(indent + 4, $"public virtual {type.CSharpTypeString} Data {{ get; set; }}");
            stringBuilder.AppendIndentLine(indent + 4, $"public {this.Name}{type.CSharpTypeString} () {{ }}");
            stringBuilder.AppendIndentLine(indent + 4, $"public {this.Name}{type.CSharpTypeString} ({type.CSharpTypeString} data) {{ Data = value; }}");
            stringBuilder.AppendIndentLine(indent + 4, $"public static implicit operator {this.Name}{type.CSharpTypeString} ({type.CSharpTypeString} data) {{ return new {this.Name}{type.CSharpTypeString} (data); }}");
            stringBuilder.AppendIndentLine(indent, $"}}");
            stringBuilder.AppendLine();
        }
    }

You end with classes like this, the Values can now be of type IIdentifer, I made the interfaces and classes subclasses to the type.
    public interface IIdentifier { object Data { get; set; } }
    public interface IIdentifier<T> : IIdentifier { new T Data { get; set; } }
    public class IdentifierPropertyValue : IIdentifier<PropertyValue>
    {
        object IIdentifier.Data => { get { return Data; } set { Data = (PropertyValue) value; } }
        public virtual PropertyValue Data { get; set; }
        public IdentifierPropertyValue () { }
        public IdentifierPropertyValue (PropertyValue data) { Data = data; }
        public static implicit operator IdentifierPropertyValue (PropertyValue data) { return new IdentifierPropertyValue (data); }
    }

    public class Identifierstring : IIdentifier<string>
    {
        object IIdentifier.Data => { get { return Data; } set { Data = (string) value; } }
        public virtual string Data { get; set; }
        public Identifierstring () { }
        public Identifierstring (string data) { Data = data; }
        public static implicit operator Identifierstring (string data) { return new Identifierstring (data); }
    }

    public class IdentifierUri : IIdentifier<Uri>
    {
        object IIdentifier.Data => { get { return Data; } set { Data = (Uri) value; } }
        public virtual Uri Data { get; set; }
        public IdentifierUri () { }
        public IdentifierUri (Uri data) { Data = data; }
        public static implicit operator IdentifierUri (Uri data) { return new IdentifierUri (data); }
    }

That's an interesting problem. The only way I think this can be implemented is if we also added List<object> to the Values<T> type. We'd need to do some investigation on what this would mean. I'd be willing to accept a PR for this.

Let me first say: the tool to generate classes is awesome.
I do have a solution ready right now, but it is a breaking change. I removed the values {T1,..Tn} and replaced them with a wrapper. I'll be working on it again this evening. The Values object is still strong typed this way, with reverting back to an object array.
I basically created the following construct for all multityped stuff:
    public interface IIdentifier : IWrapper { }
    public interface IIdentifier<T> : IIdentifier { new T Data { get; set; } }
    public class IdentifierPropertyValue : IIdentifier<PropertyValue>
    {
        object IWrapper.Data { get { return Data; } set { Data = (PropertyValue) value; } }
        public virtual PropertyValue Data { get; set; }
        public IdentifierPropertyValue () { }
        public IdentifierPropertyValue (PropertyValue data) { Data = data; }
        public static implicit operator IdentifierPropertyValue (PropertyValue data) { return new IdentifierPropertyValue (data); }
    }

    public class Identifierstring : IIdentifier<string>
    {
        object IWrapper.Data { get { return Data; } set { Data = (string) value; } }
        public virtual string Data { get; set; }
        public Identifierstring () { }
        public Identifierstring (string data) { Data = data; }
        public static implicit operator Identifierstring (string data) { return new Identifierstring (data); }
    }

    ///
    /// The identifier property represents any kind of identifier for any kind of Thing, such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See background notes for more details.
    ///
    [DataMember(Name = "identifier", Order = 11)]
    [JsonConverter(typeof(ValuesConverter))]
    public Values<IIdentifier>? Identifier { get; set; } //PropertyValue, string, Uri

I needed to change the jsonconverters quite a lot, and I haven't fully tested it. For the use cases I am working on it does work.
The changes for using the library is the following. Instead of a simple list. You will need to specify the type yourself, for every item. Example
        var webpage = new WebPage
        {
            Name = "TestSite",
            ItemList = new List<Thing> {
                new PriceSpecification
                {
                    MaxPrice = new List<decimal> { 23.45m, 12.35m }
                },
                new Product
                {
                    Offers = new Offer
                    {
                        Price = new List<Offer.IPrice> {
                                        (Offer.Pricedecimal)23.45m,
                                        (Offer.Pricedecimal)12.35m
                                    },
                        PriceCurrency = "EUR"
                    },
                    Name = "test product",
                    Brand = new List<Product.IBrand> {
                        (Product.BrandBrand)new Brand { Name = "Volvo" },
                        (Product.BrandOrganization) new Organization { Name = "Geely" },
                    }
                }
            }
        };

I have a gut feeling that there is something clever we can do with the Values types. I think we should investigate that before we go down the path of an additional class. Maybe something like this:
Desired Usage
This is still strongly typed and we don't have List<object> anywhere which will mean lots more boxing and unboxing.
public class Foo
{
    public Values<string, int> Bar { get; set; }
}

var foo = new Foo();
foo.Bar = new Values<string, int>(new List<string>() { "1" }, new List<int>() { 2 });

Psuedocode Implementation
As far as I can see, this would just mean adding a new constructor to each Values<T1...TN> type but also changing the Value property on it such that this:
public object Value
{
    get
    {
        if (this.values1.HasValue)
        {
            return this.values1.Value;
        }
        else if (this.values2.HasValue)
        {
            return this.values2.Value;
        }

        return null;
    }
}

Changes into this:
public object Value
{
    get
    {
        if (this.values1.HasValue && this.values2.HasValue)
        {
            // return a List<object> of values1.Value items concatenated with values2.Value items.
        }
        if (this.values1.HasValue)
        {
            return this.values1.Value;
        }
        else if (this.values2.HasValue)
        {
            return this.values2.Value;
        }

        return null;
    }
}

I have not thought through the changes this would require to the serializer for read and write operations.

This is a great issue by the way, I can't believe I didn't think that somebody might want to do this. I wonder what happens when we try to deserialize JSON-LD with a mix of stuff in it? Have you tested that?
It hurts my brain coming back to this code. I can kind of get where you are going with your code but a sample would make it easier to understand.

As far as I have tested, I can go back and fourth between json+ld and c# classes. Problem with making multiple arrays of values is you loose original order, which I don't want.

Changing second price to pricestring end up in json+ld as following:
{"@context":"http://schema.org","@type":"WebPage","name":"TestSite","itemlist":[{"@type":"PriceSpecification","maxPrice":[23.45,12.35]},{"@type":"Product","name":"test product","brand":[{"@type":"Brand","name":"Volvo"},{"@type":"Organization","name":"Geely"}],"offers":{"@type":"Offer","price":[23.45,"EUR 1234,99"],"priceCurrency":"EUR"}}]}

My simple test case
         var jsonLd = webpage.ToString();

        //now convert back
        var thing = JsonConvert.DeserializeObject<Thing>(jsonLd);
        Assert.NotNull(thing);
        Assert.IsType<WebPage>(thing);

        WebPage testObject = (WebPage)thing;
        Assert.Equal(testObject.Name.Value.Value, webpage.Name.Value.Value);
        Assert.Equal(testObject.ItemList.Value.List.Count, webpage.ItemList.Value.List.Count);
        Assert.Equal(testObject.ItemList.Value.List[1].Name.Value.Value, webpage.ItemList.Value.List[1].Name.Value.Value);

        var jsonLd2 = testObject.ToString();
        Assert.Equal(jsonLd2, jsonLd);

I tried your JSON with the current version of Schema.NET and it doesn't handle this scenario very well. The object gets deserialized to a Thing with null properties.
I hadn't thought about the ordering at all. I'm starting to get the code in your initial comment. That will mean a lot of extra classes generated by the tool. Is it possible to use a generic wrapper class so we don't need lots of type specific wrapper classes? Something like:
namespace Schema.NET
{
    public interface IValue
    {
        object Value { get; set; }
    }

    public interface IValues<T1, T2> : IValue
    {
        T1 Value1 { get; set; }

        T2 Value2 { get; set; }
    }

    public class Values<T1, T2> : IValues<T1, T2>
    {
        public T1 Value1 { get; set; }

        public T2 Value2 { get; set; }

        object IValue.Value
        {
            get => default(T1).Equals(this.Value1) ? (object)this.Value2 : this.Value1;
            set
            {
                if (value is T1 value1)
                {
                    this.Value1 = value1;
                }
                else if (value is T2 value2)
                {
                    this.Value2 = value2;
                }
            }
        }

        public Values() { }

        public Values(T1 value) { this.Value1 = value; }

        public Values(T2 value) { this.Value2 = value; }

        public static implicit operator Values<T1, T2>(T1 value) { return new Values<T1, T2>(value); }

        public static implicit operator Values<T1, T2>(T2 value) { return new Values<T1, T2>(value); }
    }
}

So usage becomes:
public Values<Values<string, Address>> Address { get; set; }

This effectively reverses the relationship between Values<T> and the Values<T1,T2...TN> types. Does this work? I'm just thinking out loud here.

I think that might even work, I haven't tried that way. I am worried about the default(T1) part. What if I define a value to be int 0, it would try and return T2, but that's only minor. I think I would add a return function property if T1 is set it would be () => value1;
public class Values<T1, T2> : IValues<T1, T2>
{
    public T1 Value1 { get; private set; }
    public T2 Value2 { get; private set; }
    private Func<object> returnFunc = () => null;

    object IValue.Value
    {
        get => this.returnFunc();
        set
        {
            if (value is T1 value1)
            {
                this.returnFunc = () => value1;
                this.Value1 = value1;
            }
            else if (value is T2 value2)
            {
                this.returnFunc = () => value2;
                this.Value2 = value2;
            }
        }
    }

    public Values() { }

    public Values(T1 value) { this.Value = value; }

    public Values(T2 value) { this.Value = value; }

    public static implicit operator Values<T1, T2>(T1 value) { return new Values<T1, T2>(value); }

    public static implicit operator Values<T1, T2>(T2 value) { return new Values<T1, T2>(value); }
}

humm no real need for T1 or T2 as properties, just add an object, no need from strong typed result this way.
just set an extra property value, and return that ...

public class Values<T1, T2> : IValues<T1, T2>
{
    private object value;

    object IValue.Value
    {
        get => value;
        set
        {
            if (value is T1 value1)
            {
                this.value = value1;
            }
            else if (value is T2 value2)
            {
                this.value = value2;
            }
            throw new ArgumentException();
        }
    }

    public Values() { }

    public Values(T1 value) { this.Value = value; }

    public Values(T2 value) { this.Value = value; }

    public static implicit operator Values<T1, T2>(T1 value) { return new Values<T1, T2>(value); }

    public static implicit operator Values<T1, T2>(T2 value) { return new Values<T1, T2>(value); }
}

We never define int, we always use nullable types. I think that’s right anyway.
Also, we should keep it open so people can use property initializer syntax and/or use constructors (I know this cleaner in some senses). If we do this we should set Value1 to default(T1) when Value2 is set.

I think the ArgumentException is unnecessary as the code can never get to that point.

It can as it is a public property, cahnging it afterward ... in code (doesn't make a lot of sense) to do, but it is possible.

Oh you are correct about int I changed that in my code, as all Values<> were already nullable, why would I make a Values<int?>? set to new Values<int?> = (int?) null I would set the whole property as null.

I suppose it's possible for Value1 and Value2 to be null, in which case we should return null and not throw. The null can be ignored in the serialization.

I agree, this is better ;) if (value != null) throw new ArgumentException()

I just created the pull request. You can't pull as is, as it is my source code from before this entire discussion. But I did promise I'd make a pull request. I also added a jsonconverter for Thing, so it will return strong typed things.

I am returning to this thread again, after running into some minor things parsing stuff. Mainly where string is used where it not is not supposed to be, but actually quite normal in webworld, not specifying itemtype. So Some dude. Is this author an organisation, or is it a person? Therefore I propose, everything is a Values, with an explicit conversion from string. Letting it be a struct means it is never null (value off course can be null)
namespace Schema.NET
{
    using System;
    using System.Collections.Generic;

    ///
    /// An implementation for IValue, containing either type T, or string.
    /// e.g. Brand="Volvo"; is Volvo a brand or an organization, leaving it in the middle
    /// but ExplicitlySet will be set to true.
    ///
    /// <typeparam name="T1">The first type the values can take.</typeparam>
    /// <seealso cref="IValue" />
    public struct Values<T1> : IValue
    {
        ///
        /// Initializes a new instance of the <see cref="Values{T1}"/> struct.
        ///
        /// <param name="value">The value of type <typeparamref name="T1"/>.</param>
        public Values(T1 value)
        {
            this.Value = value;
            this.ExplicitlySet = false;
        }

        ///
        /// Initializes a new instance of the <see cref="Values{T1}"/> struct, using a string
        ///
        /// <param name="value">The value of type <typeparamref name="T1"/>.</param>
        public Values(string value)
        {
            this.Value = value;
            this.ExplicitlySet = true;
        }

        ///
        /// Get the value set as constructor
        ///
        public object Value { get; private set; }

        ///
        /// True, when the object is explicitly set as a string
        ///
        public bool ExplicitlySet { get; private set; }

        ///
        /// Performs an implicit conversion from <typeparamref name="T1"/> to <see cref="Values{T1}"/>.
        ///
        /// <param name="item">The single item value.</param>
        /// <returns>The result of the conversion.</returns>
        public static implicit operator Values<T1>(T1 item) => new Values<T1>(item);

        ///
        /// Performs an explicit conversion from string <see cref="Values{T1}"/>, also sets the <see cref="ExplicitlySet"/> to true.
        ///
        /// <param name="item">The single item value.</param>
        /// <returns>The result of the conversion.</returns>
        public static explicit operator Values<T1>(string item) => new Values<T1>(item);
    }
}

All OneOrMany are of Values<T1 .... Tn>, having explicit T1 .. Tn values inside the objects is not very helpful, you always need to check the type anyway dealing with Things in you own code.

I've implemented type mixng on the mixed-types branch. All those interested please give it a test. Still need to fix a few broken unit tests (The tests are now incorrect) and write a few more but it generally works.
One interesting thing I realized was that the ItemListElement property on an ItemList can have ListItem or IThing types. This means that when you deserialize an ItemList from JSON, you can access the ItemListElement property either as a ListItem or IThing. One funky side effect of this is that if you deserialize a ItemList and then serialize it again, you will get twice as many items in the ItemListElement property. Since I don't think this is something anyone would do, I might be ok with that. Feedback welcome.
See the MixedTypesTest class for examples of how it all works. Also need to update the ReadMe. Any help would be much appreciated.

Mixed types are now supported. Closing issue.

Is there an example using the mixed types to deserialize the data. I couldn't find the mixed-types branch

Hi @adampound - it depends on what you mean. If you serialize or deserialize a schema object that has multiple types on a property, it will automatically handle it for you.
For just working with a Values type, you can follow what the various tests do here: https://github.com/RehanSaeed/Schema.NET/blob/main/Tests/Schema.NET.Test/Values4Test.cs

I ended up just creating my own model. I was trying to scrape the recipe tag from sites to allow user to auto import recipes but it would receive  a type error when trying.


[TileCatalog] Simple Tile Canvas

Simple Tile canvas includes tile canvas, sort, search and pagination.

:tada: This issue has been resolved in version 2.51.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Code implementations of model inference

Thank you for your great work!
I wonder that how could I find the code implementations of model inference on a newly unseen dataset.
Looking forward to your reply,
Thank you.

Hi, thanks for your interest in our work!
For a new dataset, you should prepare the data (see Data Preparation) and register the dataset in dataset_av.py.

Thank you for your quick reply!
What I mean is how to load the weights of the trained model and purely perform model inference. Could you provide code implementations related to the inference or indicate how I should proceed?
Thanks a lot.

Thank you for your quick reply! What I mean is how to load the weights of the trained model and purely perform model inference. Could you provide code implementations related to the inference or indicate how I should proceed?
Thanks a lot.

For this issue, in other words, I just want to load the previously trained checkpoint on the downstream dataset and conduct evaluations on the test set of the specific downstream dataset.
I have carefully read the log of ferv39k.out which is provided in your previous work MAE-DFER. I find that there are only model running on the test set, which meet my requirements. Furthermore, I notice that there are
Auto resume checkpoint: saved/model/finetuning/ferv39k/voxceleb2_videomae_pretrain_base_dim512_local_global_attn_depth16_region_size2510_patch16_160_frame_16x4_tube_mask_ratio_0.9_e100_with_diff_target_server170/checkpoint-49/eval_lr_1e-3_epoch_100_size160_sr1_classify_token_type_region_server164/checkpoint-99.pth
Resume checkpoint saved/model/finetuning/ferv39k/voxceleb2_videomae_pretrain_base_dim512_local_global_attn_depth16_region_size2510_patch16_160_frame_16x4_tube_mask_ratio_0.9_e100_with_diff_target_server170/checkpoint-49/eval_lr_1e-3_epoch_100_size160_sr1_classify_token_type_region_server164/checkpoint-99.pth in Line 1342 and 1343 of the log.
As a result, I have tried my best to find the locations of auto resume checkpoint and resume checkpoint, but I do not find them.
Therefore, could you help me to figure out how to set auto resume checkpoint and resume checkpoint so that I can load the model and evaluate on the test set?
Any reply will be appreciated greatly.
Thank you very much.

Sorry for late reply!
For now, we do not support sample-level inference. However, you can test your fine-tuned model on customized videos in batch level by using '--eval' option in the command line. Note that you should prepare your videos in a csv file (i.e., video path + label) for testing in a similar way with fine-tuning. The checkpoint can be automatically loaded by specifing the checkpoint path in the '--finetune' or '--resume' option.

Sorry for late reply!
For now, we do not support sample-level inference. However, you can test your fine-tuned model on customized videos in batch level by using '--eval' option in the command line. Note that you should prepare your videos in a csv file (i.e., video path + label) for testing in a similar way with fine-tuning. The checkpoint can be automatically loaded by specifing the checkpoint path in the '--finetune' or '--resume' option.

Thank you for your reply! I will have a try.

Nice try! My question is solved. Thank you for your help again!


silx.gui: Fixed support of OpenGL with python3.12 and pyopengl <=3.1.7

This PR adds a monkey patch of pyopengl fix for python 3.12 (https://github.com/mcfletch/pyopengl/pull/100) for versions of pyopengl that do not have it.
This allows to start using python 3.12 without waiting for a pyopengl release.
closes #3977

Should we profit from this PR to enable OpenGL testing on AppVeyor Python 3.12?

enable OpenGL testing on AppVeyor Python 3.12

Yes it makes sense to do so.


More checkJs & JSDoc fixes

changes:

Fix JSDoc cast in buildComponentFromVNode, using separate const
Use internal consts to cleanup inline JSDoc typings
JSDoc import fixes that I missed in rbiggs/preact#1
camelCase checkJs script name in package.json
remove an internal isSvgMode computation that is never used
other minor cleanup items

Tested as follows:

npm run lint && npm run checkJs passes
npm run build && npm t passes

I think you made a mistake removing the isSvgMode block.

Now rebased without that change.

If you want to change that, please make it a separate pull request directly to Preact.

Will do.


feat(): add inner className

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 50.376%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
62

Relevant Lines:
93

💛  - Coveralls


Badges on class repo README do not point to correct website

Expected Behavior
A badge for class repo build status and coverage stats, respectively, are expected near the beginning of README.  When you click on them, you can see the information about the class repo.
Current Behavior
The badges link to the stats for team's repo.
Ideas for Improvement
Update links beneath badges.

Updated the badges for the class main repo in the README as well as coverages for the Travis and Coverall for both the Team 1 and Team 2 repo.


Bug fix to restore non-clipping behavior

There is a bug in the {hitMin,hitMax} computation. The 'mn' and 'mx' variables only contain the {b,d,f,h} ring of taps (this is needed for the rcp() based term). However it is possible that the center {e} tap could exceed the minimum and maximum of the {b,d,f,h} ring, causing incorrect function. This change places {e} tap back into the non-rcp() based term for 'hitMin' and 'hitMax' correcting the maths and restoring non-clipping output. The bug manifests visually as over-sharpening isolated pixels.

Thanks @UnityTimothyLottes, fixed in a21ffb8!


Make format "io.weaviate.spark"

The format to write is currently io.weaviate.spark.Weaviate which is a little wonky. Would be good to try to maintain convention and figure out how to just shave it down to io.weaviate.spark.

Given we have some use now I don't see a lot of utility in changing from io.weaviate.spark.Weaviate -> io.weaviate.DataSource. Are we ok to close this issue?

Closing as won't fix


update to new shutdown api

Fixes #52.

@talevy left you some comments :+1:

@purbon updated!

LGTM, test pass


Configure Azure Pipelines

This pipeline configuration builds the application and produces a build for the Release configuration.

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


no-unnecessary-type-assertion complains over valid code

Bug Report

TSLint version: 5.8.0
TypeScript version: 2.6.1
Running TSLint via: CLI

TypeScript code being linted

const { response } = await throws<AxiosError>(
  api.user1.createRole({ name: 'Nope' })
)
expect(response!.status).toBe(400)
expect(response!.data.message).toMatch(/admin/)

with tslint.json configuration:
{
  "extends": ["tslint-config-standard", "tslint-config-prettier"],
  "rules": {
    "no-var-requires": false,
    "ordered-imports": [false],
    "no-console": [false],
    "member-access": [false],
    "object-literal-sort-keys": false,
    "await-promise": false,
    "no-use-before-declare": false
  }
}

Actual behavior
no-unnecessary-type-assertion complains over response, even though response is AxiosResponse<any> | undefined
ERROR: myfile.ts[13, 14]: This assertion is unnecessary since it does not change the type of the expression.
ERROR: myfile.ts[14, 14]: This assertion is unnecessary since it does not change the type of the expression.

Expected behavior
It should not error.

@jeffijoe can you please try to make a create a minimal repro so I can debug this locally?

@ajafff of course! I've attached a ZIP.
tslint-repro.zip
npm install, then open src/test.ts to see the correct code.
Now run npm run lint and see the correct code being broken by tslint.

I took a look. This is a downstream issue that is caused by the package tslint-config-standard. If I place the no-unnecessary-type-assertion rule directly in your tslint and remove the aforementioned package from tslint.json everything works as expected.
Moral of the story: Don't trust linter configs written by people who rely on ASI 😛.

@aluanhaddad what is the issue with the tslint-config-standard package? What's making it "not work"? And what does ASI have to do with anything? 😛

@aluanhaddad thanks for digging into this.
@jeffijoe This is actually caused by no-unused-variable. See #3455 for further details.

@jeffijoe I was just trying to get your goat :smiley:

@ajafff I just read through that issue, not sure what the solution is? 😄

@jeffijoe sorry, I picked the wrong of the dozens of similar issues. https://github.com/palantir/tslint/issues/3478#issuecomment-343699851 provides more information

@ajafff thanks! :+1: Too bad workarounds are needed though. 😞

I'm running into a similar issue with this code: const elements = <HTMLElement[]> Array.from(document.querySelectorAll('balls'));, where the type of elements without the cast would have actually been Element[], breaking code further down that relies on properties of HTMLElement.
Does this sound like the same root cause, @ajafff, or should I submit a new issue?

@buu700 if you disable no-unused-variable and it works as expected, it's the same issue. Otherwise you should submit a new issue.

Got it, thanks! Just tested with no-unnecessary-type-assertion as the only rule enabled and reproduced the problem, so I'll submit a new issue.


Pbs Broken

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2<IP_ADDRESS>. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2<IP_ADDRESS>

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
$ youtube-dl http://www.pbs.org/video/news-wrap-north-korea-launches-another-ballistic-missile-1501280447/
[generic] news-wrap-north-korea-launches-another-ballistic-missile-1501280447: Requesting header
WARNING: Falling back on generic information extractor.
[generic] news-wrap-north-korea-launches-another-ballistic-missile-1501280447: Downloading webpage
[generic] news-wrap-north-korea-launches-another-ballistic-missile-1501280447: Extracting information
ERROR: Unsupported URL: http://www.pbs.org/video/news-wrap-north-korea-launches-another-ballistic-missile-1501280447/
dan@dan-Dell:~$ ^C
dan@dan-Dell:~$ youtube-dl -v http://www.pbs.org/video/news-wrap-north-korea-launches-another-ballistic-missile-1501280447/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'http://www.pbs.org/video/news-wrap-north-korea-launches-another-ballistic-missile-1501280447/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 2.7.12 - Linux-4.4.0-89-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: avconv 3.3.2-1, avprobe 3.3.2-1, ffmpeg 3.3.2-1, ffprobe 3.3.2-1
[debug] Proxy map: {}
[generic] news-wrap-north-korea-launches-another-ballistic-missile-1501280447: Requesting header
WARNING: Falling back on generic information extractor.
[generic] news-wrap-north-korea-launches-another-ballistic-missile-1501280447: Downloading webpage
[generic] news-wrap-north-korea-launches-another-ballistic-missile-1501280447: Extracting information
ERROR: Unsupported URL: http://www.pbs.org/video/news-wrap-north-korea-launches-another-ballistic-missile-1501280447/
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2077, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2539, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2528, in _XML
    parser.feed(text)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1653, in feed
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1517, in _raiseerror
    raise err
ParseError: syntax error: line 1, column 0
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 776, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 433, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2944, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://www.pbs.org/video/news-wrap-north-korea-launches-another-ballistic-missile-1501280447/

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: http://www.pbs.org/video/news-wrap-north-korea-launches-another-ballistic-missile-1501280447/

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
It is using fall back instead of the regular PBS extractor, URL scheme change?  Many thanks.

Already fixed.


Error reason

Hi
can you tell me the following error reason and when , why is occurring and how can I prevent it
1.Error configure stream, publish permitted failed
2.Fail to connect, time out
3.Null publish type
4.Error send packet
5.Socket closed

1 - Start command is not recived, assume can't start stream and connection is closed.
2 - Typical timeout. Basically you can connect with server for some reason (no internet, server down, etc)
3 - Pusblish string set on publish method is null. If you want stream you should set live always like here:
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/rtmp/src/main/java/net/ossrs/rtmp/SrsFlvMuxer.java#L228
4 - Fail to send packet because connection was closed by client or server
5 - Server closed connection suddenly.

One more
6.Connect error, InputStream closed
And can you also tell how can I prevent it all of the above error, if possible

6 - Is the same as 5 but you detect it in different moment. In this case you detect it when you try read from input buffer and this is closed.
To avoid all this cases you only need get a stable internet connection with your server and configure server properly (this last in case 1 because bassically server reject your connection for it).

Hey two more
java.lang.NullPointerException: Attempt to invoke virtual method 'void java.net.Socket.connect(java.net.SocketAddress, int)' on a null object reference
E/RtmpConnection:closeStream failed
E/RtmpConnection: Shutdown socket
java.net.SocketException: Socket is not connected
at java.net.Socket.shutdownInput(Socket.java:1567)
What is the condition for these two to occur, because is occur few time only

1 - Can you tell me line? If this error is only a logcat you can ignore it. If this is a crash I need know line.
2 - If an I/O error occurs when shutting down this socket (when you stop stream). But this isn't relevant for you this have no effect in the app.

Hi, I couldn't reproduce it again but next time I reproduce will send you a detail log.
One More error
7.Connection was reset
This is due to internet connection got disconnected right?

Yes


[Feature Request] Reforge Curios

Make it so that curios can be reforged to give stats when equipped in their slots.

duplicate of #774


ISPN-1889

This is related to https://issues.jboss.org/browse/ISPN-1889
Please also handle t_chmv8_5 for branch 5.1.x.

Manik, do we have a section on unsafe options in our docu? If so, could you update it as well? Thanks


[New term] Backstage

1.  Which is one of the CNCF Incubating maturity level project.

Why this term needs to be added? (briefly)

Since it's a part of CNCF so it has to be added in Glossary so that people can get an idea on Backstage project.

2. Checklist

[X] The suggested term fits the cloud native definition or is essential to understanding cloud native terms. (We hope to avoid adding general or broad terminologies)
[X] There is no existing issue yet. (shift+click to check existing issues)
[X] The term has not already been declined in the past. (shift+click to check)
[X] The term does not already exist in the glossary as a completed term, nor does it exist in this directory as an incomplete term. (If the status of the term is Feedback Appreciated, consider updating the term.)
[X] I understand that maintainers will assess if the term should be part of the Glossary. (Please be patient)
[X] I want to work on this term and confirm that I meet the criteria as outlined in "who can contribute". (If not checked, maintainers will assign another volunteer)

(Note)
Maintainers will assign a label after assessment procedure.
(from triage/awaiting to triage/accepted or triage/not accepted)
A contributor can be assigned to this issue after the issue get the triage/accepted label.
The assignee needs to check Style Guide.

I will like to take this issue

Hei @manojrayar, @ibrahimkedir10 thanks for the contribution and your patience. Unfortunately we have to decline this because the glossary aims to explain concepts and technologies but not specific products, kubernetes being the only exception :)


Update start.sh

Don't know if they changed it or what but it is now editor not code

is this a troll is this actually going to start ed :)

No I just ran it and it opened vscode =)  Promise!

but that would be funny

thanks and yes I loled thinking about it hahaha

Sorry if this is a bother but I built a github repo that leverages your dockerfiles on an automated desktop. The repo is gschaetz/desktop-ansible.  It allows for automated setup of a desktop where all the apps are running in docker using your images mainly:) Just thought you may be interested in it. The project still has a way to go...
Sent from my iPhone.

On Apr 27, 2017, at 4:23 PM, Jess Frazelle<EMAIL_ADDRESS>wrote:
Merged #262.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Sort advisories to prevent stopped builds for unstable sorting

We had a change in the sort order of known, ignored yarn-audit results last night result in builds being blocked. This change, suggested by @davidrunger-cl, sorts the results by resolution ID before checking against the diff.

@davidrunger-cl yeah, we'll prepare a PR for this!


[Event Request] Page 392 "Phys. Inventory Journal" - OnAfterSetControlAppearanceFromBatch (BaseApp_22.0)

Please add new event publisher:
    [IntegrationEvent(true, false)]
    local procedure OnAfterSetControlAppearanceFromBatch(ItemJournalBatch: Record "Item Journal Batch")
    begin
    end;

Change:
    local procedure SetControlAppearanceFromBatch()
    var
        ItemJournalBatch: Record "Item Journal Batch";
        BackgroundErrorHandlingMgt: Codeunit "Background Error Handling Mgt.";
    begin
        if not ItemJournalBatch.Get(GetRangeMax("Journal Template Name"), CurrentJnlBatchName) then
            exit;

        BackgroundErrorCheck := BackgroundErrorHandlingMgt.BackgroundValidationFeatureEnabled();
        ShowAllLinesEnabled := true;
        SwitchLinesWithErrorsFilter(ShowAllLinesEnabled);
        ItemJournalErrorsMgt.SetFullBatchCheck(true);

+       OnAfterSetControlAppearanceFromBatch(ItemJournalBatch);
    end;

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. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 10952.


Update recipe/conda_build_config.yaml

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

updated version r4.0 and 3.6

@conda-forge-admin please rerender

@conda-forge-admin please rerender


Adding tests for AddOrderCommandParser

Add tests for AddOrderCommandParser and investigated missing tests for OrderTest
Resolved issues

asObservableList_modifyList_throwsUnsupportedOperationException is present in PersonTest but not OrderTest. This is due to the potential mutability of Tag in Person as tags are stored as a set. This test is meant to check that the tags of a Person should be and unmodifiable set, and hence cannot be changed indirectly.

Issues uncovered:

Validation regex check for Details are not triggered. Currently, the constraint for Details is that it must not contain whitespaces characters, but due to ArgumentTokenizer.tokenize() trimming values, details with whitespace characters in front can be successfully passed. Issue to be resolved in #118.

Codecov Report

Merging #119 (0d11444) into master (c990919) will increase coverage by 0.87%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #119      +/-   ##
============================================
+ Coverage     65.13%   66.00%   +0.87%
- Complexity      496      501       +5
============================================
  Files            95       95
  Lines          1721     1721
  Branches        193      193
============================================
+ Hits           1121     1136      +15
+ Misses          547      530      -17
- Partials         53       55       +2

Impacted Files
Coverage Δ

...in/java/seedu/address/logic/parser/ParserUtil.java
92.68% <0.00%> (+7.31%)
:arrow_up:

...du/address/logic/parser/AddOrderCommandParser.java
92.30% <0.00%> (+92.30%)
:arrow_up:

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 c990919...0d11444. Read the comment docs.


requests ChunkedEncodingError when connection is reset by Dorpbox

Error in Maestral
RuntimeError in bugsnag/notification.py:127
ChunkedEncodingError
View on Bugsnag
Stacktrace
Traceback (most recent call last):
File "urllib3/response.py", line 425, in _error_catcher
File "urllib3/response.py", line 507, in read
File "http/client.py", line 457, in read
File "http/client.py", line 501, in readinto
File "socket.py", line 589, in readinto
File "ssl.py", line 1071, in recv_into
File "ssl.py", line 929, in read
ConnectionResetError: [Errno 54] Connection reset by peer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "requests/models.py", line 750, in generate
File "urllib3/response.py", line 564, in stream
File "urllib3/response.py", line 529, in read
File "contextlib.py", line 130, in exit
File "urllib3/response.py", line 443, in _error_catcher
urllib3.exceptions.ProtocolError: ("Connection broken: ConnectionResetError(54, 'Connection reset by peer')", ConnectionResetError(54, 'Connection reset by peer'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "maestral/sync/monitor.py", line 1725, in download_worker
File "maestral/sync/monitor.py", line 240, in wrapper
File "maestral/sync/monitor.py", line 1300, in get_remote_dropbox
File "maestral/sync/monitor.py", line 1408, in apply_remote_changes
File "concurrent/futures/_base.py", line 428, in result
File "concurrent/futures/_base.py", line 384, in __get_result
File "concurrent/futures/thread.py", line 57, in run
File "maestral/sync/monitor.py", line 240, in wrapper
File "maestral/sync/monitor.py", line 1612, in _create_local_entry
File "maestral/sync/client.py", line 115, in wrapper
File "maestral/sync/client.py", line 285, in download
File "dropbox/base.py", line 1240, in files_download_to_file
File "dropbox/dropbox.py", line 523, in _save_body_to_file
File "requests/models.py", line 753, in generate
requests.exceptions.ChunkedEncodingError: ("Connection broken: ConnectionResetError(54, 'Connection reset by peer')", ConnectionResetError(54, 'Connection reset by peer'))
View full stacktrace
Created by Sam Schott via Bugsnag

Closing because issue cannot be reproduced. Will be reopened if it occurs in version  > 0.5.2.

An error linked to this issue has been reopened in Bugsnag
RuntimeError in bugsnag/notification.py:127

This issue has been unlinked from an error in Bugsnag
RuntimeError in bugsnag/notification.py:127


To protect our users, we can't process your request right now.

When I tried to access Google Scholar, I got following message:

But it works a few days ago. Maybe it's time for you to update your module :)

This is because google has banned your ip, google scholar has banned some VPS provider like digital ocean, vultr, linode.
This is an workaround if your VPS support ipv6, force the scholar to use ipv6 by /etc/hosts.
Please see this project for more detail about google ipv6 https://github.com/lennylxx/ipv6-hosts


get version from command line

is it possible to get the version from command line? -v --version ?
It will help reproducibility

I've been using this recently and found that even though there's no --version, the relevant information is still contained in the JAR file:
$ unzip -p ega-cryptor-2.0.0.jar META-INF/maven/uk.ac.ebi.ega/ega-cryptor/pom.properties | grep version
version=2.0.0


Alert: Remove AlertTextPosition

Description
After this PR https://github.com/MudBlazor/MudBlazor/pull/8532 it's not used anymore
Types of changes

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

Checklist

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.

Ha got there just before me 😀

Added to v7.0.0 Migration Guide https://github.com/MudBlazor/MudBlazor/issues/8447 under "Others"


[bug]Unable to start the server

Describe the bug
Can't start the server using docker and pip.
To Reproduce
docker run and endstone commands
Screenshots

This will happen if you have a server installation whose version does not match with your endstone version. An easy fix is to delete the bedrock_server/bedrock_server.exe and bedrock_server/bedrock_server. Then start endstone again to download the correct version.

And I'm also getting this error when I use a docker image directly.

Can you try to run the docker image without volumn mount and see if it works?

I tried it and it works fine, why doesn't volumn mount work?

Same reason as i mentioned above. There must be an installation with the wrong version in your mounted folder.

But the folder is empty.

This is the effect I just reproduced, I created a new folder and executed the command in this folder and it re-downloaded a correct version.

Thanks. That's weird. I will look into it later.

I am not able to reproduce this. Can you provide more info about your system setup?

System:
Linux xxx 4.4.0-19041-Microsoft #4355-Microsoft Thu Apr 12 17:37:00 PST 2024 x86_64 x86_64 x86_64 GNU/Linux
Python:
Python 3.10.12
Pip:
pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)

Found a new problem, can't start the server even under Windows.

You should've also got a error message box in the meantime. What did it say?

Yes, access denied.

That's not related to endstone. Please check your file system and make sure it has the right permissions. If it still doesn't work, you can try to use the portable version from the release page.


Are Code Contracts going to be supported in .NET Core going forwards?

There is inconsistent information out there in regards to what is happening to Code Contracts  in .NET Core going forwards. Currently, the functionality is not working out the box in .NET Core,  I would like to know if Microsoft will be continuing support for Code Contracts in .NET Core?

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

ID: d92c6e0f-2503-fe90-2b96-3b0c2054e8dc
Version Independent ID: 5612b486-e780-7625-12fb-f5478f1be7de
Content: Code Contracts
Content Source: docs/framework/debug-trace-profile/code-contracts.md
Product: dotnet-framework
GitHub Login: @mairaw
Microsoft Alias: mairaw

@terrajobst can you help with this question?

We have stopped investing in code contracts a while ago. We've added it to .NET Core 2.0 as part of our compatibility effort, but I wouldn't recommend new code using it.
FWIW, we've looked at many code bases that use them and it seems the overwhelming usage is about null handling. The replacement for this is under way with C# 8's nullable-reference types.

Thank you for the update @terrajobst. With that, I'm closing this issue.

@mairaw, I second that.  The sooner this docs page is killed, the fewer people would be confused. A quick look at the issues shows that questions are still asked. We embraced them early, when it was an MSR project at quite early stages (it never graduated, really). There were two parts to it: a static code checking and a runtime code rewriter. The static checker, that proves all the pre- and postconditions and invariants, has a complexity exceeding that of your average theorem prover, and is rooted deeply in a quite complex algebra; it is Byzantine, to say the least, and nobody has ever touched it since @FrancescoLogozzo, the mastermind behind it, left MSR around 2014. This part really needs five years and a research team to keep it churning. The second component, the runtime code rewriter, is a hack that replaces contracts in compiler-generated code with runtime checks after compilation, and relies on certain peculiarities of the old, pre-Roslyn csc compiler's IL layout. As such, it breaks almost completely with Roslyn-produced code.
@SergeyTeplyakov and @mike-barnett did a great volunteer job trying to keep the project afloat at least for a while, and, AFAIK, are both still with Microsoft and probably can update you better than me. And oh boy, do not I wish I were wrong! :-(

@kkm000 @mairaw

The sooner this docs page is killed...

What about archiving this page? That is, remove
https://docs.microsoft.com/en-us/dotnet/framework/debug-trace-profile/code-contracts
and redirect it to
https://docs.microsoft.com/en-us/previous-versions/dotnet/netframework-4.0/dd264808(v%3Dvs.100)
which looks to be the same as the current doc page (except the update done by #7523)

Yes, I agree with @kkm000: the project is unlikely to be revivied. There is no one left to work on it. It would take a tremendous effort to maintain the static checker. Even the runtime checking support would need to be totally re-written.

Non-null is nothing compared to what code contracts was able to do.  It's really a shame that Microsoft abandoned this project like many others.

@kkm000 @mairaw

The sooner this docs page is killed...

Well, I am still in the process of learning development in the .NET world, and I wish I had read these comments before spending an hour reading about Code Contracts.  First I heard of it and thought it was quite interesting.  Apparently, I am late to the show and wasted time reading this stuff.  I suppose not a total loss, got some bits and pieces as a takeaway.

Code contract was a killer feature.

Should be even easier with Roslyn... still a shame we didn’t get the compiler pipeline.

I'll add to this--I started down the road like @clubforge and others... to have my hopes dashed by the conversation in this issue.
Making matters worse, the subject document had a typo corrected on 9/4/2018 and so the date at the top of the document shows this--making it look like this information is recent and relevant, which misled me.
I support the notion that this document should be archived as suggested above, or that some information should be added to it somewhere indicating that "We have stopped investing in code contracts a while ago... I wouldn't recommend new code using it."
Should that be opened as a separate issue, since the original issue title didn't really call for any specific action?
Of note, there is some discussion of supporting a construct like contracts directly in C#, beyond nullable reference types in C#8, here:
https://github.com/dotnet/csharplang/issues/105
We can hope...but that's about it for the moment.

We have stopped investing in code contracts a while ago. We've added it to .NET Core 2.0 as part of our compatibility effort, but I wouldn't recommend new code using it.
FWIW, we've looked at many code bases that use them and it seems the overwhelming usage is about null handling. The replacement for this is under way with C# 8's nullable-reference types.

Did it ever work in Core? There isn't a rewriter as far as I know.
I disagree with killing Code Contracts. If you want to create something new for Core then fine, BUT WE NEED SOMETHING!
David

Code Contracts is way more than null checking!
It does static analysis of boundaries, static state and multiple other things in a way that is clear and usable in generated documentation!
Téléchargez Outlook pour iOShttps://aka.ms/o0ukef

De : David McCarter<EMAIL_ADDRESS>Envoyé : Wednesday, August 5, 2020 11:50:04 AM
À : dotnet/docs<EMAIL_ADDRESS>Cc : BKQc<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Objet : Re: [dotnet/docs] Are Code Contracts going to be supported in .NET Core going forwards? (#6361)
We have stopped investing in code contracts a while ago. We've added it to .NET Core 2.0 as part of our compatibility effort, but I wouldn't recommend new code using it.
FWIW, we've looked at many code bases that use them and it seems the overwhelming usage is about null handling. The replacement for this is under way with C# 8's nullable-reference typeshttps://blogs.msdn.microsoft.com/dotnet/2017/11/15/nullable-reference-types-in-csharp/.
Did it ever work in Core? There isn't a rewriter as far as I know.
I disagree with killing Code Contracts. If you want to create something new for Core then fine, BUT WE NEED SOMETHING!
David
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/dotnet/docs/issues/6361#issuecomment-669271897, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABLHMEDCE3GUAP7C45TTZKTR7F5SZANCNFSM4FIZ7ZFA.

If you really need safety with little to no penalty in performance, you should consider Ada as a programming language. Its rigid type system alone renders a large subset of contracts and unit tests superfluous. Code is validated statically by the compiler and optionally at runtime via instrumentation. There's also a full-fledged design by contract compiler extension and a variety of unit testing frameworks. If you want ultimate safety, Ada. Its at the level of a super reinforced Volvo for transporting multi-million dollar Faberge eggs across minefields.

We have stopped investing in code contracts a while ago. We've added it to .NET Core 2.0 as part of our compatibility effort, but I wouldn't recommend new code using it.
FWIW, we've looked at many code bases that use them and it seems the overwhelming usage is about null handling. The replacement for this is under way with C# 8's nullable-reference types.

This is really sad. I used contracts (in C) in firmware, in cases where an external chip must only have certain actions done on it when in certain states, and design-by-contract is a HUUUUUUUGGGGGGGEEEEEEE asset in such cases. And in firmware, there are many such cases, as in software. People who think "contracts" or only for null-checking arguments are missing the whole point -- like people who reject Test-Driven Development because they never really experienced its benefits. For those who HAVE experienced its true benefits, NO ONE and NOTHING can un-sell them on use of such tools.
Non-nullable references only REDUCES the load on contracts, but never, never, NEVER will it replace it.  What non-nullable references does is clears the logs out of the road for REAL software contracts.

Non-nullable references only REDUCES the load on contracts, but never, never, NEVER will it replace it.

To be clear, I didn't mean to say that nullable reference types replaced code contracts in its entirety; just that we found that among the users of code contracts the usage for annotations about non-null was fairly limited.
My impression is that code contracts are a useful feature but it has never quite taken off, despite significant investment from our side. I'm doubtful that a compelling case could be made to bringing them back.

@terrajobst  I understand your statement.  Thank you for being frank about it.  I'm guessing that in that environment (managers in the Microsoft compiler and .NET library team) that there is a lot of inertia to overcome....

The inertia is proportional to the involved cost.  They were paired with an IL rewrite and a static code analysis tool. Neither of those are cheap and need to be constantly evolved to support new coding patterns / language constructs.
For the area that I own, I can pretty much decide just between me and my devs. However, when it impacts other teams I need to get their buy-in. And since all teams have desires for features it's usually not in the bucket of "let's just do it". Either they or our joint management has to buy-in to the value proposition and be willing to absorb the cost.
In this case, the challenge is that based on my experience with the feature, my team's experience of using the feature, and based on customer evidence who used this feature, I struggle with believing in being valuable enough to justify the massive cost. Hence, I wouldn't be a good champion for it. At least anecdotally it seems this impression is somewhat shared among the libraries- and compiler teams.
That doesn't mean this feature is forever off the table, but it does mean there would need to be more fairly compelling evidence of its usefulness to justify in building the necessary tools.

@terrajobst Understandable and good description.  Thank you for sharing.  I'm aware (at least from my perspective) how deep it goes, including inheritance and execution paths that get modified for inherited classes, most especially for the class invariant, but including all the requires() and ensures().  For certain it's not superficial.


Add nguyen as maintainer

Hi @ntran1
Thanks for the interest in Egeria.  We're excited to see more people wanting to be involved.
We're setup the project so that

we publish meeting minutes
we have an open slack channel for discussion
we have weekly calls
anyone can raise issues/discuss
anyone can open up a PR with a suggestion of a change (it can be useful to discuss in an issue first) by making a change on their own fork

A maintainers reponsibility is to monitor, understand, review what is going into the code base and take care we have a consistent, coherent, measured approach - that standards are met.
Our approach for building the community is documented at https://github.com/odpi/egeria/blob/master/Egeria-Operations.md though it's no doubt far from perfect
So it would be super to see you get involved - get involved in the discussion, comment on issues, open up new ones, suggest code enhancements, develop docs, help with testing - any and all of these areas are valuable, but to become a maintainer we need to see significant engagement over a sustained period.
Just to re-iterate - in no way does not being a maintainer prevent you from offering all of this and more.
Feel free to come back with any questions or if you need more pointers

Hi Nigel, please PM on Slack


Now possible to remove once handlers

It's kind of an awkward behavior, but it preserves the unwrapped decorated function behavior while adding the possibility of removing the event handler.
Another option is to lose the existing properties of decorated once handlers (which like on handlers returns the original function), in return for once always returning the same function.
There is, of course, also the option of making a more complicated data structure to store both the handler function and the original handler key, but I don't want to go down that road.

This API is way too complicated. #40 changes the underlying data structures.


WIP: Move cipher ctx 'original iv' parameter into the provider

Checklist

[x] documentation is added or updated
[ ] tests are added or updated

Naming wise, I wonder if the parameter isn't a bit misnamed.  What does "original" mean?  What origin does it refer to?  So I wonder if it wouldn't be better to call it "initial IV", to express that it's the IV that was specified when initializing the cipher, i.e. when calling EVP_CipherInit & friends.
(remember that EVP_CipherInit can be called more than once on the same context, so "original" would make me wonder if it's the IV from the first EVP_CipherInit on the same context, or the last, if I didn't know the code as well as I do)

Speaking of IV, I'm starting to wonder why we even share the running IV (which, strictly speaking, isn't an IV any more) from providers.  With legacy code, I fully understand, because all back-ends needed to access the IV that was centrally stored in the EVP_CIPHER_CTX instead of their own private context.  With provided implementations that hold the IV in the own private context, there should be about zero need to share that one, just the actual initialization vector.
In other words, there should really just be a OSSL_CIPHER_PARAM_IV, and it should only access what we currently call "the original IV".
Perhaps this is a matter for another PR.  I'll be happy to oblige.

I need to look at it more thoroughly. GOST TLS requires an original IV as a source to derive the per-packet IV. See https://tools.ietf.org/html/draft-smyshlyaev-tls12-gost-suites-05#section-4.1.1 for details.

there should really just be a OSSL_CIPHER_PARAM_IV, and it should only access what we currently call "the original IV".

Good point - If there is a need for the running IV (which I dont think there is now) we would add it later.
I have removed the references to the original iv param - and it  seems to work fine.

need to look at it more thoroughly. GOST TLS requires an original IV as a source to derive the per-packet IV. See https://tools.ietf.org/html/draft-smyshlyaev-tls12-gost-suites-05#section-4.1.1 for details.

TLS related ciphers normally use a seperate mechanism via some ctrls to set the fixed_iv and aad so this should not be an issue.

Updated

rebased due to simple merge conflict in header ciphercommon.h. Approval should still apply.

Approval should still apply.

Not formally.  A re-review will confirm that you didn't goof up the merge fixups

Thanks.. Merged to master.


Static files cannot be generated using useEndpoint

Qwik Version
0.14.0
Operating System (or Browser)
chrome
Node Version (if applicable)
Node.js v17.6.0
Which component is affected?
Qwik City
Expected Behaviour
After upgrading qwik-city 0.0.122 to 0.0.124
Actual Behaviour
0.0.124 cloudflare-pages cannot generate static files using useEndpoint
Additional Information
No response

For versions after qwik-city 0.0.122, the cloudflare-pages adapter cannot generate correct static files, If I use the useEndpoint  function in a route file.
new version breaks  cloudflare-pages adapter's function of generating static files, which was not the case before.

would you expect to generate a static page instead of SSR?

I configured cloudflarePagesAdaptor with staticGenerate: true,  so I want to keep generating static files even with useEndpoint.
If I want to use SSR, I just need to remove staticGenerate, this is easy to do in old version to control SSR or SSG switching, current new version breaks this
In the new version, even if I configure the Dynamic SSG Routes function, I cannot turn on SSG to generate static files.

now it's doing both SSR + SSG, dynamic paths use SSR, but i see the confusion

So when you do have staticGenerate: true, any dynamic pages you'd like to SSR instead of SSG are not working. Would you be able to create a minimal example showing the issue? Thanks

For example, I have Ghost as headless CMS, I like to fetch articles during the build and generate static files.

@adamdbradley
I created an example:
https://github.com/adnanebrahimi/qwik-ssg-cloudflare-adaptor


gnutls dead code?

Hello,
lxc has 3 files that depends on HAVE_LIBGNUTLS (in utils.h, lxccontainer.c and utils.c).
However, this variable is never set even when gnutls is detected by configure:
AC_CHECK_LIB([gnutls], [gnutls_hash_fast], [enable_gnutls=yes], [enable_gnutls=no])
Indeed, enable_gnutls is only used to display a message.
Is this some kind code of dead code that should be removed?
If this is the case, I would also suggest to update https://linuxcontainers.org/fr/lxc/getting-started as libgnutls is listed as a recommended library for various checksumming.
Best Regards,
Fabrice

My bad, I posted this issue under lxd and not lxc. Sorry, I close this issue and open a new one under the correct github project.


dotnet publish ignores the target runtime

When doing cross-compliation to another platform and using the dotnet publish -r {RID} command the resulting SQLite shared object is not being published correctly.
Development Platform: macOS Sierra
dotnet -v: .NET Command Line Tools (2.0.0-preview2-006497)
Target Platform: Raspberry Pi 3 - Ubuntu 16.04 MATE
Command:
dotnet publish --self-contained -r {RID}

Note I have used linux-arm and ubuntu.16.04-arm as the RID without success
Result:
libe_sqlite3.dylib is emitted into the publish directory instead of libe_sqlite3.so as expected - this results in the error System.DllNotFoundException: Unable to load DLL 'e_sqlite3'. Note that I have worked through all of the dependencies. I had it working with preview1 by copying the .so file that @ericsink made available in the armhf dir mentioned below. With preview2, however, I cannot make it work. I have stopped here.
Note that the appropriate lib*.so have been made available by @ericsink in directories at : linux binaries - in my case the binary in armhf is applicable.
What other information do you need?

I wonder if this problem is still present if ARM is taken out of the picture? What happens if the target platform is Linux x64, or something windows?
I'll try this myself when I get a chance. For now I just wanted to express the curiosity.

Good line of thinking!
My standard deployment target is a docker image based on "jessie" debian on x86_64 and so I use the debian.8-x64 RID to restore, build and publish.
This is the publish command I am using:
dotnet publish --self-contained -r debian.8-x64

I inspected my latest image and both the dylib and .so are being published. I inspected the result of the publish operation and it produces the same result (of course, just wanted to be sure).
root@7b3bc8966f70:/app# ls -l libe_sqlite3*
-rw-r--r-- 1 root root 2454008 Jun  4 00:02 libe_sqlite3.dylib
-rw-r--r-- 1 root root  852965 Jun  4 00:02 libe_sqlite3.so
root@7b3bc8966f70:/app#

Here is my .csproj file in case you need that:
<Project Sdk="Microsoft.NET.Sdk.Web">
  <PropertyGroup>
    <TargetFramework>netcoreapp2.0</TargetFramework>
    <OutputType>Exe</OutputType>
  </PropertyGroup>
  <ItemGroup>
    <None Include="appsettings.json" CopyToOutputDirectory="Always" CopyToPublishDirectory="Always" />
    <None Update="appsettings.json;Dockerfile.debug;Dockerfile;docker-compose.debug.yml;docker-compose.yml">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
      <CopyToPublishDirectory>Always</CopyToPublishDirectory>
    </None>
  </ItemGroup>
  <ItemGroup>
    <PackageReference Include="Autofac" Version="4.6.0" />
    <PackageReference Include="Autofac.Extensions.DependencyInjection" Version="4.1.0" />
    <PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0-preview2-final" />
    <PackageReference Include="System.Drawing.Primitives" Version="4.3.0" />
  </ItemGroup>
  <ItemGroup>
    <DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.0-preview2-final" />
    <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="1.0.1" />
  </ItemGroup>
</Project>

I am purposely avoiding mentioning the problems I am having after upgrading to preview2 in this issue. I will open another issue somewhere once I dig a little deeper.

I realized that part of what is going on here is probably the same issue we recently fixed in SQLitePCLRaw 1.1.7.
Specifically using 1.1.3, I can reproduce behavior similar to what is described above.  On Windows, when I try to dotnet publish for Linux x64 or Mac, I also get the Windows versions of e_sqlite3.dll in the publish output.  When I update to version 1.1.7 of the SQLitePCLRaw bundle, this problem does not appear.
Adding ARM into this story results in other problems that are, er, ARM-specific.  Version 1.1.7 does not have ARM binaries for e_sqlite3.

Good news. I am assuming the issue with the dylib always being emitted is somewhere else? Should I open a ticket with the dotnet cli project? Or something else? Have you already done that?
Thanks again!
Will 1.1.7 be in the preview3 or release candidate?
I look forward to it. I am almost there ...
Now just need to get Docker to support automated builds for the ARM platform ...

Will 1.1.7 be in the preview3 or release candidate?

Yes. Whatever the next release ends up being called, it will be in that. You can always use the nightly builds to try it now.

Good to know that the Microsoft.Data.Sqlite package has been updated to use 1.1.7+. I will checkout 2.0.0-rtm-26180 today.
Thanks.

FYI - while I am disappointed to see official support for the ARM platform in 2.0, I do understand.
I also was able to confirm (finally) that publishing for linux-arm no longer causes the libe_sqlite3.dylib to be copied into place.


vendor & node modules Laravel defaults

I think these two folders should be added to the Laravel default as they are populated by composer install and npm install respectively
/vendor
/node_modules

The template file was updated, I'm working on updating the site this weekend.


test: add frontend config drift check to e2e suite

Description of changes

Moving a frontend config test into the e2e test suite
Issue #, if available

Description of how you validated changes
Ran tests locally
Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

The config.yml changes are all generated by the split-tests script. No changes to base needed


Serialize sympy.codegen.cfunctions.log2

This is used by qualtran.symbolics.math_funcs.log2.

@mpharrigan ptal


Support SQL2014 in ConfigurationFile.ini.erb

Update the check on SQL version for the configuration section name:

Starting with SQL Server 2012 the configuration section name changed.
It was [SQLSERVER2008] and it's now [OPTIONS] - way more generic.
This section stays the same for SQL 2014 and 2016.

Update the check on SQL version for the update setting:

Starting with SQL Server 2012 the setup alow to check for update.
This behavior is controlled by the UpdateEnabled setting.
This settings works also for SQL 2014 and 2016.

cc. @aboten

Thanks @tas50 - for this one and the other

I'm going to try to get a better working version of this cookbook shipped sometime in the near future


Offer Toro -> OfferToro (MobileOfferwallPage.tsx)

We are currently not accepting any PRs from the community. Stay tuned in case things change in the future!


[JENKINS-52189] implement FlowExecutionListener.onCreated

Depends on https://github.com/jenkinsci/workflow-api-plugin/pull/92 and https://github.com/jenkinsci/workflow-cps-plugin/pull/232

Maybe the tests should be at the same place as the one from https://github.com/jenkinsci/workflow-cps-plugin/pull/232 are?

win2012-bf0962 was marked offline: Connection was broken: java.util.concurrent.TimeoutException: Ping started at<PHONE_NUMBER>595 hasn't completed by<PHONE_NUMBER>596

Closing and reopening for a fresh build.

Seems to be happy now


Is CUDA 12.0 supported?

Is CUDA 12.0 supported? It along with the new cudnn library has some nice improvements for RTX 40-series cards.

Off the top of my head, yes. Let me verify.


Drilldown query parameter can be specified multiple times

What
Support multiple drilldown queries by not replacing existing query.
Issue #174.
How

Add query(String name, Object value, boolean replace) to be called by Search's drilldown method.

Tests
New test case for multiple drilldown queries.
reviewer @ricellis

+1

+1


Can't get crash stack info.

I get the tip below.

We could not find the firmware image to cross-rererence this log entry. Please upload a firmware image to get cross-referenced information for this log entry.

I get err infomation,then i try to upload my *.bin file .But this file is gray,i can't select it.

PS: I use  ”idf.py build “ cmd to create *.bin.

Hello @ftc300 ESP-Insights creates a package for you which contains a .elf file of the build which exactly needs to match to the firmware Insights were collected for.
Please read more about this here.


API for custom crawls (private instances)

Right now the code is very hardwired around doing a crawl twice each month. For example, the "label" is a date string.
There are some organizations that want to have a private instance of HTTP Archive. They might want to run multiple crawls in a single day. Given the current label naming scheme this won't work.
There are many other issues involved in this. It's a major change, esp. to UI. See https://code.google.com/p/httparchive/issues/detail?id=255

Let's see if people ask for this.


Use Local Storage to save background settings

on page use Effect get default background page or other settings should be stored in the local storage so that when users come back they will not have to change things again

Hi, would love to work on this. Also if you could give a better context into where the useEffects are located and all. Thank you 😁

I would do this on the main page, you would make a useEffect with a empty dependency array so it will load on the first render

@Jonnie-Dev how is this going you still working on it?

I'm not getting it haha. thought it would be an easy fix

useEffect((): (() => void) => {
//get background from local
const savedColor :any= localStorage.getItem("color");
 const foundColor = colors.find(color => color.name === savedColor);
 if (foundColor) {
  handleColorChange(foundColor);
 }
document.addEventListener('mousedown', outsideClick)
return () => {
  document.removeEventListener('mousedown', outsideClick)
}

}, [])
useEffect(() => {
if (selectedColor) {
document.documentElement.style.backgroundColor = selectedColor.fallback
document.documentElement.style.backgroundImage = selectedColor.gradient
}else {
setSelectedColor(colors[0])
}
}, [selectedColor])
const handleColorChange = (color: Color) => {
setSelectedColor(color)
localStorage.setItem("color", color.name);
//set background
}
This is not the perfect solution its super slow and inaccurate

I will prob just make a branch with this but I need to see why its so delayed first


Cannot remove "Admin-only" setting from wiki pages

Describe the bug
The "Admin-only" setting on wiki pages cannot be removed via the UI.
To Reproduce
Steps to reproduce the behavior:

Go to https://www.biodiversity4all.org/pages/edit/inaturalist-portugal-home
Uncheck "Admin-only"
Save
Edit page again
See box remains checked.

Expected behavior
If you uncheck the box and save the page, I expect the box to be unchecked the next time I edit the page.
Context

OS: Mac 11.4
Browser Chrome
Version 94.0.4606.71

Addendum: If I create a new wiki page and try to make it "admin-only", it doesn't save that either. So it's not saving any "admin-only" preferences from checking or unchecking the box.


$jscomp.inherits is not a function - Issues with jscomp object re-declared in each file when using require.js

I've been having an issue with closure-compiler when used in conjunction with require.js. I've built a minimal example that shows the problem.
Due to the way require.js loads modules, the $jscomp object is being declared in test1.js where it has the 'inherits' method, is then overwritten in test2.js where the 'inherits' method is no longer required.
When require.js loads the module in test1.js, the 'inherits' method no longer exists, causing the "$jscomp.inherits is not a function" error.
I'm using the following script to compile the js files:
#!/bin/bash
# Compiles all of the javascript in-place using closure-compiler

JS=$(find ./ -iname '*.js')
for i in $JS
do
    closure-compiler --warning_level QUIET --js $i --js_output_file $i.build --language_out ES5
    sudo mv $i.build $i
done

closure-compiler --version:
Closure Compiler (http://github.com/google/closure-compiler)
Version: v20170218
Built on: 2017-02-23 11:19

require.js version: RequireJS 2.3.3

I'm guessing this was fixed by f17feaad

Ah, it would be. Thank you.


Theme needs better mobile support

Hide left nav by default
Auto-scale image width

Yes. Agreed. We plan on doing a major overhaul of all styles across the developer site in 2020.


update base fee wording

Preview is available here:http://developers-pr104.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr104.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr104.previews.kube001.services.stellar-ops.com


Extract point clouds and annotations (class, v2 2D -- xmin,ymin,xmax,ymax, and 3D bounding boxes -- centroids, size, 2D heading) by running extract_split.m, extract_rgbd_data_v2.m and extract_rgbd_data_v1.m under the matlab folder.

how to start this step ?  Extract point clouds and annotations (class, v2 2D -- xmin,ymin,xmax,ymax, and 3D bounding boxes -- centroids, size, 2D heading) by running extract_split.m, extract_rgbd_data_v2.m and extract_rgbd_data_v1.m under the matlab folder.

Firstly, you need MATLAB installed on your PC.
and run
$ matlab -nodisplay -nosplash -nodesktop -r "run('/path/to/file/extract_split.m');exit;"
Incase you don't use symbolic links during matlab installation
First change directory to where matlab is installed;
For ex. $ cd /usr/local/MATLAB/R2021a/bin
Then run
$ ./matlab -nodisplay -nosplash -nodesktop -r "run('/path/to/file/extract_split.m');exit;"


fix(Flyout): move background color to fix overflow

Overview

Currently, if flyout overflows, the background color only extends to the bottom of the screen and on scroll is transparent. This fixes that.

PR Checklist

[ ] Related to designs:
[ ] Related to JIRA ticket: [ABC-123]
[x] I have run this code to verify it works
[ ] This PR includes unit tests for the code change
[ ] This PR includes testing instructions tests for the code change
[ ] The alpha package of this PR is passing end-to-end tests in all relevant Codecademy repositories

Testing Instructions

Look at the new Flyout story for with overflow and confirm the background color stays on scroll
PR Links and Envs

Repository
PR Link
PR Env

Monolith
Monolith PR
Monolith Env

Portal
Portal Link
Portal Env

📬Published Alpha Packages:@codecademy/gamut-kit@0.6.258-alpha.2fc5c3.0@codecademy/gamut-labs@34.0.5-alpha.2fc5c3.0@codecademy/gamut@51.6.2-alpha.2fc5c3.0@codecademy/monaco@0.6.116-alpha.2fc5c3.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://639cce5fb5d258131fc14453--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-kit@0.6.258-alpha.692f4b.0@codecademy/gamut-labs@34.0.5-alpha.692f4b.0@codecademy/gamut@51.6.2-alpha.692f4b.0@codecademy/monaco@0.6.116-alpha.692f4b.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://639cd32335081617bc0a8eb4--gamut-preview.netlify.appDeploy Logs


Socket disconnected when send any data or string

hey,
I have face a problem, i successfully connected to socket but when i try to send any data, or string to socket it immediately disconnects, and return me this error.

WSError

type : Starscream.ErrorType.protocolError
message : ""
code : 1000

Code 1000 is a normal closure error. The first thing to verify is that you are retaining your socket object so it isn't falling out of scope. The second is to verify that the WebSocket server is sending proper WebSocket framing for messages.