Lagging behaviour after upgrading evdi for kernel 5.15

Due to the issue that evdi 1.9.1 doesn't support kernel version 5.15 I've downloaded commit d6b28414a4ceb41a904077318b48fa8a7d8981d1 and built the module. Before the upgrade, I didn't observe any lagging behaviour.
Afterwards, screen rendering is lagging and the keyboard - attached to the DisplayLink reports that is lagging as well.
It looks similar to #328  but as X11 and another OS is used I guess it is not related.

Are you using the latest driver? yes, 5.4.1
Are you using the latest EVDI version? no, commit d6b28414a4ceb41a904077318b48fa8a7d8981d1
If you are using a DisplayLink device, have you checked 'troubleshooting' on DisplayLink's website? yes
Is this issue related to evdi/kernel? yes

Log messages pointing to evdi
Dez 15 19:43:34 mobi-lap-001 touchegg[1264]: libinput error: event8  - Logitech USB Keyboard: client bug: event processing lagging behind by 27ms, your system is too slow
Dez 15 19:43:47 mobi-lap-001 kernel: evdi: [W] evdi_framebuffer_sanitize_rect:76 Wrong clip rect: x2 > fb.width
Dez 15 19:43:47 mobi-lap-001 kernel: evdi: [W] evdi_framebuffer_sanitize_rect:76 Wrong clip rect: x2 > fb.width
Dez 15 19:47:36 mobi-lap-001 kernel: evdi: [W] evdi_framebuffer_sanitize_rect:76 Wrong clip rect: x2 > fb.width
Dez 15 19:47:36 mobi-lap-001 kernel: evdi: [W] evdi_framebuffer_sanitize_rect:76 Wrong clip rect: x2 > fb.width
Dez 15 19:47:36 mobi-lap-001 kernel: evdi: [W] evdi_framebuffer_sanitize_rect:76 Wrong clip rect: x2 > fb.width

$ sudo lsusb -D /dev/bus/usb/004/001
Device: ID 1d6b:0003 Linux Foundation 3.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0
  bDeviceProtocol         3
  bMaxPacketSize0         9
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0003 3.0 root hub
  bcdDevice            5.15
  iManufacturer           3 Linux 5.15.5-76051505-generic xhci-hcd
  iProduct                2 xHCI Host Controller
  iSerial                 1 0000:25:00.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x001f
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
        bMaxBurst               0
Hub Descriptor:
  bLength              12
  bDescriptorType      42
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  bHubDecLat          0.0 micro seconds
  wHubDelay             0 nano seconds
  DeviceRemovable    0x00
 Hub Port Status:
   Port 1: 0000.02a0 lowspeed L1
   Port 2: 0000.02a0 lowspeed L1
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength       0x002b
  bNumDeviceCaps          2
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x02
      Latency Tolerance Messages (LTM) Supported
    wSpeedsSupported   0x0008
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   1
      Lowest fully-functional device speed is Full Speed (12Mbps)
    bU1DevExitLat          10 micro seconds
    bU2DevExitLat         512 micro seconds
  SuperSpeedPlus USB Device Capability:
    bLength                28
    bDescriptorType        16
    bDevCapabilityType     10
    bmAttributes         0x00000023
      Sublink Speed Attribute count 3
      Sublink Speed ID count 1
    wFunctionalitySupport   0x1104
    bmSublinkSpeedAttr[0]   0x00050034
      Speed Attribute ID: 4 5Gb/s Symmetric RX SuperSpeed
    bmSublinkSpeedAttr[1]   0x000500b4
      Speed Attribute ID: 4 5Gb/s Symmetric TX SuperSpeed
    bmSublinkSpeedAttr[2]   0x000a4035
      Speed Attribute ID: 5 10Gb/s Symmetric RX SuperSpeedPlus
    bmSublinkSpeedAttr[3]   0x000a40b5
      Speed Attribute ID: 5 10Gb/s Symmetric TX SuperSpeedPlus
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0001
  Self Powered

$ sudo ./displaylink-debian.sh --debug
-------------------------------------------------------------------

Starting Debug ...

Did you read Post Installation Guide? http://bit.ly/2TbZleK [y/N] y

Did you read Troubleshooting most common issues? http://bit.ly/2Rofd0x [y/N] y

--------------- Linux system info ----------------

Distro: Pop
Release: impish
Kernel: 5.15.5-76051505-generic

---------------- DisplayLink info ----------------

Driver version: evdi
1.9.1
DisplayLink service status: up and running
EVDI service version: 1.9.1

------------------ Graphics card -----------------

Vendor: i915
Subsystem: GT2
VGA: Intel Corporation CometLake-U GT2 [UHD Graphics] (rev 02)
VGA (3D):
X11 version: 1.20.13-1ubuntu1.1
X11 configs: /etc/X11/xorg.conf.d/20-displaylink.conf

-------------- DisplayLink xorg.conf -------------

File: /etc/X11/xorg.conf.d/20-displaylink.conf
Contents:
 Section "OutputClass"
    Identifier  "DisplayLink"
    MatchDriver "evdi"
    Driver      "modesetting"
    Option      "AccelMethod" "none"
EndSection

-------------------- Monitors --------------------

Providers: number : 5
Provider 0: id: 0x46 cap: 0x9, Source Output, Sink Offload crtcs: 3 outputs: 4 associated providers: 4 name:modesetting
Provider 1: id: 0x151 cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting
Provider 2: id: 0x12f cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting
Provider 3: id: 0x10d cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting
Provider 4: id: 0xeb cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting

-------------------------------------------------------------------

Use this information when submitting an issue (http://bit.ly/2GLDlpY)

-------------------------------------------------------------------

Same issue (source).
Commit: aef6790
Log (lots of these):
[ 1220.319478] evdi: [W] evdi_framebuffer_sanitize_rect:81 Wrong clip rect: y2 > fb.height

`sudo ./displaylink-debian.sh --debug`
```
--------------- Linux system info ----------------
Distro: Ubuntu
Release: focal
Kernel: 5.13.0-27-generic
---------------- DisplayLink info ----------------
Driver version: evdi
1.9.1
DisplayLink service status: up and running
EVDI service version: 1.10.0
------------------ Graphics card -----------------
Vendor: i915
Subsystem: 620
VGA: Intel Corporation HD Graphics 620 (rev 02)
VGA (3D):
X11 version: 1.20.13-1ubuntu1~20.04.2
X11 configs: /etc/X11/xorg.conf.d/20-displaylink.conf
-------------- DisplayLink xorg.conf -------------
File: /etc/X11/xorg.conf.d/20-displaylink.conf
Contents:
Section "OutputClass"
Identifier  "DisplayLink"
MatchDriver "evdi"
Driver      "modesetting"
Option      "AccelMethod" "none"
EndSection
-------------------- Monitors --------------------
Providers: number : 5
Provider 0: id: 0x47 cap: 0x9, Source Output, Sink Offload crtcs: 3 outputs: 5 associated providers: 4 name:modesetting
Provider 1: id: 0x153 cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting
Provider 2: id: 0x131 cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting
Provider 3: id: 0x10f cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting
Provider 4: id: 0xe9 cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting

</details>


Make bst init take an argument

See original issue on GitLab
In GitLab by [Gitlab user @tlater] on Oct 9, 2018, 16:48
Background
Currently, bst init will automatically initialize a new project in the current working directory. This is nice and all, but when given an argument, BuildStream will fail.
I think bst init should behave more like git init for familiarity reasons, and use an argument to specify a directory in which to init.
Task description
Make bst init take an argument and initialize a new project in the given directory - behave as currently when no argument is given.
Acceptance Criteria
bst init should accept an argument.

In GitLab by [Gitlab user @AlexFazakas] on Jun 25, 2019, 16:10
mentioned in merge request !1418

In GitLab by [Gitlab user @AlexFazakas] on Jun 26, 2019, 15:44
mentioned in merge request !1428

In GitLab by [Gitlab user @AlexFazakas] on Jun 26, 2019, 16:10
mentioned in merge request !1430

In GitLab by [Gitlab user @AlexFazakas] on Jun 26, 2019, 17:16
mentioned in commit 52b418c2a872e05d992136d8500ba10aadebd579

In GitLab by [Gitlab user @AlexFazakas] on Jun 27, 2019, 11:20
mentioned in commit c7f0f91a1c4fa4026fca05cc251a0599e26d3eef

In GitLab by [Gitlab user @AlexFazakas] on Jun 27, 2019, 12:50
mentioned in commit a3581c3d1d8e16576b60d58fff22880b7de11747

In GitLab by [Gitlab user @AlexFazakas] on Jun 28, 2019, 12:20
mentioned in commit 01bcd171a5d7159af723b12d80f995398b255286

In GitLab by [Gitlab user @AlexFazakas] on Jun 28, 2019, 17:28
mentioned in commit e595bb4f2a4a0799bdcb47e3814b336542412d01

In GitLab by [Gitlab user @AlexFazakas] on Jul 1, 2019, 10:57
mentioned in commit 303e212740faf2e90d004ddcf38b41810f45c6a7

In GitLab by [Gitlab user @AlexFazakas] on Jul 1, 2019, 13:50
mentioned in commit e7021869b844c42191a864c152ecbe1eea17062a

In GitLab by [Gitlab user @AlexFazakas] on Jul 2, 2019, 09:15
mentioned in commit 34d62bdf53132b2b5671c3e9731902d9d3e76a5f

In GitLab by [Gitlab user @AlexFazakas] on Jul 2, 2019, 09:25
mentioned in commit add23973cbe588daa369f544f993b3b612b753fe

In GitLab by [Gitlab user @AlexFazakas] on Jul 2, 2019, 15:31
mentioned in commit e3f9a8630b306dd6480f98f7313bd43f77e3da66

In GitLab by [Gitlab user @marge-bot123] on Jul 2, 2019, 16:05
mentioned in commit c63a98c5b4ae68a6eb741a0e4e80acc280c6d12b

In GitLab by [Gitlab user @marge-bot123] on Jul 2, 2019, 16:43
closed via merge request !1430

In GitLab by [Gitlab user @marge-bot123] on Jul 2, 2019, 16:43
mentioned in commit eb30ffba4d7d1d308dd3545b3351f3d5d8a1844e


opening server debug log from the context menu

Opening the server debug log via the app context menu.
I believe you will only see the context menu if you are using the binary when created via the installer (via the make process).

@hoffmabc do you want to test this with an installer?

@hoffmabc paging Brian...

ok will do

@rmisio I had to install the open library using npm so can we add that to the package.json?

"open": "0.0.5",

@hoffmabc good catch, I forgot to --save when I installed it. I've updated.


JSON Serialization please

@nlkl, I love love love how perfect and small your library is and I think you have the perfect combination of readable methods combined with the correct approach to eliminating null reference exceptions.
That being said, it's difficult to use your library without a way of serializing it to JSON.
I'd like to propose providing something like this: https://github.com/DavidArno/SuccincT/blob/14ad21767ba40661785a8aa2623d0ed987a976ba/src/SuccincT.JSON/JSON/OptionConverter.cs

Okay @nlkl, so I got it working the way I would expect it to behave (in that truly optional parameters show up as null in the contract), and here is the code. What I like about the unit tests is that they're opaque in that they behave exactly as (I hope) one might expect them to:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Optional
{
    using System.Reflection;

    using Newtonsoft.Json;
    using Newtonsoft.Json.Linq;

    using Optional;

    public class OptionConverter : JsonConverter
    {
        public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
        {
            Type optionType = value.GetType();
            var hasValueProperty = optionType.GetProperty("HasValue");
            var hasValue = (bool)hasValueProperty.GetValue(value, null);

            if (hasValue)
            {
                var valueProperty = optionType.GetProperty("Value", BindingFlags.Instance | BindingFlags.NonPublic);
                var optionValue = valueProperty.GetValue(value);
                // normal serialization // Thanks https://stackoverflow.com/a/21372605
                JObject jo = JObject.FromObject(optionValue);
                jo.WriteTo(writer);
            }
            else
            {
                writer.WriteRawValue("null");
            }
        }

        [Obsolete("Not Implemented", true)]
        public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
        {
            throw new NotImplementedException();
        }

        public override bool CanConvert(Type objectType)
        {
            Type genericOptionType = typeof(Option<>);
            return objectType.IsGenericType && (objectType.GetGenericTypeDefinition() == genericOptionType);
        }

        public override bool CanRead
        {
            get
            {
                return false;
            }
        }
    }
}

And now for the tests! :)
namespace Optional.Tests
{
    using FluentAssertions;

    using Newtonsoft.Json;
    using static Newtonsoft.Json.JsonConvert;

    using NUnit.Framework;

    using Optional;

    [TestFixture]
    class OptionConverterTests
    {

        [SetUp]
        public virtual void Setup()
        {

        }

        public class SimpleClass
        {
            public string foo { get; set; } = "bar";
        }

        public class ParentClass<T>
        {
            public T child { get; set; }
        }

        [Test]
        public void ShouldSerializeASomeOptionToItsNormalSerializationString()
        {
            // Arrange
            SimpleClass aValue = new SimpleClass();
            Option<SimpleClass> aSomeFromRealValue = Option.Some(aValue);
            // A quick red-herring check
            aSomeFromRealValue.HasValue.Should().BeTrue();
            // So we need to get what the object would serialize to before the custom JsonConverter was added
            var settings = new JsonSerializerSettings();
            settings.Converters.Add(new OptionConverter());
            string expectedStringifiedJson = SerializeObject(aValue, settings);
            // Now use the custom JsonConverter
            var customSettings = new JsonSerializerSettings();
            customSettings.Converters.Add(new OptionConverter());

            // Act
            var resultingStringifiedJson = SerializeObject(aSomeFromRealValue, settings);

            // Assert
            resultingStringifiedJson.Should().Be(expectedStringifiedJson, "$because the test should be opaque and before the custom serializer we got \"{expectedStringifiedJson}\"");
        }

        [Test]
        public void ShouldSerializeASomeOptionToItsNormalSerializationString_ForANestedObj()
        {
            // Arrange
            ParentClass<SimpleClass> aValue = new ParentClass<SimpleClass>();
            aValue.child = new SimpleClass();
            Option<ParentClass<SimpleClass>> aSomeFromRealValue = Option.Some(aValue);
            // A quick red-herring check
            aSomeFromRealValue.HasValue.Should().BeTrue();
            // So we need to get what the object would serialize to before the custom JsonConverter was added
            var settings = new JsonSerializerSettings();
            settings.Converters.Add(new OptionConverter());
            string expectedStringifiedJson = SerializeObject(aValue, settings);
            // Now use the custom JsonConverter
            var customSettings = new JsonSerializerSettings();
            customSettings.Converters.Add(new OptionConverter());

            // Act
            var resultingStringifiedJson = SerializeObject(aSomeFromRealValue, settings);

            // Assert
            resultingStringifiedJson.Should().Be(expectedStringifiedJson, "$because the test should be opaque and before the custom serializer we got \"{expectedStringifiedJson}\"");
        }

        [Test]
        public void ShouldSerializeANoneOptionToNull()
        {
            // Arrange
            SimpleClass aNullValue = null;
            Option<SimpleClass> aNoneFromANullValue = aNullValue.SomeNotNull();
            // A quick red-herring check
            aNoneFromANullValue.HasValue.Should().BeFalse("because it came from a null, and Optional was nice enough to identify it as such");
            // So we need to get what the object would serialize to before the custom JsonConverter was added
            var settings = new JsonSerializerSettings();
            settings.Converters.Add(new OptionConverter());
            string expectedStringifiedJson = SerializeObject(aNullValue, settings);
            // Now use the custom JsonConverter
            var customSettings = new JsonSerializerSettings();
            customSettings.Converters.Add(new OptionConverter());

            // Act
            var resultingStringifiedJson = SerializeObject(aNoneFromANullValue, settings);

            // Assert
            resultingStringifiedJson.Should().Be(expectedStringifiedJson, $"because the test should be opaque and before the custom serializer we got \"{expectedStringifiedJson}\"");
        }

        [Test]
        public void ShouldSerializeANoneOptionToNull_ForANestedObj()
        {
            // Arrange
            ParentClass<SimpleClass> aNullValue = new ParentClass<SimpleClass>();
            SimpleClass aNullChild = null;
            aNullValue.child = aNullChild;
            ParentClass<Option<SimpleClass>> aNoneFromANullValue = new ParentClass<Option<SimpleClass>>();
            // A quick red-herring check
            aNoneFromANullValue.child.HasValue.Should().BeFalse("because it came from a null, and Optional was nice enough to identify it as such");
            // So we need to get what the object would serialize to before the custom JsonConverter was added
            var settings = new JsonSerializerSettings();
            settings.Converters.Add(new OptionConverter());
            string expectedStringifiedJson = SerializeObject(aNullValue, settings);
            // Now use the custom JsonConverter
            var customSettings = new JsonSerializerSettings();
            customSettings.Converters.Add(new OptionConverter());

            // Act
            var resultingStringifiedJson = SerializeObject(aNoneFromANullValue, settings);

            // Assert
            resultingStringifiedJson.Should().Be(expectedStringifiedJson, $"because the test should be opaque and before the custom serializer we got \"{expectedStringifiedJson}\"");
        }

        [Test]
        public void ShouldSerializeANoneOptionToNull_ForATwiceNestedObj()
        {
            // Arrange
            ParentClass<ParentClass<SimpleClass>> aTwiceNestedNullValue = new ParentClass<ParentClass<SimpleClass>>();
            SimpleClass aNullChild = null;
            aTwiceNestedNullValue.child = new ParentClass<SimpleClass>() { child = aNullChild };
            ParentClass<ParentClass<Option<SimpleClass>>> aTwiceNestedNone = new ParentClass<ParentClass<Option<SimpleClass>>>();
            aTwiceNestedNone.child = new ParentClass<Option<SimpleClass>>(){ child = aNullChild.SomeNotNull() };
            // A quick red-herring check
            aTwiceNestedNone.child.child.HasValue.Should().BeFalse("because it came from a null, and Optional was nice enough to identify it as such");
            // So we need to get what the object would serialize to before the custom JsonConverter was added
            var settings = new JsonSerializerSettings();
            settings.Converters.Add(new OptionConverter());
            string expectedStringifiedJson = SerializeObject(aTwiceNestedNullValue, settings);
            // Now use the custom JsonConverter
            var customSettings = new JsonSerializerSettings();
            customSettings.Converters.Add(new OptionConverter());

            // Act
            var resultingStringifiedJson = SerializeObject(aTwiceNestedNone, settings);

            // Assert
            resultingStringifiedJson.Should().Be(expectedStringifiedJson, $"because the test should be opaque and before the custom serializer we got \"{expectedStringifiedJson}\"");
        }

    }
}

I apologize for not sending this as PR, but it's late and I was getting a .NET 3.5 issue with my work laptop. I thought if it's interesting enough for you that this would be a drop in change. :) I hope you'll consider it since your implementation has .SomeNotNull which I consider the most clear language, and also you haven't included .Value which I really really appreciate (btw, it did make it hard to test! haha).
Thank you. :)

I'm having a similar problem. Because it may be useful to someone, this is my stab at solving the problem. Note that I only needed to be able to write JSON, not read it.
The code below passes all the tests posted by @dgreene1 above, so the biggest difference is that I'm using dynamic rather than reflection.
class OptionJsonConverter : JsonConverter
{
    public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
        => serializer.Serialize(writer, GetObjectOrNullFromOption(value));

    static object GetObjectOrNullFromOption(object value)
        => ((IEnumerable)((dynamic)value).ToEnumerable()).Cast<object>().FirstOrDefault();

    public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
        => throw new NotSupportedException();

    public override bool CanRead
        => false;

    public override bool CanConvert(Type objectType)
        => objectType.IsGenericType && objectType.GetGenericTypeDefinition() == typeof(Option<>);
}

Hi @dgreene1
Thank you for your interest in the project!
Actually, it is something I use all the time as well, so I do have a JsonConverter-implementation that typically use.
Regarding official support for this, it is not something I can add to the Optional library itself, as I wouldn't want a dependency on Newtonsoft.Json. Instead, I could release this as a separate Nuget package, which I will definitely consider if enough people would find it useful - although it might be a bit excessive to have a Nuget package for one small class (or maybe not?).
For anyone interested, I have uploaded the implementation I typically use here:
https://github.com/nlkl/Optional/wiki/Working-with-JSON
The main advantage over the implementations you have mentioned above is that it supports both serialization and deserialization from/to options.
Hope it helps a bit - and let me know what you think about introducing this as a separate Nuget package.
/ Nils

Thank you thank you thank you. You're amazing @nlkl :)

Custom JsonConverter is the most flexible and efficient way of implementation of serialization for the Option<T> type.
But, there's another way how to add basic support of serialization out of box and without any external dependencies.
We just need to implement the ISerializable interface:
private Option(SerializationInfo info, StreamingContext context)
{
    hasValue = info.GetBoolean(nameof(HasValue));
    value = hasValue ? (T)info.GetValue(nameof(Value), typeof(T)) : default(T);
}

void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
    info.AddValue(nameof(HasValue), hasValue);
    if (hasValue)
        info.AddValue(nameof(Value), value);
}

For advanced scenarios JsonConverter would be still is the most flexible choice, but for basic use cases, this would just work out of box, without doing anything, and would reduce friction.
It's not only for Json.NET but for any serializer that supports ISerializable, including binary serializers, DataContact-serializers etc.
Sometimes you don't have a way to customize exiting serialization pipeline (e.g. Azure Service Fabric Remoting), having at least some serialization support would be life saver.
IT generates the following JSON:
{
  "NoneField": {
    "HasValue": false
  },
  "SomeStringField": {
    "HasValue": true,
    "Value": "string value"
  },
  "SomeNullField": {
    "HasValue": true,
    "Value": null
  }
}

It also doesn't add any leaking abstractions to the public API.


React-native tvOS : How to set focus on specific item in list view?

Hello,
I write an tvOS app with react native and I have few list view, I want to set focus on specific item in list view ?
It is possible ?
Thanks for your help

This issue looks like a question that would be best asked on StackOverflow.
StackOverflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only.
Will close this as this is really a question that should be asked on StackOverflow.

Yes it is possible, with tvOS and react native if you want to force a focusable component to be focus you just need to set hasTVPreferredFocus to true
For example:
    <TouchableHighlight
        hasTVPreferredFocus={true}
    	onPress={() => {}}
    >
    	<Text>Hello</Text>
    </TouchableHighlight>

You can see this post on Stackoverflow:
https://stackoverflow.com/questions/43862802/react-native-tvos-how-to-force-a-button-to-be-focused/44700590#44700590


Establish first Cypress tests

As our React app now reliably serves the rudiments of the three user pathways
(CreationPage, MaskinportenPage and DirectConsentPage),
and we have established several GET and POST API calls,
it might be a good time to start setting up Cypress tests.
At first we will only check on availability of API calls,
buttons, navigation and such.
Cypress tests must be run manually, as the initial
steps must go through dotnet app peculiarities
(see Step-by-step How-to in documentation).
### Tasks
- [x] Setup of first Cypress test in new Cypress folder
- [x] Verify that test-user is logged in via http://local.altinn.cloud
- [x] Verify navigation to OverviewPage
- [x] Update Wiki Repo og Cypress folder README How-to-use file
- [ ] Verify navigation to Creationpage
- [ ] Verify navigation to MaskinportenPage
- [ ] Verify navigation to DirectConsentPage
- [ ] Check filling in of form in CreationPage
- [ ] Submit a CreationPage form and check if new SystemUser appears in OverviewPage
- [ ] Check filling in of form in MaskinportenPage (how to test jwk-upload?!)

First Cypress test has been successfully configured and built in the new Cypress folder.
The documentation has been updated in Wiki Repo and the Cypress folder README How-to-use description.

Our Cypress E2E tests did run well locally, but the setup proved to be fragile when faced with Cypress component testing, which worked, but somehow interfered with the E2E configuration.
This has to be debugged.
On the plus side, the Cypress component tests did also work in the Github Runner environment.

The first Cypress E2E tests were successful, but now needs to be integrated with components tests in the new issue #105


Virtual method call in constructor

This:
    public class Person
    {
        public Person(string foo) {
            DoFoo(foo);
        }

        public virtual void DoFoo(string foo) { ... }
    }

Category: Usage
Diagnostic Id: CC0067
Severity: Warning

I'll do it!

Should this be in the Usage category since it is a duplicate of CA2214?

I got this from resharper, I didn't notice it was also on Code Analysis.
So yes, it should. I edited there, thanks @sharwell !

Go for it, @andrecarlucci.

@andrecarlucci How is this coming?

I finally finished (this saturday) my project with Intel and have some free
time :)
André Carlucci
twitter/andrecarlucci
Microsoft MVP
Intel Innovator
www.andrecarlucci.com
On Mon, Feb 16, 2015 at 2:46 AM, Giovanni Bassi<EMAIL_ADDRESS>wrote:

@andrecarlucci https://github.com/andrecarlucci How is this coming?
--
Reply to this email directly or view it on GitHub
https://github.com/code-cracker/code-cracker/issues/203#issuecomment-74459453
.

Anxiously awaiting for your PR! :)


Adding SonoBus to nixpkgs

SonoBus is a real-time network audio streaming collaboration tool.
SonoBus is an easy to use application for streaming high-quality, low-latency peer-to-peer audio between devices over the internet or a local network.
It is really easy to use and has a nice GUI
Also it is efficient and written in C++.
Metadata

homepage URL: sonobus.net
source URL: github/sonosaurus/sonobus
license: gplv3
platforms: windows, linux, darwin

This was already merged in #211341.


Don't override index.html

Return additional tags rather than a modified html template.
Based on the Vite docs here: https://vitejs.dev/guide/api-plugin.html#transformindexhtml
Also deleted the now unused template file.
fixes #12

@timhaywood thanks for getting a start on this!
There are some other items that need to be in place on order for dev and build to work both inside CEP and in the browser.
Branched off and will merge here: https://github.com/hyperbrew/vite-cep-plugin/pull/14

Thanks so much! Will check out your changes, the CEP world is still mostly a mystery for me :)
Appreciate your fast response!


Swap "Policy marker" and "Importance" fields

When adding an activity, in the "Policy Marker" form: I propose to swap the fields "Policy marker" and "Importance", which seems closer to how I see people fill in the form: first what, then weight.

Good point. Swapped the fields.


Bug that caused project to lose all files except for the default files

Godot version:
v3.1.stable.official
OS/device including version:
Windows 10
Issue description:
The project that lost the files will be in like when it was first created with the default files
Steps to reproduce:
I encountered this bug when in a project then quit to project list then enter another project and quit again, then the project list will be empty, import your projects back and a project would be affected with the bug

Does this happen with every project?

Well, i imported 2 projects back into the project list and 1 of them was affected

Where are your project files and Godot at? Spaces, non-ASCII characters in the path? Maybe some restricted access folders like Program Files?

@mkhoi-dude Did it happen only once or is it reproducible? If yes, does it still happen in 3.2.3?


Our results are better with tensorflow movenet

Hello- Nice work on this. We've run some initial tests and are finding that the results from the original tensorflow movenet (https://colab.research.google.com/github/tensorflow/hub/blob/master/examples/colab/movenet.ipynb) are different than the results we're seeing with your implementation.
Original movenet:

This implementation:

We're running both with the "thunder" model. Is there something we're doing incorrectly or a modification we need to make?
Best Regards.

It may due to the subtle difference in implementation of up-sampling in https://github.com/lee-man/movenet-pytorch/blob/main/movenet/models/feature_pyramid_network.py
Or the difference in post-processing. I have no clear idea.

@jigratz Another possible reason is the difference in the version you used for the demo. The weights I extracted are from MoveNet Version 3.


Add related span for conflicting declaration in spread "'prop' is specified more than once" error

Actual:
import * as React from "react";
interface PropsWithKey {
  key: string;
  onEvent: unknown;
  otherField?: string;
}
const OtherTag = (_: PropsWithKey & {result: string}) =>

;
export class MyComponent extends React.Component {
        private _helper = (props: PropsWithKey) => {
            return (
                <OtherTag
                    key='content'
//                  ~~~~~~~~~~~~~
//!!! error TS2783: 'key' is specified more than once, so this usage will be overwritten.
                    onEvent={ props.onEvent }
//                  ~~~~~~~~~~~~~~~~~~~~~~~~~
//!!! error TS2783: 'onEvent' is specified more than once, so this usage will be overwritten.
                    result={ "ok" }
                    { ...props }
                />
            );
        };
}

expected:
import * as React from "react";
interface PropsWithKey {
  key: string;
  onEvent: unknown;
  otherField?: string;
}
const OtherTag = (_: PropsWithKey & {result: string}) =>

;
export class MyComponent extends React.Component {
        private _helper = (props: PropsWithKey) => {
            return (
                <OtherTag
                    key='content'
//                  ~~~~~~~~~~~~~
//!!! error TS2783: 'key' is specified more than once, so this usage will be overwritten.
//!!! related TSXXXX:filename.tsx:A:B: This spread always overwrites this property.
                    onEvent={ props.onEvent }
//                  ~~~~~~~~~~~~~~~~~~~~~~~~~
//!!! error TS2783: 'onEvent' is specified more than once, so this usage will be overwritten.
//!!! related TSXXXX:filename.tsx:A:B: This spread always overwrites this property.
                    result={ "ok" }
                    { ...props }
                />
            );
        };
}

@weswigham What if an object uses several spread operators which have an overridden property?
const a = { x: 1 };
const b = { x: 2 };

const c = { x: 10, ...a, ...b };

Adding a span for both seems reasonable, since the fix is either remove both spreads, or move the declaration after the spreads.

@weswigham I think the Actual: should be changed because the latest build doesn't provide the message TS2783 for JSX attributes.

That's... a change. @sandersn did we intentionally regress JSX behavior for this error?

@weswigham I this PR #37329 I added that message to TSX attributes. I'm waiting for the feedback from @sandersn about the correctness of these changes.


Update to support laravel 5.4+

Change share method to singleton because share is deleted in Laravel 5.4+ versions.
In Laravel 5.3 to 5.4 upgrade guide we can find this text:
share Method Removed
The share method has been removed from the container. This was a legacy method that has not been documented in several years. If you are using this method, you should begin using the singleton method instead:
$container->singleton('foo', function () {
    return 'foo';
});

Thanks for contributing and sorry for the super late response.


Inconsistency between LightGBM and XGBoost handling of column names containing <, >, and other unaccepted symbols.

LightGBM does:
    def _encode_categories(self, X, fit=False):
        X2 = pd.DataFrame(copy.copy(X))
        # encode each categorical feature as an integer
        X2.columns = np.arange(len(X2.columns))
        # necessary to wipe out column names in case any names contain symbols ([, ], <) which LightGBM cannot properly handle
        cat_cols = X2.select_dtypes(categorical_dtypes).columns

XGBoost does:
        # rename column names to column number if input is a pd.DataFrame in case it has column names that contain symbols ([, ], <) that XGBoost cannot properly handle
        if isinstance(X, pd.DataFrame):
            X = _rename_column_names_to_numeric(X)

For consistency, we should stick to one and use the implementation for both estimators.

Will be addressed by #1423

Closed by #1423


setup Kanban board

https://github.com/iamsjunaid/js-capstone-2/projects/1
we are 3 people in the group.

STATUS: REQUIRED CHANGES :recycle::recycle:
Hi @iamsjunaid, @iamsjunaid and @Emmanuel
Good job so far! I know you worked hard to implement this project, I really appreciate the effort you put in! But there are some issues that you still need to work on to go to the next project but you are almost there!

To highlight :champagne:

Good issue description :heavy_check_mark:

Required changes :recycle: :recycle:

[ ] As required for the project, kindly ensure that all cards are assigned to team members as right now, most of them are not assigned to team members.

[ ] As required for the project, while assigning cards to team members, please ensure that you decide who is Student A, Student B, and Student C. So each card with Student A in its title should always be assigned to the same student (and analogical for other students). All cards with group task in the title can be assigned to someone(it does not matter to whom as has freedom with that) but I can suggest you assign them to all of you

[ ] Check the comments under the review.

Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please ping me @tresorsawasawa when you comment so I can receive the notification or use slack with the same name.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

STATUS: APPROVED ♻♻
Hi @iamsjunaid, @Peter-Dumbari and @uno36
To highlight 👍🏽
✔ Cards are assigned to team members
✔ Students titles are specified for each card
Your project is complete!  There is nothing else to say other than... it's time to merge it 🚀
Congratulations! 🎉

Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Update docs for addVerification hook

Summary
I using a custom service path for authentication management and discovered that the custom path name needed to be passed in to the addVerification hook. This wasn't listed in the docs, so I added a note.

Thanks.


IGNITE-2506: A damon node with binary marshaller hangs on unmarshalling of a user class

https://issues.apache.org/jira/browse/IGNITE-2506

https://issues.apache.org/jira/browse/IGNITE-2506 ticket is open. Is this PR still needed?

closing by lazy consensus, feel free to reopen if needed


Dame sprint 2021 feb interpolation fix

Coverage increased (+0.02%) to 47.102% when pulling fc84a9fd42995e28497f21a319040463f62d4abe on dame-sprint-2021-feb-interpolation-fix into 748c6c23321f1868646f6bf0d7d95370d0ff251a on dame-sprint-2021-feb-staging.


basic functionality defined, vanilla JS

https://darjama.github.io/2020-04-04-Live-CSS-Editor/

https://darjama.github.io/2020-04-04-Live-CSS-Editor/

All I can say is this looks great and I'm sorry I can't give a better review! First time doing a challenge like this.


Conversation tracking

Hi! I'm getting familiar with ChatterBot, at the moment I try to understand how it works under the hood.
When I opened the database I saw this:
"Again...": {
    "in_response_to": [
      {
        "in_response_to": [
          {
            "occurrence": 2,
            "signature": [],
            "text": "It depends how you define life"
          }
        ],
        "text": "Life is the condition that distinguishes organisms from inorganic matter, including the capacity for growth, reproduction, functional activity, and continual change preceding death."
      }
    ]
  },

Hm, it looks like this is conversation tracking, but issue #2 say otherwise

Currently, ChatterBot only responds to the last statement that was entered

Can someone shed some light on this?

Hi @nvartolomei, This looks like a case where a statement is being saved as a response somewhere in the code base. It won't cause any problems but I will take a look through and see if I can determine where this is occurring. Could you let me know what adapters you are using for your chat bot?

@gunthercox basic example with english corpus trainer. Also when asking some questions, when asking empty questions, after few questions it can't parse the database anymore. This also happens when using mongodb storage.
from chatterbot import ChatBot

# Create a new chat bot named Charlie
chatbot = ChatBot("Charlie")

chatterbot.set_trainer(ChatterBotCorpusTrainer)

chatterbot.train(
    "chatterbot.corpus.english"
)

# Get a response to the input "How are you?"
response = chatbot.get_response("How are you?")

print(response)

I believe this issue has been resolved by https://github.com/gunthercox/ChatterBot/pull/224
Feel free to reopen if it continues.


implemented changes to be compatible with new next 15

    "peerDependencies": {        "next": "^14.0.0",        "react": "^18.2.0",        "react-dom": "^18.2.0"      }
as recommended by @pietrodev07

Thank you!
Could you please have a look at this: https://github.com/shuding/next-view-transitions/issues/49
I don't know what I'm doing wrong.


Resolve NullReferenceException when DrawsHeatRange = false

Summary
Resolve NullReferenceException when DrawsHeatRange = false
Fixed up nuget packaging for UWP assemblies.
Solves
NullReferenceException in HeatSeries when DrawsHeatRange = false
'LiveCharts.Uwp.dll' not found when packaging UWP into nuget package

Thanks for the help in the Uwp packaging I was having a bad time there

No worries. I've got a few more commits incoming which I haven't sync'd to my fork yet as I'm still unable to use the UWP package in a UWP solution (installs fine but no LiveCharts.Uwp namespace available).

Right, finally go the UWP package to install correctly. Think this is good to merge.

Awesome!, I see I was missing some files, definitively I am merging this, and publishing in Nuget asap, thanks!

I am not able yet to install the package correctly, it installs and all the namespaces and objects are here, but when I run the package I get, were you able to install it and run your app?
Some how the Xaml files (default legend, default tooltip) seems not be included correctly. I even tried removed the files and build this controls just in code behind, with no success:

Any idea is appreciated
Thanks

I think I got it.... it seems to be an issue with UWP packages...
https://support.microsoft.com/en-us/kb/2739194
Microsoft give me back my time! hours! weeks!

It all 'just worked' for me. Glad to see you found a solution though.
I know what you mean about the frustrations with bugs in VS!


Add: _WD_ElementStyle

Pull request
Proposed changes
Adding support for set/get style property
Checklist
Put an x in the boxes that apply. If you're unsure about any of them, don't hesitate to ask. We are here to help!
This is simply a reminder of what we are going to look for before merging your code.

[x] I have read and noticed the CODE OF CONDUCT document
[x] I have read and noticed the CONTRIBUTING document
[ ] I have added necessary documentation or screenshots (if appropriate)

Types of changes
Please check x the type of change your PR introduces:

[ ] Bugfix (change which fixes an issue)
[x] Feature (change which adds functionality)
[ ] Code style update (formatting, renaming)
[ ] Refactoring (functional, structural)
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?
there is no helper function to set/get style property
What is the new behavior?
added _WD_ElementStyle()
Additional context
https://www.autoitscript.com/forum/topic/205553-webdriver-udf-help-support-iii/?do=findComment&comment=1501634
System under test
not related

From here --

so maybe use $sCSSProperty instead of $sPropertyName 🤔

;                  $sPropertyName - style property name which should be set, when is not defined (Default) then all properties are taken (array of properties will be returned)

You should consider alternatives for "property" here. I'm not sure if there's a standard name for these items within the style attribute.

Parameters
property is a DOMString representing the property name (hyphen case) to be checked.

;                  $sValue - new value of the property to be set, when is not defined (Default) then properties are not get instead of set

Don't forget that this needs to support other data types beyond string.

in case when you want to set $sValue then it is only check if it is not Default keyword
If IsString($sPropertyName) And $sValue <> Default Then ; set property value

btw.
Frome this documentation
https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/getPropertyValue

[Return value](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/getPropertyValue#return_value)
value is a [DOMString](https://developer.mozilla.org/en-US/docs/Web/API/DOMString) containing the value of the property. If not set, returns the empty string.

Doesn't that mean that values are stored in the HTML DOM tree just as a string?

Doesn't that mean that values are stored in the HTML DOM tree just as a string?

IDK. I was thinking that you could have a style like this --
style="display:none"
I haven't tried it, but I thought your code would wrap the none in quotation marks.

For this reason I'm not sure about changing property to CSSProperty as I can directly copy getPropertyValue(property) from style.getPropertyValue() becuase this is common usage.

I think it works fine either way. I tend to prefer the later one since it better describes the parameter contents, but ultimately it's your decision. 🙂

I haven't tried it, but I thought your code would wrap the none in quotation marks

Aha... I must check

I was thinking that you could have a style like this --
style="display:none"
I haven't tried it, but I thought your code would wrap the none in quotation marks.

If you are refering to this:
_WD_ElementStyle($sSession, $sElement, 'display', 'none')

Then you must to know that this line
$vResult = _WD_ExecuteScript($sSession, "var element = arguments[0]; element.style." & $sPropertyName & " = '" & $sValue & "'", __WD_JsonElement($sElement), Default, Default)

will be computed/evaluated to:
$vResult = _WD_ExecuteScript($sSession, "var element = arguments[0]; element.style.display = 'none'", __WD_JsonElement($sElement), Default, Default)

so the JavaScript will be:
element.style.display = 'none'

Is my reasoning correct?

element.style.display = 'none'

I just check .display = 'none' on github website with this JS
document.querySelector('ul.filter-list.js-notification-inboxes').style.display = 'none'

works well.

I was thinking that you could have a style like this --
style="display:none"
I haven't tried it, but I thought your code would wrap the none in quotation marks.

But on other hand.....
Wondering how to set such thing:
font-family: 'Times New Roman', Times, serif

will try one of this:
document.querySelector('ul.filter-list.js-notification-inboxes').style.font-family = "'Times New Roman', Times, serif"
document.querySelector('ul.filter-list.js-notification-inboxes').style.font-family = '"Times New Roman", Times, serif'

here is proper usage:
document.querySelector('ul.filter-list.js-notification-inboxes span.count').style.font-family == '"Lucida Console", "Courier New", monospace;'

so AutoIt code will be:
_WD_ElementStyle($sSession, $sElement, 'font-family', '"Lucida Console", "Courier New", monospace;')

of course on https://github.com/notifications it will faill as you get:
Uncaught ReferenceError: family is not defined
    at <anonymous>:1:88

I think there is something that I do not understand in JavaScript that I must learn.

Here are answers to my question:
https://stackoverflow.com/a/16601616/5314940

I think we can add remark to _WD_ElementStyle about using quotes with parameter $sValue

I work on some tests...

Only the webdriver will understand{"element-6066-11e4-a52e-4f735466cecf":"6ab37fa4-928b-4e76-b117-69f7b435805b"}. You will need to use querySelectorAll or some other method to obtain the reference to the target element.

I already use this code and can say that is well tested, on both FF + Chrome.
Please make a finall review.

_WD_ElementStyle($sSession, $sElement, 'font-family', '"Lucida Console", "Courier New", monospace;')

This isn't working for me. Did you have a working version?

I already use this code and can say that is well tested, on both FF + Chrome.

Can you share some additional code for testing?

I try to change style on this page: https://github.com/Danp2/au3WebDriver/pull/310
I can set this using:
document.querySelector('#repository-container-header').style.fontFamily = '"Lucida Console", "Courier New", monospace'

Try this code:
Func UserTesting()
	_WD_Navigate($sSession, 'https://github.com/Danp2/au3WebDriver/pull/310')
	_WD_LoadWait($sSession)

	Local $sElement = _WD_FindElement($sSession, $_WD_LOCATOR_ByCSSSelector, '#repository-container-header')
	ConsoleWrite("! ---> @error=" & @error & "  @extended=" & @extended & @CRLF)
	MsgBox($MB_OK + $MB_TOPMOST + $MB_ICONINFORMATION, "Information", 'Focuse on header (currently not changed)')

	_WD_ElementStyle($sSession, $sElement, 'fontFamily', '"Lucida Console", "Courier New", monospace')
	ConsoleWrite("! ---> @error=" & @error & "  @extended=" & @extended & @CRLF)

	Local $sFontFamily = _WD_ElementStyle($sSession, $sElement, "font-family")
	ConsoleWrite("! ---> @error=" & @error & "  @extended=" & @extended & @CRLF)
	MsgBox($MB_OK + $MB_TOPMOST + $MB_ICONINFORMATION, "Information", $sFontFamily)

	Local $aListof_CSSProperties = _WD_ElementStyle($sSession, $sElement)
	ConsoleWrite("! ---> @error=" & @error & "  @extended=" & @extended & @CRLF)
	_ArrayDisplay($aListof_CSSProperties, '$aListof_CSSProperties')
;~ 	Exit
EndFunc   ;==>UserTesting

I wonder why I get additional row in $aListof_CSSProperties

should we add this following examples to function header ?
; Example .......: _WD_ElementStyle($sSession, $sElement, 'fontFamily', '"Lucida Console", "Courier New", monospace')
; Example .......: _WD_ElementStyle($sSession, $sElement, "font-family")
; Example .......: _WD_ElementStyle($sSession, $sElement)
; Example .......: _WD_ElementStyle($sSession, $sElement, 'display', 'none')

I wonder why I get additional row in $aListof_CSSProperties

You mean the blank row, correct?

should we add this following examples to function header ?

I would suggest limiting it to one example.

I wonder why I get additional row in $aListof_CSSProperties

You mean the blank row, correct? You probably need to remove the trailing semicolon before calling _ArrayAdd.

I must only solve this and I hope this will be all ready to merge.

new example:
Func UserTesting()
	_WD_Navigate($sSession, 'https://github.com/Danp2/au3WebDriver/pull/310')
	_WD_LoadWait($sSession)

	; get element
	Local $sElement = _WD_FindElement($sSession, $_WD_LOCATOR_ByCSSSelector, '#repository-container-header')
	ConsoleWrite("! ---> @error=" & @error & "  @extended=" & @extended & @CRLF)
	MsgBox($MB_OK + $MB_TOPMOST + $MB_ICONINFORMATION, "Information", 'Focus on header (currently not changed)')

	; add new fontFamily style
	_WD_ElementStyle($sSession, $sElement, 'fontFamily', '"Lucida Console", "Courier New", monospace')
	ConsoleWrite("! ---> @error=" & @error & "  @extended=" & @extended & @CRLF)

	; check list of styles
	Local $aListof_CSSProperties_v1 = _WD_ElementStyle($sSession, $sElement)
	ConsoleWrite("! ---> @error=" & @error & "  @extended=" & @extended & @CRLF)
	_ArrayDisplay($aListof_CSSProperties_v1, '$aListof_CSSProperties_v1')

	; check single style
	Local $sFontFamily = _WD_ElementStyle($sSession, $sElement, "font-family")
	ConsoleWrite("! ---> @error=" & @error & "  @extended=" & @extended & @CRLF)
	MsgBox($MB_OK + $MB_TOPMOST + $MB_ICONINFORMATION, "Information", $sFontFamily)

	; remove 'fontFamily' style
	_WD_ElementStyle($sSession, $sElement, 'fontFamily', '')
	ConsoleWrite("! ---> @error=" & @error & "  @extended=" & @extended & @CRLF)

	; remove 'backgroundColor' style
	_WD_ElementStyle($sSession, $sElement, 'backgroundColor', '')
	ConsoleWrite("! ---> @error=" & @error & "  @extended=" & @extended & @CRLF)

	; again - check list of styles
	Local $aListof_CSSProperties_v2 = _WD_ElementStyle($sSession, $sElement)
	ConsoleWrite("! ---> @error=" & @error & "  @extended=" & @extended & @CRLF)
	_ArrayDisplay($aListof_CSSProperties_v2, '$aListof_CSSProperties_v2')

	; additional check
	If Not UBound($aListof_CSSProperties_v2) Then MsgBox($MB_OK + $MB_TOPMOST + $MB_ICONINFORMATION, "Information", 'All styles has been removed.')

EndFunc   ;==>UserTesting

I still wonder why once should be used fontFamily and in other cases font-family ?

I think it's a difference between JavaScript and CSS. See https://www.w3schools.com/cssref/pr_font_font-family.asp

Thanks.
So as for me this is ready to merge.


build: add executable permission to build.sh

README says:
./build.sh

but it does not have +x premission.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

@nivaldoh This one's trivial enough and has no conflicts with other PRs, so I'll merge this one right away.


New rule dead-type-branch

PR checklist

[ ] Addresses an existing issue: #0000
[X] New feature, bugfix, or enhancement

[X] Includes tests

[ ] Documentation update

Overview of change:
That rule looks at if-blocks and tries to flag dead branches. More specifically, this searches conditions of if for some type-based tests (typeof, instanceof, type guards in functions), and remembers which variables are looked at, as we consider it a strong signal for type-based tests. We then look for its usage under that condition and the following else / else if statements, and if in there, an occurence of the expression is typed as never (per the typechecker), then flag the branch as it's likely to be dead.
To be clear, the rule itself does none of the type arithmetic. Most of the complexity is there to ensure we only flag things typed as never when that is likely to be a result of type tests.
Is there anything you'd like reviewers to focus on?
First of all, that's my first PR into TSLint, so I probably missed a lot of conventions and so on: if so, let me know. This is still a bit rough around the edges too (especially documentation), but I wanted to start the conversation early, to know if you'd be interested in this rule.
Areas that should probably be improved:

User-facing documentation (my first idea was to use this internally at Google, I haven't looked at your conventions there yet)
Performance, especially around the way I pass taggedExpr around, recursively copying it. It might or might not matter, I'm not sure.
The error message and the rule name aren't that great, I welcome any suggestion there.
The code is not trivial, so there might be more bugs in there.
I uncovered very surprising behaviors around type inference and structural typing (though it's not yet clear whether that's a bug or not or what causes that), see https://github.com/Microsoft/TypeScript/issues/18560. That could result in false-positives.
It conflicts in principle with some patterns of exhaustiveness checks for enums. Let's say you use string literal types, then you could write a series of if/else if for each value, then a final else throw("unexpected enum value" + v); in case the enum evolves: that's going to be flagged as dead code.

cc @bowenni @mprobst
CHANGELOG.md entry:
[new-rule] dead-type-branch

Thanks for your interest in palantir/tslint, @rjamet! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

It conflicts in principle with some patterns of exhaustiveness checks for enums. Let's say you use string literal types, then you could write a series of if/else if for each value, then a final else throw("unexpected enum value" + v); in case the enum evolves: that's going to be flagged as dead code.

 This pattern is used a lot AFAICT.


CovoiturageTN

We have written the needed data into your clipboard because it was too large to send. Please paste.

#85501


How to run esm scripts?

I need to import a few things from my src/ directory for tasks that are written as esm modules. Is there any way I can do babel-node on the just-tasks before calling the just?

I am not too familiar with babel-node (or esm or ts-node for that matter). Is it possible to have it registered inside a just.config.js?

Can you point me to where this just.config.js is documented? What does it look like?

Need some task for babel as well I guess. so that the babel will run before your task.
There can be a series of task, the babel task will return your esm compile code which then you can use it in just task
But it seems not so good solution
@kenotron can we create and export our custom task in just.config.js so that we can use this task in another task ?  if it so , then its good to have a babel task. other wise we need some other way !

@norbertpy - I decided to let just-task.js rest in favor of a file named just.config.js so the documentation is the same. It's very much like a gulpfile.js where you define all your tasks.

Hope this helps!


Invalid parameter list for Windows 2012 R2 Powershell

There is no OwningProcess parameter or output in Windows 2012 R2 Powershell, even with WMF 5.1.  The documentation of this commandlet is erronously the same as for Windows Server 2016.

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

ID: 1a05bc83-3fe9-2f49-f476-463c5196bd3d
Version Independent ID: 328b5f52-a72a-25e1-62c1-5ddf72182ec4
Content: Get-NetTCPConnection (nettcpip)
Content Source: docset/winserver2012r2-ps/nettcpip/Get-NetTCPConnection.md
Product: powershell
Technology: powershell
GitHub Login: @andreabarr
Microsoft Alias: v-anbarr

Hello, @fernis
The issue is under investigation and you will be notified with any changes on the way.
Thank you for providing feedback.

@fernis Thank you for your feedback. The output from Get-NetTcpConnection does have an OwningProcess property, but it only lists the PID. I have added an example Via PR# https://github.com/MicrosoftDocs/windows-powershell-docs/pull/1870 on the parameter usage.
Hope this helps.
Thanks
Sri

Closing via merged commit #1870.


Compatible with wagtail 2.3

I dont think this is backward compatible however, because of https://github.com/noripyt/wagtail-react-streamfield/commit/62a09da9e22bf1a910e9011b5ab9410b98bbde8d

Is there a chance that it will be merged soon?


rework custom games tab/card tiles, allow sidePane to be hidden

closes #1228
A lot of users combined about the tiles mode in the custom games play tab. This reworks them to be more readable, smaller to support small screen resolutions, allows hiding the side pane (saved to the client.prefs) and adds an average rating indicator to the cards.

Travis fails

Fix travis failing

Strange same error then with the other build

Only your branches fail everything else builds fine


Fix newlines for new release cycle report

See https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#example-of-a-multiline-string.
Also took the opportunity to reformat things a bit.

Not really tested on a PR. But It worked in an echo : see https://github.com/endoflife-date/endoflife.date/actions/runs/4327141827/jobs/7555415051.

Merged. We'll see if it really works as intented tomorrow.

Great, it worked : https://github.com/endoflife-date/endoflife.date/pull/2636#issuecomment-1456103240.


Append new authorized user to blossom-ci whitelist [skip ci]

Append new user to blossom-ci

build


[Bug]: sidebar_label is overridden by h1

Version
System:
    OS: macOS 12.6
    CPU: (10) arm64 Apple M1 Pro
    Memory: 2.72 GB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Browsers:
    Chrome: 112.0.5615.137
    Safari: 15.6.1
  npmPackages:
    @modern-js/builder-doc: workspace:* => 2.17.1
    @modern-js/doc-plugin-auto-sidebar: workspace:* => 2.17.1
    @modern-js/doc-tools: workspace:* => 2.17.1

Details
When I click a sidebar item, the configured sidebar_label will be overridden by the h1.
For example, the sidebar_label is terser, and the h1 is tools.terser. If I click the terser item, the text will become tools.terser.
---
sidebar_label: terser
---

# tools.terser

Reproduce link
https://github.com/web-infra-dev/modern.js
Reproduce Steps

clone the main branch of modern.js repo.
cd packages/document/main-doc/
pnpm run dev

Fixed in the latest version of @modern-js/doc-tools


First execution of groupby on Xarray with Flox takes a lot of time

Hi, I have been using Flox with Xarray for some experiments and it works nicely in multiple cases, but when I try to create some unit tests with small data the execution times take longer than expected, for example, the code that I'm going to sent takes 60s to run but this only happens the first time that I run it which I suppose can be related to some just-in-time compilation. Also, I have noticed that it is printing arrays multiple times (please see the screenshot that shows the place that contains a possible unexpected print on the code), which I suppose can be affecting the performance (and again this only happens the first time that I run it which is even more strange).
Note: If I uninstall Flox everything works faster, that's why I'm reporting it in this repo and not in Xarray
import xarray as xr
import time
import pandas as pd

dates = pd.to_datetime(
    [
        "2020-12-30",
        "2021-01-02",
        "2021-01-03",
        "2021-01-05",
        "2021-01-07",
        "2021-01-09",
        "2021-01-11",
    ]
)
new_data = xr.DataArray(
    [
        [10, 9.1, 8, 7, 6, 2, 1],
        [6, 5, 7, 7, 4, 2, 1],
        [2, 9, 4, 5, 3, 2, 1],
        [-10, 2, 7, 7, 9, 2, 1],
        [4, 7, 3, -5, 6, 2, 1],
        [10, 1, 2, 7, 3, 2, 1],
        [12, 4, 5, -1, 0, 2, 1],
    ],
    coords={
        "date": dates,
        "a": ["a", "b", "c", "d", "e", "f", "g"],
    },
).chunk({"date": 2, "a": 5})

start = time.time()
new_data.groupby("a").max("a").compute()
print(time.time() - start)

Arrays printed during the execution:

INSTALLED VERSIONS
commit: None
python: 3.11.7 | packaged by conda-forge | (main, Dec 23 2023, 14:43:09) [GCC 12.3.0]
python-bits: 64
OS: Linux
OS-release: 4.14.275-207.503.amzn2.x86_64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
LOCALE: ('en_US', 'UTF-8')
libhdf5: 1.14.3
libnetcdf: None
xarray: 2024.5.0
pandas: 2.2.1
numpy: 1.26.3
scipy: 1.11.4
netCDF4: None
pydap: None
h5netcdf: None
h5py: 3.10.0
zarr: 2.16.1
cftime: None
nc_time_axis: None
iris: None
bottleneck: 1.3.7
dask: 2024.5.1
distributed: 2024.5.1
matplotlib: 3.8.2
cartopy: None
seaborn: 0.13.1
numbagg: 0.8.1
fsspec: 2023.12.2
cupy: None
pint: None
sparse: 0.15.1
flox: 0.9.7
numpy_groupies: 0.10.2
setuptools: 69.0.3
pip: 23.3.2
conda: 23.11.0
pytest: 7.4.4
mypy: None
IPython: 8.20.0
sphinx: None

You have numbagg installed so this is some JIT overhead. Some background here: https://github.com/numbagg/numbagg/pull/220.
You can avoid this by setting engine="flox" or engine="numpy".
That print statement is in the benchmarking code so it shouldn't affect what your;re seeing
I did make the choice to not allow selectively disabling numbagg. Would you prefer this happen? Or would you prefer that at the moment flox should prioritize another approach (probably flox over numbagg)?

I have used Numbagg in other projects and regularly I see a first execution of only a couple of seconds, not a minute but probably Flox is using many functions of it and that would explain the time. Thanks for the clarification.
For me, as changing the engine (I did not know that the engine parameter existed, so thank you) avoids the overhead of JIT for the smaller cases that I use on my test then I think is fine to let the current behavior.

Flox is using many functions of it

No I believe it compiles for all combinations of dtypes at one go. @max-sixty has more context on why the groupby aggregation functions take a while to compile.
Your point about "small" datasets is interesting. Perhaps the automatic choice should be to use numbagg only for "big enough" problems for some definition of big enough.

On the print statement — yes apologies. FWIW that was only the most current version for ~36 hours IIRC. There now a check to ensure this can't happen again.

On the compilation time — this is a flamegraph of the total time for your excellent example — indeed it's basically all compilation; the execution time are the small slither at the very end of each block.
I get an execution time of 18 seconds, ~8s of compilation for each.

We do have benchmarks for these, but haven't had them running on each commit! I could run them nightly so we have proper measurements.

There are two changes from numba which will make a big difference:

Dynamic compilation for parallel functions — so the compilation won't need to be for every type; only the types that are requested https://github.com/numba/numba/pull/9377. This would be a big win across the board, cutting compilation times by 8x for the groupbys, which have lots of combinations of types (since they're multiplicative)
Cached compilation for parallel functions — so the compilation will happen once per machine, rather than once per session. This would basically eliminate this type of issue, where starting a new process in a loop requires repeatedly re-JIT-ing. https://github.com/numba/numba/issues/4807

Currently neither of these are compatible with parallel. The first is being worked on upstream but not sure when to expect it; we probably shouldn't plan around them.

Partitioning based on the size of the array may make sense. Ofc if you're doing computations over lots of small arrays, you probably want to pay the upfront cost, but it would still be a reasonable heuristic for spotting this sort of workload.


chore: turn off talisman for ephemeral environments in ci

SUMMARY
Talisman is throwing a lot of blocking script-src errors in the ephemeral testing environment for CI, and it's blocking login to the application in CI. I'm disabling Talisman since the CSP rules aren't needed there, unless for testing.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

/testenv up

/testenv up

/testenv up

/testenv up

/testenv up

/testenv up

/testenv up

@michael-s-molina we had talked about solving config issues for CSP so that we can keep it on in ephemerals. Since we've been blocked on using ephemerals for a bit now, I'm leaning towards merging this to turn off CSP and then coming back shortly afterward to test turning it back on since it could take longer to solve. WDYT?

@michael-s-molina we had talked about solving config issues for CSP so that we can keep it on in ephemerals. Since we've been blocked on using ephemerals for a bit now, I'm leaning towards merging this to turn off CSP and then coming back shortly afterward to test turning it back on since it could take longer to solve. WDYT?

Sounds good 👍🏼

@eschutho Could you rebase this PR to fix the Docker issue?


Correct wikidata ID for date of death property in SPARQL query

Hi @jgarciab:
I had the wrong ID for the "date of death" property in the SPARQL query. I have now fixed it. Can you please accept the pull request?
Thanks,
Modhurita

I am not sure why the Pylint checks are failing this time - I changed just one word/term.


Add raft-stereo model to prototype/models

Adding a prototype for depth stereo model, RAFT-Stereo.
Test the model class correctness (Last test success on 2022-06-16)
I have tested this implementation by loading the pretrained weight from original implementation https://github.com/princeton-vl/RAFT-Stereo and comparing the result of forward pass on both models (the original and this prototype torchvision model).
Here is the script that I used for the testing: https://gist.github.com/YosuaMichael/4b402f84ab6365eeac20c0dcd318f618
Note: Please change all that path and download the pretrained weight if you want to run the script.
And here are the command I use for the script and the result:
Verify standard model:
$ python verify_load_pretrained_weight.py --model_type=standard
[RESULT] Have exactly same result!
[RESULT] Ori run in 7.93092679977417 seconds
[RESULT] TV run in 7.159050941467285 seconds
[RESULT] Jit scripted TV run in 7.041914939880371 seconds
Verify fast model:
python verify_load_pretrained_weight.py --model_type=fast
[RESULT] Have exactly same result!
[RESULT] Ori run in 2.0508248805999756 seconds
[RESULT] TV run in 2.171617031097412 seconds
[RESULT] Jit scripted TV run in 2.335659980773926 seconds
From the result, both model have exactly same output and their running time are similar.
We also test that the model is indeed jit scriptable!

I have tested this implementation by loading the pretrained weight from original implementation https://github.com/princeton-vl/RAFT-Stereo and comparing the result of forward pass on both models (the original and this prototype torchvision model).
Here is the script that I used for the testing: https://gist.github.com/YosuaMichael/4b402f84ab6365eeac20c0dcd318f618
And here are the command I use for the script and the result:
Verify standard model:
$ python verify_load_pretrained_weight.py --model_type=standard
[RESULT] Have exactly same result!
[RESULT] Ori run in 6.985464096069336 seconds
[RESULT] TV run in 6.933291912078857 seconds

Verify fast model:
python verify_load_pretrained_weight.py --model_type=fast
[RESULT] Have exactly same result!
[RESULT] Ori run in 2.0360748767852783 seconds
[RESULT] TV run in 2.169339895248413 seconds

From the result, both model have exactly same output and their running time are similar.

@datumbox  I have updated this PR and it should be kinda ready-ish to be reviewed if you have free time please help me to review this. I have tested this model class and it seems to agree with the original implementation (see https://github.com/pytorch/vision/pull/6107#issuecomment-1150908902).
One question that I have in mind now is about the helper functions. Do you think I should create a separate file _utils.py to put the helper functions?

The failing test doesn't seems related, will merge.


Issue with visuals.

No matter what image I select, all I see are black spaces, in the 2 image slots and in the vjlxnr window.

Did you drop a folder with PNG files onto the drop file zone of the device?

I did. I even tried your sample images in the "media" folder. I am running Live on XP, but I hardly ever run into problems.

I can select "img x" in the dropdown menus, but the squares remain black.

Which Version of Live and Max/Max4Live are you running?
I built it with live 9.5 and Max 7.1 (on a Mac) …

Live 9.1 and Max 6.1. I will try to update some stuff and see if anything changes. I hope I get it to work, it looks badass.

OK - this could be a problem, if you're on max 6.1 - I don't know if the max project is backwards-combatible - hm …

One more question:
Do you see the filename of the choosen image below the preview area, or do you just see a '-'?

Yes i see the filename and it does change with other selections. Unfortunately Max 7.1 isn't supported on Windows XP so I wont know if this is just a backwards compatibility problem.

I think I'm just going to have to accept that Im using some obsolete technology here. It's the computer I use for recording my music, so I was hoping I could slap this on to the master channel and see what happens. Guess Im gonna have to try to update my OS if I want to do it on that one.

I'm sorry this is not working for you - I'm discussing this issue on several places at the moment. If we find a solution, I will post it here …

… just tested with Max 6.1 - it is definitively not working …

I'm having the same problem listed by starsmoke - Im running live 9.5 and max7 on and win 7 pro pc...

Meanwhile we figured out that:

Possibly Versions below Live 9.5 / Max 7.1 will not work
Should be running on 64 bit
At least 8 GB of RAM are recommended

To find out the minmal system requirements, please include your hardware (and software) specs in your posts (Live/Max versions; OS; RAM; 32/64 bit; etc).
Succes seems to strongly depend on your media data and your choosen (image) resolution as all media data has to be kept in RAM!

PsynapsDiskord - Oh no... try to update to Max7.1 and try it (assuming you mean you have 7.0)... That will tell me if changing from XP to Win7 will help at all.

Success! Updated from Max 7.0.6 to 7.1 and it works!

Great, I'm glad it works for you!
@PsynapsDiskord , @starsmoke thanks a lot for your support by reporting …

OK, I updated 'system requirements' in README.


Add protocol format documentation

Adds markdown documentation for how data is formatted.
docs/README.md - overview of all documentation
docs/protocol.md - protocol documentation

Man, you literally did more to this library than I did.


Number of hidden nodes is greater than 0

Greeting developers,
When assigning in the configuration file (test-autoencoder-novelty.cfg) num_hidden > 0

the following error is displayed:
Traceback (most recent call last):
File "C:\Users\user1\PycharmProjects\autoencoders-neat\neat\genome.py", line 716, in configure_new
node_key = config.get_new_node_key(self.nodes)
AttributeError: 'AutoencoderGenome' object has no attribute 'nodes'
When looking into code, we can clearly see that self.nodes is used, even though there is no declaration of it.

Am I missing something in a configuration file or this feature was not fully developed? I would like that autoencoders-neat would be able to build NNs with hidden layers as well.

Hi @SasoPavlic -- sorry for this issue. This code is definitely a bit hacky and I probably never tested the case where num_hidden > 0. I haven't looked at this in a while, but I think what's passed into get_new_node_key needs to be a combination of the self.encoder.nodes and self.decoder.nodes dicts. See get_new_node_key for reference: https://github.com/palmettos/autoencoders-neat/blob/f2cc0ae8bd5cc33cc9b1444e610b82e978761141/neat/genome.py#L114-L122
If you feel up to fixing this, I'd be happy to accept a pull request for it. Otherwise, I'll try to get around to it soon.
Out of curiosity, what are you using the code for? I honestly didn't expect anyone to be interested in it. 😅

Hi @palmettos. To begin, I'd want to express my admiration for your implementation. Designing autoencoders topology using NEAT in such an elegant manner.
I'm also surprised that you responded so quickly 😅. Thank you for your feedback, it gave me an idea of what I need to implement. Yes, I will try to fix the bug and trigger the pull request once I am done (perhaps by the end of this week).
To address your question, I believe this is the power of open-source programming 😄. I got recently (this year) interested in algorithms capable of designing NNs by using nature-inspired techniques (evolution, swarm intelligence, ...).
If you don't mind I would like to ask you for a personal/work contact, where I can describe to you what I want to achieve with your code (no further action needed from your side, just my proposal to let know the author of the code).
My e-mail<EMAIL_ADDRESS>

Thanks! I tried to make the interface as simple as possible. Ideally I would like to decouple this from neat-python entirely and let it be just an extension where I only import neat-python. Unfortunately the author no longer maintains the original library and implementing this required some modifications to the library itself (at least on my first pass -- it might be possible to avoid doing that, but I think it would be more work). I sent you an email, feel free to reach out. I like talking about this stuff.


2083 Generating field names as string constants

#2083

Keep in mind not all column names are lower camelcase'd.
Also, there are times where column name and Java identifier rules differ.
Java identifiers cannot start with a number, or contain spaces.

Fixed considering Java identifiers naming.
I'm assuming that if field name is not in lower Camel case, then it will be translated as upper case, which is also suitable for this case.

@timowest @Shredder121 @ykrasnouski could you review?

^^


Add See More button to home page

What does this PR do and why?
Provide a description of what this PR does. Link to any relevant GitHub issues, Notion tasks or Discord discussions.
Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the changes.
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] I have tested this PR in all supported browsers.
[ ] I have tested this PR in dark mode and light mode (if applicable).

Current dependencies on/for this PR:

main

PR #1343   👈

This comment was auto-generated by Graphite.


Incorrect STM32L4P5xx and STM32L4Q5xx RNG Initialisation in Low Level API

In a post here https://community.st.com/t5/stm32-mcus-security/why-am-i-getting-an-rng-failure-on-the-stm32l4p5/m-p/203250. It was recognised that the HAL was initialising the RNG peripheral incorrectly.
The HAL function HAL_RNG_Init seems to have been corrected to set the correct CONFIG[1,2,3] and HTCR.
However the LL version of this function doesn't include any of this, so the CONFIG[1,2,3] and HTCR will all contain the wrong values when using this function.
https://github.com/STMicroelectronics/stm32l4xx_hal_driver/blob/eb4b2d2abad64c85000fb883a9fb86ab9fa07a91/Src/stm32l4xx_ll_rng.c#L118-L135
Could this function be updated to set the correct values, as described in Table 225. RNG configurations
of RM0432?

Another suggestion, it would be useful if LL_RNG_SetHealthconfiguration was modified to write the magic bytes 0x17590ABC to unlock the HTCR register before writing the input HTCFG
https://github.com/STMicroelectronics/stm32l4xx_hal_driver/blob/eb4b2d2abad64c85000fb883a9fb86ab9fa07a91/Inc/stm32l4xx_ll_rng.h#L661-L664
Currently this function will have no effect if the user just calls it with the value they want in the HTCR e.g.
LL_RNG_SetHealthconfiguration(0x00007274);

Hello @badcf00d,
Thank you for your contribution. Your report will be forwarded to our development team for analysis.
We will get back to you as soon as we have an answer.
As a first answer, it's Cleary mentioned in Reference manual to unlock the HCR register before reading or writing in the register in this case you can call the function LL_RNG_SetHealthconfiguration two times firstly write the magic bytes 0x17590ABC to unlock the HTCR register and then you can read or write this register.
Thanks in advance for your patience and understanding.
With Regards,

Hello @badcf00d,
Thank you for your contribution. Your report will be forwarded to our development team for analysis.
We will get back to you as soon as we have an answer.
As a first answer, it's Cleary mentioned in Reference manual to unlock the HCR register before reading or writing in the register in this case you can call the function LL_RNG_SetHealthconfiguration two times firstly write the magic bytes 0x17590ABC to unlock the HTCR register and then you can read or write this register.
Thanks in advance for your patience and understanding.
With Regards,

ST Internal Reference: 173093


Ogres should not choose a new target unless there is at least one enemy minion present

How is this a problem? The current code should work fine, since ChangeTarget does nothing unless there are any alternative targets.
def act(self, actor, target):
    possible_targets = [t for t in self.selector.choose_targets(target, target.current_target)]
    if len(possible_targets) > 0:
        target.current_target = possible_targets[0]

It matters in the case of misdirection.  In HS, if there are no minions and misdirection fires, the ogre will always hit its own hero.  In Hearthbreaker, ChangeTarget will fire because its current target is its own hero, so it will choose the enemy hero.
Also, in case there's ever a minion which does something whenever an effect is triggered, I'd like to have it match up.

What would happen if the enemy hero is immune and there is just one minion? Should the effect still trigger on the Ogre?

I would guess that the effect could trigger.  I'm going to try to test this in the next little while.
Also, if you're interested, we have an ongoing conversation about weird edge cases and such in the #hearthsim irc channel on freenode.net.

Just tested it, the ogre effect goes off even if the hero is immune


Use Buffer.MemoryCopy when available

MemoryCopy has improved a lot (and is faster than BlockCopy) https://github.com/dotnet/coreclr/pull/6627
And is undergoing further improvements https://github.com/dotnet/coreclr/pull/6638

Have you checked the benchmarks I did for .NET 4.6 RyuJIT 64-bit, not sure MemoryCopy is the best approach yet ;)

Well its currently using BlockCopy so MemoryCopy is currently better :smile:
And it looks like it will improve

Updated https://github.com/aspnet/KestrelHttpServer/issues/1002 with further failure info

I'd hold on this - movement in coreclr on BlockCopy https://github.com/dotnet/coreclr/pull/7198

@benaadams Any updates on this? https://github.com/dotnet/coreclr/pull/7198 was merged almost a month ago.

@cesarbs that change is in post 1.1.0 😞
Could take this now and add issue to remeasure post 1.1.0?

@benaadams Since this missed the 1.1 train and dotnet/coreclr#7198 is merged, should we close this?

Yeah, think so - landscape has changed. Might be worth a revalidation at some point; but don't think its worth keeping this PR open


Permission Denied

I just compiled and ran on Linux Mint. Some writes to file system return "Permission Denied". Here are some working, and not working, commands:
$ sudo ./pingfs pinghosts.txt /media/dennis (Working)
$ sudo touch /media/dennis/newfile (Working)
$ sudo ls /media/dennis (Working)
newfile
$ sudo echo Hello > /media/dennis/hello.txt (Not Working)
bash: /media/dennis/hello.txt: Permission denied
Thanks in advance.

I think sudo only applies to the "echo Hello" part, not the redirect.
Try again with as root.


Update kube-deployment.yml

I'm curious about the usefulness of this PR. @kubilayceylan - can you provide some context as to why you're making this request? And I know it's been a while since you opened this.
The native k8s approach to persist data is through PVCs. Changing that to a hostPath volume 1) assumes you have access to write/use /data and 2) either removes the ability for the pod to be scheduled on another node or makes the assumption that /data is a network mount shared by all nodes that can run the deployment. I don't think either are good assumptions to make (which is why PVCs became a thing).

I'm curious about the usefulness of this PR. @kubilayceylan - can you provide some context as to why you're making this request? And I know it's been a while since you opened this.
The native k8s approach to persist data is through PVCs. Changing that to a hostPath volume 1) assumes you have access to write/use /data and 2) either removes the ability for the pod to be scheduled on another node or makes the assumption that /data is a network mount shared by all nodes that can run the deployment. I don't think either are good assumptions to make (which is why PVCs became a thing).


Personal Circumstances: Map, Rationalise, and Destroy

related to

[ ] #10
[ ] #4

steps

[x] Collect all s.data
[ ] Map to new format
[x] Close down forms and inputs
[ ] Archive collation
[ ] Destroy duplicates

I've sourced and backed up everything I've been able to find. What is needed for the next steps?

Now it's mapping

Isn't this done? Or at least ongoing?

The mapping has to be done, manually -- all 1000 entries need to be assigned to the new system

@ClaireBickley should this ticket be handed over to you?

I can take this, but will need a bit of an explainer on the steps.

Book a call, @ClaireBickley ?


Open Failed

Hello,
I have download the code and vscode insiders and Remote Development extension but it showed failed Please help me check it , thanks

You have not shared the workspace folder as the error message tells you. Please follow the setup steps https://code.visualstudio.com/docs/remote/containers#_installation

I have tried to open share with my Drive E where my workplace in, and finally found I also need to set share my C Drive.
may help the others whom has the same issue.

// @Chuxel @chrmarti isn't sharing the folder with the workspace sufficient?

We also mount .gitconfig. The error message needs some improvement. Reopening for addressing that.


Jwt payload return only ROLE_USER

Hi,
When i refresh the jwt token the payload return only  "ROLE_USER" instead "ROLE_ADMIN"

I fixed this by setting the user provider https://github.com/gesdinet/JWTRefreshTokenBundle/blob/master/README.md#config-userprovider.
It creates a "basic" token with the username and ROLE_USER otherwise https://github.com/gesdinet/JWTRefreshTokenBundle/blob/master/Security/Provider/RefreshTokenProvider.php#L62