PR for management of Systems/Keys API welcome?

Hi folks
As you probably know, whenever a new SAP system is set up or the underlying VM is recreated, one has to access the launchpad on https://me.sap.com/licensekey, register the new system (or update an existing one) and generate a new license file.
Since we are moving to the cloud, where VMs might be changing more often than traditionally, we'd like to automate the following tasks:

List/Create/Update/Delete of Systems in the Launchpad
List/Create/Update/Delete of License Keys in the Launchpad

Would you accept a PR that extends this module with the functionality above?
I quickly checked what API is used for managing Systems/License Keys and it appears to be a quite nice ODATA API on https://launchpad.support.sap.com/services/odata/i7p/odata/bkey, which should be rather easy to write a client for.
This API is also protected by the same authorization methods (cookies etc.) as the other APIs compatible in this Ansible Collection, so I thought the new API would fit nicely in your already existing Ansible Modules; I could reuse your foundation and just add a new module that talks to an additional API.
I am not sure how stable the i7p API above is and whether it would break in the future, but I think you have the similar issue with the currently compatible APIs (software download etc.) anyway.
What do you think?

Hi @MatthiasWinzeler
Your suggestion is possible, and would be an Ansible Module in itself that re-uses the underlying Python Modules; as you rightly state. See the Development document for the code structure.
Please keep in mind, the Ansible Module should retrieve the data but not run any commands on the target system; a higher-level Ansible Role would be responsible for executing the Ansible Module and then running other Ansible Tasks for CLI commands or API calls to apply the license to a target system.
You'll need to interpret the metadata, for example the main endpoint and probably these endpoints related to your use case:
https://api.sap.com/odata/1.0/catalog.svc/$metadata
https://launchpad.support.sap.com/services/odata/svt/systemdatasrv/$metadata
https://launchpad.support.sap.com/services/odata/installationmanagementsrv/$metadata
https://launchpad.support.sap.com/services/odata/bkey/$metadata

Due to conflict of interest, I would be unable to review any PR. Other SLL-OSI project maintainers will be able to review and approve a PR, so long as it follows the correct procedure for checking User permissions for the SAP Customer Number (SCN), handling Installation Numbers and the Licences therein.

Hi @sean-freeman - thanks for getting back to me!

Please keep in mind, the Ansible Module should retrieve the data but not run any commands on the target system; a higher-level Ansible Role would be responsible for executing the Ansible Module and then running other Ansible Tasks for CLI commands or API calls to apply the license to a target system.

Agree. The module would only interact with the SAP Launchpad API to register the system, create and download the license keys. The installation of the license key is out of scope, but if ok for you, I'd like to add those commands (should be some one liner i.e. saplikey -install or the HDB equivalent) to the example section, since that's what users usually would want to do anyway.

You'll need to interpret the metadata ...

Thanks for the links - I went through those and I can see some references of Systems, Installations etc. in those links.
However, I saw that the SAP UI mainly interacts with another API, which is https://launchpad.support.sap.com/services/odata/i7p/odata/bkey - I am not sure whether the other ones are still in use, so I would just use the i7p one to be as closely aligned to the UI as possible.
I realized that while the API surfaces Systems and License Keys as separate entities, the UI only allows to create those two entities together. I.e. you prefill the System Data, but it's only persisted once you create a License Key for it. The same goes for updates.
Thus, to closely model the UI flow, I'd propose to come up with the following task:

  tasks:
    - name: Create license file from me.sap.com
      community.sap_launchpad.license_key:
        suser_id: "{{ suser_id }}"
        suser_password: "{{ suser_password }}"
        installation_id: 123456789 # this would be manually looked up by the user. I think it's ok to not support creation of installation, since that's usually a company-wide one-time task.
        system:
          id: B01 # free text field
          name: Test-System # free text field
          type: Development system # one of the supported system types per SAP API
          database: SAP HANA database # one of the supported database types per SAP API
          operating_system: Linux # one of the supported OS per SAP API
          infrastructure: Public - Microsoft Azure # one of the supported infrastructure per SAP API
          product: SAP S4/HANA # one of the supported products per SAP API
          version: SAP S4/HANA 2022 # one of the supported product's versions per SAP API
        licenses:
          - type: Standard - Web Application Server ABAP or ABAP+JAVA # one of the supported license types per SAP API
            hardware_key: B1234567890 # free text field
          - type: Maintenance Entitlement
            hardware_key: B1234567890
        delete_other_licenses: true # optional field to delete older licenses of this system if new ones are added

      register: license_key
      # license_key would contain the license keys in raw format, plus some other handy information (i.e. the created system number etc.)

This task would be used for creation as well as update, i.e. if the system already exists, it's updated in an idempotent way.
Deletion of Systems and Keys would be supported as well with state: absent.
In order to decide whether a given SID already exists, I would suggest to check if a certain SID for that Product Version already exists (lots of customers reuse SIDs for S4HANA and SAP HANA DB, so they have multiple systems with the same SID).
This interaction would be backed by interactions with I7P - I did a small test with curl and it seems to create the systems and keys fine.

Due to conflict of interest, I would be unable to review any PR. Other SLL-OSI project maintainers will be able to review and approve a PR, so long as it follows the correct procedure for checking User permissions for the SAP Customer Number (SCN), handling Installation Numbers and the Licences therein.

That sounds good. I am not sure what SLL-OSI is, but I understand that there that there is actually someone who could eventually review the PR?
Also, if you have any further information regarding the correct procedure you mention, I'd be very glad.

@kksat Please do not link or discuss disparate and unrelated code repositories that are vendor-specific / outside of the SAP LinuxLab Open-Source Initiative (SLL-OSI). This confuses end users, it is only permitted for referring to features which are added by a vendor that have not been PR'd/integrated into the upstream; your code base is completely unrelated.
Please speak with your governance representative regarding the agreed by all parties SLL-OSI code release strategy (i.e. upstream (github.com/sap-linuxlab)  >  midstream (github.com/vendor)  >  downstream (vendor product)).
I am reporting this comment to the SLL-OSI Governance Board.

@MatthiasWinzeler As suggested before, you will need to investigate each OData Metadata XML file to identify the different action paths. In the examples I provided, you should be able to identify the paths you need.
For example as suggested above:
https://launchpad.support.sap.com/services + /odata/bkey/$metadata
The i7p is a prefix seemingly used for authentication paths, and therefore the below provides an identical metadata file:
https://launchpad.support.sap.com/services + /odata/i7p + /odata/bkey/$metadata
Using any metadata XML (keeping with your example), it is possible to read the <edmx:DataServices><Schema><EntityType> to see the API endpoints and expected parameters for each endpoint, such as:
/odata/bkey/$metadata
-- Installations
-- Customers
-- Products
-- Systems
-- LicenseKeys
-- etc etc

I cannot discuss further, nor can I describe the correct procedure. This is due to conflict of interest. I wish you the best in codifying this for the open-source community.
The SAP LinuxLab Open-Source Initiative (SLL-OSI) project maintainers will be able to review your PR.

closing as it will be merged with https://github.com/sap-linuxlab/community.sap_launchpad/pull/17


Add support for max-old-space-size

With this PR, the launcher can be started with --max-old-space-size=512 and it will pass that through to the node.js process is spawns for Node-RED.
This is a piece of the Stacks work - allowing a stack to limit the memory usage of an instance. Whilst max-old-space-size doesn't provide a hard limit, it is important to set it when there is a hard limit (such as in a container).
There will be separate PRs for the drivers to pass this value in based on the stack definition being used.
For localfs it will be the stack defined value. For the others, it will be ~75% of the stack defined value so that node will kick in with its gc before hitting 100%.

Does the NR instance want to have the same memory footprint as the launcher? The launcher should need a lot less. So would the size of the NR heap be better passed in from the settings http request and only applied to the NR instance. The Launcher can have a hard set smaller limit.

You are right - its runtime configuration so should come via settings.
Will make it so.

@hardillb updated to grab it from settings.


RLN Constructor changes

Vkey shouldn't be required
Semaphore ID - Maybe this SHOULD be required? and we can give a method using RLN to generate one?
RLN AppID should also be required

Vkey shouldn't be required

Is it because it's only required when verifying a proof, i.e. a proving-only instance doesn't need a verification key?

Semaphore ID - Maybe this SHOULD be required? and we can give a method using RLN to generate one?

Do you mean the Identity object? If so, I think it's required, and I wonder if it would make sense to change it from string to Identity because we don't need further identity.toString() if we want to use an existing Identity.


Scheduled jobs / runbook are not running

I am using Start/ Stop VM version 2, I am creating this case based on following link
https://docs.microsoft.com/en-us/azure/azure-functions/start-stop-vms/overview
Question: Are you using the Start Stop Solution, or a custom script?
Answer: I am using the Start-Stop VM Solution
Question: When did the problem begin?
Answer: Thu, Sep 2, 2021, 12:00 AM EDT
Question: Details
Answer: Starting from 2nd September Scheduled job / runbook is not working to start the VM, we are performing manual start. You can find last sucessfull job details below.
ScheduledStartStop_Child
9/2/2021, 9:30:54 PM
Completed
Azure
9/2/2021, 9:33:03 PM
ScheduledStartStop_Parent

@Rafimd786 - Is this problem related to V1 or V2? If it is V1 then please raise azure support ticket in the portal. If it is related to V2 then please do share the error details?
V1 - Based on Azure Automation Account/Runbooks
V2 - Based on Azure Function Apps

++ Johar from Azure support
Hi Team,
Given problem is for V2. I have already created Azure support ticket and they only suggested me to create ticket with GitHub support team.
Regarding the issue, there was no specific error which I am aware about but Azure VM start or stop Scheduled job / runbook was working fine till 2nd September. Suddenly it stopped working. Need your help to restart the job / runbook.
@.***
Thanks,
Rafi
From: balas77 @.>
Sent: Monday, September 20, 2021 6:40 PM
To: microsoft/startstopv2-deployments @.>
Cc: Rafi Mohammad @.>; Mention @.>
Subject: Re: [microsoft/startstopv2-deployments] Scheduled jobs / runbook are not running (#23)
External Email
@Rafimd786https://github.com/Rafimd786 - Is this problem related to V1 or V2? If it is V1 then please raise azure support ticket in the portal. If it is related to V2 then please do share the error details?
V1 - Based on Azure Automation Account/Runbooks
V2 - Based on Azure Function Apps
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/startstopv2-deployments/issues/23#issuecomment-923406527, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVVGIDW25UKGNVAS4G5ZYDDUC6Z45ANCNFSM5EFEHXQA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Here is the documentation for Start Stop V1: https://docs.microsoft.com/en-us/azure/automation/automation-solution-vm-management

@Rafimd786 - Please let me know if you're still looking for help regarding our V2 solution.

Hi Team,
We have resolved the issue, please go ahead and close the case.
Thanks,
Rafi
From: balas77 @.>
Sent: Friday, September 24, 2021 2:45 AM
To: microsoft/startstopv2-deployments @.>
Cc: Rafi Mohammad @.>; Mention @.>
Subject: Re: [microsoft/startstopv2-deployments] Scheduled jobs / runbook are not running (#23)
External Email
@Rafimd786https://github.com/Rafimd786 - Please let me know if you're still looking for help regarding our V2 solution.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/startstopv2-deployments/issues/23#issuecomment-926386147, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVVGIDRP2FY6CDJ6UMAYNGTUDQM5JANCNFSM5EFEHXQA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Closing this since it's working fine now.


nixos-rebuild build-vm-with-bootloader size + hang regression

Describe the bug
nixos-rebuild build-vm-with-bootloader regressed in nixos-23.05 (compared to nixos-22.11) in that it now creates a disk image containing the full system closure, whereas before it used the host Nix store (at least for /nix/store, there was a small separate disk image for the bootloader).
The result is that big system closures now requires equally big /tmp for building the VM. And if your closure size is >= 64 GiB, then the build hangs and cannot even be built: https://github.com/lkl/linux/issues/466
Steps To Reproduce
Run nix-build ./the-file-below.nix in a nixpkgs tree checked out at nixos-23.05 (e.g. bb8b5735d6f7e06b9ddd27de115b0600c1ffbdb4):
# Reproducer for NixOS VM using *a lot* more space at build time in 23.05 than
# 22.11. Also observe hanging when the closure size is >= 64 GiB, due to
# https://github.com/lkl/linux/issues/466.
#
# The issue appears when nixpkgs decides to build a disk image for the VM,
# containing everyhing. In nixos-22.11 it didn't need to do that, instead it
# used everything from the host Nix store, except a small boot disk for the
# bootloader.
#
# If it starts building "nixos-boot-disk", thats good/fine, but building
# "nixos-disk-image" is bad.

{ nixpkgs ? ./. }:

let
  nixosFunc = import (nixpkgs + "/nixos/default.nix");

  mkClosureSizeGiB =  sizeGiB: id: pkgs:
    pkgs.runCommand "closure-size-${toString sizeGiB}-GiB-id-${toString id}"
    { nativeBuildInputs = with pkgs; [ util-linux ]; }
    ''
      mkdir -p "$out"
      fallocate -l "${toString sizeGiB}"GiB "$out/bigfile"
    '';

  # Closures above 64 GiB hang: https://github.com/lkl/linux/issues/466
  vmClosureSizeGiB = 66;

  configuration = { config, lib, pkgs, ... }:
  {
    environment.systemPackages =
      builtins.map (id: mkClosureSizeGiB 1 id pkgs) (lib.range 1 vmClosureSizeGiB);
  };
in
  (nixosFunc { inherit configuration; }).vmWithBootLoader

Beware that it creates 66 GiB of files in the Nix store, and then 66 GiB extra in /tmp at build time.
Expected behavior
I expect the vm-with-bootloader configuration to use the host Nix store for everything but the bootloader partition (which is typically much smaller than the closure size), like it did in NixOS 22.11.
Additional context
I ran git bisect and found:
  There are only 'skip'ped commits left to test.
  The first bad commit could be any of:
  58f4c3944db804bd28d35ceb4687961683052a91
  76c7b656bfa9b20a4172f7901285560db4c2c695
  e3a41f3fec8ddfc9e20df2e10f49c464525defa3
  614b83a3285ca44650473e73f9777d7c41fe88a1
  We cannot bisect more!

Of them, I think 76c7b656bfa9b20a4172f7901285560db4c2c695 ("nixos/qemu-vm: refactor bootDisk generation using make-disk-image") looks the most relevant. CC @RaitoBezarius.
Additional observations:

The description of virtualisation.useNixStoreImage indicates that the default setting is to use the host Nix store through 9p, precisely due to the build time size requirement of creating a disk image. But still the image is made.
virtualisation.mountHostNixStore seems to be set to false in the useBootLoader case, but even if that option is set to true it looks like the Nix code still creates the disk image.
Due to some non-reproducible packages in nixpkgs, building the disk image of a closure is error prone (compared to sharing host Nix store): https://discourse.nixos.org/t/error-hash-mismatch-importing-path/26353/4

Notify maintainers
(No maintainers found for nixos/modules/virtualisation/qemu-vm.nix.)

You're definitely right about this, it's an annoying one, an hope for this is https://github.com/NixOS/nixpkgs/pull/227883 and enable it for build-vm-with-bootloader.
But there is a correctness issue into testing by reusing the host Nix store rather than building your own one and LKL is definitely also a second problem in the whole thing.
Anyway, this is on my radar, but it will probably take some time to get it properly sorted out for all cases.

[...] and LKL is definitely also a second problem in the whole thing.

At least for ext4 we can use mkfs.ext4 -d ./root-directory [...] instead of lkl/cptofs: https://github.com/NixOS/nixpkgs/blob/master/nixos/lib/make-ext4-fs.nix.
(I guess ideally there would be only one "make disk image/fs" implementation, but apparently we already have multiple ones in nixos/lib/make-*.nix.)

[...] and LKL is definitely also a second problem in the whole thing.

At least for ext4 we can use mkfs.ext4 -d ./root-directory [...] instead of lkl/cptofs: master/nixos/lib/make-ext4-fs.nix.
(I guess ideally there would be only one "make disk image/fs" implementation, but apparently we already have multiple ones in nixos/lib/make-*.nix.)

For disk images for VM, we are only using make-disk-image.nix, we could special case for each fsType a specific way to build partitions, but keep in mind that we need at least a way to build FAT32 and ext4 offline.

Whenever I try to use build-vm-with-bootloader, with nothing but KDE Plasma 5 or KDE Plasma 6 enabled, I get an error saying cptofs failed. diskSize might be too small for closure. despite the fact that make-disk-image is invoked with diskSize set to auto:
https://github.com/NixOS/nixpkgs/blob/4cba8b53da471aea2ab2b0c1f30a81e7c451f4b6/nixos/modules/virtualisation/qemu-vm.nix#L296
This could be reproduced using my config:
https://git.nuth.ch/manuth/NixOSConfig/src/commit/774571ff2952a02760caa49853e5eeaedab9e900 (commit 774571ff2952a02760caa49853e5eeaedab9e900)
Take note, that nixos-rebuild build-vm works while nixos-rebuild build-vm-with-bootloader does not.
Is that, by chance, related to this issue?


Connected LED (TZ-843)

Question
I want an indication led, that indicates when a Zigbee node is connected with coordinator. Led must off by a restart and on by a connection.
Were in the code can I call the led function?
Additional context.
No response

If you use led's functions provided by esp-zigbee-sdk in light_driver.c, the way you can do this is by initializing the LED in the beggining of app_main()
void app_main(void)
{
    esp_zb_platform_config_t config = {
        .radio_config = ESP_ZB_DEFAULT_RADIO_CONFIG(),
        .host_config = ESP_ZB_DEFAULT_HOST_CONFIG(),
    };
    light_driver_init(0);
    ESP_ERROR_CHECK(nvs_flash_init());
    ESP_ERROR_CHECK(esp_zb_platform_config(&config));
    switch_driver_init(button_func_pair, PAIR_SIZE(button_func_pair), esp_zb_buttons_handler);
    xTaskCreate(esp_zb_task, "Zigbee_main", 4096, NULL, 5, NULL);
    xTaskCreate(temp_transmit, "temp_transmit_main", 4096, NULL, 4, NULL);
}

Then use light_driver_set_color_RGB() in the esp_zb_app_signal_handler() to change led color and intensity. For example if you want to know when the device is connected or disconnected you can put the functions here.
    case ESP_ZB_BDB_SIGNAL_STEERING:
        if (err_status != ESP_OK) {
            connected = false;
            ESP_LOGW(TAG, "Stack %s failure with %s status, steering",esp_zb_zdo_signal_to_string(sig_type), esp_err_to_name(err_status));
            esp_zb_scheduler_alarm((esp_zb_callback_t)bdb_start_top_level_commissioning_cb, ESP_ZB_BDB_MODE_NETWORK_STEERING, 1000);
            light_driver_set_color_RGB( 1, 0 0);
        } else {
            /* device auto start successfully and on a formed network */
            connected = true;
            esp_zb_ieee_addr_t extended_pan_id;
            esp_zb_get_extended_pan_id(extended_pan_id);
            ESP_LOGI(TAG, "Joined network successfully (Extended PAN ID: %02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x, PAN ID: 0x%04hx, Channel:%d, Short Address: 0x%04hx)",
                    extended_pan_id[7], extended_pan_id[6], extended_pan_id[5], extended_pan_id[4],
                    extended_pan_id[3], extended_pan_id[2], extended_pan_id[1], extended_pan_id[0],
                    esp_zb_get_pan_id(), esp_zb_get_current_channel(), esp_zb_get_short_address());
            light_driver_set_color_RGB( 0, 1, 0);
        }
        break;

I'm not Espressif's employee, so there is maybe a better way to do this

Hello,
I tested it, the led goes on for one time, only by a factory new.
case ESP_ZB_BDB_SIGNAL_STEERING:
    if (err_status == ESP_OK)
    {
        set_connected_led(true);

        esp_zb_ieee_addr_t extended_pan_id;
        esp_zb_get_extended_pan_id(extended_pan_id);
        esp_zb_ieee_addr_t Macaddr;
        esp_zb_get_long_address(Macaddr);
        ESP_LOGI(TAG, "----------------------------------------------------------------------------");
        ESP_LOGI(TAG, "LZB node joined network successfully (Extended PAN ID: %02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x, PAN ID: 0x%04hx, Channel:%d)",
                 extended_pan_id[7], extended_pan_id[6], extended_pan_id[5], extended_pan_id[4],
                 extended_pan_id[3], extended_pan_id[2], extended_pan_id[1], extended_pan_id[0],
                 esp_zb_get_pan_id(), esp_zb_get_current_channel());

        ----------------------------------------------------------------");

        // Connected, bind
        bind_to_coordinator();
    }
    else
    {
        set_connected_led(false);
        ESP_LOGI(TAG, "Network steering was not successful (status: %s)", esp_err_to_name(err_status));
        esp_zb_scheduler_alarm((esp_zb_callback_t)bdb_start_top_level_commissioning_cb, ESP_ZB_BDB_MODE_NETWORK_STEERING, 1000);
    }
    break;

@BaWe155 ，
The ESP-Zigbee-SDK examples use the ESP_LOGI(TAG, "Device started up in %s factory-reset mode", esp_zb_bdb_is_factory_new() ? "" : "non"); statement to inform the user about the device state. Does this meet your requirements?

@xieqinan
When a Zigbee node is connected with coordinator a LED must on and of by a restart or no connection must the LED off
I believe the ESP_ZB_BDB_SIGNAL_STEERING case is not the right place.

@BaWe155

I believe the ESP_ZB_BDB_SIGNAL_STEERING case is not the right place.

Yes, but I think the below code can meet your requirement.
void esp_zb_app_signal_handler(esp_zb_app_signal_t *signal_struct)
{
    uint32_t *p_sg_p = signal_struct->p_app_signal;
    esp_err_t err_status = signal_struct->esp_err_status;
    esp_zb_app_signal_type_t sig_type = *p_sg_p;
    switch (sig_type) {
    case ESP_ZB_ZDO_SIGNAL_SKIP_STARTUP:
        light_driver_init(0);
        ESP_LOGI(TAG, "Initialize Zigbee stack");
        esp_zb_bdb_start_top_level_commissioning(ESP_ZB_BDB_MODE_INITIALIZATION);
        break;
    case ESP_ZB_BDB_SIGNAL_DEVICE_FIRST_START:
    case ESP_ZB_BDB_SIGNAL_DEVICE_REBOOT:
        if (err_status == ESP_OK) {
            ESP_LOGI(TAG, "Deferred driver initialization %s", deferred_driver_init() ? "failed" : "successful");
            ESP_LOGI(TAG, "Device started up in %s factory-reset mode", esp_zb_bdb_is_factory_new() ? "" : "non");
            if (esp_zb_bdb_is_factory_new()) {
                ESP_LOGI(TAG, "Start network steering");
                light_driver_init(0);
                esp_zb_bdb_start_top_level_commissioning(ESP_ZB_BDB_MODE_NETWORK_STEERING);
            } else {
                light_driver_init(1);
                ESP_LOGI(TAG, "Device rebooted");
            }
        } else {
            light_driver_init(0);
            ESP_LOGW(TAG, "Failed to initialize Zigbee stack (status: %s)", esp_err_to_name(err_status));
        }
        break;
    case ESP_ZB_BDB_SIGNAL_STEERING:
        if (err_status == ESP_OK) {
            esp_zb_ieee_addr_t extended_pan_id;
            esp_zb_get_extended_pan_id(extended_pan_id);
            ESP_LOGI(TAG, "Joined network successfully (Extended PAN ID: %02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x, PAN ID: 0x%04hx, Channel:%d, Short Address: 0x%04hx)",
                     extended_pan_id[7], extended_pan_id[6], extended_pan_id[5], extended_pan_id[4],
                     extended_pan_id[3], extended_pan_id[2], extended_pan_id[1], extended_pan_id[0],
                     esp_zb_get_pan_id(), esp_zb_get_current_channel(), esp_zb_get_short_address());
            light_driver_init(1);
        } else {
            light_driver_init(0);
            ESP_LOGI(TAG, "Network steering was not successful (status: %s)", esp_err_to_name(err_status));
            esp_zb_scheduler_alarm((esp_zb_callback_t)bdb_start_top_level_commissioning_cb, ESP_ZB_BDB_MODE_NETWORK_STEERING, 1000);
        }
        break;
    case ESP_ZB_ZDO_SIGNAL_LEAVE: {
        esp_zb_zdo_signal_leave_params_t *leave_params = NULL;
        leave_params = (esp_zb_zdo_signal_leave_params_t *)esp_zb_app_signal_get_params(p_sg_p);
        if (err_status == ESP_OK) {
            light_driver_init(0);
        }
        if (leave_params->leave_type == ESP_ZB_NWK_LEAVE_TYPE_RESET) {
            ESP_LOGI(TAG, "Reset device");
        }
    } break;
    case ESP_ZB_NWK_SIGNAL_PERMIT_JOIN_STATUS:
        if (err_status == ESP_OK) {
            if (*(uint8_t *)esp_zb_app_signal_get_params(p_sg_p)) {
                ESP_LOGI(TAG, "Network(0x%04hx) is open for %d seconds", esp_zb_get_pan_id(), *(uint8_t *)esp_zb_app_signal_get_params(p_sg_p));
            } else {
                ESP_LOGW(TAG, "Network(0x%04hx) closed, devices joining not allowed.", esp_zb_get_pan_id());
            }
        }
        break;
    default:
        ESP_LOGI(TAG, "ZDO signal: %s (0x%x), status: %s", esp_zb_zdo_signal_to_string(sig_type), sig_type, esp_err_to_name(err_status));
        break;
    }
}

@xieqinan
Thank you, It almost works.
But when a node has made a join with the coordinator the LED goes on. Ather that I switch off the coordinator and do a power cycle by the Zigbee node. The connection LED goes on, it can’t have a connection on that moment because the coordinator is switched off.
The connection LED must only ON when there is a real connection with an online coordinator. So when the LED is on I know there is a proper and real connection.

@BaWe155

The connection LED goes on, it can’t have a connection on that moment because the coordinator is switched off.

The end device requires time to confirm whether the coordinator is offline, so it is not possible for the LED of the end device to switch off immediately when the coordinator goes offline. The confirmation time is approximately 30 seconds (with data requests every 3 seconds for a total of 10 attempts). Refer to ED_KEEP_ALIVE.

@xieqinan I use a router not an end device. After 60sec (coordinator off) LED is still on. When I do a power cycle without a coordinator (switched off) LED on the router goes on.

@BaWe155 ,
I believe we should clarify the issue. You are expecting an LED on a node connected to the coordinator to indicate the state of the coordinator. However, it's important to note that the router operates somewhat independently of the coordinator in a Zigbee network. The coordinator functions as both a router and a trust center. When the coordinator powers off, it means that other devices cannot join the network and there is a loss of part of the routing information.
However, Zigbee routers in the network have routing capabilities that allow them to maintain the original links even without direct coordination from the coordinator. This means that routers and the coordinator are relatively independent, and the coordinator powering off does not necessarily result in network paralysis.
Therefore, routers and the coordinator only share a communication link and do not have a dependent relationship. When the coordinator powers off, routers will not be affected in application.

@BaWe155 ，

Thank you for your explanation I understand it, we have an application with a control bridge for every action we need the control bridge.

Regarding the issue, I need to know more details. What are the primary functions of a control bridge? Additionally, what actions does the control bridge monitor, only concerning the state of the coordinator?

@xieqinan
Thank you, for now the function of the LED is enough


Feature/new request handling logic inter 767

Question: when exception is thrown, do we include a HTTP Response in it (if it is available)?

Hey @TheUnderScorer
For your question:

Question: when exception is thrown, do we include a HTTP Response in it (if it is available)?

Yes, you can use an optional method called xWithHttpInfo. For Example: getVisitsWithHttpInfo for errors with HTTP information.


fix mismatch of tensor devices

When CUDA is enabled, the generation code throws runtime errors because some tensors are not stored in the GPU.
  File "D:\code\figaro\src\models\seq2seq.py", line 360, in sample
    bars_changed = not (next_bars == curr_bars).all()
                        ^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!

I modified several lines to convert every tensor to the correct device.

This is great, nice catch and thanks for the PR!


[Question] - different result for android and ios when calling WebRTCModule.mediaStreamTrackGetSources

Hi,  I noticed that the implementation of mediaStreamTrackGetSources in the WebRTCModule  returns an array of arrays in ios, but just an array in android (links below)
https://github.com/oney/react-native-webrtc/blob/master/android/src/main/java/com/oney/WebRTCModule/WebRTCModule.java#L515
https://github.com/oney/react-native-webrtc/blob/master/ios/RCTWebRTC/WebRTCModule+RTCMediaStream.m#L325
Maybe I did something wrong and it's an error on my part, but I currently need to have two separate pieces of code for android and ios because of this.
If it's actually returning different things,  wouldn't it be better to have a consistent result?
Thx!

Agreed.
According to https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/do3t86PtHCY/discussion
mediaStreamTrackGetSources has been replaced by MediaDevices.enumerateDevices() which we have not implemented yet.
But spec of MediaDevices.enumerateDevices()  indicating we should return an Array(Object).
So I guess we should use NSMutableDictionary on objc side while addObject ?
https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/enumerateDevices

The array of arrays issue is now fixed in the latest release. As for enumerateDevices, I'm working on that right now.


Fixing type error in Search.py

some columns are not strings, and the join command fails if trying to query those columns. Cast the fields to string before making the join

Thank you for the contribution @Liametc !


Enhanced CountryAdmin functionalty

Now shows display order so this can easily be seen at a glance
Allows filtering by shipping country status to narrow results
Allows searching on additional fields so admin users can search by ISO codes rather than only name

Thanks for the contribution!


Can't run sequestrum

After installing sequestrum, whenever I run it. I get something like below:
File "/usr/bin/sequestrum", line 11, in
load_entry_point('sequestrum==1.6.5.dev3+ga186c7a', 'console_scripts', 'sequestrum')()
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 484, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 2714, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 2332, in load
return self.resolve()
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 2338, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "build/bdist.linux-x86_64/egg/sequestrum/sequestrum.py", line 7, in
ImportError: No module named directories

Sequestrum has been ported over to bash so your problems should be fixed, completely reworking it as well and hope you have a better experience :D Thanks @redhackthings


[FEATURE REQUEST] Documentation for VLM data

Feature Request
Information about how to train VLMs just like is available for the other types of models.
Motivation
Wanting to know what to upload
Additional Context
No response

Still an issue.

walkthroughs in the docs doesnt work?

Sorry, I am not finding info on this. Is it here? https://huggingface.co/docs/autotrain/index

yes. second point

Yes, that works. I still think VLM data should be added here:

surely, we are improving vlm at the moment. more updates will follow after we add support for more vlms :)


Header image for job specs

Added header image for job spec
Fixed "Apply" button
Some spacing and font sizing

Do you want me to merge this @belringer ?


Fix spring binstub test

Problem:
It appears that Spring has switched from using double-quotes in their
binstub to using single-quotes. The change has broken one of our tests,
where we are asserting that the binstub contains a line matching a
regular expression.
Solution:
Update the regular expression to use single-quotes, to match those
created by the binstub generator.

:ship:

:sheep:


chained continuous queries

Is it possible to create continuous queries from a continuous query (:series_name)? When i try it, i get weird and unexpected behavior. If its not supported, why isn't it, and is it planned for future release??

Will this feature be supported in the seriouly coming version 0.9.0 ? @pauldix


Subresources on 'existing' Kinds

We had a requirement where we wanted to use custom subresources on existing Kinds such as Pods. An example of this is the custom metrics (https://github.com/kubernetes/metrics).
We tried to use apiserver-builder for our use-case but it did not work. It looks like with apiserver-builder we can create subresources only on a Custom Resource that is first created using apiserver-builder.
I was wondering if there is plan to support subresource generation without requiring resource creation first.
In the mean while, we solved our problem using sample-apiserver as the starting point and adding our custom subresource endpoints into it. Here are pointers to our solution if anyone comes here with requirements similar to ours:

Repository:
https://github.com/cloud-ark/kubeprovenance

Blog post explaining various options we tried:
https://medium.com/@cloudark/our-journey-in-building-a-kubernetes-aggregated-api-server-29a4f9c1de22

You basically need custom/hacked-up API installation logic to handle this (that's what we do in the custom-metrics-apiserver builder).  It's... non-trivial, and generally somewhat specific to the particular use case (do you want to work as an aggregated API server?  If so, how are you representing group-versions?  What subresources do you want available, and how are you exposing them?)


Cannot assign thumbColor to CupertinoSwitch using Switch.adaptive()

Hello, I've noticed that we still can't change CupertinoSwitch thumbColor when using Switch.adaptive() despite the property introduced last year.
material/switch.dart :
Widget _buildCupertinoSwitch(BuildContext context) {
  final Size size = _getSwitchSize(context);
  return Focus(
    focusNode: focusNode,
    autofocus: autofocus,
    child: Container(
      width: size.width, // Same size as the Material switch.
      height: size.height,
      alignment: Alignment.center,
      child: CupertinoSwitch(
          dragStartBehavior: dragStartBehavior,
          value: value,
          onChanged: onChanged,
          activeColor: activeColor,
          trackColor: inactiveTrackColor,
      ),
    ),
  );
}

@Choups2
Thanks for the report. Can you provide complete minimal sample that shows the current limitation ?

Sure, here is a code sample
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Switch Demo',
      theme: ThemeData(primarySwatch: Colors.blue),
      home: _buildSamplePage(),
    );
  }

  Widget _buildSamplePage() {
    const activeColor = Colors.red;
    const inactiveTrackColor = Colors.black12;
    const inactiveThumbColor = Colors.black26;

    return Scaffold(
      appBar: AppBar(
        title: const Text('Switch sample'),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text('Adaptive switch'),
            Switch.adaptive(
              value: true,
              onChanged: (_) {},
              activeColor: activeColor,
              inactiveTrackColor: inactiveTrackColor,
              inactiveThumbColor: inactiveThumbColor,
              trackColor: MaterialStateProperty.all(inactiveTrackColor), // Material only
              thumbColor: MaterialStateProperty.all(inactiveThumbColor), // Material only
            ),
            const Text('Cupertino switch'),
            CupertinoSwitch(
              value: true,
              onChanged: (_) {},
              activeColor: activeColor,
              trackColor: inactiveTrackColor,
              thumbColor: inactiveThumbColor,
            ),
          ],
        ),
      ),
    );
  }
}

As this sample shows while running, CupertinoSwitch trackColor property uses inactiveTrackColor but thumbColor does not use inactiveThumbColor.
So you can't be using an adaptive switch and having a custom thumb on iOS at this time

Thanks for the update. Using it, I observed that in adaptive switch, trying to toggle switch doesn't seem to change the white color, whereas, the same can be seen in cupertino switch.

 stable, master flutter doctor -v

[✓] Flutter (Channel stable, 3.0.0, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.0.0 at /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ee4e09cce0 (2 days ago), 2022-05-09 16:45:18 -0700
    • Engine revision d1b9a6938a
    • Dart version 2.17.0
    • DevTools version 2.12.2

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 3.1.0-0.0.pre.682, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.1.0-0.0.pre.682 at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 6bba577bf2 (5 hours ago), 2022-05-12 21:29:07 -0400
    • Engine revision 7bde72ab75
    • Dart version 2.18.0 (build 2.18.0-109.0.dev)
    • DevTools version 2.13.1

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Hello, after discussing with @LongCatIsLooong we agreed that it wasn't a change worth a breaking change so let's drop this issue
Thank you for your time


Remove unneeded structure definition

Internal definition can be removed now because they already in SDK we use.

👍


Using a button for toggling in the header doesn't use correct CSS

Select one ...  (check one with "x")
[x] bug
[ ] feature request
[ ] enhancement

Expected behavior

When a button is put into the header along with the .nav-icon class, it should have a transparent background, no border and cursor should be pointer so that it looks the same as a dropdown button or an <a> link button with the .nav-link class.
Actual behavior

Currently using a button in the header displays a generic button
Reproduction of behavior

Include a link to the reproduction scenario you created by forking one of the Clarity Plunker Templates:

How it looks now: https://stackblitz.com/edit/clarity-theme-switch-toggle-2
How it should look: https://stackblitz.com/edit/clarity-theme-switch-toggle-1
Note: I have hacked around the target look by using an <a> tag. Since my target is to use the button to toggle between themes, I don't feel <a> is semantically correct. I have found that the required CSS is being added by the .dropdown class in case of a dropdown header.
Environment details

Angular version: 5.x.x

Clarity version: 0.11.7

OS and version: Win10

Browser: [all]

@SayakMukhopadhyay - You are missing a couple of things from your app. I updated your StackBlitz here.
I added in the <clr-dropdown> component which has the clrDropDownTrigger and clrDropdownItem directives in the right places. You can read more about Dropdowns in our docs: https://vmware.github.io/clarity/documentation/v0.11/dropdowns
Closing this based on above. If you have more questions about Dropdowns, please ask on StackOverflow and tag your question with vmware-clarity and we will be notified.

@hippee-lee My issue is that I am not looking for a dropdown. My action button will be in the header itself and not via a menu. As mentioned in my issue, I know that the dropdown is adding a class to the icon which shows the intended behaviour. I also know that using an <a> tag is working fine. Its <button> which is not.

Ok. Sorry about that. I'll take another look.

Re-reading our docs we only discuss using navigation elements in the header. Pinging @reddolan or @lil-kim for UX guidance on using a button in the header for something like a theme switcher.

I am also interested in something similar, but after trying different placements I decided to go with a toggle-switch inside a dropdown menu. I just thought that having a button or toggle-switch in the header itself was a bit too conspicuous…
Of course, I had to add some css hacks to get the toggle-switch to display correctly, so it would be good if at some point we could have a native way for doing this.
Some pics:

Modified StackBlitz https://stackblitz.com/edit/clarity-theme-switch-toggle-2-e2tyjb.

@reddolan @lil-kim: Do we want to support buttons in the header by default?

@adityarb88 are we intentionally not supporting them?

A lot of apps already have too many options in the main header. IMO switching themes isn't an option that warrants visibility at all times. I prefer it in a dropdown menu.

I would second @lil-kim's comment. I would be surprised if a user needed the quick access to changing theme. In the setting menu or even on a user preferences page, seems to make more sense to me for this case.

Though the issue is more around buttons in the header. While having a number of buttons in the header wouldn't be desirable, restricting someone from putting a button in the header isn't something we really want to do.

@reddolan: We aren't restricting anyone from putting a button in the header. You can put a button in the header but the alignment might be off. While the header was being designed and implemented, we didn't have a good use case of using a button in the header. We could give the search button as an example of a valid use case but if I remember correctly, we had thought about the search experience to be more like the select experience where the user starts typing and a dropdown menu appears with the search results.
So in summary, you could still use buttons in header but the alignment would have to be done on the app side. If we think that we should be supporting the alignment part out of the box, then we can definitely remove the margins and the paddings on our side and the buttons should align correctly.
Also, since header is divided into 4 parts, so we would have to know exactly where the buttons can be placed as each part might need different adjustments.

The use of buttons in a the header is not a very common case.
The example of theme switching is better solved where the toggle appears in a dropdown.
Unless a common use case can be shown that justifies the effort required to remove the margins / padding to support alignment OOTB, which includes addressing the 4 potential locations, it is better to leave the alignment on the app side.
@mathisscott


Property is not deleted

Describe the bug
I don't know if this behaviour is documented, but when you apply a spread conditional property never is unsetted.
To Reproduce

Text

Expected behavior
The property should be deleted when align is false.
Reproduction
https://playground.solidjs.com/?hash=1441382847&version=1.2.2

Ah.. because it returns null instead of an object it never iterates. Ok yeah there is a bug here. Thanks for reporting.

It also fails with this case:

Text

https://playground.solidjs.com/?hash=1052253120&version=1.2.2
Seems that the problem is in assign function, I don't see any control over deleted properties.

Yes you are correct. I do have the prevProps so this should be achievable with a small change.


add documentation how to generate execution graphs

We need to add example and documentation how to generate execution graphs, when job is completed

@gilv Done in #198


Noop not supported in the SAP4

[Enter feedback here]
in the document, we mentioned "Linux has several different I/O scheduling modes. Common recommendation through Linux vendors and SAP is to reconfigure the I/O scheduler mode for disk volumes from the mq-deadline or kyber mode to the noop (non-multiqueue) or none for (multiqueue) mode. Details are referenced in SAP Note #1984787."
But when we checked the SAP doc (https://www.suse.com/support/kb/doc/?id=000019547), it mentioned in the SAP applications service pack 4, the operation of the noop is invalid.
It is really confused that in the MS doc we suggest end-user use the NOOP but actually some versions do not support this parameter.
Could you please update some unsupported version in the MS doc?

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

ID: 13ecd5d2-9d58-1d74-8e27-22754055120c
Version Independent ID: 3e93d9d3-5341-0e3c-a15c-85906fc0b5b3
Content: SAP HANA Azure virtual machine storage configurations - Azure Virtual Machines
Content Source: articles/virtual-machines/workloads/sap/hana-vm-operations-storage.md
Service: virtual-machines-linux
Sub-service: workloads
GitHub Login: @msjuergent
Microsoft Alias: juergent

@tjxxxxx Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate. We will update you accordingly.

@msjuergent Can you please check and add your comments on this doc update request as applicable

Hmm, I am reading the SLES KBA https://www.suse.com/support/kb/doc/?id=000019547  a bit differently. It seems indeed correct that a least in SLES 12 SP4, the command echo noop > /sys/block/vda/queue/scheduler does not allow to define the noop scheduler. However as the article continues, it does demonstrate how the noop scheduler can be configured. All other official SAP notes that are referencing I/O scheduler settings for SLES 12 and SLES 15 are stating: 'For most SAP environments (e.g. RAID, storage arrays, virtualizaton) the IO scheduler 'noop' (non-multiqueue) or 'none' (multiqueue) is the better choice.'

Hi. Thanks for your reply.
Yes, in the SAP4 it does not work, but in other versions the noop could work.
So may I know could we kindly mention like in some specific we did not support noop parameter. If you want to use this parameter, please choose some supported versions.

I am just pushing a PR with changes. Likely going to be released within the next 16h. Please check the changes and let me know whether those suffice


how to make this.items can't update in updateItem

i want to make this.items can't update in updateItem or after some event?
Thank!

Could you provide more info about the problem? Maybe you can change the http://jsfiddle.net/tabalinas/zzzfmpgt/ to demonstrate the problem?

in function updateitem:
http://jsfiddle.net/zzzfmpgt/3/

Save previous item in onItemUpdating callback. Then when validation is failed return this item from updateItem method.
Something like this:
    onItemUpdating: function(args) {
        previousItem = args.previousItem;
    },

    controller: {
        loadData: function(filter) {
            ...
        },

        updateItem: function(updatingItem) {
            if(true){ // your validation condition here
                alert("stop update this.clients");
                return previousItem;
            }

            // ajax call to update here
        },
    },

See fiddle: http://jsfiddle.net/tabalinas/zzzfmpgt/4/

thank!
But when filtering then this "" exists
http://i.imgur.com/tYNGcVs.png

If you return previousItem it should be fine. If it's not, please, modify the fiddle to demonstrate the problem http://jsfiddle.net/tabalinas/zzzfmpgt/4/

change "Otto Clay" to null, where filtering all you see in "Otto Clay" is null
http://jsfiddle.net/tabalinas/zzzfmpgt/6/

The link gives 404.


Image definitions referenced by datasources are treated relative to the datasource

If I have a definitions.csv that defines an image like this:
ollie,{{ images/card-trick-front-2-ollie.png copy-only }}

I would then expect that path to be relative to the location of the definitions.csv; however, if I then reference this definition in a datasource, e.g.:
@count,@template,@template-back,image
~,"../templates/card.html","../templates/trick-back.html","none"
3,^,^,"{{ ollie }}"

What happens is actually that the {{ ollie }} field is replaced by the contents of ollie, e.g. {{ images/card-trick-front-2-ollie.png copy-only }}, then while discovering and inserting images into the template, that image field will be resolved as if set by the datasource; i.e. the path will be wrong.
Maybe we should just resolve image fields as soon as we discover them, rather than deferring it to later?

Alternatively, if we deem this to be not a feature, we should at least warn about what happens; i.e. if we detect an image field in a definition, display a warning saying that the path might be treated incorrectly.


Incorrect unescaping of \u sequences in jsonsl_util_unescape_ex

After jsonsl_util_unescape_ex parses a \uxxxx escape, where xxxx is a hex number greater than FF, it simply writes the number as two 8-bit bytes. This isn't correct in any character encoding and will result in either garbage characters, or a decoding failure.
For example, the escape \u20ac (a Euro symbol) would be written as the bytes 0x20 0xAC, i.e a space character followed by some non-ASCII character whose interpretation depends on the encoding. A UTF-8 decoder would barf on this because it's illegal for 0xAC to follow an ASCII character.
The correct behavior depends on what encoding the output should have. Basically the decoded hex number needs to be interpreted as a Unicode code point between U-0000 and U-FFFF, and converted to that encoding.
Since the API doesn't specify an encoding, it makes sense to default to UTF-8. Converting to UTF-8 isn't that hard, just some bit-shifting and masking.

I could probably add that logic in there! thanks for reporting

I'm currently writing it myself, but as a separate function. It's in C though, so I could send you the code to incorporate...

Here's my (tested) code. It's actually C++, but the only thing you'd need to change is the reference parameter.
    // similar to BSD digittoint, but returns -1 on failure
    static int digit2int(char ch) {
        int d = ch - '0';
        if ((unsigned) d < 10) {
            return d;
        }
        d = ch - 'a';
        if ((unsigned) d < 6) {
            return d + 10;
        }
        d = ch - 'A';
        if ((unsigned) d < 6) {
            return d + 10;
        }
        return -1;
    }

    // Writes a Unicode code point from 0000 to FFFF as a UTF-8 byte sequence
    static void writeUTF8(uint8_t* &dst, unsigned u) {
        // https://en.wikipedia.org/wiki/UTF-8#Description
        if (u < 0x0080) {
            *dst++ = (uint8_t)u;
        } else if (u < 0x0800) {
            *dst++ = (uint8_t)(0xC0 | (u >> 6));
            *dst++ = (uint8_t)(0x80 | (u & 0x3F));
        } else {
            //assert(u < 0xFFFF);
            *dst++ = (uint8_t)(0xE0 | (u >> 12));
            *dst++ = (uint8_t)(0x80 | ((u >>  6) & 0x3F));
            *dst++ = (uint8_t)(0x80 | (u & 0x3F));
        }
    }

    // src points to 1st hex digit after "\u". Decoded byte(s) will be written at dst.
    static bool decodeUnicodeEscape(uint8_t* &dst, const char* src) {
        int d0 = digit2int(src[0]), d1 = digit2int(src[1]),
            d2 = digit2int(src[2]), d3 = digit2int(src[3]);
        if (d0 < 0 || d1 < 0 || d2 < 0 || d3 < 0)
            return false;
        unsigned u = (d0 << 12) | (d1 << 8) | (d2 << 4) | (d3);
        writeUTF8(dst, u);
        return true;
    }

I raise you https://github.com/couchbase/subjson/blob/master/subdoc/uescape.h#L143, which also handles surrogate pairs :)

Oh yeah, surrogate pairs … /me quickly fixes up code

I've fixed this in a separate branch. I decided to go along with the existing uescape implementation from subjson (since I wrote that as well) though your implementation is likely quicker - so it might go in there later on.

Marking as closed since issue has been fixed in the referenced commit


iptables: remove logic to control non-existent net.ipv6.ip_early_demux

Early demux for both IP protocols is controlled by the IPv4 sysctl. Trying
to control net.ipv6.ip_early_demux would just result in awkward error
scenarios.

/test


my  mechvibes wont donwload

idk why my mechvibes wont download

Can you supply more information to the issue that you are currently facing?


Commenting out the link to Lobster font-family doesn't render correctly.

Challenge Name
Specify How Fonts Should Degrade

https://www.freecodecamp.com/challenges/specify-how-fonts-should-degrade
Issue Description

The issue occurs when commenting out the link to the Lobster font family from googleapis.com.
@FreeCodeCamp/issue-moderators any ideas on why this is happening?

Possibly already passed this challenge before? It seems to work well on all my setups.

This issue showed before I passed, I just went back later so I could report it.

@TheDoctorsLife Can you try this challenge in incognito mode and check if still persists? I just want to eliminate the network being a culprit here. I too can't seem to reproduce.

I am getting the exact same error, on chrome and safari.  It retains the Lobster font even after commenting out the link.  I tried in incognito mode as well and I get the same result.

Chrome Canary: Not getting this issue.

+1

it is also possible you'd have that font installed in your systems? @jaytaix @TheDoctorsLife

is it also possible you'd have that font installed in your systems? @jaytaix @TheDoctorsLife

I do have it on my system.  I was thinking that was the case... just annoying not knowing exactly what was causing it, but it goes away after disabling the font.  So the two solutions so far are update Chrome and/or make sure you don't have Lobster enabled locally.

@jaytaix I guess it comes down to that, yes... however, those are real world issues, not exclusive to Free Code Camp. Your browser should ideally always be in its latest version, and if you have the font locally, you'll be able to see it in the browser without linking to external sources. (This happens to me a lot because of my visual design work).
Fact of life. Sorry we can't really help much. This however is beyond the scope of our site, so unless someone feels the need to reopen it, I deem this issue closed (albeit not technically "solved". I know...)

I saw this same thing and also thought it was a bug. It's not really an issue, since it's expected behavior, but does confuse.
A simple "solution" would be to add a clarification to the challenge. Something along these lines:
Note
If you have the Lobster font installed on your computer, you wont see the degradation because your browser is able to find the font.
Similar to the Note on this task:
https://www.freecodecamp.com/challenges/change-the-font-size-of-an-element
That way when people see this, they'll understand what's happening.

I like @Lolinder's suggestion note.

I added the note in English and Spanish in a branch on my fork, but don't have everything set up yet to run npm before submitting a pull request. Will get back to this on Monday, if no one else beats me to it.
Either way, will need someone for the other languages.

@Lolinder you may just fix the languages you are comfortable with. You can close the issue, the updates will be taken care in translation issues.

it seems to be forgotten, I'll submit the PR :)


Move documentation to mkdocs

All documentation is in readme. Should be in mkdocs with a github pages instance.

docs pushed, need to publish to github pages and finish installation page

completed as of 6b2014c2757bbe32ea26bbfad15eadef87f227cb
hosted on readthedocs
probably will need some updating when new release comes out


Payment hierarchy allocation

Hi
within out organisation we need several payment hierarchies
1    is this possible
2    how do you allocate a user to a payment hierarchy?
cheers

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

ID: 396d0db7-1ea6-3bdc-3744-3805207bfc8f
Version Independent ID: f00f0a16-42e3-61f2-4b04-ec095364d8a6
Content: Set up centralized payments - Finance & Operations | Dynamics 365 | #MSDyn365FO
Content Source: articles/financials/cash-bank-management/set-up-centralized-payments.md
Service: dynamics-ax-applications
GitHub Login: @kweekley
Microsoft Alias: kweekley

Thanks for contacting us. For discussions about how to use features, we recommend that you post on the Finance and Operations community forum: https://community.dynamics.com/365/financeandoperations/f/765
Thanks!


python: fewer red lines in editor by adhering to pep8 formatting

Fixed while wandering through the code

The failure in CI doesn't happen locally:
$ openroad
OpenROAD v2.0-12681-g4078c8b33
This program is licensed under the BSD-3 license. See the LICENSE file for details.
Components of this program may be licensed under more restrictive licenses which must be honored.
openroad>
oyvind@famine:~/OpenROAD-flow-scripts/tools/OpenROAD$ git log -1
commit 4078c8b330bc2c6a65b35b6045ebcb27148e282d (HEAD, pinata/python-fewer-red-lines)
Author: Øyvind Harboe<EMAIL_ADDRESS>Date:   Tue Mar 26 09:26:16 2024 +0100

    python: fewer red lines in editor by adhering to pep8 formatting

    Signed-off-by: Øyvind Harboe<EMAIL_ADDRESS>$ src/gpl/test/regression
simple01 (tcl) pass
simple01 (py) pass
simple01-obs (tcl) pass
simple01-obs (py) pass
simple01-td (tcl) pass
simple01-td (py) pass
simple01-td-tune (tcl) pass
simple01-td-tune (py) pass
simple01-uniform (tcl) pass
simple01-uniform (py) pass
simple01-ref (tcl) pass
simple01-ref (py) pass
simple01-skip-io (tcl) pass
simple01-skip-io (py) pass
simple01-rd (tcl) pass
simple02-rd (tcl) pass
simple02 (tcl) pass
simple02 (py) pass
simple03 (tcl) pass
simple03 (py) pass
simple04 (tcl) pass
simple04 (py) pass
simple05 (tcl) pass
simple05 (py) pass
simple06 (tcl) pass
simple06 (py) pass
simple07 (tcl) pass
simple07 (py) pass
simple08 (tcl) pass
simple08 (py) pass
simple09 (tcl) pass
simple09 (py) pass
core01 (tcl) pass
core01 (py) pass
ar01 (tcl) pass
ar01 (py) pass
ar02 (tcl) pass
ar02 (py) pass
incremental01 (tcl) pass
incremental01 (py) pass
incremental02 (tcl) pass
incremental02 (py) pass
error01 (tcl) pass
error01 (py) pass
diverge01 (tcl) pass
density01 (tcl) pass
convergence01 (tcl) pass
convergence01 (py) pass
nograd01 (tcl) pass
nograd01 (py) pass
clust01 (tcl) pass
clust02 (tcl) pass
------------------------------------------------------
Passed 29
See /home/oyvind/OpenROAD-flow-scripts/tools/OpenROAD/src/gpl/test/results for log files


window.onerror in /mship/security/auth

Error in VATSIM-UK/Core
window.onerror in /mship/security/auth
TypeError: undefined is not an object (evaluating '__gCrWeb.autofill.extractForms')
View on Bugsnag
Stacktrace
https://embed.tawk.to/57bb3bfca767d83b45e79605/1aqq3gev7:209 - onerror

View full stacktrace

Fixed by a06fa991dba32aadf9a97a31cc1bc01be7c039fa


Skill: Recognize when statements are referring to the same place.

Describe the contribution to the taxonomy
This skill was inspired by the contribution by @russellb (https://github.com/instruct-lab/taxonomy/pull/365). It occurred to me
that there were other similar situations in which something was shared that
should be recognized.
In general, recognizing when statements are referring to the same place. I.e.,
if m different statements are made about a given space having n things, then
the total number of things in the space is n and not m*n.
For example, if I ask the question "Brooke lives with three cats. Alice lives
with Brooke. How many cats does Alice live with?"  The model recognizes that
they live together, and responds that Alice lives with 3 cats as expected.
However, if I ask the similar question "Brooke lives with three cats. Alice
lives with three cats. Alice and Brooke live together in the same house. How
many cats are in the house?" The model does not infer that we are talking about
the same three cats and responds with 3+3=6 cats.
I have asked several similar questions (see qna.yaml file for a selection) and
in all cases the response is similar to the unexpected response above.
I initially trained the model with the qna.yaml from pr #365 to see if it
would help, but it didn't. I then tried retraining with both the file from pr
#365 as well as my new qna.yaml file, but that didn't help. So, to reduce the
number of variables, I trained the model with only my file, but that didn't help
either. I also tried a couple different ways to word my answers but those also
didn't help.
The main difference after retraining with my new questions and answers seems to
be that the model answers with the same incorrect answer, but with a more
verbose justification.
Unfortunately, my attempts to train the model were not successful. However, I
am submitting this as a draft in case it provides some useful information or if
anyone has suggestions for how to train the model better.
I was curious about whether these questions were reasonable, so I asked them to ChatGPT.
In all cases, ChatGPT responded with the answers that I was expecting with a good
explanation of the rationale.
Two examples are given below.
Input given at the prompt
  Q1:
  Andrew and Bob live on the same street. There are two stop signs on Bob's
  street. There are two stop signs on Andrew's street. How many stop signs are
  there?

  Q2:
  Alice and Bob live together. Alice lives with 2 dogs. Bob lives with two dogs.
  How many dogs are in the house?

Response from the original model
  A1:
  There are two stop signs for each of the two people, so there are 2 x 2 = 4
  stop signs in total. The answer is 4

  A2:
  Alice and Bob each have 2 dogs, so between them, they have 2 dogs + 2 dogs = 4
  dogs. Since they live together, there are 4 dogs in the house.

Response from the fine-tuned model
  A1':
  The statement mentions that Andrew and Bob live on the same street, but it
  does not specify the number of stop signs on Andrew's street directly. To find
  out the number of stop signs on Andrew's street, we need to add the number of
  stop signs on Bob's street (2) to the number of stop signs on Andrew's street
  (2), resulting in four stop signs in total that Andrew and Bob live on the
  same street. Therefore, there are four stop signs on Andrew's street.

  A2':
  The statement mentions that Alice and Bob live together and Alice lives with 2
  dogs, while Bob lives with two dogs as well. To find out how many dogs are in
  the house, we need to add the number of dogs Alice lives with (2) to the
  number of dogs Bob lives with (2), resulting in four dogs in total in the
  house. Therefore, there are four dogs in the house.

Contribution checklist

[x] The contribution was tested with lab generate
[x] No errors or warnings were produced by lab generate
[x] All commits are signed off (DCO)
[x] The qna.yaml file contains at least 5 seed_examples
[x] The qna.yaml file was linted and prettified (yaml-validator can do both)

Thank you for your contribution to InstructLab! Unfortunately, once a Github repo is made public, all open PRs are automatically closed since they link against a private repo. We have detected that your PR might have been one of the ones affected by this change. If you are still interested in contributing your improvement, please fill out the following short form by no later than May 3rd, and we will get back to you with the additional steps necessary once we have had time to assess the PRs of those still interested:
https://forms.gle/V7SrPPMZDo6iGDYu8


CLOUD-49556 validate WASB and DASH as selected FS

@akanto

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1983/


Remove Realm::m_in_transaction and use the value from the SharedGroup

Depends on #3250.
No changelog entry because while it should make the specific symptoms seen in #3122 impossible, it's not obvious that it actually fixes any bugs.

:+1:

:+1:


Broken Packages in tag 4-python3.9-appservice

We started seeing an issue in the last few days where this install command is failing due to some version mismatches between dependencies. This issue did not occur before June 27th, and the issue seems to be resolved by using 4-nightly-python3.9-appservice, but I don't very much like the risk of using a nightly build.
`Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libgstreamer-plugins-base1.0-0 : Depends: libc6 (>= 2.33) but 2.31-13+deb11u6 is to be installed
Depends: libglib2.0-0 (>= 2.67.3) but 2.66.8-1 is to be installed
Depends: libgstreamer1.0-0 (>= 1.22.0) but 1.18.4-2.1 is to be installed
Recommends: gstreamer1.0-plugins-base but it is not going to be installed`
Offending install line (I think gstreamer comes from build-essential)
FROM mcr.microsoft.com/azure-functions/python:4-python3.9-appservice RUN apt-get update && apt-get install -y \     build-essential \     libkrb5-dev \     wkhtmltopd

I'm guessing it's semi related to #905 , with something odd with the sources list, but it's just a guess.


WIP - reorganize Tangram docs headings

WIP - Not ready for merging
This is a proposed Tangram docs reorganization, with spaces for the upcoming Tangram Android SDK and Android Walkthroughs as well as a new Demos page.
In support of https://github.com/tangrams/tangram-docs/issues/67 and https://github.com/tangrams/tangram-docs/issues/81
To be merged in sync with https://github.com/tangrams/tangram-docs/pull/86

Note that precog isn't working because the CircleCI checks are failing because this "meetar/tangram-reorg" branch refers to pages which are on the unmerged "reorg" branch of the tangram-docs repo.
…I don't know if there's a way around this.

It looks like the file is called Raster-Overview.md, so we either need to rename the file or the config here?Not sure if that will fix this error, but we'd hit a problem at some point!
ERROR   -  file not found: /home/ubuntu/mapzen-docs-generator/src-tangram/Rasters-Overview.md
ERROR   -  Error building page Rasters-Overview.md

Good catch! Fixed with https://github.com/mapzen/mapzen-docs-generator/commit/9778100095fd0275b2172c8bbb917ae0c4ab6e86

Soooooo in the future it would be nice to work out a process for precogging docs on a non-gh-pages branch, but for now I'd like to just merge these two PRs simultaneously (this one and tangrams/tangram-docs#86) and fix any issues post-hoc. Worst case it will break some Tangram docs for an hour or two – I can wait until Sunday to minimize user sads. Is that alright with all the stakeholders?

[ ] @rmglennon
[ ] @blair1618
[ ] @bcamper
[ ] @migurski

Sweet. I can imagine that an Android Walkthrough page would live next to JS Walkthrough. Will the walkthroughs be hard to discover if they're in a nest?

I'd imagined that too – and if so we can move them!
On Fri, Apr 22, 2016 at 5:01 PM, Matt Blair<EMAIL_ADDRESS>wrote:

Sweet. I can imagine that an Android Walkthrough page would live next to JS
Walkthrough. Will the walkthroughs be hard to discover if they're in a
nest?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/mapzen/mapzen-docs-generator/pull/130#issuecomment-213587295

Consider me checked off (I can't seem to manifest an actual checkmark).

I'd suggest we not rename the walkthrough.md file itself because this will change the URL and cause a 404 (as there's not a way to set up redirects). We can change the title on the page, though, so it can be distinguished.
Nesting in the TOC does not affect the URL, so we can move and group topics as needed without breaking anything.

Ahh, are there external links to the walkthrough that you know of? I already changed all of the internal links, so there shouldn't be any 404s on our side – I did a google linkto: search but didn't find anything definite.

Not sure what might be out in the wild, but I think there are a few on our side in a blog or two that go back to the GitHub md file (as we didn't have the doc site back then!). https://mapzen.com/blog/learn-tangram/

Unrenamed the walkthrough, trying a merge now.


Made postgres optional

Added the ability to use a separate deployed postgres instance.

Good point, but I'd prefer to just use the existing createDatabase option and put all postgresql related config behind mkIf cfg.createDatabase to keep things simple. I don't see a need to have the enable switch. If someone desires a more complex setup than an enabled postgresql service + default database, then they can just leave it disabled and set up everything as they please, including a remote postgresql instance.

So the breaking change would be ok?


LMS-1: Amazon SES Integration

Integrate with Amazon SES driver

[x] Require Driver
[x] Extend DB
[ ] Able to switch between SMTP and SES
[ ] Unit Testing
[ ] E2E Testing

Codecov Report

Merging #2 (a9b8b1e) into master (6be4491) will not change coverage.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##              master        #2   +/-   ##
===========================================
  Coverage     100.00%   100.00%
  Complexity        17        17
===========================================
  Files              3         3
  Lines             49        49
===========================================
  Hits              49        49

Impacted Files
Coverage Δ

src/Models/MailCredential.php
100.00% <ø> (ø)

src/Listeners/OverwriteMailSMTPCredential.php
100.00% <100.00%> (ø)

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 6be4491...a9b8b1e. Read the comment docs.


add alpha channel to sprites

This PR adds an optional alpha channel to sprite commands. There is a corresponding PR in scenic to handle that change.

@seb3s , sorry for the delay--would you mind rebasing this, if you still want to go forward?

I did some changes, hope this helps (not sure about the cairo modifications)

Thank you again @seb3s !
We'd need to land this concurrent with some changes to scenic proper, probably over here and possibly elsewhere, I think. Does that sound about right?

Hello,
I have opened this PR a long time ago for that part:
https://github.com/ScenicFramework/scenic/pull/315/files
cheers,
Sébastien.


Moneyplex is Out-of-date and Links are broken

The Moneyplex package is quite old, which was not a problem as the package could update itself. But now the links to the old versions are dead, so the package should be updated to version 20.
Checklist

[x] Checked the nixpkgs master branch

[x] Checked the nixpkgs pull requests

current version: 16.0.22424
desired version: 20
Notify maintainers

maintainers: tstrobel (Thomas Strobel<EMAIL_ADDRESS>@ts468
Note for maintainers
Please tag this issue in your PR.

@oyren Unless you plan on updating the package yourself, I think we ought to remove it from nixpkgs. @ts468 isn't active anymore.

It will then probably have to be removed, unfortunately, as my knowledge is not sufficient to fix the package. I had already looked at it, but the new installer of Moneyplex is GUI based. There should be a console mode and silent mode, but these do not work for me even under Kubuntu.
$ ./moneyplex_setup64 --help
Usage: moneyplex_setup64 [options ...]

Available Options:
  --help           display this information
  --mode [ARG]     set the mode to run the installer in
                   Available values: console, default, silent or standard
  --prefix [ARG]   set the installation directory
  --temp [ARG]     set the temporary directory used by this program
  --version        display installer version information

$ ./moneyplex_setup64 --mode console

I also tried a few other combinations with ", ' etc., but nothing happens. Does nixpkgs support using GUI installer in any way?
I will write a mail to the developer today.

I will write a mail to the developer today.

Let us know when you hear back from them.


Suggestion for iOS users and Browser

So why not recommending Safari with an Adblock like AdGuard which is open source and blocks trackers and ads on the browser? Why is there DuckDuckGo in the list as app?

DuckDuckGo is listed under Browser Recommendations For iOS. Safari is closed source, and while their new features are a step in the right direction, they aren't worth recommending. Using Firefox with all the add-ons and tweaks along with using encrypted DNS will rule out any need for AdGaurd.

Firefox on iOS is required to use the Safari engine to render pages (as the rest of the browsers on iOS). There is no possibility to install add-ons and tweaking it is severly limited. The PrivacyTools page you linked is only for desktop and Android (at least some of them work on Android).
Safari on iOS doesn't support normal adblockers so it uses content blockers. AdGuard+Safari isn't as powerful as uBlockOrigin+Firefox (on Android/Linux/Windows/Mac etc.), but is better from my experience than Firefox iOS or DDG browser.

@ThracianKnight1907 for Firefox I was referring to desktop (which is what OP seemed to be talking about).

If you dont mind, better to use iOS 13, at least they block more ads, tracker

Yeah I feel it is better we recommend Safari with something like AdGuard.
Safari already has fingerprinting protections by default and will allow a user to blend in more with the vast majority of iPhones. If a user is worried about cookies, they could just always be in Private mode.

Actually I think the iOS section should only contain Safari and have the browser recs that are currently there removed.
Just think logically: Apple already has your info. Would you rather also give that info to a second company or keep it limited to Apple? I'd rather keep it limited to Apple.
Not to mention Safari already has some fingerprint and tracking protection in place, so it's not a bad choice at all even from that perspective.

I completely agree. Not only does it reduce the amount of trusted parties as you stated, but those fingerprinting and tracking protections are honestly very good, especially in comparison to other browsers.


Add a licence file

I am interested in integrating Emojicode directly with something I'm presently working on. However, I quickly realized that there is no licence or copyright statement anywhere, aside from the Xcode-generated "Copyright © 2015 Theo Weidmann". What this essentially means is that any type of fork/use of Emojicode source code is technically illegal without written permission. Considering this project is on GitHub, I assume you would like to allow forks of Emojicode. Adding a licence file with an appropriate open-source licence inside would fix this.

I'm aware of this and will add an appropriate license ASAP.

✅ Licensed added.


⚠ Samsung has degraded performance

In cff52d0, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2767 ms

Resolved: Samsung performance has improved in dc2e735.


Cannot Recognise Ollama Models

Dear Team,
In the graph_config, I use "model": "ollama/llama3:8b" (with the parameter specification), but ScrapeGraphAI cannot recognise this model.
Sincerely,
Zhangcheng Qiang

Hello, would you help to offer any exceptions or errors?

We have a token dictionary containing the most common models for each provider, but we haven't updated the Ollama section in a while. We'll make an update and put it into the next beta.
Thanks for taking interest in our library and for reporting this.

Done. Use version 1.14.1b1 to get access to the updated version with llama3:8b support.
We'll close this issue as soon as the update gets released to the stable channel. Thanks again for reporting this.


Replace service 'other' with by hand in question and docx. Fixes #79.

Fixes #79
Test 1:

Select 'by hand' for service method
Preview shows correct text

(hit back if you want)
Test 2:

Select 'by mail' for service method
Preview shows correct text

test one passed. Noticed that the language on the form, 'by hand,' differs from the language in the question, 'in person'

test 2 passed.

retesting after merge conflicts were resolved


New Reanault app and now I cannot connect anymore

Love your contribution to HA with this sensor. Today I got a message that the existing app is not supported anymore and after that the renaultze sensor cannot connect anymore. I get the following error message:
Update failed: 'RestrictedCountryException'
9:08 PM custom_components/renaultze/sensor.py (ERROR) - message first occured at 8:28 PM and shows up 41 times

same here...

You'll need to provide more information about your issue, as it is still working correctly here.
In particular, since the error is "RestrictedCountryException", which country are you connecting from? I'm based in France.
Do you still connect through https://www.services.renault-ze.com/?
Does it stay there or is there a redirect onto another site?
You may need to run something like Firefox Development Tools to trace the requests.
I will also accept GIT pull requests.

I am based in Sweden. When I try to login at https://www.services.renault-ze.com/ I get the following message (translated from Swedish):
Your connected Z.E services will be moved to a new app
MY Z.E. the app is no longer available, it has been replaced by the app MY Renault
Continue to use connected Z.E. services by:

Download the MY Renault app for free
Create a MY Renault account
Synchronize your car with the VIN number and activation code you received in an email

(Link from a button)  https://myr.renault.pt/ze_redirection.html?os=web&country=se&lang=sv

The new app is called "My Renault" and if follow the link above and logon I will in the end end up at the follow url:  https://myr.renault.se/

Does the new application work in a browser? or only on a phone application?
If it works in a browser, I might be able to reverse-engineer the new application but I would need access to a real account.
Since France has not been migrated to the new app (yet?), maybe someone wants to share his account (set a temporary password and send me the credentials via private message)

I cannot get any charging info from the web, only from the app. This is weird.
@toby17780 - what country are you connecting from and can you get any charging info in the web browser?

I'm from Germany. But this Error was only one time - now after Update I have this one: https://github.com/epenet/hassRenaultZE/issues/3

@epent if you are in France you should be impacted now. I've the error message to migrate to MyRenault app 2 days ago.
Similar discussion on edent/Renault-Zoe-API#18

@epenet Let me know when and if you need som assistance.

reverse engineering API is not my thing. But as soon as you have a start I can support by doing python package or HA integration.

@epenet now we have a python package. As you have started to prototype even if you said you won't work on it before mid august, do you wan't to start something ? If you are not available and agree I can start a custom_component. We can share the energy.

I've created a new branch that I am working on: https://github.com/epenet/hassRenaultZE/tree/newApi

I've tested what I could outside Home Assistant. I need to rebuild my server before I can test it inside Home Assistant.
There is one new configuration setting available: "android_lng" which default to fr_FR. If you are not based in France you might need to override the value in your configuration file.
Also, I have removed the "deep update" option.

I've merged the new code into the main branch: https://github.com/epenet/hassRenaultZE
Please don't hesitate to download, test and confirm it's all working for you...

Tested. Need some updated to make it work in HA. PR #6 is waiting for review.

PR #6 reviewed and merged.

I think we can close the issue now.


Create RenderingPipelineGenerator

takes in account the desired opengl state of each RenderNode in the dag or in an intermediate "node processing order" list
generates the rendering pipeline, a list of commands including state changes and Node.process() commands
ensures that redundant commands, generating unnecessary opengl state changes, are not executed.

Notes:

so far we have been calling the dag the rendering pipeline. It now seems more appropriate to refer (i.e. in the code) to the dag as the "render graph" and leave the term "rendering pipeline" to the list of commands to actually execute every frame, generated FROM the render graph.
this issue is not concerned with changing the node order for optimization purposes.
at this stage we do not worry about keeping an eye on settings or regenerating the rendering pipeline when a new node is inserted or an existing one is removed from it.

Objective achieved in https://github.com/MovingBlocks/Terasology/pull/2399


Error occurred in service creation step 3 (config_containers)

In GitLab by @liyanq528 on Dec 4, 2017, 17:46
If you are reporting a problem, please make sure the following information are provided:

Version of board (last git commit number) , docker engine and docker-compose.
Config files of board, you can get them by packaging "board.cfg" and files in the same directory, including subdirectory.
Log files, you can get them by package the /var/log/board/.
Other necessery information.

In GitLab by @sokril on Nov 8, 2019, 07:42
fix with pr#695

In GitLab by @sokril on Nov 8, 2019, 08:15
closed

In GitLab by @sokril on Nov 8, 2019, 08:15
assigned to @sokril


Fails to install on OS X with has malformed LC_DYSYMTAB ... error

I'm getting this error when installing on OSX:
go install github.com/mitranim/gow@latest
# github.com/mitranim/gow
ld: warning: '/private/var/folders/72/c122kj5x73j2l0cpg56tklmm0000gp/T/go-link-954916348/go.o' has malformed LC_DYSYMTAB, expected 70 undefined symbols to start at index 4946, found 88 undefined symbols starting at index 27

Mac version: Sanoma 14.3 (23D2057)

Actually this is not really an issue, just a warning


fix: articles/active-directory/hybrid/how-to-connect-syncservice-duplicate-attribute-resiliency.md

Escape elements

@nschonni : Thanks for your contribution! The author, @billmath, has been notified to review your proposed change.

Verified editorial corrections. Thank you.


Menus are harder to hit when updated to v1.68

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.68.0
OS Version: Windows 7

Steps to Reproduce:

Update VS Code for Windows to 1.68 and use the custom title bar style.
Try and click the menu bar.

Before (Code OSS 1.60):

After (VS Code 1.68):

The topmost pixels are not responsive and can no longer trigger menu clicks.

Duplicate of #150170


Clock Example: Fix hand

The ticking second hand was always 90° further round than it should have been. e.g. at 23:42:00 it would point at the 3 o'clock position rather than straight up.

I was wondering why my clock animation didn't sync up right with my computer clock. This fix worked because svg coordinates are not the same as normal mathematical graphing coordinates (the Y-axis is flipped).

Closing since the analog clock has been relegated from the tutorial.


Bump Perftools Version

Description
We should bump the perftools crate to the latest version.

Enhancement introduced in commit https://github.com/demikernel/demikernel/commit/149685b4d40b48915038ccdd85d666c641da7bbc.


Adding animation in social media buttons

Adding animation in social media buttons to make them more attractive and catchy.

What type of animation.

pop up effect

@urvashi-code1255 Is this okay?

@Priyanshujha11 Any update? kindly reply within 2 days or else I have to close it.


Invalid Token - Signature verification failed while UI login

@fescobar I am getting 401 error while login to UI.
{"meta_data":{"message":"Invalid Token - Signature verification failed"}}
Also the Network log from browser says 401 unauthorized for reuested URL https:///allure-api/allure-docker-service/config
Request Method: GET Status Code: 401 Remote Address: <IP_ADDRESS>:9000 Referrer Policy: strict-origin-when-cross-origin

We have deployed this allure service on eks cluster and the service is accessible post that.
For deploying this application we have used this repo of yours https://github.com/fescobar/allure-docker-service-examples/tree/master/allure-docker-kubernetes-example
The version i am using is the latest one.

@Kamalb2592 api and ui are deployed in the same domain?

@Kamalb2592 if you are using different instances you have to release your own version.
https://github.com/fescobar/allure-docker-service/pull/193

Thanks, @fescobar I am able to log in now but sometime i am getting 404 error while accessing the project or while creatig new project from UI.

@Kamalb2592 the projects are directories created in the instance, we are not saving that in a database where is everything centralized. That is the reason I was not supporting multiple instances. This project is only for 1 instance.


top-level/coq-packages: remove dontDistribute

In the GitHub discussion of 527bad18d08b5f6b2c1496e684db0ec16eaf51c3,
it was decided to allow Hydra to build coqPackages.

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Requesting review from people who commented on the discussion.

Result of nixpkgs-review pr 121515 at 29c36446 run on aarch64-linux 1

1 package marked as broken and skipped:

satallax

48 packages built successfully:

coq (coqPackages.coq)
coqPackages.Cheerios
coqPackages.ITree
coqPackages.InfSeqExt
coqPackages.QuickChick
coqPackages.StructTact
coqPackages.Verdi
coqPackages.bignums
coqPackages.coq-bits
coqPackages.coq-elpi
coqPackages.coq-ext-lib
coqPackages.coqeal
coqPackages.coqhammer
coqPackages.coqprime
coqPackages.coqtail-math
coqPackages.coquelicot
coqPackages.corn
coqPackages.dpdgraph
coqPackages.equations
coqPackages.flocq
coqPackages.fourcolor
coqPackages.gappalib
coqPackages.hierarchy-builder
coqPackages.interval
coqPackages.iris
coqPackages.math-classes
coqPackages.mathcomp
coqPackages.mathcomp-abel
coqPackages.mathcomp-algebra
coqPackages.mathcomp-analysis
coqPackages.mathcomp-bigenough
coqPackages.mathcomp-character
coqPackages.mathcomp-field
coqPackages.mathcomp-fingroup
coqPackages.mathcomp-finmap
coqPackages.mathcomp-real-closed
coqPackages.mathcomp-solvable
coqPackages.ssreflect (coqPackages.mathcomp-ssreflect)
coqPackages.metalib
coqPackages.multinomials
coqPackages.odd-order
coqPackages.paco
coqPackages.paramcoq
coqPackages.simple-io
coqPackages.stdpp
coqPackages.tlc
framac
why3

@siraben Your PR breaks compcert because the latter contains a configure check that verifies that the version of Coq is comprised between 8.8.0 and 8.12.1. This can be worked around by passing -ignore-coq-version to ./configure.

This commit probably shouldn't simultaneously bump coqPackages to 8.12 as a side-effect?

@lukegb oops, yeah that was unintentional

@Zimmi48 does compcert still fail to build?

No reason why it wouldn't work now. Note that I was basing myself on the automatic nix-review by @r-rmcgibbo to get this info.


Individual visualisation of tasks that have been done

Maybe font color (light gray) or something to check the tasks that you have already done, but only individually. The whole class still have the task not done, until each members checks it.

Thanks for the input, this is a great idea and it's already planned to be added in Carave :-)

Duplicate #155


dayViewResource can't support custom

Custom what?

are you there

We discussed and resolved this outside of GitHub. So closing this issue.


ensure all output from HostListCommand is sorted

In the default cause of a command like helios hosts, the output
currently is not sorted at all by the command - the iteration order of
the Map returned by client.hostStatuses() controls the output of
hosts/rows printed to stdout.
In every other case (using --json or -q) the output is sorted.
This change makes it so that the Map used from client.hostStatuses()
is always sorted, and slightly modifies the test setup so that we can
verify that the HostListCommand is sorting data if it is returned in an
unsorted way.

@spotify/helios-team

Codecov Report

Merging #1115 into master will increase coverage by 0.04%.
The diff coverage is 75%.

@@             Coverage Diff              @@
##             master    #1115      +/-   ##
============================================
+ Coverage     52.04%   52.09%   +0.04%
- Complexity     1580     1581       +1
============================================
  Files           267      267
  Lines         12805    12804       -1
  Branches       1477     1477
============================================
+ Hits           6665     6670       +5
+ Misses         5635     5629       -6
  Partials        505      505


Remove sharp and other native modules to keep this pure javascript

I think it would be so much better if this module could have the same level as functionnality as numpy and not try to handle image processing and other related topics.
That would avoid any installation issues and make browser compatibility more natural.
The image processing features could be extracted into another module depending on this.
What do you think ?
My particular use case is computing dot products between matrix and vector and this would have been a perfect fit.
I guess I'll have to find another way.

Still having issues with sharp, any updates on that?

Also having issues with sharp

I published a new package to remove the sharp and deasync native packages, https://www.npmjs.com/package/@d4c/numjs


toDate() no longer works properly in the development version

By trying the function toDate() on string-dates like "28/09/2015" or "12 may 2017", everything looks fine in the transformation window, but the result displayed is this:
java.util.GregorianCalendar[time=?,areFieldsSet=false,areAllFieldsSet=false,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Europe/Paris",offset=3600000,dstSavings=3600000,useDaylight=true,transitions=184,lastRule=java.util.SimpleTimeZone[id=Europe/Paris,offset=3600000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=2,startMonth=2,startDay=-1,startDayOfWeek=1,startTime=3600000,startTimeMode=2,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=3600000,endTimeMode=2]],firstDayOfWeek=2,minimalDaysInFirstWeek=4,ERA=?,YEAR=2014,MONTH=7,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=28,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=?,HOUR=?,HOUR_OF_DAY=?,MINUTE=?,SECOND=?,MILLISECOND=?,ZONE_OFFSET=?,DST_OFFSET=?]
--

This is probably linked to the failing test case in #1300.

@wetneb Can you work on this over the next 2 weeks ? (invoice-able work)

@thadguidry, sure, but let's first get #1564 fixed, maybe? As there is some overlap.


Move dockerfiles to a docker/ dir

Move the docker files in scripts/ to a docker/ directory. Update all makefile, scripts, and docker compose data to reflect this migration.

This issue follows up on #225

I got this one too @prestonvasquez. Ah, I so missed contributing to OSS. 😄

@prestonvasquez Since you have a project setup, you should definitely consider project automation. Especially to auto-close issues when PR(s) are merged.


Before deposit of V1, user can change upload type

Before completing V1 of a deposit, a user can switch between upload types (browser upload, ZIP upload, globus upload).  We currently allow users to do this between globus and browser upload, so the action here just ensures we are consistent when we add the new ZIP upload action.
If switching from browser upload to globus or ZIP upload:

all files are removed from object (currently we do this for globus, need to do it for ZIP option too)

If switching from globus upload to browser upload or ZIP upload:

globus folder we created and any files in globus are left alone (no action should be needed here)

If switching from ZIP upload to browser upload or globus upload:

all files are removed from object (currently we do this when switching to globus, need to it for ZIP option too)

Closed because will be handled by current approach


feat: plot the command along with the result

Thanks for developing this great tool.
Is your feature request related to a problem? Please describe.
Nope
Describe the solution you'd like
It would be great if the command could be plotted optionally with one flag.
E.g.,
freeze -x "seq 3"  -o t.png --include-cmd

generates a "figure" below.
$ seq 3
1
2
3

Describe alternatives you've considered
Nope
Additional context
Nope

This is a great idea! Thank you for the issue!

I can work on implementing this feature.


Domains annoated with AuditStamp will fail when serialized.

Because AuditTrailHelper is not serializable, and this is added as property to all domains, so serialzation will fail (eg when hibernate cache is serialized to disk etc)

@basejump we will need this when we migrate to hibernate 4.

Pull is merged and new version 2.1.2 is published to grails central repo.


Support for PFCP protocol replay

Hello!
Thanks for the great project.
Is there any plan to support the PFCP protocol in 5Greplay?

Hello Hugo,
It would be a great idea to include it but lack the resources. I will ask the team. Maybe you could do it :-) with our help ?
Best, Edgardo

I can try to have a look for sure. I am not knowledgeable at all regarding this protocol but I'll try my best following what was already implemented!