23.1 Adding IPAlias to exising CARP VIP is no longer possible an leads to errors

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[X] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[X] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
After migrating to the Virtual IP MVC-UI in 23.1 you can no longer assing additional IP aliases to CARP VIPs (as was possible before). Additionally if you upgrade from a (for configd valid) configuration with IP aliases on CARP VIPs the OPNsense\Interfaces\Vip Migration will fail (noted in the upgrade log) and the whole Virtual IP MVC Settings-UI will lock up and not do anything.  The existing Virtual IP configuration is still correctly applied by configd (even with IPalias on the CARP VIP).
To Reproduce
Steps to reproduce the behavior:

Migrate from a configuration that has a CARP VIP with an IP alias
Try to edit/clone an existing IP Alias that was previously on a CARP VIP or try to create an IP alias on a CARP VIP
Note that save does not work/you cannot select a CARP VIP for the Interface of the IPalias

Expected behavior
Being able to add an IP Alias to a CARP VIP as was possible before 23.1 and is still correctly applied from an existing configuration by configd.
Describe alternatives you considered
Editing the config.xml manually to add an IP alias to the CARP VIP works as expected.
Relevant log files
There are no addtional log messages (at all) except for the already noted migration failure.
Additional context
Having IP Aliases on CARP VIPs is very useful as those additional IPs do not require an additional VHID to be assigned, which would limit the amount of Virtual IPs on an interface significantly.
Environment
OPNsense 23.1.3_4 (amd64, OpenSSL)

Addendum: Just did a HAsync a configuration with IP aliases on CARP VIPs to secondary where I manually deleted those aliases from config.xml and rebooted before and even that works so it's just the new MVC-UI that is broken in regards to IP Aliases on CARP VIPs

euh, just add the correct vhid on the alias? I don't think this was different before 23.1 to be honest.

I've tried that on my upgraded system and it doesn't let me edit or save anything in the VIP Settings MVC UI.
After some digging in the Logs i'm seeing errors like this one for every IP alias on CARP VIP in the General log:
[OPNsense\Interfaces\Vip:vip.ecad7906-88a5-4fc0-a395-9639d5edc687.vhid] VHID 2 must be defined on interface opt3 as a CARP VIP first.{2}
in /usr/local/opnsense/mvc/app/models/OPNsense/Base/BaseModel.php:583
Stack trace:
#0 /usr/local/opnsense/mvc/app/models/OPNsense/Base/BaseModel.php(706): OPNsense\Base\BaseModel->serializeToConfig()
#1 /usr/local/opnsense/mvc/script/run_migrations.php(54): OPNsense\Base\BaseModel->runMigrations()
#2 {main} )

This is presumably causing the problems with the UI and from the stack trace seems to be stemming from the failed config migration which gets retried every reboot. Seems like some kind of ordering issue when running the migration but in the original config.xml the corresponding parts are defined in the proper order (CARP first, then IP aliases on the CARP)
The corresponding config.xml section looks like this (obfuscated since it is a production config):
  <virtualip>
    <vip>
      <type>single</type>
      <subnet_bits>32</subnet_bits>
      <mode>carp</mode>
      <interface>opt1</interface>
      <descr>IF_WAN1_FW4</descr>
      <subnet>x.x.x.4</subnet>
      <vhid>3</vhid>
      <advskew>0</advskew>
      <advbase>1</advbase>
      <password>.*</password>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>32</subnet_bits>
      <mode>ipalias</mode>
      <interface>opt1</interface>
      <descr>IF_WAN1_MAIL4</descr>
      <subnet>x.x.x.3</subnet>
      <vhid>3</vhid>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>32</subnet_bits>
      <mode>ipalias</mode>
      <interface>opt1</interface>
      <descr>IF_WAN1_WWW4</descr>
      <subnet>x.x.x.2</subnet>
      <vhid>3</vhid>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>32</subnet_bits>
      <mode>ipalias</mode>
      <interface>opt1</interface>
      <descr>IF_WAN1_IPSEC4</descr>
      <subnet>x.x.x.10</subnet>
      <vhid>3</vhid>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>32</subnet_bits>
      <mode>ipalias</mode>
      <interface>opt1</interface>
      <descr>IF_WAN1_NS4</descr>
      <subnet>x.x.x.11</subnet>
      <vhid>3</vhid>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>32</subnet_bits>
      <mode>ipalias</mode>
      <interface>opt1</interface>
      <descr>IF_WAN1_VC14</descr>
      <subnet>x.x.x.12</subnet>
      <vhid>3</vhid>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>32</subnet_bits>
      <mode>ipalias</mode>
      <interface>opt1</interface>
      <descr>IF_WAN1_TURN4</descr>
      <subnet>x.x.x.13</subnet>
      <vhid>3</vhid>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>32</subnet_bits>
      <mode>ipalias</mode>
      <interface>opt1</interface>
      <descr>IF_WAN1_WA4</descr>
      <subnet>x.x.x.14</subnet>
      <vhid>3</vhid>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>32</subnet_bits>
      <mode>ipalias</mode>
      <interface>opt1</interface>
      <descr>IF_WAN1_VC24</descr>
      <subnet>x.x.x.15</subnet>
      <vhid>3</vhid>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>128</subnet_bits>
      <mode>carp</mode>
      <interface>opt1</interface>
      <descr>IF_WAN1_FW6</descr>
      <subnet>2001:638:a01:11::2</subnet>
      <vhid>4</vhid>
      <advskew>0</advskew>
      <advbase>1</advbase>
      <password>.*</password>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>128</subnet_bits>
      <mode>ipalias</mode>
      <interface>opt1</interface>
      <descr>IF_WAN1_FW6-external</descr>
      <subnet>2001:638:a01:5030::10</subnet>
      <vhid>4</vhid>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>32</subnet_bits>
      <mode>carp</mode>
      <interface>opt2</interface>
      <descr>IF_WAN2_FW4</descr>
      <subnet>x.x.x.124</subnet>
      <vhid>3</vhid>
      <advskew>0</advskew>
      <advbase>1</advbase>
      <password>.*</password>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>32</subnet_bits>
      <mode>ipalias</mode>
      <interface>opt2</interface>
      <descr>IF_WAN2_MAIL4</descr>
      <subnet>x.x.x.123</subnet>
      <vhid>3</vhid>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>32</subnet_bits>
      <mode>ipalias</mode>
      <interface>opt2</interface>
      <descr>IF_WAN2_WWW4</descr>
      <subnet>x.x.x.122</subnet>
      <vhid>3</vhid>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>128</subnet_bits>
      <mode>carp</mode>
      <interface>opt2</interface>
      <descr>IF_WAN2_FW6</descr>
      <subnet>xxx:xxx:xxx:26::2</subnet>
      <vhid>4</vhid>
      <advskew>0</advskew>
      <advbase>1</advbase>
      <password>.*</password>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>128</subnet_bits>
      <mode>ipalias</mode>
      <interface>opt2</interface>
      <descr>IF_WAN2_FW6-external</descr>
      <subnet>xxx:xxx:xxx:3030::10</subnet>
      <vhid>4</vhid>
    </vip>
  </virtualip>

Any hints on how to fix this issue  without having to manually modify config.xml to delete the broken aliases, reboot and then recreate every single IP alias (there's just too many of them) would be greatly appreciated.

I've tried that on my upgraded system and it doesn't let me edit or save anything in the VIP Settings MVC UI.
After some digging in the Logs i'm seeing errors like this one for every IP alias on CARP VIP in the General log:
[OPNsense\Interfaces\Vip:vip.ecad7906-88a5-4fc0-a395-9639d5edc687.vhid] VHID 2 must be defined on interface opt3 as a CARP VIP first.{2}
in /usr/local/opnsense/mvc/app/models/OPNsense/Base/BaseModel.php:583
Stack trace:
#0 /usr/local/opnsense/mvc/app/models/OPNsense/Base/BaseModel.php(706): OPNsense\Base\BaseModel->serializeToConfig()
#1 /usr/local/opnsense/mvc/script/run_migrations.php(54): OPNsense\Base\BaseModel->runMigrations()
#2 {main} )

This is presumably causing the problems with the UI and from the stack trace seems to be stemming from the failed config migration which gets retried every reboot. Seems like some kind of ordering issue when running the migration but in the original config.xml the corresponding parts are defined in the proper order (CARP first, then IP aliases on the CARP)
The corresponding config.xml section looks like this (obfuscated since it is a production config):
  <virtualip>
    <vip>
      <type>single</type>
      <subnet_bits>32</subnet_bits>
      <mode>carp</mode>
      <interface>opt1</interface>
      <descr>IF_WAN1_FW4</descr>
      <subnet>x.x.x.4</subnet>
      <vhid>3</vhid>
      <advskew>0</advskew>
      <advbase>1</advbase>
      <password>.*</password>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>32</subnet_bits>
      <mode>ipalias</mode>
      <interface>opt1</interface>
      <descr>IF_WAN1_MAIL4</descr>
      <subnet>x.x.x.3</subnet>
      <vhid>3</vhid>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>32</subnet_bits>
      <mode>ipalias</mode>
      <interface>opt1</interface>
      <descr>IF_WAN1_WWW4</descr>
      <subnet>x.x.x.2</subnet>
      <vhid>3</vhid>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>32</subnet_bits>
      <mode>ipalias</mode>
      <interface>opt1</interface>
      <descr>IF_WAN1_IPSEC4</descr>
      <subnet>x.x.x.10</subnet>
      <vhid>3</vhid>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>32</subnet_bits>
      <mode>ipalias</mode>
      <interface>opt1</interface>
      <descr>IF_WAN1_NS4</descr>
      <subnet>x.x.x.11</subnet>
      <vhid>3</vhid>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>32</subnet_bits>
      <mode>ipalias</mode>
      <interface>opt1</interface>
      <descr>IF_WAN1_VC14</descr>
      <subnet>x.x.x.12</subnet>
      <vhid>3</vhid>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>32</subnet_bits>
      <mode>ipalias</mode>
      <interface>opt1</interface>
      <descr>IF_WAN1_TURN4</descr>
      <subnet>x.x.x.13</subnet>
      <vhid>3</vhid>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>32</subnet_bits>
      <mode>ipalias</mode>
      <interface>opt1</interface>
      <descr>IF_WAN1_WA4</descr>
      <subnet>x.x.x.14</subnet>
      <vhid>3</vhid>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>32</subnet_bits>
      <mode>ipalias</mode>
      <interface>opt1</interface>
      <descr>IF_WAN1_VC24</descr>
      <subnet>x.x.x.15</subnet>
      <vhid>3</vhid>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>128</subnet_bits>
      <mode>carp</mode>
      <interface>opt1</interface>
      <descr>IF_WAN1_FW6</descr>
      <subnet>xxx:xxx:xxx:11::2</subnet>
      <vhid>4</vhid>
      <advskew>0</advskew>
      <advbase>1</advbase>
      <password>.*</password>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>128</subnet_bits>
      <mode>ipalias</mode>
      <interface>opt1</interface>
      <descr>IF_WAN1_FW6-external</descr>
      <subnet>xxx:xxx:xxx::10</subnet>
      <vhid>4</vhid>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>32</subnet_bits>
      <mode>carp</mode>
      <interface>opt2</interface>
      <descr>IF_WAN2_FW4</descr>
      <subnet>x.x.x.124</subnet>
      <vhid>3</vhid>
      <advskew>0</advskew>
      <advbase>1</advbase>
      <password>.*</password>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>32</subnet_bits>
      <mode>ipalias</mode>
      <interface>opt2</interface>
      <descr>IF_WAN2_MAIL4</descr>
      <subnet>x.x.x.123</subnet>
      <vhid>3</vhid>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>32</subnet_bits>
      <mode>ipalias</mode>
      <interface>opt2</interface>
      <descr>IF_WAN2_WWW4</descr>
      <subnet>x.x.x.122</subnet>
      <vhid>3</vhid>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>128</subnet_bits>
      <mode>carp</mode>
      <interface>opt2</interface>
      <descr>IF_WAN2_FW6</descr>
      <subnet>xxx:xxx:xxx:26::2</subnet>
      <vhid>4</vhid>
      <advskew>0</advskew>
      <advbase>1</advbase>
      <password>.*</password>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>128</subnet_bits>
      <mode>ipalias</mode>
      <interface>opt2</interface>
      <descr>IF_WAN2_FW6-external</descr>
      <subnet>xxx:xxx:xxx:3030::10</subnet>
      <vhid>4</vhid>
    </vip>
  </virtualip>

Any hints on how to fix this issue  without having to manually modify config.xml to delete the broken aliases, reboot and then recreate every single IP alias (there's just too many of them) would be greatly appreciated.

a broken config needs to be modified manually unfortunately, the model can't know which items have changed when there's no uuid assigned yet. so, download, edit, upload without reboot and inspect.

Okay, so i'll just have to download the config.xml and add the uuid attribute to every single vip entry?
This config was created on 20.7 first from scratch and has been upgraded through every available version using the UI since then, how can it be that the UUIDs are now missing? Shouldn't they've been added during one of the upgrades?
Anyway, thanks again for the information i need to fix this manually so i'll give it a try.

or maybe easier, make sure the vhid's are consistent (only assign an alias with vhid when there's also an address with type carp defined).

That is currently the case but the UI parser (or maybe the migration job as that fails consistently?) does not seem to resolve the CARP definitions before the IP Aliases, therefore the above mentioned error.
In config.xml there is always a VIP/VHID with type carp defined before any ipaliases with the same VHID (as seen above).

maybe a duplicate section in the config? vhid 2 doesn't exist in the configuration above.....

I've just tried to add the missing uuid's as you suggested and that lead to the same errors upon saving an ip alias, when trying to edit a CARP VIP i could not save again so i suspect that it is the CARP VIP entry that is broken in the first place leading to subsequent errors during VIP-config migration when upgrading the opnsense package.
I've reduced my VIP config to a single CARP VIP and tried to upgrade but the Virtual-IP config migration from package opnsense still fails with just that single entry. This is the entry used (obfuscated):
<vip>
    <type>single</type>
    <subnet_bits>32</subnet_bits>
    <mode>carp</mode>
    <interface>opt1</interface>
    <descr>IF_WAN1_FW4</descr>
    <subnet>xxx.xxx.xxx.4</subnet>
    <vhid>3</vhid>
    <advskew>100</advskew>
    <advbase>1</advbase>
    <password>.*</password>
</vip>

After manually created a VIP entry on a new VM for testing an it looks like this in config.xml, so at least now I know what I have to put there to make it work (and ip aliases subsequently as well), which is modifying CARP entries to the following and adding a UUID to all the vip tags:
<vip uuid="29f4f85a-b5bd-45d1-ae7b-511e219ff009">
    <interface>opt1</interface>
    <mode>carp</mode>
    <subnet>xxx.xxx.xxx.4</subnet>
    <subnet_bits>32</subnet_bits>
    <gateway/>
    <noexpand>0</noexpand>
    <nobind>0</nobind>
    <password>.*</password>
    <vhid>3</vhid>
    <advbase>1</advbase>
    <advskew>100</advskew>
    <descr>IF_WAN1_FW4</descr>
</vip>

For what it's worth is that I think that there are some issues with the configuration migration for VIPs in the opnsense Package (I still haven't found the logs as to why it fails) but it should be managable now that know how to manually edit the config to a sane state.

Same here. To me it seems that the Virtual IP configuration is not changed during the update although upgrades would be required.
Configuration before/after upgrade:
  <virtualip>
    <vip>
      <type>single</type>
      <subnet_bits>28</subnet_bits>
      <mode>carp</mode>
      <interface>wan</interface>
      <descr>WAN = <IP_ADDRESS>/28</descr>
      <subnet><IP_ADDRESS></subnet>
      <vhid>4</vhid>
      <advskew>10</advskew>
      <advbase>1</advbase>
      <password>abc123</password>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>28</subnet_bits>
      <mode>ipalias</mode>
      <interface>wan</interface>
      <descr>WAN = <IP_ADDRESS>/28</descr>
      <subnet><IP_ADDRESS></subnet>
      <vhid>4</vhid>
    </vip>
    <vip>
      <type>single</type>
      <subnet_bits>64</subnet_bits>
      <mode>carp</mode>
      <interface>wan</interface>
      <descr>WAN = 2001:100:100:100::2/64</descr>
      <subnet>2001:100:100:100::2</subnet>
      <vhid>6</vhid>
      <advskew>10</advskew>
      <advbase>1</advbase>
      <password>abc123</password>
    </vip>

Configuration after manually recreating VIP config (by manually copying all elements from the config dump into the UI):
  <virtualip version="1.0.0">
    <vip uuid="39a655df-375e-471f-8df9-0dd3717eebc8">
      <interface>wan</interface>
      <mode>carp</mode>
      <subnet><IP_ADDRESS></subnet>
      <subnet_bits>28</subnet_bits>
      <gateway/>
      <noexpand>0</noexpand>
      <nobind>0</nobind>
      <password>abc123</password>
      <vhid>4</vhid>
      <advbase>1</advbase>
      <advskew>10</advskew>
      <descr>WAN = <IP_ADDRESS>/28</descr>
    </vip>
    <vip uuid="3fb7c11f-77ce-460c-9fe4-f9c5bbd849fc">
      <interface>wan</interface>
      <mode>ipalias</mode>
      <subnet><IP_ADDRESS></subnet>
      <subnet_bits>28</subnet_bits>
      <gateway/>
      <noexpand>0</noexpand>
      <nobind>0</nobind>
      <password/>
      <vhid>4</vhid>
      <advbase>1</advbase>
      <advskew>0</advskew>
      <descr>WAN = <IP_ADDRESS>/28</descr>
    </vip>
    <vip uuid="8a524bbc-b38e-4b89-a0d1-90438ae0623e">
      <interface>wan</interface>
      <mode>ipalias</mode>
      <subnet><IP_ADDRESS></subnet>
      <subnet_bits>28</subnet_bits>
      <gateway/>
      <noexpand>0</noexpand>
      <nobind>0</nobind>
      <password/>
      <vhid>4</vhid>
      <advbase>1</advbase>
      <advskew>0</advskew>
      <descr>WAN = <IP_ADDRESS>/28</descr>
    </vip>
    <vip uuid="acac2af3-4d48-4ce3-8b45-6831ba37b28b">
      <interface>wan</interface>
      <mode>carp</mode>
      <subnet>2001:100:100:100::2</subnet>
      <subnet_bits>64</subnet_bits>
      <gateway/>
      <noexpand>0</noexpand>
      <nobind>0</nobind>
      <password>abc123</password>
      <vhid>6</vhid>
      <advbase>1</advbase>
      <advskew>10</advskew>
      <descr>WAN = 2001:100:100:100::2/64</descr>
    </vip>

For me it looks as if the (manually recreated) configuration is the same as the old one (exact same order; just a few new fields + the version attribute for the virtualip tag + the uuid attribute for each vip entry).
Note that without manual re-configuration, the existing configuration seemed to work just fine. The problems just appeared when editing/adding virtual IPs. Before deleting and manually re-creating the vvirtual IPs, it was not possible to edit any of the virtual IPs (the UI elements remain empty upon clicking the Edit button) or to add new IPAliases for the existing CARP entries.

After further testing i'm still encountering issues during testing on a new demo install of opnsense, when editing (newly created) CARP VIPs as soon as there is an IP alias on that or another CARP VIP is involved, e.g. Nothing happens when pressing the save button upon changing the value of advbase.
There has to be some kind of bug in the parsing logic or the model of the new MVC UI that breaks upon certain changes and/or on upgrading existing configurations with certain preconditions that i cannot grasp.

After further testing i'm still encountering issues during testing on a new demo install of opnsense, when editing (newly created) CARP VIPs as soon as there is an IP alias on that or another CARP VIP involved, e.g. Nothing happens when pressing the save button upon changing the value of advbase.
There has to be some kind of bug in the parsing logic or the model of the new MVC UI that breaks upon certain changes and/or on upgrading existing configurations with certain preconditions that i cannot grasp.
Definitely not just an existing (not even broken?) config issue.

Steps to reproduce:

Use newly installed opnsense
Create first CARP VIP
Create second CARP VIP
Create IP alias on second CARP VIP
Edit advbase on either of the CARP VIPs
Press save on the edit dialog -> Nothing happens, Dialog stays open

Changing advbase (or other parameters) on the CARP entries works just fine for me. Only changing the address of existing entries fails with "VHID 4 must be defined on interface [...] as a CARP VIP first."

Changing advbase (or other parameters) on the CARP entries works just fine for me. Only changing the address of existing IPAlias entries fails with "VHID 4 must be defined on interface [...] as a CARP VIP first." (the same works for the corresponding CARP entry itself).

I've now also managed to reach this error as well after manually updating every single entry in my config.xml to the format 23.1 uses using this simple python script:
import uuid
import xmltodict

def find_carpvip(data, iface, vhid):
    for cvip in data['vip']:
        if cvip['mode'] == 'carp' and cvip['interface'] == iface and cvip['vhid'] == vhid:
            return cvip

with open('config.xml', 'r', encoding='utf-8') as f:
    config = xmltodict.parse(f.read())
    virtualip = config['opnsense']['virtualip']
    if '@version' not in virtualip:
        virtualip['@version'] = "1.0.0"

    for vip in virtualip['vip']:
        if '@uuid' not in vip:
            vip['@uuid'] = uuid.uuid4()

        if 'type' in vip:
            del vip['type']
            vip['gateway'] = None
            vip['nobind'] = 0
            vip['noexpand'] = 0

        if vip['mode'] == 'ipalias' and 'vhid' in vip:
            carpvip = find_carpvip(virtualip, vip['interface'], vip['vhid'])
            vip['advbase'] = carpvip['advbase']
            vip['advskew'] = carpvip['advskew']

    print(xmltodict.unparse({'virtualip': virtualip}, pretty=True).replace('<gateway></gateway>', '<gateway/>'))

Editing an IP alias the same 'VHID must be defined' error is shown.
Additionally upon creating a new IP alias on the 'opt1' Interface with a VHID pressing save again does nothing, instead of an IP alias a CARP VIP gets somehow created on the never selected 'wan' Interface in the background that upon trying to delete on the UI gives the following API exception (Listing all defined IP aliases on CARP VIPs):
/usr/local/opnsense/mvc/app/models/OPNsense/Base/BaseModel.php:583: [OPNsense\Interfaces\Vip:vip.0e27476d-039b-4e21-9ca9-50068f692f44.vhid] VHID 3 must be defined on interface opt1 as a CARP VIP first.{3}
[OPNsense\Interfaces\Vip:vip.7bf2ba0a-be77-4593-b977-cfd35d326d07.vhid] VHID 3 must be defined on interface opt1 as a CARP VIP first.{3}
[OPNsense\Interfaces\Vip:vip.e5648fa2-65b6-44b6-a1e3-4e2ac595e338.vhid] VHID 3 must be defined on interface opt1 as a CARP VIP first.{3}
[OPNsense\Interfaces\Vip:vip.366a5fd4-7d4c-45a2-9f35-4fa8fc6cc5e4.vhid] VHID 3 must be defined on interface opt1 as a CARP VIP first.{3}
[OPNsense\Interfaces\Vip:vip.5d800c97-6e34-4432-ac65-11bbed8c39ab.vhid] VHID 3 must be defined on interface opt1 as a CARP VIP first.{3}
[OPNsense\Interfaces\Vip:vip.d95a5ee9-1a85-4287-bcfb-54303e192e85.vhid] VHID 3 must be defined on interface opt1 as a CARP VIP first.{3}
[OPNsense\Interfaces\Vip:vip.12b580a6-e34d-4a5b-8358-534870a148c0.vhid] VHID 3 must be defined on interface opt1 as a CARP VIP first.{3}
[OPNsense\Interfaces\Vip:vip.5640b3db-55ac-4362-8437-ce0b00b34220.vhid] VHID 3 must be defined on interface opt1 as a CARP VIP first.{3}
[OPNsense\Interfaces\Vip:vip.bb43ad92-15b4-4071-8f2d-18709742364b.vhid] VHID 3 must be defined on interface opt1 as a CARP VIP first.{3}
[OPNsense\Interfaces\Vip:vip.573f7ca6-8c75-4bad-81eb-1bbb80662736.vhid] VHID 4 must be defined on interface opt1 as a CARP VIP first.{4}
[OPNsense\Interfaces\Vip:vip.7c30f090-d002-47e4-9a53-85c179b74627.vhid] VHID 3 must be defined on interface opt2 as a CARP VIP first.{3}
[OPNsense\Interfaces\Vip:vip.b1969568-dfe5-42eb-8557-687684d7834a.vhid] VHID 3 must be defined on interface opt2 as a CARP VIP first.{3}
[OPNsense\Interfaces\Vip:vip.2d1e64f3-4ab7-4e70-8800-bb8f77255762.vhid] VHID 4 must be defined on interface opt2 as a CARP VIP first.{4}
[OPNsense\Interfaces\Vip:vip.9088a4ec-0d2a-40a1-9213-d5e3e28334a2.vhid] VHID 1 must be defined on interface opt3 as a CARP VIP first.{1}
[OPNsense\Interfaces\Vip:vip.c146c8fe-a599-4e48-be43-3af03743cdc4.vhid] VHID 2 must be defined on interface opt3 as a CARP VIP first.{2}

Oddly enough all of those VHIDs have a proper CARP VIP defined in config.xml (and the UI) but the BaseModel again does not seem to resolve this properly. This is now the same problem as my initial issue but with the full config.xml virtualip Section in the Format that 23.1 generates using the MVC UI. This same config worked perfectly until 23.1 but is now somehow no longer editable using the MVC UI (even with the updated config.xml format), though still not broken as configd still happily accepts and processes it.
P.S.: Another thing that I don't understand why it is necessary to have advbase and advskew in the IPalias definition as well on 23.1 as that is really only needed for setting up the CARP VIP itself.

@Kishi85 can you try https://github.com/opnsense/core/commit/4ef3c1fbe850274ec5a01e03025cbdf75d0382c8?
opnsense-patch 4ef3c1f

Thanks, I'll add this to 23.1.4 for today.


Removes spaces in project files

Spaces are being removed when solution explorer is used to modify project files. This causes issues for us as we have a mixed VSCode / Visual Studio 2017 environment.
The space is removed before the closing tag (see image).
A configuration option to disable this behaviour would be great.

Wow, that was quick! Thanks mate!


3464 action view template error undefined method to vizjson for carto visualization

@rafatower , @Kartones CR this fix for #3464, please.

Frontend tests were OK :+1: (details)

:+1: but I'm not a big fan of that defensive programming for in-house code.

Retest this, please.

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

:+1:

@Kartones , @rafatower , take a second CR (after tests pass) with @Kartones suggestions, please.

Frontend tests were OK :+1: (details)

:+1:

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

@Kartones , @rafatower , a (hopefully) last CR. I've removed defensive code (which was not actually needed for this fix).

:+1:

:+1:


Validating arrays allows for non validated fields to be present

Laravel Version: 8.38.0
PHP Version: 8.0.3
Database Driver & Version:

Description:
When validating arrays I expect that only the data that is validated is returned from the validate() or $request->validate() method.
Steps To Reproduce:
In the following example I have made myself super_admin. I would have expected that the role field was ignored. I also don't see another way to enforce this behavior.

use Illuminate\Support\Facades\Validator;

$data = [
    'users' => [
        [
            'email' =><EMAIL_ADDRESS>            'role' => 'super_admin',
        ],
    ],
];

$validator = Validator::make($data, [
    'users' => ['max:5'],
    'users.*.email' => ['required', 'email'],
]);

Users::createMany($validator->validate());

Current behavior:
[
    "users" => [
        [
            "email" =><EMAIL_ADDRESS>            "role" => "super_admin",
        ],
    ],
]

Expected behavior:
[
    "users" => [
        [
            "email" =><EMAIL_ADDRESS>        ],
    ],
]

Hi there,
Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!
Thanks.

@driesvints Hey Dries, are you sure closing this is the right thing to do? To me this sounds like a more like a bug/security issue, rather than a question for support. The functionality returns unexpected behaviour, and might potentially cause harm to your system, given by Bert's example.

Yeah this is expected. But I see this isn't documented. We'd appreciate PR's to the docs 👍


Property query proposal. See #6.

This PR

proposes a solution to identify properties in schema.gov.it

@ioggstream
I keep viewing it as a non-match.
The rdfs comment is working fine for the property.

Can you check if the issue is related to some missing field?


Upgrade to JMH 1.4

For some reason the JMH dependency in 0.1.8 is still onto 1.3.1:
[info] downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/pl.project13.scala/sbt-jmh/scala_2.10/sbt_0.13/0.1.8/jars/sbt-jmh.jar ...
[info] 	[SUCCESSFUL ] pl.project13.scala#sbt-jmh;0.1.8!sbt-jmh.jar (2245ms)
[info] Done updating.
[info] Set current project to root (in build file:/Users/mathias/Documents/projects/triebitset/)
root > p benchmark
[info] Set current project to benchmark (in build file:/Users/mathias/Documents/projects/triebitset/)
benchmark > show libraryDependencies
[info] List(org.scala-lang:scala-library:2.11.5, org.openjdk.jmh:jmh-core:1.3.1, org.openjdk.jmh:jmh-generator-bytecode:1.3.1, org.openjdk.jmh:jmh-generator-reflection:1.3.1)
benchmark >

Maybe the JAR somehow didn't get rebuilt properly for the latest release?

Hm... thanks for the info, I'll look into that today evening

Thanks, Konrad!
Meanwhile JMH 1.5 has been released.
Maybe it's even possible to upgrade to that right away.

Had a silly mistake in the 1.8 release: https://github.com/ktoso/sbt-jmh/commit/c20646bb2b796083558e26320fdf55dd7936a39b#diff-656d44ed3ab355d919402897bec8a9bdL44
Now fixed and released 0.1.9 with 1.5 support. Happy hakking!

Great! Thanks!
One more (unrelated) question that I am just about to look into:
Do you know the best way to access the benchmark results programmatically?
It seems I need to get a public static main method into the benchmark class, which is not as easy as it should. I'm thinking a parent class written in Java which simply calls out to a Scala object could do the trick, but I might be missing something.

Good and bad news for that one.
Good comes first. You can either just write a main class that invokes the runner explicitly, and then gets the results from a run(). You also can give a custom output formatter, as shown below.
package org.openjdk.jmh

import java.util

import org.openjdk.jmh._
import org.openjdk.jmh.infra.{IterationParams, BenchmarkParams}
import org.openjdk.jmh.results.{BenchmarkResult, RunResult, IterationResult}
import org.openjdk.jmh.runner.Runner
import org.openjdk.jmh.runner.format.OutputFormat
import org.openjdk.jmh.runner.options.CommandLineOptions

object RunnerApp extends App {
  import collection.JavaConversions._

  val opts = new CommandLineOptions(args: _*)

  val formatter = new OutputFormat {override def iteration(benchmarkParams: BenchmarkParams, iterationParams: IterationParams, i: Int): Unit = ???

    override def endBenchmark(benchmarkResult: BenchmarkResult): Unit = ???

    override def endRun(collection: java.util.Collection[RunResult]): Unit = ???

    override def flush(): Unit = ???

    override def write(i: Int): Unit = ???

    override def write(bytes: Array[Byte]): Unit = ???

    override def startBenchmark(benchmarkParams: BenchmarkParams): Unit = ???

    override def startRun(): Unit = ???

    override def close(): Unit = ???

    override def println(s: String): Unit = ???

    override def verbosePrintln(s: String): Unit = ???

    override def iterationResult(benchmarkParams: BenchmarkParams, iterationParams: IterationParams, i: Int, iterationResult: IterationResult): Unit = ???

    override def print(s: String): Unit = ???
  }

//  val runner = new Runner(opts, formatter)
  val runner = new Runner(opts)

  val res = runner.run()

  res.foreach { r ⇒
    println("r.getAggregatedResult = " + r.getAggregatedResult)
  }

}

Now bad news: It won't work "just like that"... Currently we'd get class not founds because of the generated classes not being on the classpath of when you runMain something. I think this should be solvable by adding ./target/scala-2.10/classes/ to the classpath for runMain hm. I'll create a ticket and look into it.
Other hints: depends what you're doing (getting programatic access becomes a ticket now ;-)),
maybe exporting to csv or json would be useful? That's just an option and would work now, the available output formats are: [info] Available formats: text, csv, scsv, json, latex.

Great. Thanks for the info. I'll work something out and let you know...


ShowMandatory don't show red asterisk on a Enum based Primary Key

Describe the bug
I have a Primary Key based on a custom Enum and when I set ShowMandatory = true under the Page field, Business Central don't show the red asterisk for this field but for other field types this works OK.
To Reproduce
The Enum is like this:
enum 50000 "MyEnum"
{
    Extensible = false;

    value(0; _) { Caption = ' '; }
    value(10; Value1) { Caption = 'Value 1'; }
}

Expected behavior
The red asterisk should be visible unless the User selects a non-zero enum value.
Screenshots

Versions:
AL Language: 2.0.48254
Business Central: ES Dynamics NAV 13.0 (24630) OnPremise

Hi @JavierFuentes ! Have you set the BlankZero property? https://community.dynamics.com/nav/f/34/t/177754
It works fine for me:

There are several blog posts around about this property detailing the different options that you need to set depending on the context.

Hi @atoader,
please don't close my Issues until I can answer your suggestions or messages... we only can evaluate Business Central new development paradigm on week-ends... thank you...
I will test this week-end, but I opened another issue (4323) because I can't set NotBlank = true on Enum fields at Table level...
Do you refer to set this at Page level?
Thanks again for your help & patience.

Hi! I set the property on the page field. I will post my code later today. Make sure you are using the latest development preview or at least the latest CU so that you do not encounter bugs we have fixed already.

@JavierFuentes does it reproduce on the latest CU?

@JavierFuentes I apologize for not seeing your question about how to install the latest CU. Unfortunately, I am not familiar with this process. I think you might be able to find more information on:
Business Central Community
mibuso forum
Dynamics User Group
Before posting a question there, make sure you check our docs. For example: https://support.microsoft.com/en-us/help/4072484/how-to-install-a-microsoft-dynamics-nav-2018-cumulative-update

@JavierFuentes here's the sample code I promised:
enum 50100 MyEnum
{
    Extensible = true;

    value(0; MyValue)
    {
    }

    value(1; MyOtherValue)
    {
    }
}

table 50100 MyTable
{
    DataClassification = ToBeClassified;

    fields
    {
        field(1; PK; enum MyEnum)
        {
            DataClassification = ToBeClassified;
        }

        field(2; SK; enum MyEnum)
        {
            DataClassification = ToBeClassified;
        }
    }
}

page 50100 MyPage
{
    PageType = Card;
    ApplicationArea = All;
    UsageCategory = Administration;
    SourceTable = MyTable;

    layout
    {
        area(Content)
        {
            group(GroupName)
            {
                field(PK; PK)
                {
                    ApplicationArea = All;
                    BlankZero = true;
                    ShowMandatory = true;
                }

                field(SK; SK)
                {
                    ApplicationArea = All;
                    BlankZero = true;
                    ShowMandatory = true;
                }
            }
        }
    }
}

Closing this issue as we believe it has been fixed. If you are still able to reproduce it on the latest version of Business Central, please create a new issue


[Event Hubs] Migration guide improvements

The migration guide for Event Hubs can use the below improvements

Update title to reflect the package names. We are doing this across all languages based on feedback from the doc review. One suggestion: isGuide to migrate from old-pkg-name-here to new-pkg-name-here
In the introduction add a section describing why one should migrate from the older version to the newer one. Perhaps a link to the guidelines and general benefits.

Moving to the April milestone as part of closing out old past due milestones


fix for services

@jim-minter @kargakis @kwoodson @pweil-
All services object is immutable when updating due clusterIP.
Any service which needs updating will trigger an error with immutable field https://github.com/jim-minter/azure-helm/issues/103
handleSpecialObjects was introduced to handle cases like this.
If service gets updated we need to add clusterIP manually (L164) because DeepCopy does not copy this field. (so cleaning of the existing is just removing data we need)

lgtm


[Bug] Render Failure when repeated requests are made

Insomnia Version: 6.0.1
Operating System: macOS High Sierra

Details
This error occurs when I make repeated requests to a Python Flask debugging page. The issue causes Insomnia to become unusable and requires a restart to fix the issue.
Error: Cannot call loadURL because the webContents is unavailable. The WebView must be attached to the DOM and the dom-ready event emitted before this method can be called.
    at HTMLElement.loadURL (/Applications/Insomnia.app/Contents/Resources/electron.asar/renderer/web-view/web-view.js:390:15)
    at ResponseWebView._setBody (file:///Applications/Insomnia.app/Contents/Resources/app.asar/bundle.js:100483:19)
    at ResponseWebView.componentDidUpdate (file:///Applications/Insomnia.app/Contents/Resources/app.asar/bundle.js:100492:10)
    at commitLifeCycles (file:///Applications/Insomnia.app/Contents/Resources/app.asar/bundle.js:241624:207)
    at R (file:///Applications/Insomnia.app/Contents/Resources/app.asar/bundle.js:241650:7)
    at G (file:///Applications/Insomnia.app/Contents/Resources/app.asar/bundle.js:241647:349)
    at x (file:///Applications/Insomnia.app/Contents/Resources/app.asar/bundle.js:241646:378)
    at n (file:///Applications/Insomnia.app/Contents/Resources/app.asar/bundle.js:241646:221)
    at B (file:///Applications/Insomnia.app/Contents/Resources/app.asar/bundle.js:241645:117)
    at v (file:///Applications/Insomnia.app/Contents/Resources/app.asar/bundle.js:241644:51)

Woah, that's a strange one. Should be fixable though!


About 'VAL_HINT_DIR'

Thank for your work!
When I want to train, I don't understand the use of 'VAL_HINT_DIR'. Must it be filled in?

We need to fix the hint locations for evaluation so that we can eliminate the variance coming from sampling different hint locations during inference.


[Panic] in pre-commit with v0.0.273

After updating my pre-commit hook from 0.0.272 to 0.0.273, running ruff via pre-commit fails with a panic.  Running ruff manually at the same version works without issue.  There's no pyproject, and my .ruff.toml was unchanged. Running just the ruff hook also works find. I've removed ~/.cache/pre-commit to get a fresh copy, which still fails.
After setting RUST_BACKTRACE=1, the log is as below:
ruff.....................................................................Failed
- hook id: ruff
- exit code: 101

error: `ruff` crashed. This indicates a bug in `ruff`. If you could open an issue at:

https://github.com/astral-sh/ruff/issues/new?title=%5BPanic%5D

quoting the executed command, along with the relevant file contents and `pyproject.toml` settings, we'd be very appreciative!

thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', crates\ruff_cli\src\commands\run.rs:
error: `ruff` crashed. This indicates a bug in `ruff`. If you could open an issue at:

https://github.com/astral-sh/ruff/issues/new?title=%5BPanic%5D

quoting the executed command, along with the relevant file contents and `pyproject.toml` settings, we'd be very appreciative!

thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', crates\ruff_cli\src\commands\run.rs:112:65
112:65
stack backtrace:

error: `ruff` crashed. This indicates a bug in `ruff`. If you could open an issue at:

https://github.com/astral-sh/ruff/issues/new?title=%5BPanic%5D

quoting the executed command, along with the relevant file contents and `pyproject.toml` settings, we'd be very appreciative!

thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', crates\ruff_cli\src\commands\run.rs:112:65

error: `ruff` crashed. This indicates a bug in `ruff`. If you could open an issue at:

https://github.com/astral-sh/ruff/issues/new?title=%5BPanic%5D

quoting the executed command, along with the relevant file contents and `pyproject.toml` settings, we'd be very appreciative!

thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', crates\ruff_cli\src\commands\run.rs:112:65

error: `ruff` crashed. This indicates a bug in `ruff`. If you could open an issue at:

https://github.com/astral-sh/ruff/issues/new?title=%5BPanic%5D

quoting the executed command, along with the relevant file contents and `pyproject.toml` settings, we'd be very appreciative!

thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', crates\ruff_cli\src\commands\run.rs:112:65

error: `ruff` crashed. This indicates a bug in `ruff`. If you could open an issue at:

https://github.com/astral-sh/ruff/issues/new?title=%5BPanic%5D

quoting the executed command, along with the relevant file contents and `pyproject.toml` settings, we'd be very appreciative!

thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', crates\ruff_cli\src\commands\run.rs:112:65
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

I'm running into this too, cc @Thomasdezeeuw since the panicking line blames to https://github.com/astral-sh/ruff/pull/5120

I don’t know the cause, but I’ll cut a fix for this tonight.

I'm taking a look now.

Are any of these projects public, to help me reproduce?

I don't have a public reproducer. If you aren't able to reproduce anywhere, I can try to make one.


could the AVR edition also support the SAMD series?

`Compiling 'pixeltime_AVR' for 'Adafruit Feather M4 Express (SAMD51)'
pixeltime_AVR.ino:7: In file included from
PxMatrix.h: In member function void PxMATRIX::writeRegister(uint16_t, uint8_t)
PxMatrix.h: 471:65: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((bit_counter ==  (_send_buffer_size*8 - reg_position-1)))
PxMatrix.h: In member function void PxMATRIX::display(uint16_t)
Error compiling project sources
PxMatrix.h: 1070:88: error: 'SPI_TRANSFER' was not declared in this scope
Build failed for project 'pixeltime_AVR'
SPI_TRANSFER(&(bufferp)[_display_color][i_send_buffer_size],_send_buffer_size)
PxMatrix.h: 1087:82: error: 'SPI_TRANSFER' was not declared in this scope
SPI_TRANSFER(&(bufferp)[_display_color][i_send_buffer_size],_send_buffer_size)
PxMatrix.h: 1128:88: error: 'SPI_TRANSFER' was not declared in this scope
SPI_TRANSFER(&(bufferp)[_display_color][i_send_buffer_size],_send_buffer_size-1)
PxMatrix.h: 1138:39: error: 'GPIO_REG_SET' was not declared in this scope
GPIO_REG_SET( 1 << _SPI_MOSI)
PxMatrix.h: 1140:41: error: 'GPIO_REG_CLEAR' was not declared in this scope
GPIO_REG_CLEAR( 1 << _SPI_MOSI)
PxMatrix.h: 1141:36: error: 'GPIO_REG_SET' was not declared in this scope
GPIO_REG_SET( 1 << _SPI_CLK)
PxMatrix.h: 1142:38: error: 'GPIO_REG_CLEAR' was not declared in this scope
GPIO_REG_CLEAR( 1 << _SPI_CLK)
PxMatrix.h: In member function void PxMATRIX::flushDisplay()
PxMatrix.h: 1172:18: error: 'SPI_BYTE' was not declared in this scope
SPI_BYTE(0x00)
PxMatrix.h: In member function void PxMATRIX::displayTestPattern(uint16_t)
PxMatrix.h: 1181:20: error: 'SPI_BYTE' was not declared in this scope
SPI_BYTE(0xFF)
PxMatrix.h: In member function void PxMATRIX::displayTestPixel(uint16_t)
PxMatrix.h: 1228:38: error: 'SPI_BYTE' was not declared in this scope
SPI_BYTE(1<<_test_pixel_counter%8)`

Don't have access to such an MCU - so not supposed for now - sorry. Wanna give it a shot?


Create symbolic links only when ENABLE_TESTING is ON

For projects that do not require testing, creating  symbolic links prevents the source tree from being placed in a network drive and causes issues when building on Windows with MSYS.

@k-stachowiak One of the checks seem to fail. Can you give some insight as to what is failing?

This should have backports to the mbedtls-2.16 and mbedtls-2.7 branches, as it fixes an issue with building from a network drive.

Sorry @Patater , not very familiar with the process. Is the PR submitter also responsible for creating backports in case they are necessary?

@renzbagaporo It is not necessary that you create the backports, however it is usually the most practical option. If you create them, then @Patater and I can quickly review them, as we have already reviewed the base PR and we know it. If any of us raises it, it is preferred that we find one more reviewer, so that we don't approve our own PRs.
Please let us know if you would like to raise the backport PRs.

@k-stachowiak  Ok. Will create the backports as well.

Hi @renzbagaporo
Thank  you for your contribution!
In order for us to use the backports we will need to ask you to accept our Contributor’s Licence Agreement (CLA) signed or authorised by yourself or your employer, otherwise we couldn't accpet your contribution, unfortunately.
You can find the agreement to sign here, which can be signed and returned to us.
Thanks for your understanding and again, thanks for the contribution!

Hi @RonEld,
@renzbagaporo is contributing this on behalf of Espressif Systems so I believe this should be covered by Espressif's existing CLA. I'll email you to confirm this as well.
Thanks,
Angus

@projectgus Thank you for your information! I was looking for the user id in our records, but I missed the company name.
@renzbagaporo I apologize for confusion


Added secret_key and client_session_need for better chameleon skillz

Commit to better mimic client behavior, as per @paralin 's suggestion

ACK


windows XP: monokai-extended doesn't work

i followed the instruction to install the monokai-extended, but when i write a markdown file, the highlight doesn't work , what's the problem? thank you ?
winxp sublime text 3 3083

do you have a markdown syntax highlighting package installed? maybe try using https://github.com/jonschlinkert/sublime-markdown-extended

closing due to lack of response and age


When I run 'start', the database does not automatically generate entity tables.

When I run 'start', the database does not automatically generate entity tables.

@MrZsxForJAVA
Thanks for pointing out.
We currently run the migrations via
npm run migration:run
"migration:run": "ts-node node_modules/.bin/typeorm migration:run",

We will update the README doc to indicate the same, since there is no explanation for this.
Please let us know if you face any more issues. :slightly_smiling_face:
All the best!


Optimization of UserMessage creation method, added builder method creation

Using UserMessageBuilder to help create UserMessage

Thanks for the update. You may want to remove the UserMessage.main(String[]) method though.

Yes

Thanks for the update. You may want to remove the UserMessage.main(String[]) method though.


Midwest winter flooding 2019 [initial setup]

Things to note:

Slow to build at this point.
Custom gage filter just picks 400 random sites
Outro/intro commented out
the initial guess for the spatial view is in the commit "code allows you to test out the animation without intro/outro etc" because that's what I was originally doing ...

Going to merge so David can get started. From here on out, let's remember to use options(scipiper.dry_put = TRUE) until we are ready to merge. Then do options(scipiper.dry_put = FALSE) and build + commit.

Current state (running scmake(6_visualize/tmp/gif_frame_a_20190312_03.png, '6_storm_gif_tasks.yml'))


Update bundle link and publish-iis tool code

@Rick-Anderson @shirhatti @moozzyk @danroth27
Updated hosting bundle link to: https://go.microsoft.com/fwlink/?LinkId=817246
Updated publish-iis tooling code block to ...
"tools": {
  "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-preview2-final"
},
"scripts": {
  "postpublish": "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%"
}

Oh! https://github.com/aspnet/Docs/pull/1544
You cats are quick! I'll put one in just for the publish-iis tooling then.


[FEATURE] SM "Turn" & "Alter", Fill New Step, Update Mirror Tool, Navigate Between Charts

Before posting, please check for other ideas that may be similar to yours!
Describe the feature you'd like
There is still missing native SM options "Alter" and "Turn" in the editor.
ALTER: In double/couple/routine you are able to: Swap Sides (step will transfer from p1 <-> p2 without mirroring), Copy Left to Right, Copy Right to Left, Clear Left, Clear Right, Colapse to One (select which destiny collum to colapse), Colapse to Left, Shift Left, Shift Right.
TURN: "Left" (turn selected steps 90° anti-clockwise) and "Right" (turn selected steps 90° clockwise)
Also the ability to fill double step (or another step) with an existing step (single, couple...), not only create a blank step.
Add option: Ask where to paste [Player 1, Player 2, Both]: asks if you want to paste the copied/cutted step on Player 1 or Player 2 or Both.
Update Mirror Tool: If one collum is selected, it affects all line; if 2 or more collums are selects, it affects only the selected collums. Same goes for Turn Feature, Alter [Colapse and Shift options]
Navigation: Add a button to navigate between existing steps
Additional context
Add any other context or screenshots about the feature request here.

New Select Options: Select P1, Select P2, Select arrow in sequence zone (select all steps in that collum).

not really sure what a few of these things are supposed to mean (spelling), but couples support (P1/P2 stuff) isn't really planned for a while

What you didn't understand? :) Maybe I can explain.

going through the original issue:
ALTER (double/couple/routine): stuff involving those modes hasn't been fully fleshed out, need to research into how those work (especially with play specific notes). can maybe add swap p1/p2 controls though
TURN: i didn't really add these since I'm not sure if Left and Right are even used at all (also I would need to specify how columns for rotated for modes without directions like kb7 in the future which is less intuitive)
Fill With Existing Steps: yeah this one is a bit of a design issue, but you can just copy and paste the whole chart for now. I don't know how I would fix this unless I completely rework the ChartList window
"Update Mirror Tool": not sure what this means? if you only select notes in two columns only those notes will be affected currently
Pasting into P1/P2: not sure how this will work since I don't think people would like to see that popup every time (do you press a modifier key to show it?); plus this problem can just go away once p1/p2 swap is implemented
Navigation: assuming steps means charts, not sure if I want to clutter the screen more (you can use f5/f6 to swap between charts for now)

TURN: i didn't really add these since I'm not sure if Left and Right are even used at all (also I would need to specify how columns for rotated for modes without directions like kb7 in the future which is less intuitive)

I'm not sure how it works (gotta check it again), but in my head RIGHT shifts one collum to the right, and LEFT shifts one collum to the LEFT. Last collum warps to first, first collum warps to last.

"Update Mirror Tool": not sure what this means? if you only select notes in two columns only those notes will be affected currently

Not on double, it affects the whole line, selected or not selected notes.

Navigation: assuming steps means charts, not sure if I want to clutter the screen more (you can use f5/f6 to swap between charts for now)

Only in a specific mode, you can't swap from single to double (or the next type that have charts)

Pasting into P1/P2: not sure how this will work since I don't think people would like to see that popup every time (do you press a modifier key to show it?); plus this problem can just go away once p1/p2 swap is implemented
Fill With Existing Steps: yeah this one is a bit of a design issue, but you can just copy and paste the whole chart for now. I don't know how I would fix this unless I completely rework the ChartList window

At least I could copy and paste single steps to double. Defaultfully it always pastes on P1, and I dragged to P2, and pasted it again to fill P1. But at somepoint it would erase the whole P2 and paste on P1. That got "fixed" if I save, exit and enter the software again.


New package: MarcielDegasperi.MDBAdmin version <IP_ADDRESS>0

[ ] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree

I have tested and use the program everyday, however SmartScreen marks the program, since the installer package does not have a digital signature from the author.

Hi @comhon,
Could you add a PackageUrl?
This label isn't from SmartScreen, but because the host is one of many which provides both direct hosting, and is also used for 3rd party rehosting. So the check requires that a human (such as myself) verify that this is the former and not the latter. This package passed SmartScreen and Defender tests, and is ready to merge once the source is verified.
The PackageUrl will help me to determine that this is the developer's hosting. It should be a website for the software package, and should be a few clicks away from the InstallerUrl. Generally, anyone should be able to navigate from the PackageUrl to the InstallerUrl without authenticating or passing a paywall.
Thanks in advance for helping me to approve your PR.

Hello, thanks for help with the PR.
The project itself is hosted on SourceForge.
I am not sure which of these links I shall use.
*https://sourceforge.net/projects/mdbadmin/
*https://sourceforge.net/projects/mdbadmin/files/
Regarding my last question, won't it be a problem, that in my test environment, SmartScreen popped up with a confirmation during the installation?
This is my first contribution to winget packages repository, so I am sorry for the inconveniences.

@wingetbot waivers Add Validation-Unapproved-URL


Filtering benchmarks to run

Sometimes I just want to measure time-to-load. Would be nice if there was a -k ... flag you could use to regexp filter the benchmarks.

Implemented now


Missing Possible WalletConnect Files

I am trying to implement ThirdWebProvider in my NextJS typescript app.
Upon importing the provider, i got an error noting that there is a missing file or directory.
<EMAIL_ADDRESS>When I check the node_modules folders it is missing and i have tried to reinstall the packages as well and it is still missing and erroring out.
The noted path above is what is missing. Is this something on your end?

Hi @JackyLau215, where are you importing the provider from? @thirdweb-dev/react? Could you specify the package and the version you are using?

@iketw seems like there is an issue with my previous install and the files were missing when the latest Ether.js was installed. After a fresh reinstall of the packages with specifying ether@5, the files are present and working


get_property_list() methods sort groups and categories to the end

Godot version
4.0 beta 16
System information
Linux Mint 20.2, HP laptop
Issue description
The arrays returned by Object.get_property_list() and Script.get_script_property_list() have group, subgroup and category properties created with the @export_group, @export_subgroup and @export_category annotation at the end.
I've been trying to parse this information for a plugin, but am unable to tell from the returned information, what properties belong to which  group.
Steps to reproduce
extends Node

@export_group("My Properties")
@export var number = 3
@export var string = ""
@export_subgroup("My Subgroup")
@export var subgroup_value = "Something"

@export_category('My category')
@export_group("Prefixed Properties", "prefix_")
@export var prefix_number = 3
@export var prefix_string = ""

@export var ungrouped_number = 3

func _ready():
	for i in get_property_list():
		print(i['name'])
	print("---")
	for i in get_script().get_script_property_list():
		print(i['name'])

returns:
Node
_import_path
name
unique_name_in_owner
scene_file_path
owner
multiplayer
Process
process_mode
process_priority
Editor Description
editor_description
script
my_node.gd
number
string
subgroup_value
prefix_number
prefix_string
ungrouped_number
My Properties
My Subgroup
My category
Prefixed Properties
---
my_node.gd
number
string
subgroup_value
prefix_number
prefix_string
ungrouped_number
My Properties
My Subgroup
My category
Prefixed Properties

Minimal reproduction project
The code provided above should be enough to test this.

I was initially unsure if this was a bug and asked in #68780.

Duplicate of #72151.
Export group annotations are broken in beta 16.

Okay, I saw that broken exports were an issue, but it seemed to me, this was a different problem. Couldn't tell that it's both caused by the same thing, but if so I'm fine with closing this.

Duplicate of https://github.com/godotengine/godot/issues/72151.

Okay, I saw that broken exports were an issue, but it seemed to me, this was a different problem. Couldn't tell that it's both caused by the same thing

Groups in beta 16 do not work in the editor precisely because they are at the end of get_property_list().


Render multiple colors

A SVG is currently only drawn with a single (the one of the last path) color.
Need to change this by using a custom shader.

Hey, I think you could use the shader from this example for that: https://github.com/bevyengine/bevy/blob/main/examples/shader/mesh_custom_attribute.rs
I'm not sure, but since it seems to me like you already output the vertex colors to the mesh then if the example works it should probably do the job, no?

Hm...right, that looks promising! Thanks for the pointer, i will give it a try when i find some time tomorrow.


-Infinity, Infinity and NaN do not fail "nbf" and "exp" claim validation

This was an issue found during the work I did for #497.
What
Passing -Infinity, Infinity and NaN for nbf in the payload is not caught by the claim validation. Since these values all JSON.stringify to null, they should be treated similar to passing null to nbf.
Test Case
const jwt = require('jsonwebtoken');
console.log(jwt.sign({nbf: Infinity}, undefined, {algorithm: 'none'}));
console.log(jwt.sign({nbf: -Infinity}, undefined, {algorithm: 'none'}));
console.log(jwt.sign({nbf: NaN}, undefined, {algorithm: 'none'}));

Expected Output
Error with message "nbf" should be a number of seconds for each sign call.
Actual Output
eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJuYmYiOm51bGwsImlhdCI6MTUzMDAzMTcxM30.
eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJuYmYiOm51bGwsImlhdCI6MTUzMDAzMTcxM30.
eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJuYmYiOm51bGwsImlhdCI6MTUzMDAzMTcxM30.

Which decodes as:
{
  "nbf": null,
  "iat":<PHONE_NUMBER>
}

Hi! I just created PR fixing this: https://github.com/auth0/node-jsonwebtoken/pull/532


Package request: Proton Mail Desktop App

Project description
This is an Desktop app to view and send mail via proton mail. Unlike Proton mail bridge this application is a standalone client, requiring no other apps (ie. Thunderbird) to view emails/
Metadata

homepage URL: https://proton.me/mail/download, https://proton.me/support/mail-desktop-app
source URL: https://github.com/ProtonMail/inbox-desktop
license: GPL 3.0
platforms: Linux, Windows, Mac

Duplicate of https://github.com/NixOS/nixpkgs/issues/296107


[SUBMARINE-238] Fix failed to start submarine server

What is this PR for?
We followed the steps from document https://github.com/apache/hadoop-submarine/tree/master/dev-support/mini-submarine and run "workbench-daemon.sh start getMysqlJar"  at root's home , the workbench log complains  the "Files not exist exception" .
It should be fixed.
What type of PR is it?
Bug Fix
What is the Jira issue?
https://issues.apache.org/jira/browse/SUBMARINE-238
How should this be tested?
manual test
Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

Some unit failed , close the pr

@luzhonghao , Thank you fixed this problem.
LGTM

@liuxunorg  thanks for reviewing, it  is my pleasure to contribute.


Update searche random key hex

Please created functions random search keys hex please!

@Simkas45 You can try the Plutus for random search, but I doubt if you can find an address with balance.
Here is the link

help me please using multi gpu searcher ?

Multiprocessing mode stucks and doesn't work well if you mean this option. You should use traditional search option.
If you mean something else, I'm also not good at this subject.

I have 5 gpu only one is used with the -d 0 parameter
if I write -d 0 -d 1 -d 2 -d 3 -d 4 then nothing changes how to fix it?

I have no idea. You should ask it to the programmer on his issues' page.

У меня 5 gpu только один используется с параметром -d 0,
если я пишу -d 0 -d 1 -d 2 -d 3 -d 4, тогда ничего не меняется, как его исправить?

https://github.com/brichard19/BitCrack/issues/46#issuecomment-425142919

BitCrack настроен на работу только с одним устройством -d
On Fri, Oct 5, 2018 at 4:47 AM Toroop78<EMAIL_ADDRESS>wrote:

У меня 5 gpu только один используется с параметром -d 0,
если я пишу -d 0 -d 1 -d 2 -d 3 -d 4, тогда ничего не меняется, как его
исправить?
#46 (comment)
https://github.com/brichard19/BitCrack/issues/46#issuecomment-425142919
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/brichard19/BitCrack/issues/52#issuecomment-427338386,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ae0S2WQL7YOvh7Ah6wMAGJbLFBloX_0Oks5uh0bngaJpZM4XJWrq
.

help me set the command line with the instructions below
BitCrack.exe [OPTIONS] [TARGETS]
Where [TARGETS] are one or more Bitcoin address
Options:
-i, --in FILE
Read addresses from FILE, one address per line. If FILE is "-" then stdin is read.
-o, --out FILE
Append private keys to FILE, one per line.
Bitcrack.exe ......?

bitcrack64 -i address.txt -o result.txt

help me set the command line with the instructions below
BitCrack.exe [OPTIONS] [TARGETS]
Where [TARGETS] are one or more Bitcoin address
Options:
-i, --in FILE
Read addresses from FILE, one address per line. If FILE is "-" then stdin is read.
-o, --out FILE
Append private keys to FILE, one per line.
Bitcrack.exe ......?

bitcrack64 -i address.txt -o result.txt

bitcrack64 -i address.txt -o result.txt
does not work with this command

bitcrack64 -i address.txt -o result.txt
does not work with this command

What does the command line say?

bitcrack64 -i address.txt -o result.txt
does not work with this command

What does the command line say?
closed after 1s

https://github.com/brichard19/BitCrack
I tried very hard but did not seem to work

https://github.com/brichard19/BitCrack
I tried very hard but did not seem to work

Did you copy the cudart64_92.dll library into the folder with the program?
You need to run from the command line.
Type in the search for 'cmd'

Did you copy the cudart64_92.dll library into the folder with the program?
You need to run from the command line.
Type in the search for 'cmd'

BitCrack.exe 1FshYsUh3mqgsG29XpZ23eLjWV8Ur3VwH      < this command works
Can not import address list

Did you copy the cudart64_92.dll library into the folder with the program?
You need to run from the command line.
Type in the search for 'cmd'

BitCrack.exe 1FshYsUh3mqgsG29XpZ23eLjWV8Ur3VwH < this command works
Can not import address list

What version of BitCrack do you use?
I use version 0.21 and I do not have the file BitCrack.exe, instead of it in the folder is BitCrack64.exe

What version of BitCrack do you use?
I use version 0.21 and I do not have the file BitCrack.exe, instead of it in the folder is BitCrack64.exe

https://github.com/brichard19/BitCrack/releases/tag/v0.0.6
I'm running this version

You can send me the version you are running
and line command running with list address
Thanks you

You can send me the version you are running
and line command running with list address
Thanks you

https://github.com/brichard19/BitCrack/releases/tag/0.21

https://prnt.sc/l35dgm
Only works with 1 address
I would like to run with the list

You are using the command line to run the list address?

You are using the command line to run the list address?

I use 'cmd' to ensure that when the program ends, the 'cmd' window remains open and I can see the progress of the program or errors that appear. So you need to do with all programs that do not have a graphical interface.

Вы можете отправить мне версию, в которой вы работаете,
и выполнить команду линии со списком адресов.
Спасибо.

C:\BitCrack64\BitCrack64.exe -d 0 -i C:\BitCrack64\scan.txt -o C:\BitCrack64\out.txt

help me cudart64_92.dll  error

delete all nvidia driver, reboot, install cuda_9.2.88_win10.exe

@successhalf Can we please try to stay on topic? If you have a problem please create a new issue instead of posting in unrelated issues.

Please add a search function for a random private key, a very convenient function that is needed in this program!

I apologize for repeating.
Fantasy played out, you can take a note (suddenly like it).
It may increase the chance to get to the desired key.
Regarding the generation of random keys in a limited range of keys.
Example: The beginning of the range<PHONE_NUMBER>0000000000000000000000000000000000000100000000000000
End of the range<PHONE_NUMBER>0000000000000000000000000000000000000200000000000000
A random key is generated in the specified range, a specified number of keys are checked against a random key (say 100,000,000,000), at the end of the scan a new random key is generated, and 100,000,000,000 keys are checked again.
It would also make sense to write to the file the scanned ranges in the form of the initial key - the final key. And when generating a new point of reference, the program checks the scanned ranges, if the generated key falls within the already passed range, then it takes the next key from the scanned range as a reference point and continues to check the specified number of addresses.
Example: Started with the key<PHONE_NUMBER>000000000000000000000000000000000010000000000000000
scanned the keys 100,000,000,000
finished the scan<PHONE_NUMBER>000000000000000000000000000000000000010000174876E7FF
generate a random key in the range from<PHONE_NUMBER>00000 to<PHONE_NUMBER>00000
if you are in the already scanned range from<PHONE_NUMBER>00000 to<PHONE_NUMBER>6E7FF
then we begin to scan the next 100,000,000,000 keys from the key<PHONE_NUMBER>6E800
if there is no match with the record, then scan 100,000,000,000 from a randomly generated key 745E91AA0079BB5.
To reduce the space occupied by the file of the passed keys, take notes in the form:
the beginning of<PHONE_NUMBER>000
end<PHONE_NUMBER>6E7FF
the beginning 745E91AA0079BB5
end of 745E931E87E83B4
if you fall into the range covered, then only the final key
the beginning of<PHONE_NUMBER>000
end of<PHONE_NUMBER>6E7FF this entry is overwritten
end 100002E90EDCFFF this entry is written
and we get 2 lines: the beginning of<PHONE_NUMBER>00000
end of 100002E90EDCFFF
Thanks for attention.

hello
need option random key hex generator for bruteforce wallet with balance
plz do it

Forget about the random guys, if you know the pk is located in a specific range you don't need a random feature, besides that there is only little(I mean 0.0000000......00001% really short) chance to randomly catch a btc pk with funds.


Doesn't Work on BlazorServer with @attribute [RenderModeServer]

The tool works as designed with the following at the top of the page:
@page "/test"
@using Soenneker.Blazor.Masonry.Abstract
But then, if I add this line: @attribute [RenderModeServer]
@page "/test"
@using Soenneker.Blazor.Masonry.Abstract
@attribute [RenderModeServer]
It does not function as designed. I need that RenderModeServer line for other purposes.
Via the console, I see the following message:
Bad element for masonry: .container
r @ masonry.pkgd.min.js:9
This error is not present when I remove the attribute above.
Thank you

Thanks for the report - will take a look when I get a chance

@ericpincus I believe this is the case because OnAfterRender is not called in Blazor Server (https://learn.microsoft.com/en-us/aspnet/core/blazor/components/lifecycle?view=aspnetcore-8.0). Make sure the container is rendered in the DOM before calling the masonry init code.

Closing, feel free to reopen if you have more info, thanks!


Removing \maketitle results in error

! \textfont6 is undefined (character 50).
l.294 At vero $x^{2}$
                    eos et accusamus et iusto $\exp(x)$ dignissimos ducimus ...

Possible a solution: https://www.tug.org/pipermail/tex-live/2013-July/033904.html

Fixed in 856c5fa1e743042fdb1a1a62fedf650c6593803c.
This was not totally random. Apparently, if both tocstyle and fontspec are used and no \maketitle is done, some math fonts not there in the size TeX thinks they should have.


Sample request: setting endpoint on storage client

We need samples added that describe how to set the endpoint for our storage clients.
Such as setting for localhost/emulator, or private/vpc, or for the soon to be added locational endpoints feature.
Sample tracker & Request:
https://docs.google.com/document/d/1aeL7jgs789s7xg9khTxGzGWkb4k-t6LUk-uqhhs1Vuw/edit#

Do we have an ETA on this? @shivgautam

@hemanshv to analyze and update with the ETA.

Closed by #1671


shutdown h2 connection gracefully with GOAWAYs

https://github.com/cloudflare/pingora/issues/388

classic "that test passed on my computer"

This has been merged in the last sync. Thanks!


BUG: api_trakt crashes when trakt show does not have genre and/or translation

Expected behaviour:
Remove show from trakt list if show is collected and ended or cancelled
Actual behaviour:
Crash
Steps to reproduce:

Step 1: add a show with no translation or genre to a trakt list
Step 2: try to remove the show from the list

Config:
clean-trakt:
priority: 4
trakt_list:
  account: <account>
  list: <list_name>
  type: shows

trakt_lookup:
  account: <account>

if:
  - trakt_collected and trakt_series_status == 'ended': accept
  - trakt_collected and trakt_series_status == 'canceled': accept

list_remove:
  - trakt_list:
      account: <account>
      list: <list_name>

Log:
http://pastebin.com/KPet6f9f
Proposed solution:
Check in get_db_genres if genres variable is not null.
Check in get_db_trans if transf variable is not null.
See http://pastebin.com/qQGPVD5s
Additional information:

Flexget Version: 2.0.48
Python Version: 2.7.3
Installation method: pip/virtualenv
OS and version: Ubuntu 12.04
Link to crash log: http://pastebin.com/hezxvff6

Thanks for the detailed issue, we'll add the data to #1219


Remove sqlite3 gem

We have already removed all dependancies for active_record and active_model so we dont need this gem.

Think this one looks okay.


wrong information in the diagram for the UDR of the express route

[thats not the way UDR in the Express route subnet works, its not where the traffic is orginating from but the destination, the the route is decided on.
So if you have peerings to the network, those adderes spaces with have to be added to the routetable, to overwrite the route propagation of the peerings.
]

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

ID: 74bb4b25-ebe2-264d-047d-3f651c52a9c5
Version Independent ID: aed6ebef-6157-9608-3f85-0807c7fdf61d
Content: Implement a secure hybrid network - Azure Architecture Center
Content Source: docs/reference-architectures/dmz/secure-vnet-dmz.md
Service: architecture-center
Sub-service: reference-architecture
GitHub Login: @doodlemania2
Microsoft Alias: pnp

Thanks for reporting - this issue is under review.  This is a Microsoft Internal DevOps Bug ID AB#287167

Looks like this issue was created quite a while back, the  diagram and content of the article have been fundamentally changed since then and the issue doesn't seem to be relevant anymore.
Closing the issue. @mthoger let us know if you feel this is still an issue and we'll take another look


Misidentification: Rotation error

Description
Seeds mis-id'd when oriented vertically
Expected behavior
Seed is correctly ID'd as Bromus hordaceus
Actual Behavior
Seeds were ID'd as Bromus secalinus (incorrect ID), with confidence values ranging from 51 to 87 %. An additional ID as Ambrosia trifida was given at 50% confidence; Correct ID (Bromus hordaceous) was given at 37% for one of the seeds. When I downloaded the image and rotated it 90 degrees, correct IDs were returned between 84-96%.
Supporting Images
To better understand the issue, please add screenshots:

Results: Original

Rotated:

Source Image:

Microscope Settings:

I repeated the exercise with the same seeds on a white paper background and got even more extreme results:

(Same settings as earlier images in this case)


Installable without errors on Python3, tests pass

I think it's basically it? If you have some better tests than just what you put in the code, try them, but I don't see other obvious issues.
And if everything's fine, please release a new version. [1] talked about having problem with doxyqml on planet as well.
[1] https://laysrodriguesdev.wordpress.com/2016/06/02/building-kde-frameworks-on-mswindows/

Looks good, thanks! but you should change references to the python binary to python3 (in the various shebangs).

Hum.. On archlinux, python is python3. IMOH it's better to leave python, so that it doesn't break on debian for instance, where python2 is still the norm.

Merge whenever you want :)

I don't want to support both Python 2 and Python 3. It's too easy to break and brings little benefits: all distributions have packages for Python 3 nowadays, it's just not the default anywhere except on Arch.
Explicitly using python3 should work everywhere. As long as Debian users install the python3 package, doxyqml will work there as well.
For more info, see https://www.python.org/dev/peps/pep-0394/

I created a python3 branch, merged your work in it and changed a few things. Going to close this request, we can continue this discussion on #20.


Early stopping terminates wrongly for eval_metric = 'map' and 'ndcg' with Python but works perfectly with 'auc'.

I used the following lines of code (train contains the training buffer)
xgb_params = {'silent': 0, 'eval_metric': 'map', 'nthread': 4, 'bst:max_depth': 6, 'objective': 'rank:pairwise', 'lambda': 0.0001, 'bst:eta': 0.3, 'booster': 'gblinear'}
num_rounds = 10
evallist = [(train, 'train'),(valid, 'eval')]
bst = xgb.train(xgb_params, train, num_rounds, evallist, early_stopping_rounds=5, evals_result = result)
Here is the sample output.
[0]     train-:0.314844 eval-:0.019878
Multiple eval metrics have been passed: 'eval-' will be used for early stopping.
Will train until eval- hasn't improved in 5 rounds.
[1]     train-:0.318052 eval-:0.020936
[2]     train-:0.320714 eval-:0.02196
[3]     train-:0.322884 eval-:0.02256
[4]     train-:0.324661 eval-:0.022888
[5]     train-:0.326225 eval-:0.023292
Stopping. Best iteration:
[0]     train-:0.314844 eval-:0.019878
Basically, it stops by itself even though 'eval' is clearly increasing. Also, setting 'evals_metric' = map' and 'ndcg' causes the corresponding keys in 'evals_result' to become empty strings (and you can see it in the log as well). With 'auc' you don't get this problem, here is the log for AUC.
[0]     train-auc:0.880601      eval-auc:0.822077
Multiple eval metrics have been passed: 'eval-auc' will be used for early stopping.
Will train until eval-auc hasn't improved in 5 rounds.
[1]     train-auc:0.88127       eval-auc:0.822957
[2]     train-auc:0.881744      eval-auc:0.823594
[3]     train-auc:0.882105      eval-auc:0.824094
[4]     train-auc:0.882387      eval-auc:0.824473
[5]     train-auc:0.882616      eval-auc:0.824751
[6]     train-auc:0.882807      eval-auc:0.824998
[7]     train-auc:0.882959      eval-auc:0.825195
[8]     train-auc:0.883097      eval-auc:0.825364
[9]     train-auc:0.883207      eval-auc:0.825497
....
[93]    train-auc:0.884271      eval-auc:0.827005
[94]    train-auc:0.884271      eval-auc:0.827002
[95]    train-auc:0.884273      eval-auc:0.827009
[96]    train-auc:0.884271      eval-auc:0.827005
[97]    train-auc:0.884271      eval-auc:0.827004
[98]    train-auc:0.884271      eval-auc:0.827003
[99]    train-auc:0.884273      eval-auc:0.827007
[100]   train-auc:0.884273      eval-auc:0.827007
Stopping. Best iteration:
[95]    train-auc:0.884273      eval-auc:0.827009
Environment info
Operating System: Ubuntu 16.04 LTS
Compiler: gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2.1)
Package used (python/R/jvm/C++): python
xgboost version used: cloned from git on 8/17/2016
If installing from source, please provide

The commit hash (git rev-parse HEAD): 6d0426e6e3b6e65529b9c551b719844176f7e0a0
Logs will be helpful (If logs are large, please upload as attachment).

Here are the logs from python setup.py install:
Install libxgboost from: ['/work/xgboost/python-package/xgboost/../../lib/libxgboost.so']
running install
running bdist_egg
running egg_info
writing requirements to xgboost.egg-info/requires.txt
writing xgboost.egg-info/PKG-INFO
writing top-level names to xgboost.egg-info/top_level.txt
writing dependency_links to xgboost.egg-info/dependency_links.txt
reading manifest file 'xgboost.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '' under directory 'xgboost/include'
warning: no files found matching '' under directory 'xgboost/src'
warning: no files found matching '' under directory 'xgboost/make'
warning: no files found matching '' under directory 'xgboost/rabit'
warning: no files found matching '' under directory 'xgboost/lib'
warning: no files found matching '' under directory 'xgboost/dmlc-core'
warning: no previously-included files matching '.o' found anywhere in distribution
warning: no previously-included files matching '.a' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
writing manifest file 'xgboost.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/xgboost
copying build/lib/xgboost/build-python.sh -> build/bdist.linux-x86_64/egg/xgboost
copying build/lib/xgboost/sklearn.py -> build/bdist.linux-x86_64/egg/xgboost
copying build/lib/xgboost/rabit.py -> build/bdist.linux-x86_64/egg/xgboost
copying build/lib/xgboost/compat.py -> build/bdist.linux-x86_64/egg/xgboost
copying build/lib/xgboost/training.py -> build/bdist.linux-x86_64/egg/xgboost
copying build/lib/xgboost/VERSION -> build/bdist.linux-x86_64/egg/xgboost
copying build/lib/xgboost/init.py -> build/bdist.linux-x86_64/egg/xgboost
copying build/lib/xgboost/plotting.py -> build/bdist.linux-x86_64/egg/xgboost
copying build/lib/xgboost/libpath.py -> build/bdist.linux-x86_64/egg/xgboost
copying build/lib/xgboost/core.py -> build/bdist.linux-x86_64/egg/xgboost
copying build/lib/xgboost/callback.py -> build/bdist.linux-x86_64/egg/xgboost
byte-compiling build/bdist.linux-x86_64/egg/xgboost/sklearn.py to sklearn.pyc
byte-compiling build/bdist.linux-x86_64/egg/xgboost/rabit.py to rabit.pyc
byte-compiling build/bdist.linux-x86_64/egg/xgboost/compat.py to compat.pyc
byte-compiling build/bdist.linux-x86_64/egg/xgboost/training.py to training.pyc
byte-compiling build/bdist.linux-x86_64/egg/xgboost/init.py to init.pyc
byte-compiling build/bdist.linux-x86_64/egg/xgboost/plotting.py to plotting.pyc
byte-compiling build/bdist.linux-x86_64/egg/xgboost/libpath.py to libpath.pyc
byte-compiling build/bdist.linux-x86_64/egg/xgboost/core.py to core.pyc
byte-compiling build/bdist.linux-x86_64/egg/xgboost/callback.py to callback.pyc
installing package data to build/bdist.linux-x86_64/egg
running install_data
copying /work/xgboost/python-package/xgboost/../../lib/libxgboost.so -> build/bdist.linux-x86_64/egg/xgboost
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying xgboost.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying xgboost.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying xgboost.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying xgboost.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying xgboost.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying xgboost.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
creating 'dist/xgboost-0.6-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing xgboost-0.6-py2.7.egg
creating /home/ubuntu/anaconda2/lib/python2.7/site-packages/xgboost-0.6-py2.7.egg
Extracting xgboost-0.6-py2.7.egg to /home/ubuntu/anaconda2/lib/python2.7/site-packages
Adding xgboost 0.6 to easy-install.pth file
Installed /home/ubuntu/anaconda2/lib/python2.7/site-packages/xgboost-0.6-py2.7.egg
Processing dependencies for xgboost==0.6
Searching for scipy==0.17.0
Best match: scipy 0.17.0
Adding scipy 0.17.0 to easy-install.pth file
Using /home/ubuntu/anaconda2/lib/python2.7/site-packages
Searching for numpy==1.10.4
Best match: numpy 1.10.4
Adding numpy 1.10.4 to easy-install.pth file
Using /home/ubuntu/anaconda2/lib/python2.7/site-packages
Finished processing dependencies for xgboost==0.6
Here is the info on python:

The python version and distribution:
Python 2.7.12 |Anaconda custom (64-bit)| (default, Jul  2 2016, 17:42:40)

Here are the commands used  to install xgboost:
git clone --recursive https://github.com/dmlc/xgboost
cd xgboost; make -j4
cd python-package; python setup.py install

I had the same problem and from memory fixed it by applying a "query" size i.e., needs to follow format:
'ndcg@k', where k is the "query" size.  So, since you don't have a max query size, you could get around this by setting k to some arbitrary high integer which will be bigger than your largest group i.e., ndcg@100.
Please check this is the issue?  If so, (unless anybody objects) I could fix this by setting the k value to the max of the attribute "get_groups" (if k not defined). This should be the default behavior imo rather than silently failing i.e., using a different eval metric.

Sure, I'll check it again. I have an older build from about 6 months ago which doesn't have the problem though. But I also don't think it allowed the use of '@k' at the time, just the full ndcg/map. Thanks.

@khdlim @tqchen
the issue is caused by the lack of metric's name variable assignment in ELSE clause in rank_metric.cc.
protected:
  explicit EvalRankList(const char* name, const char* param) {
    using namespace std;  // NOLINT(*)
    minus_ = false;

if param (@n is specified, name_ is assigned with value)
    if (param != nullptr) {
      std::ostringstream os;
      os << name << '@' << param;
      name_ = os.str();
      if (sscanf(param, "%u[-]?", &topn_) != 1) {
        topn_ = std::numeric_limits<unsigned>::max();
      }
      if (param[strlen(param) - 1] == '-') {
        minus_ = true;
      }

In else case, name_ is not defined
    } else {
      topn_ = std::numeric_limits<unsigned>::max();
    }
  }

And after the evaluation result is converted to string, it will be missing the metric name, which in turn, will set the maximize_score indicator FALSE and it will look for the metric score with the lowest value as best score.
I think it is an easy fix!

@phoenixbai do you mind open a PR on this?

Ok, I will give it a try, haven't done it before ;-)  @tqchen

This is still happening with ndcg and pre, would the fix be similar?


Is it possible to provide REF ?

As a background, I'm trying to validate start and end date, and my end date should not be less then start date. Hence the question, Is there a way to refer "startdate" field ? If I use JOI directly, it can be done as explained here.
https://github.com/hapijs/joi/blob/v8/API.md#datemaxdate
const schema = Joi.object({
  from: Joi.date().required(),
  to: Joi.date().min(Joi.ref('from')).required()
});

As I have build my whole platform (webportal framework) on this lib, it is not possible for me to directly use JOI syntax.
Thanks in advance.

I managed to get this working, all I did was following:
const schema = {
  from: {
        '@type': 'date',
        format: 'YYYY-MM-DD HH:mm:ss Z',
        min: today,
      },
      to: {

        '@type': 'date',
        format: 'YYYY-MM-DD HH:mm:ss Z',
        min: Joi.ref('from'),
      }
}

And amazingly enough, this works!
I just love this library!


feat: ai fix html [IDE-375]

Description
Moves over the common HTML and styling from VSCode so that eventually it can be used to render this panel in IntelliJ. In https://github.com/snyk/vscode-extension/pull/467 we can see the changes needed to add extra styling and javascript for VSCode and in https://github.com/snyk/snyk-intellij-plugin/pull/541 we completely hide this panel for IntelliJ.
Checklist

[x] Tests added and all succeed
[x] Linted
[ ] README.md updated, if user-facing
[ ] License file updated, if new 3rd-party dependency is introduced

🚨After having merged, please update the CLI go.mod to pull in latest language server.
Screenshots / GIFs
See screenshots in linked PRs.

Just the JS seems to not work sometimes.

Which JS is that @cat2608 ? I probably will raise a ticket to add the onclicks because I think the manual testing of the feature is more important than code improvements at this moment, so if there are parts of the JS that don't work maybe I can work on those instead

@teodora-sandu this was my setup when testing your change and when I left my comment here

LS: feat/ai-fix-html at aec12f511bd9d66ebee0dd6aac2a26917b9ff400
vscode-plugin: feat/ai-fix-html at eb5c2aee5a60eea04288c0721d0909a1c5357688

https://github.com/snyk/snyk-ls/assets/1948377/c37c087b-da12-4ff6-9944-522b76b2a231

Now I can see that you have added b21e4068514cf60caa82c48230e71b0c7c87c734 in vscode-plugin which reads fix: add event listener conditionally. I tested it again and the issue about the event listeners has gone! 🙌
The only thing remaining is the Fix Action itself:
https://github.com/snyk/snyk-ls/assets/1948377/82cfa715-bf69-46fd-9c73-1ca951c045f3

Ah the error you're seeing is a backend error, the call to get the fix diffs seems to return null. The AI fixes were not working on Friday and they seem to still be slightly broken today. I will cover that in https://snyksec.atlassian.net/browse/IDE-380. If you apply the patch I provide in the PR description it does work correctly, because it's using the old backend


fix: adjust to latest litellm changes

coverage: 96.044% (+0.01%) from 96.032%
when pulling c26ef4ef0d7eeba40223ca0134c8d4b7532a29c2 on massi/hotfix
into e950b190114bc462c2cfb4b0d3d725fe28fac241 on main.


Memory Usage / GC Thrashing

Initially created on the "Home" repo but this is probably better housed here:
https://github.com/microsoft/ApplicationInsights-Home/issues/413

We can transfer original issue to right repo.


can't connect to it fom Windows with openvpn

Hi,
Unable to connect to it from my W8 with client download from here: http://help.unotelly.com/support/solutions/articles/184301-openvpn-desktop-client-setup-windows
error messgae: OpenVPNClient start ingrid_p8694: process started and then immediately exited: []
from linux it works fine with openvpn --config file.ovpn

It's most likely a permission issue on the client.
Try running OpenVPN in 'elevated privileged' mode. Add verb 5 to client config and post the OpenVPN log file here.

Why are you using that weird client? Remove it and use the official OpenVPN client:
https://openvpn.net/index.php/open-source/downloads.html
If this still doesn't solve the issue, provide a client connection log.
Closing the issue since it isn't a problem with the script, feel free to reply anyway.

Indeed the problem was with the client used. :-) Rhanks for answering!

That "weird" client is the official client from OpenVPN. There is more than just the one you seem to know.

@wupme please do not refloat old issues again.
The mentioned client is used by the commercial VPN product sold by OpenVPN, which is independent from the community OpenVPN project used by my installer. I am well aware of its existence.
Also, the provided link is to an unofficial source and likely an old version of such software. The commercial OpenVPN client shouldn't be used at all by users of my script, but much less that outdated installer hosted by a random third party.


[FLINK-31472] Remove external timer service reference from AsyncSinkThrottling Test

What is the purpose of the change
Refactor AsyncSinkWriterThrottlingTest to flush when reaching batch sizes without changing processing time. The changes of processing time are in fact not needed for this test and are causing flakiness due to reference of timer call back from external thread.
Brief change log

refactored AsyncSinkWriterThrottlingTest to send all batch data without change in timer service.

Verifying this change
This change is already covered by existing tests, such as (please describe tests).
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers:no
The runtime per-record code paths (performance sensitive):no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? (not applicable

@dannycranmer do you have capacity to look into it. I saw that you reviewed the FLINK-25793 work which introduced this test. I'm not too familiar with this part of the code. That's why I'd prefer someone else to review this one.

@XComp  @dannycranmer  could you please have a look guys?


"Pending Payment" notification issue on admin panel  #6686

Issue Reference
#6686

@papnoisanjeev
Please use proper translation for order status, please find the screenshot Here

@Sanjaybhattwebkul
Please check it now.

@papnoisanjeev
In orders page the issue is still remain, please find screenshot Here

@papnoisanjeev
Now, this is working fine,  please find the screenshot Here


TensorBoard in SageMaker notebook doesn't work with an S3 location on AL

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

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Amazon Linux
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 1.13.1
Python version: 27 and 36
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

Describe the current behavior
tensorboard --logdir "s3://[bucket]" --inspect
Error log:
No event files found within logdir s3://[bucket]
2019-05-29 00:03:04.879182: I tensorflow/core/platform/retrying_utils.cc:70] The operation failed and will be automatically retried in 0.459992 seconds (attempt 1 out of 10), caused by: Failed precondition: Not a directory
Describe the expected behavior
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
Other info / logs
sudo cp /etc/ssl/certs/ca-bundle.crt /etc/ssl/certs/ca-certificates.crt fixes the issue

Amazon Linux:
[ec2-user@ip-172-31-28-240 certs]$ pwd
/etc/ssl/certs
[ec2-user@ip-172-31-28-240 certs]$ ls -alL *.crt
-r--r--r-- 1 root root 211658 Mar  8 19:58 ca-bundle.crt
[ec2-user@ip-172-31-28-240 certs]$ ls -al *.crt
lrwxrwxrwx 1 root root 49 Mar  8 19:58 ca-bundle.crt -> /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
lrwxrwxrwx 1 root root 55 Mar  8 19:58 ca-bundle.trust.crt -> /etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt

Ubuntu:
ubuntu@ip-172-31-76-35:/etc/ssl/certs$  ls -alL *.crt
-rw-r--r-- 1 root root 233394 Mar 19 07:23 ca-certificates.crt

Can Tensorflow move the required /etc/ssl/certs/ca-certificates in the right location for tensorboard to work with Amazon Linux?

@kalyc. Can you please create an issue in the TesorBoard section. Thanks!


E-Voting DApp

Project title
E-voting DApp
Project Description
E-voting Decentralized application with more control functions that can be deployed on replit ide
Domain

[x] Solidity
[] Python
[] JavaScript
[] Golang
[] Other, feel free to mention below

Are you contributing under any open-source program ?
Yes

I want to add this smart contract. Kindly assign me the work

Yah sure  . Start  working on this @apoorva1823000 .

Can  u please introduce yourself on  on the discussion of this community . As it's a Good  Habbit in open source .
https://github.com/Vikash-8090-Yadav/Solidity-Pathshala/discussions/175

Start working on this and i ll assign u after the Announcement By SWOC

Hi, I introduced myself as well as added the smart contract too.

@apoorva1823000 can u please tell how is  this different from the project   Voring in  level2 .

@Vikash-8090-Yadav sure sir,
In that one, on deploying we can see that it works efficiently but it can have only two participants whereas in my smart contract we can have as many number of participants as the owner desires to. Also you can register voters i.e. people who are allowed to vote so that no unauthorized participant can vote. Inreal world this compares to the fact that only citizen above 18 can vote whereas in the voting smart contract already present in level 2, there is no such limitation which puts a cap over its functionality and thus restricting it to be efficiently applicable in quite smaller domain

So will you approve my contribution ?


How do I set 1 nano second timer in esp32 ? (IDFGH-6278)

Environment
Development Kit: ESP32-Mini-1
Kit version
Module or chip used: ESP32
IDF version :v4.2.1
Build System: Make|CMake|idf.py
Compiler version : xtensa-esp32-elf-gcc (crosstool NCG esp-2020r3)8.4.0
Operating System: Windows
(Windows only) environment type: Command Prompt
Using an IDE?: Yes (Eclipse)
Power Supply: USB
Problem Description
//Detailed problem description goes here.
I am trying to implement 1 nano second timer for my esp32 board.
This I am looking for, to check time taken by my function/handler.
So, could you please help me with this.
Thanks!!

Hi @enthunilu ,
The simplest way to get the time a function took to execute is to use int64_t esp_timer_get_time(void). This returns the elapsed time, in microseconds, since boot. so you can do something like:
void app_main () {
    int64_t first = esp_timer_get_time();
    function_to_bench();
    int64_t second = esp_timer_get_time();
    /* Calculate elapsed time within function_to_bench */
    int64_t elapsed = second - first;
    printf("Elapsed: %lld\n", elapsed);
   [...]
}

However, I not sure what you mean by "1 nano second timer". esp_timer_get_time() returns microseconds, so even if this function takes less than 1us to execute, you won't have a precise nanosecond value.
Moreover, ESP32 CPU is running at 240MHz, which is 1 clock cycle every 4ns. It means that even the simplest instruction, nop, would take at least 4ns.

esp_cpu_get_ccount and esp_clk_cpu_freq

Thank you so much @o-marshmallow and @negativekelvin for your quick response.
For me both options will work. Thank you again!!

You're welcome :+1:
Closing this issue.