support property type

Hello,
I have the following type definition
/**
 * The database type.
 * @typedef {Object} DB
 * @property {String} folder - The path of the folder where the data files are stored.
 * @property {Object<String, Schema>} schemas - The schemas on the database.
 */

The type DB is shown on the documentation but the properties folder and schemas are shown without types. Is there any way to show types for these like shown for function arguments for exemple ?
Thank you,
Amine

Thanks for reporting. Your code is correct. I'll fix this.


Documentation for max supported document length

Testing with larger documents gives this error:
RuntimeError: The expanded size of the tensor (812) must match the existing size (512) at non-singleton dimension 1.  Target sizes: [64, 812].  Tensor sizes: [1, 512]

What is the largest document length supported? Looks like splitting for chunk_size=800 works but chunk_size=1000 fails.

Hey, the max text length isn't inherent to RAGatouille and depends on the model you use.
Most (all?) existing ColBERT models are spun off a normal BERT or RoBERTa models rather than longer context models, so they can take up to 512 tokens.


Questionnaire wording changes

Incorporating most of the changes from @shevski's suggestions
Apart from

inverting the yes/no question about: Was all this data originally created or gathered by you?
rewording the 'Does your xxx data include formats that' style questions

Coverage remained the same at 81.87% when pulling 7f73fd075188d78d9eb78510a7bd61d1c5dea2a2 on feature-questionnaire-wording-changes into c33b957cd58205862a574b6823254dcf1345bab4 on staging.

Coverage remained the same at 81.87% when pulling 08c380e70c701f5ccfe9f05d790577d30c9ef4a2 on feature-questionnaire-wording-changes into c33b957cd58205862a574b6823254dcf1345bab4 on staging.

Coverage remained the same at 81.87% when pulling d5c4934a08343ad16adc5dcfdc56a0c3c4987bba on feature-questionnaire-wording-changes into c33b957cd58205862a574b6823254dcf1345bab4 on staging.

Coverage remained the same at 81.93% when pulling 25fbad53ae474e2ec033d41de1e948db6850e041 on feature-questionnaire-wording-changes into c6116feb11bfb39da40f887c1ba7174189905815 on staging.

I'm going to split this out into the ones that are safe to apply and the one that affects the certificate page so that can stay on hold.


Proposal - Custom Rendering for inner Rows to achieve carousel, slider, tabs … etc.

I’ve been exploring this editor for a while. And I’m pretty interested in it. I've been comparing different editors but I’m seeing potential in this one. But what I’m facing right now with react-page editor is “custom Cells/Rows rendering is kind of limited”.
I started a discussion regarding this point (https://github.com/react-page/react-page/discussions/1222). Plus, after I’ve explored many issues/PRs I found many people asking for this ability/flexibility but I don’t see any solution until now. SO, I need to re-open this discussion again. I have some ideas in my mind and I need to think out loud with you guys.
First, let’s look at the end result that I hope react-page to have;
A - Carousel Use Case;

B - Tabs Use Case;

Second, let’s think together to achieve such a thing; I’m proposing that we may extend the props of the Renderer component of the cell plugin definition. Let's look at the current props of the Renderer;

As we know, to insert/render inner cells/rows we must consume the children prop inside the Renderer component as the following example;
const sliderPlugin: CellPlugin = {
  ...,
  Renderer: ({ children }) => (

{children}

  ),
};

This approach is simple and straightforward to insert/render inner cells/rows but it comes with its limitation. So, I’m thinking of passing extra props into Renderer component as;

innerRows: ReactElement[] is an array of react Row components. We pass this prop into Renderer component so that if the user needs to render the inner Rows in a customized way, he can iterate through it.
insertInnerCell is a callback function that the user can use to add inner cells or open the plugin drawer with the current reference node id. (Maybe we use hooks for insertion instead of this prop)
cellValue is the value of this cell including the inner cells' data. It’s like the editor value but the root point starts at this cell. It’s an editor value slice. I don’t have final thoughts about this prop but I think it will be amazing to have. From this prop, we can access the data of inner cells. For example, Tabs cell can access the names of its inner Tab cells.

With those extra props, we can offer 2 approaches to users to insert/render inner cells/rows;
A - Consuming children prop which is so simple and straightforward but it comes with its rendering-customization limitation.
B - Consuming innerRows + insertInnerCell + cellValue props which gives users more flexibility to customize the inner rendering, and of course, it will come with its cost that will make users render the inner content on their own. It’s a cheap cost compared to the flexibility of the customization they will get.
Let's have some code examples to show the difference between those 2 approaches;
const sliderPlugin: CellPlugin = {
  id: 'slider',
  version: 1,
  title: 'Slider',
  description: 'Insert Slider',
  allowClickInside: true,
  Renderer: ({ readOnly, innerRows, insertInnerCell }) => (

      {
        !readOnly && (<button onClick={insertInnerCell}>Insert Slider Item</button>)
      }
      <Carousel>
        {
          innerRows.map(row => <Carousel.Item>{row}</Carousel.Item>)
        }
      </Carousel>

  ),
};

// --- VS ---

const sliderPlugin: CellPlugin = {
  ...,
  Renderer: ({ children }) => (

{children}

  ),
};

Another example that highlights the using of cellData;
const tabsPlugin: CellPlugin = {
  id: 'tabs',
  version: 1,
  title: 'Tabs',
  description: 'Insert Tabs',
  allowClickInside: true,
  Renderer: ({ innerRows, cellData }) => {
    // we can itrate over the cellData to get the names of inner tab cells
    return (

         <Tabs>
          {
            innerRows.map((row, i) => (<Tab label={`Tab (${i+1})`}>{row}</Tab>))
          }
        </Tabs>

    );
  }
};

// --- VS ---

const tabsPlugin: CellPlugin = {
  ...,
  Renderer: ({ children }) => (
{children}
)
};

The code in the snippets is a dummy code for demo purposes.
The style in the GIFs is just a quick simple style for demo purposes.
The names of the extended props I’m proposing are just initial names, we can come up with more suitable and convenient names.

If anybody, especially the people who are familiar with the codebase, is interested in this proposal, please tell me your opinion and any considerations that should be taken before I start to make a PR.

Any thoughts here?

@NedalEldeen not yet, I did not have the time to really understand it thoroughly.
One first input:
The Renderer is usually not there to mount ui elements for editor. It should just be the read-only component (ideally). The reason is that this guarantees that developers do not mount and load unessecary components in ready-only mode.
There is one exception which is slate, which does editing and displaying content in the Renderer.
So normally the controls of any cell should be in the bottom toolbar instead using the controls property.
If we allow to mount controls inside the cell (or around the cell), that we might do this with another property, so that Renderer stays what it is.
But still, we could think about some api or hook to make it easier to add a child inside the current cell. Maybe you could make a proposal in another issue?
So with that out of the way, let's talk about children:
children in a CellPlugin is already an array of rows, so you can distribute it in Tabs if you want. Did you try that?

@macrozone sorry for my late response.
I was talking about extending the Renderer itself. I thought it will work fine within the read-only mode. We will give the Renderer consumer the ability to render the cell whatever the editor is in edit mode or read-only.
Maybe you're right, we may think to extend the API or provide some hooks.

children in a CellPlugin is already an array of rows, so you can distribute it in Tabs if you want. Did you try that?

Yes, I did but, if I remember correctly, children is a div containing an inner div and then the rows. I think looping/traversal through children is not a best practice at all.

@NedalEldeen

Yes, I did but, if I remember correctly, children is a div containing an inner div and then the rows. I think looping/traversal through children is not a best practice at all.

yes, you are totally right!
the inner div is not even that important, its just to add some consistent cell-spacing (which is a questionable implementation anyway)
https://github.com/react-page/react-page/blob/master/packages/editor/src/core/components/Cell/Inner/index.tsx#L101
What might be a first solution is to introduce some ChildrenWrapper for CellPlugin's that could replace the default div , so you could replace it with a fragment

Is there any progress regarding this?
This would be extremely helpful and needed!

Yeah I would also need this fixed!


kfd: amdgpu: skipped device 1002:699f, PCI rejects atomics RX550/i7-8850u

Hello. I have Lenovo e580 thinkpad, Latest 1.49 bios installed.
In Linux distros; In boot messages, I tried LTS kernel (5.15) or 6.1x new version or distributions using the latest software, unfortunately I get these error messages.
(I have tried this on all 10 of the most used linux distributions known. I am getting the same error on all of them.)
It has been going on for years and no fix has been released by either amd or lenovo. It's very sad.
I also opened the support topic on Lenovo and amd official forum pages. https://forums.lenovo.com/t5/Other-Linux-Discussions/Thinkpad-e580-motherboard-compatibility-bios-issue-with-Radeon-rx-550/m-p/5218384
https://forums.lenovo.com/t5/Other-Linux-Discussions/Thinkpad-e580-motherboard-compatibility-bios-issue-with-Radeon-rx-550/m-p/5218384
[ 9.298192] kfd kfd: amdgpu: skipped device 1002:699f, PCI rejects atomics 730<0

---
ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [TBF3] at bit offset/length 262144/32768 exceeds size of target Buffer (262144 bits) (20220331/dsopcode-198)
ACPI Error: Aborting method \_SB.PCI0.GFX0.GETB due to previous error (AE_AML_BUFFER_LIMIT) (20220331/psparse-529)
ACPI Error: Aborting method \_SB.PCI0.GFX0.ATRM due to previous error (AE_AML_BUFFER_LIMIT) (20220331/psparse-529)
failed to evaluate ATRM got AE_AML_BUFFER_LIMIT

My hardware list:
glc@glc-pc:~$ lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers [8086:5914] (rev 08)
Subsystem: Lenovo Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers [17aa:5068]
Kernel driver in use: skl_uncore
00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 620 [8086:5917] (rev 07)
Subsystem: Lenovo UHD Graphics 620 [17aa:5069]
Kernel driver in use: i915
Kernel modules: i915
00:08.0 System peripheral [0880]: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model [8086:1911]
Subsystem: Lenovo Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model [17aa:5068]
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f] (rev 21)
Subsystem: Lenovo Sunrise Point-LP USB 3.0 xHCI Controller [17aa:5068]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Thermal subsystem [8086:9d31] (rev 21)
Subsystem: Lenovo Sunrise Point-LP Thermal subsystem [17aa:5068]
Kernel driver in use: intel_pch_thermal
Kernel modules: intel_pch_thermal
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-LP CSME HECI #1 [8086:9d3a] (rev 21)
Subsystem: Lenovo Sunrise Point-LP CSME HECI [17aa:5068]
Kernel driver in use: mei_me
Kernel modules: mei_me
00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] [8086:9d03] (rev 21)
Subsystem: Lenovo Sunrise Point-LP SATA Controller [AHCI mode] [17aa:5068]
Kernel driver in use: ahci
Kernel modules: ahci
00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 [8086:9d10] (rev f1)
Kernel driver in use: pcieport
00:1c.4 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 [8086:9d14] (rev f1)
Kernel driver in use: pcieport
00:1d.0 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 [8086:9d18] (rev f1)
Kernel driver in use: pcieport
00:1d.2 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #11 [8086:9d1a] (rev f1)
Kernel driver in use: pcieport
00:1d.3 PCI bridge [0604]: Intel Corporation Device [8086:9d1b] (rev f1)
Kernel driver in use: pcieport
00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point LPC Controller/eSPI Controller [8086:9d4e] (rev 21)
Subsystem: Lenovo Sunrise Point LPC Controller/eSPI Controller [17aa:5068]
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-LP PMC [8086:9d21] (rev 21)
Subsystem: Lenovo Sunrise Point-LP PMC [17aa:5068]
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-LP HD Audio [8086:9d71] (rev 21)
Subsystem: Lenovo Sunrise Point-LP HD Audio [17aa:5068]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl, snd_soc_avs, snd_sof_pci_intel_skl
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-LP SMBus [8086:9d23] (rev 21)
Subsystem: Lenovo Sunrise Point-LP SMBus [17aa:5068]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
02:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] [1002:699f] (rev c0)
Subsystem: Lenovo Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] [17aa:5069]
Kernel driver in use: amdgpu
Kernel modules: amdgpu
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:5068]
Kernel driver in use: r8169
Kernel modules: r8169
04:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961/SM963 [144d:a804]
Subsystem: Samsung Electronics Co Ltd SM963 2.5" NVMe PCIe SSD [144d:a801]
Kernel driver in use: nvme
Kernel modules: nvme
05:00.0 Network controller [0280]: Intel Corporation Dual Band Wireless-AC 3165 Plus Bluetooth [8086:3166] (rev 99)
Subsystem: Intel Corporation Dual Band Wireless-AC 3165 [8086:4210]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
06:00.0 SD Host controller [0805]: O2 Micro, Inc. SD/MMC Card Reader Controller [1217:8621] (rev 01)
Subsystem: Lenovo SD/MMC Card Reader Controller [17aa:5068]
Kernel driver in use: sdhci-pci
Kernel modules: sdhci_pci
glc@glc-pc:~$

Continue:..
glc@glc-pc:~$ sudo lspci -t
-[0000:00]-+-00.0
+-02.0
+-08.0
+-14.0
+-14.2
+-16.0
+-17.0
+-1c.0-[02]----00.0
+-1c.4-[03]----00.0
+-1d.0-[04]----00.0
+-1d.2-[05]----00.0
+-1d.3-[06]----00.0
+-1f.0
+-1f.2
+-1f.3
\-1f.4

Continue:....
glc@glc-pc:~$ lspci -tnnv
-[0000:00]-+-00.0 Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers [8086:5914]
+-02.0 Intel Corporation UHD Graphics 620 [8086:5917]
+-08.0 Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model [8086:1911]
+-14.0 Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f]
+-14.2 Intel Corporation Sunrise Point-LP Thermal subsystem [8086:9d31]
+-16.0 Intel Corporation Sunrise Point-LP CSME HECI #1 [8086:9d3a]
+-17.0 Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] [8086:9d03]
+-1c.0-[02]----00.0 Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] [1002:699f]
+-1c.4-[03]----00.0 Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168]
+-1d.0-[04]----00.0 Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961/SM963 [144d:a804]
+-1d.2-[05]----00.0 Intel Corporation Dual Band Wireless-AC 3165 Plus Bluetooth [8086:3166]
+-1d.3-[06]----00.0 O2 Micro, Inc. SD/MMC Card Reader Controller [1217:8621]
+-1f.0 Intel Corporation Sunrise Point LPC Controller/eSPI Controller [8086:9d4e]
+-1f.2 Intel Corporation Sunrise Point-LP PMC [8086:9d21]
+-1f.3 Intel Corporation Sunrise Point-LP HD Audio [8086:9d71]
\-1f.4 Intel Corporation Sunrise Point-LP SMBus [8086:9d23]
glc@glc-pc:~$

Is there a way to completely disable this external / discrete video card in linux distributions? Thank you in advance for your help. have a nice day.

Hello. Thank you for your response. For all these years, AMD or Lenovo has not found a solution to this problem of thousands of people or did not care. Sad. Thanks again and good work.

Does your RX550 work in windows?
Can you post full dmesg output as well as "sudo lspci -vv" output ?

the author of this issue wrote it doesn't work in any of the tried linux distros
strange that it works for you in wine, can you show logs? dmesg and lspci -vv ?
i have same error on dell with rx460: failed to evaluate ATRM got AE_AML_BUFFER_LIMIT

Does your RX550 work in windows? Can you post full dmesg output as well as "sudo lspci -vv" output ?

@psyborg55 thank you for the reply and your concern. Yes, they work fine on windows 10 and windows 11 operating systems.
The dmesg and lspci command outputs are attached. I ran this on ubuntu 22.04.2. Other linux distributions have similar output. Respects.
dmesg.txt
lspci-vv.txt

Im not sure what this error means. It doesn't appear to be breaking anything, since on my system vBIOS also loads, but gets stuck executing because it is not fully compatible with my rx460

Update. I have currently installed Ubuntu 22.04.3. newest lts. I am using kernel 6.2. I installed rocm 5.7. I installed amdgpucore_5.7. I installed amdgpu-dkms_6.2.4 vs 6.2.4x. In short, I installed the latest version and kernel add-ons with AMD GPU and RoCM. By the way, version 5.7 has Ubuntu 22.04 and 6.2 kernel support.
However, I continue to get the error I mentioned in detail above. As far as I can see, the reason for the problem that has been going on for years is that AMD released new vbios for the Rx550 and Lenovo updated its own motherboard bios with the new vbios released. I'm sorry, neither AMD nor Lenovo saw thousands of users, including me, for years. Both were regrets. From now on, I will stay away from both when I buy a new computer.

Hi @esginmurat. Closing ticket due to unsupported hardware. Thanks!


Generate manifest alongside build artifacts

Related to Azure/azure-sdk-tools#2273

/check-enforcer override


Update the fallback input mapping for the Oculus mobile devices.

This resolves the GodotVR/godot_oculus_mobile#41 issue.
In addition, the PR also performs some cleanup jobs in the Godot and GodotLib classes.

Thanks!


Refactor Benchmarks

We likely will have two categories of benchmarks. One set of benchmarks (basic) will be run as part of every commit. The other set like tpch will be run less frequently.
The scope of this PR is to refactor the existing SimpleArithmetic.cpp into the basic folder and make room for other benchmarks.

linux-benchmarks-basic is failing since the main branch does not have the renamed benchmarks-basic-build target

Nit : Maybe use naming "core" or "base" to be consistent with other directory naming in Velox.

@aditi-pandit The benchmarks in basic need be limited to "core" or "base". The current benchmark is SimpleArithmetic.cpp and tests the basic multiply operation. simple, small could be other terms.


[DEV-2275] add mail table

Release Checklist
Pre-Release

[ ] Check migrations

No database related infos (sqldb-xxx)
Impact on GS (new/removed columns)

[ ] Check for linter errors (in PR)
[ ] Test basic user operations (on DFX services)

Login/logout
Buy/sell payment request
KYC page

Post-Release

Test basic user operations
Monitor application insights log

Add migration


MAVSDK Only Connects to PX4 Autopilot AFTER QGroundControl is Launched!

Problem Description
Hi, I am having an issue with connecting to the autopilot on an OrangeCube flight controller (running PX4 latest stable firmware version) with MAVSDK. Strangely, MAVSDK can find the user defined serial port of the OrangeCube, but fails to find an autopilot when subscribing to the system.
Even more strangely, if I first open QGroundControl (QGC) and allow it to connect to the flight controller, then close QGC, then re-run the MAVSDK executable (exactly as before), the autopilot is found and a connection is successfully made!
I have also determined that connecting the OrangeCube to QGC through my laptop, then disconnecting the OrangeCube (making sure that it still has power) and then connecting the usb cable to another machine (specifically, Raspberry Pi 4B+) will actually allow the autopilot subscription to succeed when running any MAVSDK example. My deduction here is that QGC is doing something to the OrangeCube/ PX4 firmware which allows the autopilot to be found.
I have also found a PX4 forum post from others with the same issue. They found a work around by running a pymavlink script prior to their MAVSDK code (which I tried but didn't work). I suspect that MAVSDK does not include a connection step it the codebase (which QGC does) and could be a potential development activity for the next release.
The Step-by-Step
After physically connecting the OrangeCube microUSB port to my laptop (uname -a gives Linux <machine> 5.15.0-58-generic #64~20.04.1-Ubuntu SMP Fri Jan 6 16:42:31 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux via usb, I run the following command:
[IN] cd /dev/serial/by-id && ls
[OUT] usb-CubePilot_CubeOrange_0-if00

Next I go to the Battery example code in MAVSDK, build it and pass in the serial usb connection, with the baud rate = 57600 as an input as follows:
[IN] cmake -S . -B build
[IN] make -j4 -S build/
[IN] ./build/battery serial:///dev/serial/by-id/usb-CubePilot_CubeOrange_0-if00:57600

[OUT]
[12:31:21|Info ] MAVSDK version: v1.4.7 (mavsdk_impl.cpp:20)
Waiting to discover system...
No autopilot found.

Next, I launch QGroundControl. Wait for the flight controller to be detected and then quit it.
[IN] ./QGroundControl
[IN] ctrl+c

Following the same steps as before, I re-run the battery example. The autopilot connects!
[IN] ./build/battery serial:///dev/serial/by-id/usb-CubePilot_CubeOrange_0-if00:57600

[OUT]
[12:35:02|Info ] MAVSDK version: v1.4.7 (mavsdk_impl.cpp:20)
Waiting to discover system...
[12:35:02|Debug] New: System ID: 1 Comp ID: 1 (mavsdk_impl.cpp:482)
[12:35:02|Debug] Component Autopilot (1) added. (system_impl.cpp:377)
[12:35:02|Warn ] Vehicle type changed (new type: 10, old type: 0) (system_impl.cpp:225)
[12:35:02|Debug] Discovered 1 component(s) (system_impl.cpp:578)
Discovered autopilot
disarmed
disarmed
disarmed

Code Flow Analysis - MAVSDK Battery C++ Example
As the failed autopilot connection is printed to the console no autopilot found, we know that the code passes the mavsdk.add_any_connection(argv[1]) connection step in the code below.
    Mavsdk mavsdk;
    ConnectionResult connection_result = mavsdk.add_any_connection(argv[1]);

    if (connection_result != ConnectionResult::Success) {
        std::cerr << "Connection failed: " << connection_result << '\n';
        return 1;
    }

Next, the get_system function is called...
    auto system = get_system(mavsdk);
    if (!system) {
        return 1;
    }

This is where the issue is! We can see that the mavsdk.subscribe_on_new_system(...) step does not discover an autopilot in the 3 seconds which is allocated before a timeout. Feel free to bump that number up to 10 seconds, this still doesn't make a difference for me.
std::shared_ptr<System> get_system(Mavsdk& mavsdk)
{
    std::cout << "Waiting to discover system...\n";
    auto prom = std::promise<std::shared_ptr<System>>{};
    auto fut = prom.get_future();

    // We wait for new systems to be discovered, once we find one that has an
    // autopilot, we decide to use it.
    mavsdk.subscribe_on_new_system([&mavsdk, &prom]() {
        auto system = mavsdk.systems().back();

        if (system->has_autopilot()) {
            std::cout << "Discovered autopilot\n";

            // Unsubscribe again as we only want to find one system.
            mavsdk.subscribe_on_new_system(nullptr);
            prom.set_value(system);
        }
    });

    // We usually receive heartbeats at 1Hz, therefore we should find a
    // system after around 3 seconds max, surely.
    if (fut.wait_for(seconds(3)) == std::future_status::timeout) {
        std::cerr << "No autopilot found.\n";
        return {};
    }

    // Get discovered system now.
    return fut.get();
}

As mentioned above, after QGC connects to the OrangeCube, you are free to connect it to any other device and run the battery example - it will work as you'd expect. This implies that QGC is changing a setting on the OrangeCube to enable autopilot subscription.
No Issue with Earlier PX4 Firmware
I had another OrangeCube flight controller to hand running an earlier version of PX4. For completeness, I tested the same processes out with it and had no issue connecting to the autopilot with MAVSDK! Unfortunately, I upgraded the firmware and, therefore, cannot remember what version it was that worked. Hope this point supports my observations - that the issue lies somewhere in the PX4 firmware settings.
Hardware and Software Versions

Linux  5.15.0-58-generic ~20.04.1-Ubuntu SMP Fri Jan 6 16:42:31 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
MAVSDK v1.4
PX4 firmware latest:stable
QGroundControl v4.2.4

Thanks for the detailed issue! This is, unfortunately, a known issue that I haven't gotten around to fix yet.
The problem is that PX4 starting with v1.13 only starts sending MAVLink once it has received a heartbeat from a GCS or MAVSDK.
Unfortunately, I closed some of the issues mentioning it when I should have left them open. At least I'll now keep this one open until solved.
Also see
https://github.com/mavlink/MAVSDK/issues/1883
https://github.com/mavlink/MAVSDK/issues/1908
This workaround should work as long as you use the C++ library (and not mavsdk_server):
https://github.com/mavlink/MAVSDK/issues/1908#issuecomment-1269316153

Thanks for the speedy reply and for the linked issues!
Very happy to see that there is a simple work around. For others following this, the proposed changes in #1883 and #1908 worked for me too.
Great to see the #1968 pull request as I am sure it will save others the headache I went through these past days...

Yer, sorry about that. Last time I tried to make the change it seemed too complex, because heartbeats are not sent in a connection but in the MavsdkImpl, so I didn't see any easy way without a refactor. Today, I realized there was an easier way.

@OliverHeilmann could you possibly test if the code I threw out here actually works, so either main or v1.4 branch? If so, I'll then do a release.

@julianoes I just built and tested the v1.4 branch while connected to the OrangeCube (running latest PX4 version) and it works!
For anyone wishing to follow these steps I was testing #1969 and I followed the build instructions linked on the MAVSDK documentation. I am running Linux so my steps were as follows:
Download the source using git:
git clone https://github.com/mavlink/MAVSDK.git

Make sure to get all the submodules as well:
git submodule update --init --recursive

Configure first, then build:
cmake -DCMAKE_BUILD_TYPE=Debug -Bbuild/default -H.
cmake --build build/default -j8

To install system-wide the command needs to be run with sudo on Linux/macOS:
sudo cmake --build build/default --target install

:warning: Conflicting builds: If you have already installed MAVSDK before!
I had a mavsdk install in the /usr/include directory, not the /usr directory as mentioned in the documentation. Similarly, the build library ended up in the /usr/local/include directory. I deleted the install found in the /usr/include section to avoid conflicts.

Nice! Thanks you so much @OliverHeilmann. I will cut a release then.

Just tested 1.4.11 release on a Raspberry Pi and the updates work as expected.

This issue has been mentioned on Discussion Forum for PX4, Pixhawk, QGroundControl, MAVSDK, MAVLink. There might be relevant details there:
https://discuss.px4.io/t/controlling-pixhawk-6c-with-raspberry-pi-4b/30712/7


Retrieving and deploying Nested Lightning Email Templates and Folders fails

Summary
There are multiple issues with retrieving and deploying Nested Email Templates and Folders using the sf CLI:

retrieving metadata using source tracking (sf project retrieve start) does not retrieve nested EmailTemplateFolder components:

sf project retrieve start
level1 is retrieved
level2 and level3 is not retrieved

deploying a nested EmailTemplate by Metadata API name fails:

✅ sf project retrieve start --metadata EmailTemplate:level3/template_level3_1715081809012
❌ sf project deploy start --metadata EmailTemplate:level3/template_level3_1715081809012

Error (1): No source-backed components present in the package.

[!NOTE]
This requires Email > Lightning Email Templates > Folders and Enhanced Sharing to be switched on.

Given the following directory structure with 3 nested folders (level1/level2/level3) and one template in each level.
$ tree fixtures
fixtures
└── email
    ├── level1
    │   ├── level2
    │   │   ├── level3
    │   │   │   ├── template_level3_1715081809012.email
    │   │   │   └── template_level3_1715081809012.email-meta.xml
    │   │   ├── level3.emailFolder-meta.xml
    │   │   ├── template_level2_1714984832364.email
    │   │   └── template_level2_1714984832364.email-meta.xml
    │   ├── level2.emailFolder-meta.xml
    │   ├── template_level1_1714984698883.email
    │   └── template_level1_1714984698883.email-meta.xml
    └── level1.emailFolder-meta.xml

5 directories, 9 files

Apparently different names are being used in the Metadata API / SourceMember Tooling API / FileResponse:

Metadata API [1]
SourceMember [2]
FileResponse [3]

EmailTemplateFolder:level1
EmailTemplateFolder:level1
EmailTemplate:level1

EmailTemplateFolder:level2
EmailTemplateFolder:level1/level2
EmailTemplate:level1/level2

EmailTemplateFolder:level3
EmailTemplateFolder:level1/level2/level3
EmailTemplate:level1/level2/level3

EmailTemplate:level1/template_level1_1714984698883
EmailTemplate:level1/template_level1_1714984698883
EmailTemplate:level1/template_level1_1714984698883

EmailTemplate:level2/template_level2_1714984832364
EmailTemplate:level2/template_level2_1714984832364
EmailTemplate:level1/level2/template_level2_1714984832364

EmailTemplate:level3/template_level3_1715081809012
EmailTemplate:level3/template_level3_1715081809012
EmailTemplate:level1/level2/level3/template_level3_1715081809012

[1]: listing folders using sf org list metadata -m EmailTemplateFolder and listing templates in a folder e.g. sf org list metadata -m EmailTemplate --folder level3
[2]: query SourceMember records using sf data query --use-tooling-api --query "SELECT MemberType, MemberName FROM SourceMember"
[3]: retrieve metadata with --json flag sf project retrieve start --json --metadata xxx # see .result.fileProperties
Steps To Reproduce

[!TIP]
Or checkout the repositories for reproduction linked at the bottom

Create a Scratch Org
Switch on Email > Lightning Email Templates > Folders and Enhanced Sharing
Create 3 levels of Email Folders with one Email Template per level
Try retrieving using sf project retrieve start -> does not retrieve folders in level 2 and 3
✅ Retrieve a nested EmailTemplate in level3 by Metadata API name (e.g. --metadata EmailTemplate:level3/template_level3_1715081809012)
❌ Try deploying the retrieved component with the same Metadata API name

Expected result

retrieving and deploying should work
The same API names should be used throughout the Metadata API, SourceMember and FileResponse

Actual result

fails to retrieve nested Email Template Folders
uses different names in the Metadata API, SourceMember and FileResponse

System Information
{
  "architecture": "darwin-arm64",
  "cliVersion"<EMAIL_ADDRESS>  "nodeVersion": "node-v20.10.0",
  "osVersion": "Darwin 23.5.0",
  "rootPath": "/Users/john.doe/.local/lib/node_modules/@salesforce/cli",
  "shell": "zsh",
  "pluginVersions": [
    "@oclif/plugin-autocomplete 3.0.18 (core)",
    "@oclif/plugin-commands 3.3.4 (core)",
    "@oclif/plugin-help 6.0.22 (core)",
    "@oclif/plugin-not-found 3.1.9 (core)",
    "@oclif/plugin-plugins 5.0.21 (core)",
    "@oclif/plugin-search 1.0.24 (core)",
    "@oclif/plugin-update 4.2.12 (core)",
    "@oclif/plugin-version 2.1.2 (core)",
    "@oclif/plugin-warn-if-update-available 3.0.19 (core)",
    "@oclif/plugin-which 3.1.10 (core)",
    "@salesforce/cli 2.42.6 (core)",
    "apex 3.1.11 (core)",
    "auth 3.6.11 (core)",
    "data 3.3.5 (core)",
    "deploy-retrieve 3.6.14 (core)",
    "info 3.2.8 (core)",
    "limits 3.3.7 (core)",
    "marketplace 1.2.5 (core)",
    "org 4.1.10 (core)",
    "packaging 2.4.4 (core)",
    "schema 3.3.6 (core)",
    "settings 2.2.6 (core)",
    "sobject 1.4.2 (core)",
    "source 3.3.12 (core)",
    "telemetry 3.3.7 (core)",
    "templates 56.2.7 (core)",
    "trust 3.6.11 (core)",
    "user 3.5.8 (core)"
  ]
}

Additional information
Repositories for reproduction:

https://github.com/mdapi-issues/mre-nested-lightning-email-templates
https://github.com/mdapi-issues/mre-nested-lightning-email-templates-componentset

@amtrack - As always, excellent issue report!  🏆  This is a known server side bug.  If you're willing, you can contact support and have them add your case to the existing internal work item: W-15633963.  That will help prioritize a fix.
If this helps, I think you can deploy using the full path of the email template.  E.g.:
sf project deploy start --metadata EmailTemplate:level1/level2/level3/template_level3_1715081809012

@shetzel Thanks for your fast response!
✅ I've now contacted support about this.
Do you know who can create and link Known Issues to the Metadata Coverage Report?
It would be great if other people could see that there are some issues with EmailTemplate and EmailTemplateFolder:

@amtrack - I fixed a small bug (PR 679 above) in CLI source tracking with EmailTemplateFolder so that retrieving should work better, but still not 100%.  The remaining work requires server side fixes.  I'm going to close this since there is no remaining CLI work to do and there is a known issue around this.  Thanks for reporting!


Add target attr into "defined in" link of types

GitHub's response includes X-Frame-Options: deny.
defined in links are not working now.

Thanks!


Fix for yaml pipeline job in #13098

Implemented a minor .yml fix described in https://github.com/MicrosoftDocs/azure-devops-docs/issues/13098 (for the code snippet demonstrating how to use variables set by previous jobs).

@juliakm

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Moderation Team Recertification

We're coming up on around the 1 year anniversary for the initial selection of moderation team members. As a part of the Moderation Team process, both the TSC and CommComm need to recertify each Moderation Team Member independently with a simple majority vote.
We should have this vote in the next CommComm meeting to ensure that we're a bit ahead of the game with this process 👍

An annual recertification vote is required for all moderators. For an individual	to continue as a moderator, a simple majority vote of each the TSC and CommComm members must vote in favor of retaining an individual moderator.

Since this is the first time we are doing this, we probably should define this a little bit more continued in https://github.com/nodejs/admin/pull/218

FTR, a vote form went out:
In the time zone "(UTC-07:00) Los_Angeles" accounting for winter/summer time change:
The vote starts Monday 24 September 2018 at 08h 48min 00s.
The vote ends Thursday 27 September 2018 at 08h 58min 00s.
The vote will last 3 days 10 min

The CommComm has re-certified all current members of the Moderation Team.
12 CommComm members have voted to re-certify all members. With 16 CommComm members total, that's a simple majority.
See you next year!


Delphi XE3 build failed [Pascaloin Wallet & RandomHash_Tests]

Building both PascalCoin and RandomHash.tests using Delphi XE3 failed because of
{$mode delphi} in several unit
changing that into
{$ifdef fpc}
{$mode delphi}
{$endif}
Solved that problem.
However the error "Type 'TAutoPtr' is not completely defined" on the code
   TAutoPtr<T> = record     private type       __TAutoPtr_T = TAutoPtr<T>; in unit UMemory I could not solve.

@CFTechno , same reply as this.

I just tested it with D2010 and it fails with the same error message.

UMemory.pas has not been tested with Delphi so it will probably not compile.
Our current build environment is Lazarus/FPC.
May be in the future, compilation might be supported for Delphi.

ok, will install Lazarus/FPC then..


New file keyboard shortcut

In testing the closing of files and trying to tack down what happens when opening tabs, I've found it a littl tedious to click the new file button each time I want to create a new file.
What if we could create a new file with keyboard shortcut Alt+N?

Yeah sure! That seems like it would add value re: usability.
I wonder if there's a similar shortcut in other editors, maybe VSCode... If so it would be neat to use the same keyboard shortcut, but Alt+N sounds great as a first version!
Thank you for this idea. Feel free to work on it if you feel so inspired!

The new file shortcut in VSCode is CTRL-N. Unfortunately, this shortcut is already userd by most browsers to open a new tab. ALT-N seems like the closest alternative. Let me know if there is a different combination of keys that works better.
I implemented the new keyboard shortcut using ALT-N but ran into another minor quality of life change we could make. When the new-file shortcut is used in VSCode the new file is immediately ready to be typed into. In VZCode the user has to click the text editor before they start typing. This is a very minor change but I think it's part of what makes the new file shortcut so slick in VSCode.
I'm a little stuck on where to go next in adding this minor change. Could I maybe get some tips to point me in the right direction?

the user has to click the text editor before they start typing

The concept you're looking for is "focus". Try this: https://codemirror.net/docs/ref/#view.EditorView.focus

Some ideas:
Similar to useDynamicTheme
const { editor } = editorCache.get(fileId)

Is this WIP in a PR or branch? I don't see it.
Some notes from dogfooding VZCode:
Ideally after creating a new file, whether with a shortcut or with the new file button, the following should happen:

The file should be opened in a new tab
The editor should focus

As of right now, when a user hits the shortcut the new file is created and it is set as the active editor. The only missing piece is focusing on the new editor window when it is created.

Ah ok cool! So it sounds like this is what we have:

[X] After creating a new file with the keyboard shortcut, the file should open in a new tab
[ ] After creating a new file with the keyboard shortcut, the editor should focus
[ ] After creating a new file with the "new file" button, the file should open in a new tab
[ ] After creating a new file with the "new file" button, the editor should focus

Where is the new shortcut implemented? Did you push your branch or create a PR yet for it?


the power of reason & action pattern has been proved in autogpt

I was wondering if autogpt is inspired by your ideas. anyway, thanks for your great efforts.

our work came long (in ai standard haha) before autogpt, and they clearly use "thought-action" patten in react (among some other great ideas). check out Jim Fan's tweet about this: https://twitter.com/DrJimFan/status/1647631172967464961


Let's go Houston, NYC, SF Bay!  Tech + Medical jobs you'll love.

Let's go Houston, NYC, SF Bay!  Tech + Medical jobs you'll love.

Niceee!
On Sat, Feb 8, 2020, 4:48 PM zcor<EMAIL_ADDRESS>wrote:

Let's go Houston, NYC, SF Bay! Tech + Medical jobs you'll love.
You can view, comment on, or merge this pull request online at:
https://github.com/zcor/githubjobs/pull/32
Commit Summary

NYC, SF, Nashville, Houston -- Tech + Medical
Rename

File Changes

A houston/Ansible -- App Developer (Devops).md
https://github.com/zcor/githubjobs/pull/32/files#diff-0 (24)
A houston/Panaceadirect Inc -- Ansible-App Developer(Devops).md
https://github.com/zcor/githubjobs/pull/32/files#diff-1 (24)
A nashville/Panaceadirect Inc -- IBM WebSphere Commerce Lead
developer.md https://github.com/zcor/githubjobs/pull/32/files#diff-2
(18)
A newyork/LaNiFi -- Quality Director-Medical Device.md
https://github.com/zcor/githubjobs/pull/32/files#diff-3 (16)
A newyork/US Team -- Java Developer - Fulltime.md
https://github.com/zcor/githubjobs/pull/32/files#diff-4 (13)
A sanjose/Panaceadirect Inc -- Full Stack DevOps.md
https://github.com/zcor/githubjobs/pull/32/files#diff-5 (19)
A sfbay/Trifacta -- Senior Customer Success Manager.md
https://github.com/zcor/githubjobs/pull/32/files#diff-6 (5)

Patch Links:

https://github.com/zcor/githubjobs/pull/32.patch
https://github.com/zcor/githubjobs/pull/32.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/zcor/githubjobs/pull/32?email_source=notifications&email_token=AAFLLKFHTXOX2OD6ANH4TNTRB5HFDA5CNFSM4KR6EER2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IMA7RGA,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFLLKA5MI66YEPINGH36XDRB5HFDANCNFSM4KR6EERQ
.


ci: use matrix build for multi-arch build

This simplifies your @actions config by replacing duplication with a matrix configuration.

Hi @tisonkun, sorry about that.
I had another look and from what I see there would be one option to make this work.
We would need to add an intermediate job which helps us put the matrix value into the output names (Source).
Something like this could work:
  build-and-push-hawkeye:
    ...
    steps:
     ...
+     - name: Matrix Output Converter
+       id: output
+       run: |
+         echo "digest-${{ matrix.arch }}=${{ steps.build.outputs.digest }}" >> $GITHUB_OUTPUT
    outputs:
-     digest-${{ matrix.arch }}: ${{ steps.build.outputs.digest }}
+     digest-amd64: ${{ steps.output.outputs.digest-amd64 }}
+     digest-arm64: ${{ steps.output.outputs.digest-arm64 }}

But, TBH, I am not sure if this is still an improvement. Let me know what you think.

I guess this doesn't work because the job finished later will override both outputs or verse visa.
IIRC I ever try to avoid duplicate and read a lot of GitHub Actions' docs but end up with the current solution. But it can be more than one year ago :D


Map requires new error....

Summary
I was foolowing a tutorial on udemy and i got this error that map requires new...
i saw the documentation and also read about the same issue on the github but couldn't decipher what's going on.
i tried opening the code snippet on the slack as shown on the expo react native docs of mapview.
Reproducible sample code
import { View, Text, StyleSheet } from 'react-native'
import React from 'react'
import MapView from 'react-native-maps'

const Map = () => {
  return new MapView({
    initialRegion: {
      longitude: 79.0668409,
      latitude: 30.735196,
      latitudeDelta: 0.0922,
      longitudeDelta: 0.0421,
    },
    style: styles.map
  })
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
  },
  map: {
    width: '100%',
    height: '100%',
  },
});
export default Map

Steps to reproduce
just use the MapView class as show on the code it will throw the error at runtime...
Expected result
google maps on screen
Actual result
...
React Native Maps Version
8.19.2
What platforms are you seeing the problem on?
Android
React Native Version
8.19.2
What version of Expo are you using?
SDK 46
Device(s)
redmi note 9
Additional information
No response

This doesn't seem to be an issue with react-native-maps, so I'm converting this to a discussion :)
Try something like:
import React from 'react';
import {StyleSheet} from 'react-native';
import MapView from 'react-native-maps';

const Map = () => {
  return (
    <MapView
      initialRegion={{
        longitude: 79.0668409,
        latitude: 30.735196,
        latitudeDelta: 0.0922,
        longitudeDelta: 0.0421,
      }}
      style={styles.map}
    />
  );
};

const styles = StyleSheet.create({
  map: {
    width: '100%',
    height: '100%',
  },
});
export default Map;


build: bump angular

@angular/cdk    18.1.4 -> 18.2.0
@angular/cli      18.1.4 -> 18.2.0
@angular/core   18.1.4 -> 18.2.0
PR Checklist

[ ] Unit Tests have been added for new changes
[ ] API tests have been updated if applicable
[ ] All commented code has been removed
[ ] If you've added a dependency, you've ensured license is compatible with Apache 2.0 and clearly outlined the added dependency.

What are you changing?

Anything the reviewer should know when reviewing this PR?
If the there are associated PRs in other repositories, please link them here (i.e. open-amt-cloud-toolkit/repo#365 )

:tada: This PR is included in version 8.0.4 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Migrating more recordings to the assets repo

In order to reduce the quickly growing size of our repository, the Engineering System team requested us to move our test recordings to the Azure SDK Assets repo.
For now, I'm only moving data plane libraries owned by the Azure SDK for .NET team. Further instructions on how this changes the workflow have been sent out via email to our team members but they're also documented in the Test Framework README.
This PR contains packages that were missed in https://github.com/Azure/azure-sdk-for-net/pull/36782.

API change check
API changes are not detected in this pull request.


[NEW] Add Save Transcript Feature

Part of https://github.com/WideChat/Rocket.Chat/issues/1153

@Shailesh351 can you fix the conflict please....  sorry about that.

@ear-dev Done!


[SPARK-8769][TRIVIAL][DOCS] toLocalIterator should mention it results in many jobs

Merged build triggered.

Merged build started.

Test build #36312 has started for   PR 7171 at commit 97ddd99.

Test build #36312 has finished for   PR 7171 at commit 97ddd99.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class FlumeUtils(object):

Merged build finished. Test PASSed.

Jenkins, retest this please.

Merged build triggered.

Merged build started.

Test build #36321 has started for   PR 7171 at commit 97ddd99.

Test build #36321 has finished for   PR 7171 at commit 97ddd99.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Merging into master 1.4.


Folder Icon doesn't work on Rider

Describe the bug
The Folder icon doesn't work on JetBrain Rider
To Reproduce
1.Install plugin
2.Restart Rider
The folder icon change but not load the different icon. On Webstorm it work correctly
Expected Behavior
Apply the right icon on folder
Environment
JetBrains Rider 2022.1
It should contain:
Windows 11
JetBrains Rider 2022.1

java.io.FileNotFoundException: \icons\files\php.svg (The system cannot find the path specified)


drivers: usb_dc_sam0: add status interrupts

The interrupts for SUSPEND, End of Resume and Wakeup are not enabled.
This commit enables the interrupts and executes the respective status callbacks.

@carlescufi @nzmichaelh What needs to happen with this PR?

@carlescufi @nzmichaelh What needs to happen with this PR?

Hi @sslupsky not sure myself.  The change looks sane, but I don't know this API well enough. Looks like @jfischer-phytec-iot has been doing most of the review.  Johann, WDYT?
Is there a test suite or compatibility suite you can run to confirm?

What needs to happen with this PR?

requested changes should be addressed.

@jfischer-phytec-iot I responded to your comments above.  I had not heard further from you on those matters so thought my response addressed the issues.  Your recent comment suggests otherwise?

@sslupsky you need to address the review comments or argue why they shouldn't be addressed.

@carlescufi I fixed the commit message request that was outstanding.  Did I miss something else?
I think I addressed the outstanding comments?

@carlescufi I fixed the commit message request that was outstanding. Did I miss something else?
I think I addressed the outstanding comments?

You didn't reply to the comments posted so that led me to assume you hadn't, sorry. Let me re-request a review from @jfischer-phytec-iot and @stephanosio


[BrokenLinksH2] Fixed broken links

Fixed broken links in biztalk documents.

Docs Build status updates of commit 5503a83:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

his/core/common-problems2.md
:white_check_mark:Succeeded
View

his/core/four-most-common-problems1.md
:white_check_mark:Succeeded
View

his/core/host-integration-server-core-documentation.md
:white_check_mark:Succeeded
View

his/core/host-integration-server-to-host-problems1.md
:white_check_mark:Succeeded
View

his/core/solutions-to-common-problems.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit b885574:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

his/core/common-problems2.md
:white_check_mark:Succeeded
View

his/core/four-most-common-problems1.md
:white_check_mark:Succeeded
View

his/core/host-integration-server-core-documentation.md
:white_check_mark:Succeeded
View

his/core/host-integration-server-to-host-problems1.md
:white_check_mark:Succeeded
View

his/core/solutions-to-common-problems.md
:white_check_mark:Succeeded
View

his/his-update-center.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Global effort to fix broken links
@ChristopherHouser
The Content & Learning team is fixing broken links on docs.microsoft.com for the rest of H2. This effort will eliminate potential accessibility, security, and usability issues. This PR includes only link fixes and does not change other content. I’d very much appreciate your timely review and feedback on the link changes I’ve suggested. Thanks!

So the in the Previews, the links in grey have been deleted (as they no longer exist)?   That is fine.

So in the Previews, the links in grey have been deleted (as they no longer exist)? That is fine.

Thanks, Christopher. In many cases when we are unable to find a replacement link, we comment out the existing link with backticks.

Closing this PR w/o merging. Replacing links with code blocks isn't a good option. I removed the broken links in https://github.com/MicrosoftDocs/biztalk-docs/pull/799.


1.1.0

🎉 Version 1.1.0
Please see CHANGELOG for changes and Blog post coming.

Codecov Report

Merging #48 into master will decrease coverage by 2.98%.
The diff coverage is 98.82%.

@@            Coverage Diff             @@
##           master      #48      +/-   ##
==========================================
- Coverage   97.76%   94.77%   -2.99%
==========================================
  Files           7       20      +13
  Lines         134      287     +153
  Branches       28       55      +27
==========================================
+ Hits          131      272     +141
- Misses          3       15      +12


make bpf go generated C structures exportable

Signed-off-by: Mohamed Mahmoud<EMAIL_ADDRESS>

/lgtm


Sailsjs(~0.10.5) + Socket.io (0.9.14) + PM2 deploy with multi instances issue

I have got a big issue when deploy sails code (0.10.5) with pm2 multi instances (>=2):
Socket.emit always send multi times and raise:

[API-2 (err)] Error: Can't set headers after they are sent.
[API-2 (err)]   at ServerResponse.OutgoingMessage.setHeader (http.js:689:11)

I did see the problem in these links:
socket.io!
pm2!
But there is no way to upgrade socket.io in sails?

Hi @handleror, try giving the master branch of Sails a try?  It uses socket.io v1.0.

Hi @sgress454, I tried using master code, but got another issue with

warn: A socket connected, but the session could not be loaded to pass to configured handler: sails.config.sockets.onConnect().  Will run handler with a fake, empty session.  Details:
Error: Session could not be loaded
at _createError (node_modules/sails/lib/hooks/session/index.js:271:21)
at Object._onImmediate (node_modules/sails/lib/hooks/session/index.js:274:13)
at processImmediate [as _immediateCallback] (timers.js:330:15)
{ [Error: Session could not be loaded] code: 'E_SESSION' }
What's alter method for onConnect? (I need handle socket after connected)
Thanks

onConnect is deprecated in the upcoming version.  What we suggest is to place the code you formerly had in onConnect in a controller action, and have your client-side code do a request to the server using io.socket.get after the socket connects.  It might seem wasteful to do another roundtrip but it's a lot more reliable and it keeps all your code in the expected places.

Thank @sgress454, but I got another issue in integrating socket.io + redis (socket, adapter memory works well):

Socket could not join any room, this is exception:

node_modules/sails-mongo/node_modules/mongodb/lib/mongodb/connection/base.js:246
throw message;
^
RangeError: Maximum call stack size exceeded

\2. Sometimes, could not start server with error:

error: Error: The hook orm is taking too long to load.
Make sure it is triggering its initialize() callback, or else set `sails.config.orm._hookTimeout to a higher value (currently 10000)
at [object Object].tooLong as _onTimeout (node_modules/sails/lib/app/private/loadHooks.js:92:21)
at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)

This is config on socket.js:

adapter: 'socket.io-redis',
adapterOptions: {
port: 6379,
key: 'socket',
db: 2,
// socket: "tmp/redis.sock"
},

@sgress454 Are you saying the "onConnect" and "onDisconnect" in config/socket.js will disappear eventually?
I think the event that a client disconnects is still a great feature, because one can do stuff with it.
When a client disconnects, its not always because the client wants to disconnect, maybe the internet connection was lost, or laptop battery drainages... :-D
Also its great to see if its an existing user, when one tries to reconnect with the socket, the session is pretty handy to check if we're connecting again, and just have the same user again.

@handleror you might have an old version of the sails-hook-sockets dependency--I think the maximum call stack issue is fixed now (pinging @mikermcneil for confirmation).  As far as the hook timeout, we've introduced the ability to set these globally with sails.config.hookTimeout in the latest build, and bumped the default up to 20 seconds.
@kaasdude totally agree that the disconnect event is valuable.  onDisconnect is being deprecated, but only in favor of a slightly easier afterDisconnect method.  See this section in the migration guide for v0.11 for details.

Did v0.11 clear up the problem?

Sorry I didn't reply earlier, we stick to .10.latest because we needed to stay at socket.io version 0.9. This because we developed our mobile apps to connect with socket.io based on 0.9...
So maybe later, in a feature/upgrade session ;)
The problem also is that I'm involved in other projects, but when the moment arrives, I certainly wil migrate to 0.11+
There is also the thing I submitted a ticket for, the Socket.io <=> redis relationship. Once this problem gets solved, we will will consider upgrading, see : https://github.com/balderdashy/sails/issues/2593
Regards.

Op 26 mei 2015 om 16:19 heeft Courtney Wyrtzen<EMAIL_ADDRESS>het volgende geschreven:
Did v0.11 clear up the problem?
—
Reply to this email directly or view it on GitHub.

Sticky cluster claims to have 10x the perf of sticky session.  https://www.npmjs.com/package/sticky-cluster  I wish there was an option with PM2 to enable sticky sessions.  I need to support websockets on legacy browsers.  Does anyone know of another library similar to PM2 that has support for sticky sessions?


bug(@vtmn/react): impossible to handle callback functions in react storybook

Bug Report
In component stories, when we want to send callback function to child components in template, these child component can't use these functions, even if they call them nothing happens, it's working well in another application storybook.
The current behaviour is seeable in the branch "addReactAlertComponent" in my vtmn forked repo, and by executing "yarn start:react" and go on VtmnAlert Demo storybook
Expected behavior
The child VtmnAlert component should be able to use the callback function passed in args
** Other informations **
I don't if it's a bug by itself or a config problem, but with the same code in my own application this is working well, it's blocking the creation for the VtmnAlert React component

Hi @AntoineDeloy, sorry for the delay. As I'm not a react expert, I had to seek out a satisfying answer to your problem. @sidbentifraouine helped me a lot. You can find an exemple of what he did with a VtmnButton to spread a callback function.
Thanks again @sidbentifraouineatdecathlon

Closed w/ https://github.com/Decathlon/vitamin-web/commit/d9f772946d98ded4176f1cdd6c266bad36014272 thanks to @wlalele. @AntoineDeloy feel free to reopen if the problem remains.


RuntimeError: DataLoader worker (pid(s)15680)exited unexpectedly

When run the code on MSVD，I met this problem. Could you please help me solve this problem???

Based on the error message you provided, it's unclear where exactly the problem lies.
The most likely reason is that you haven't correctly converted the video into H.264 format. You could try reading all the videos first to check if all the videos in the dataset can be read correctly (follow the README in https://github.com/acherstyx/Compressed-Video-Reader).


Fix wasm compilation using dart.library.js_interop

Fixes https://github.com/dnfield/vector_graphics/issues/244
You can try this PR with using this in your pubspec.yaml:
dependency_overrides:
  vector_graphics_compiler:
    git:
      url: https://github.com/nohli/vector_graphics
      path: packages/vector_graphics_compiler
      ref: js_interop

I've created two PRs. Both work for me when using https://pub.dev/packages/flutter_svg.

works for me!

This is fixed in the latest Flutter stable release 3.22.3.


Search Meta for changelog page renders 'changelog/content' instead of 'changelog

Description
When I search for the changelog page in the website's searchbar, it navigates to a url with the subdirectory /changelog/content which doesn't exist and renders a 404 page. This is also consistent when searching for a specific changelog date (i.e. /changelog/content#28-02-2022)
The subdirectories should be /changelog and /changelog#28-02-2022 respectively, and so on.

Hey @TylerAPfledderer,
@nikolovlazar has already been working on a fic for this :)
https://github.com/chakra-ui/chakra-ui-docs/pull/423

Oops! I need to slow down. 😅 Thank you for mentioning it @noobinthisgame


Update textbox_textalignment.md

Make it clearer that TextAlignment property can only be used for horizontal alignment without needing to look at enum.

@tadam-msft,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Add SavedQuery nodes

resolves #8594
Problem
We need to support a new node type SavedQuery for 1.7 of core. This is work is to support MetricFlow and the Semantic Layer.
Solution
We

Added SavedQuery nodes to the manifest
Enabled parsing of SavedQuery nodes
Enabled partial parsing of SavedQuery nodes
Enabled selector method of SavedQuery nodes
Enabled doc support for SavedQuery node decsriptions
Provided upgrade support from v10 (1.6) to v11 (1.7)
Created a Lookup utility for SavedQuery nodes

Checklist

[X] I have read the contributing guide and understand what's expected of me
[X] I have run this code in development and it appears to resolve the stated issue
[X] This PR includes tests, or tests are not required/relevant for this PR
[X] This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX
[X] This PR includes type annotations for new and modified functions

@QMalcolm I haven't looked into the intended semantics of this new node type, but one file you might have missed is compilation.py. I also missed it in my initial implementation of SemanticModel. Take a look at the spots that the semantic_models collection is mentioned in that file. In particular, without changes to link_graph and link_node functions, the new node type probably will not be treated like it is "part of the DAG" for some purposes.


what is alpha ?? alpha not in paper.

Feature request
https://github.com/huggingface/peft/blob/main/src/peft/tuners/lora.py#L57
this alpha not in paper :
https://arxiv.org/abs/2106.09685
where can i learn this alpha ??
thank you !!
Motivation
rt
Your contribution
rt

We then scale ∆W x by α/r, where α is a constant in r

Section 4.1 in the linked paper.


refactor: use std::vector instead of bespoke Array class

Part one of a three-part series to use std:: tools instead of bespoke ones.  Part three will fix https://github.com/transmission/libutp/issues/6.

[x] Part 1: remove Array; use std::vector instead
[ ] Part 2: remove min, max; use std::min, std::max instead
[ ] Part 3: remove utpHashTable; use std::unordered_map instead

Unfortunately there don't seem to be any real tests for libutp, so the need to manually test is even greater than usual.

@tearfur also requesting review from you since you've been so active in the C++ code lately, but GitHub doesn't give me that option in the Reviewers list.
Possibly it only shows people who have been previously active in the repo :thinking: Along that same rationale, I'm not sure if @'ing you here will show up in your notifications. I guess if you don't pong here I'll ping you in another PR instead :smile_cat:

It's already there in post-3.4-transmission branch, although uses CMake and not platform-specific build configs. Anyway, #8 is the slightly updated version of the upstream PR.

If it's not the fork-fork yet, did you mean to target post-3.4-transmission with this PR then? Otherwise, should probably merge post-3.4-transmission changes into master...

@mikedld, agreed. I've updated the branch to target post-3.4-transmission

@ckerr, CI seems to be unhappy with C++ standard now, need to adjust the default in https://github.com/transmission/libutp/blob/8bdf5e84d6e794a3d72f4b91ddddd1625175207e/CMakeLists.txt#L27

@ckerr @mikedld ping

I guess I've been holding back on this PR because it really belongs upstream.
As mentioned above, there are a couple of followups to this. I hope all of them make it upstream someday -- I'm not going to make any big breaking changes.

https://github.com/transmission/libutp/pull/10


Use a global namespace for VarWidth names

This matches the unstated assumption in InferWidths.
Closes #135

lgtm


Issue 212 - Push Pull for token repayments (optional)

see https://github.com/teller-protocol/teller-protocol-v2/pull/106


DOC-660 | Improve logic for "Show more"

Description

Don't use conflicting detection of long code blocks (element height vs. number of lines).
Ensure we always reveal ~5 lines or don't collapse content.
Don't collapse code blocks already hidden by default ("Show output").

Collation Analyzer example no longer cut off (below threshold), last AQL Analyzer example with "Show more" button:
https://deploy-preview-517--docs-hugo.netlify.app/stable/index-and-search/analyzers/#collation
Upstream PRs

3.10:
3.11:
3.12:
3.13:

From testing the threshold:

Discovered an issue: tabbed examples like for ArangoSearch only get the "Show more" button for the active tab. The other tab is hidden, therefore no height, and the code for adding the button is skipped (this is good for "Show output" but not for tabs).


Update Versions to SpringBoot 2.0.6 and SpringCloud Finchley.SR2

Just some updates to Spring.

Thanks!

@jensritter released as 1.0.1 (https://github.com/twinformatics/eureka-consul-adapter/releases/tag/1.0.1)


⚠ api.piste.gouv.fr healthcheck has degraded performance

In ddf6b25, api.piste.gouv.fr healthcheck (https://api.piste.gouv.fr/cassation/judilibre/v1.0/healthcheck) experienced degraded performance:

HTTP code: 200
Response time: 2066 ms

Resolved: api.piste.gouv.fr healthcheck performance has improved in 0aaff4c.


popInitialAction() returning null on cold start.

componentDidMount(){
QuickActions.popInitialAction()
.then(data => console.log(data)
.catch(console.error);
}
}
Return null in data.
DeviceEventEmitter is working but on cold start it is not working.
ReactNative - 0.60.5
react-native-quick-actions - 0.3.13

Hi @ShubhamBalgujar , try disabling Debug options and then check, after a lot of research, I found a comment on this issue. Stopping JS Debug solved the issue for me.
const result = await QuickActions.popInitialAction()     console.log('Quick action result ', result);     alert(result.type)
https://github.com/react-native-push-notification-ios/push-notification-ios/issues/24#issuecomment-576634633

Hi @ShubhamBalgujar , try disabling Debug options and then check, after a lot of research, I found a comment on this issue. Stopping JS Debug solved the issue for me.
const result = await QuickActions.popInitialAction() console.log('Quick action result ', result); alert(result.type)
react-native-push-notification-ios/push-notification-ios#24 (comment)

Do you have a working example ? I have tried this disabling  debug still its not working.

Good, it works.

Hi @ShubhamBalgujar , try disabling Debug options and then check, after a lot of research, I found a comment on this issue. Stopping JS Debug solved the issue for me.
const result = await QuickActions.popInitialAction() console.log('Quick action result ', result); alert(result.type)
react-native-push-notification/ios#24 (comment)

Amazing! It works.


support monorepos

say my package.json is in a subfolder I should be able to use a path like https://david-dm.org/username/repo/path/to/where/i/want

hey thanks :)


Use different orphan rules for different traits

The main use case here is binary operator traits. "Little Orphan Impls" discusses this use case a lot but ends up arguing that ordering should matter, and it does matter in today's rules, which is a surprise people usually encounter with the binary operator traits.
https://internals.rust-lang.org/t/coherence-rules-for-generic-binary-operator-traits/4778/10 suggests that we could simply make these traits use different orphan rules where ordering does not matter. https://internals.rust-lang.org/t/orphan-rules/1322/11?u=ixrec suggests manually specifying the ordering for orphan rules separately from the actual ordering of type parameters in the public API.
Since changing which orphan rules apply to a trait would obviously be backwards incompatible (and no, even editions can't change that), we probably can't actually do this for std's operator traits. Are there any use cases with third party traits where this would help?

Looks like Scala is considering letting type classes declare whether or not they should be coherent, which is sort of the logical extreme of this idea.


Adding XDK VS2017 support

@jasonsandlin,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Ernesto Takeover

Your Discord Name
FunkyShoeMan#0001
Mod uniqueName
FunkyShoeMan.ErnestoTakeover
Mod name
Ernesto Takeover
GitHub repository URL
https://github.com/FunkyShoeMan/Ernesto-Takeover
Tags
content
Author display name
FunkyShoeMan
Parent uniqueName
xen.NewHorizons
Utility mod
No response
Alpha Mod
No response

i forgot to make a realse

oh my god i messed it up again


Is empty

Small perf optimization.
Uses IsEmpty to decide if the manual reset event should be set or reset.

Looks like build server isn't fully utilizing all of its threads for these tests (not necessarily a bad thing.) I'll need to rewrite these so they're more discrete and not dependent on Windows threads being scheduled in a particular order.


Channel Until Ready 🪄

In Magic tab, when try Channel spell there is a option to "Channel Until Ready".
✨Now: When Miscast occurs (eg. roll double while filed channeling) "Channel Until Ready" do not care and keeps rolling channeling tests.
🌟Suggestion: When Miscast occurs (eg. roll duble while filed channeling) "Channel Until Ready" stops rolling channeling tests, you can check Miscast effect, and then again manually start "Channel Until Ready".
📝Why? Some Miscast may disturb channeling and wizard must start from scratch or test Cool.

jsut checked myself @moo-man doesnt stop channelling

looking at the testDuplicate roll, seems to check for misscast before rolling, which would return false

And then we are back to https://github.com/moo-man/WFRP4e-FoundryVTT/issues/1349
A different solution is needed.

any chance we can potentially give as part of channel until ready request whats the CN to channel required? and then set that as while condition rather than true?

The loop breaks when the CN is achieved or a miscast happens, I'm not inclined to make it more complicated and don't really see the use.


Not compatible with alternative install locations, e.g. --user?

See: https://pip.pypa.io/en/stable/user_guide/#user-installs and https://docs.python.org/2/install/#alternate-installation-the-user-scheme
First, I attempt to install a package into user directory with pip-accel:
root@2e8a8b0ecfaf:/opt/icekit# pip-accel install --user jsonfield
2016-08-09 05:31:31 2e8a8b0ecfaf pip_accel[843] INFO Unpacking distribution(s) ..
2016-08-09 05:31:31 2e8a8b0ecfaf pip_accel[843] INFO Executing command: pip install --download=/root/.pip-accel/sources --find-links=file:///root/.pip-accel/sources --no-index --no-clean --build-directory=/tmp/pip-accel-build-dir-WYPs6p --user jsonfield
2016-08-09 05:31:31 2e8a8b0ecfaf pip.commands.install[843] INFO Ignoring indexes: https://devpi.ixcsandbox.com/ic/dev/+simple
2016-08-09 05:31:32 2e8a8b0ecfaf pip.req.req_set[843] INFO Collecting jsonfield
2016-08-09 05:31:32 2e8a8b0ecfaf pip.download[843] INFO File was already downloaded /root/.pip-accel/sources/jsonfield-1.0.3.tar.gz
2016-08-09 05:31:33 2e8a8b0ecfaf pip.req.req_set[843] INFO Requirement already satisfied (use --upgrade to upgrade): Django>=1.4.3 in ./venv/lib/python2.7/site-packages (from jsonfield)
2016-08-09 05:31:33 2e8a8b0ecfaf pip.commands.install[843] INFO Successfully downloaded jsonfield
2016-08-09 05:31:33 2e8a8b0ecfaf pip_accel[843] INFO Finished unpacking 1 distribution in 1.4 second.
2016-08-09 05:31:33 2e8a8b0ecfaf pip_accel[843] INFO Installing from binary distributions ..
2016-08-09 05:31:33 2e8a8b0ecfaf pip_accel[843] INFO Installing jsonfield (1.0.3) binary distribution using pip-accel ..
2016-08-09 05:31:33 2e8a8b0ecfaf pip_accel[843] INFO Finished installing 1 requirement in 0.11 seconds.

But when I check installed packages, it's not there:
root@2e8a8b0ecfaf:/opt/icekit# pip freeze --user | grep jsonfield
(no output)

It's also not even in system site packages:
root@2e8a8b0ecfaf:/opt/icekit# pip freeze | grep jsonfield
(no output)

Try again, same result:
root@2e8a8b0ecfaf:/opt/icekit# pip-accel install --user jsonfield
2016-08-09 05:31:57 2e8a8b0ecfaf pip_accel[858] INFO Unpacking distribution(s) ..
2016-08-09 05:31:57 2e8a8b0ecfaf pip_accel[858] INFO Executing command: pip install --download=/root/.pip-accel/sources --find-links=file:///root/.pip-accel/sources --no-index --no-clean --build-directory=/tmp/pip-accel-build-dir-5SFXU5 --user jsonfield
2016-08-09 05:31:57 2e8a8b0ecfaf pip.commands.install[858] INFO Ignoring indexes: https://devpi.ixcsandbox.com/ic/dev/+simple
2016-08-09 05:31:58 2e8a8b0ecfaf pip.req.req_set[858] INFO Collecting jsonfield
2016-08-09 05:31:58 2e8a8b0ecfaf pip.download[858] INFO File was already downloaded /root/.pip-accel/sources/jsonfield-1.0.3.tar.gz
2016-08-09 05:31:59 2e8a8b0ecfaf pip.req.req_set[858] INFO Requirement already satisfied (use --upgrade to upgrade): Django>=1.4.3 in ./venv/lib/python2.7/site-packages (from jsonfield)
2016-08-09 05:31:59 2e8a8b0ecfaf pip.commands.install[858] INFO Successfully downloaded jsonfield
2016-08-09 05:31:59 2e8a8b0ecfaf pip_accel[858] INFO Finished unpacking 1 distribution in 1.17 second.
2016-08-09 05:31:59 2e8a8b0ecfaf pip_accel[858] INFO Installing from binary distributions ..
2016-08-09 05:31:59 2e8a8b0ecfaf pip_accel[858] INFO Installing jsonfield (1.0.3) binary distribution using pip-accel ..
2016-08-09 05:31:59 2e8a8b0ecfaf pip_accel[858] INFO Finished installing 1 requirement in 0.1 seconds.
root@2e8a8b0ecfaf:/opt/icekit# pip freeze --user | grep jsonfield
root@2e8a8b0ecfaf:/opt/icekit# pip freeze | grep jsonfield

Try with pip, and it works as expected:
root@2e8a8b0ecfaf:/opt/icekit# pip install --user jsonfield
Collecting jsonfield
Requirement already satisfied (use --upgrade to upgrade): Django>=1.4.3 in ./venv/lib/python2.7/site-packages (from jsonfield)
Installing collected packages: jsonfield
Successfully installed jsonfield-1.0.3
root@2e8a8b0ecfaf:/opt/icekit# pip freeze --user | grep jsonfield
jsonfield==1.0.3

I subsequently noticed a lib directory in my current working directory. I didn't look inside it before it was removed, but I suspect that my PIP_SRC and/or PYTHONUSERBASE environment variables are not being passed through to pip by pip-accel?

Hi Tai Lee and thanks for the feedback. I'll take a more detailed look at this soon, but I wanted to share an observation with you:
I have been successfully using pip-accel install --user ... commands for a few months now (as part of a scheme to install my personal and favorite Python packages and tools in my per-user site-packages directory, this concerns roughly 90 packages) and while trying to get this to work the first time around, I found out that I needed to install pip-accel in the per-user site-packages directory in order to successfully install other packages in the per-user site-packages directory using pip-accel.
I realize pip doesn't require the same treatment and yes this is a bug (not sure how easy it is to fix), but I wanted to point out that there is at least a workaround that I've used successfully for a while now.


Pydantic 2 support

          Ruh-row, it looks like we've been bitten by a Pydantic 2 change.

Originally posted by @abkfenris in https://github.com/xpublish-community/xpublish/issues/213#issuecomment-1635656104
It appears that we may need some tweaks for Pydantic 2 support.
https://github.com/xpublish-community/xpublish/actions/runs/5553093015/jobs/10141236050?pr=213#step:6:114

https://docs.pydantic.dev/dev-v2/usage/errors/#model-field-overridden
https://docs.pydantic.dev/dev-v2/migration/

I think it may be that we need to annotate any fields that we've overridden, like name on plugins.
https://github.com/xpublish-community/xpublish/blob/b425bc1fb5125e79d747827a2a7d73910fd2d9b4/tests/test_rest_api.py#L66-L76
becomes
 class AirtempPlugin(Plugin):
     name: str = 'airtemp'

     @hookimpl
     def get_dataset(self, dataset_id: str):
         if dataset_id == 'airtemp':
             return airtemp_ds

     @hookimpl
     def get_datasets(self):
         return ['airtemp']

I just noticed this! I'm on it. Will have it done today or tomarrow.

Just made a pull request #215. Mind checking it out when you have the chance?
I can't run the full pre-commit on my system (nodejs error), so if you could pull down my branch and run the pre-commit that would be great.
Also the tests are failing rn. Not entirely sure why going to work on that of course before I switch it from a Draft to Full PR.

I just started taking a look. At a quick glance at the failures, a bunch are from using | for unions which is syntax that got added in 3.10, and we are still supporting 3.9.
For the pre-commit, you can make a comment with "pre-commit.ci autofix" on the PR, and pre-commit.ci will push the changes from Ruff back onto your branch and you can pull those back down. https://results.pre-commit.ci/run/github/235846200/1689788417.B7uBcS6vRRy61WJYv_tI8Q

Should we issue a bug fix release so it can auto build PyPI? Or do you want to wait for the backwards compatibility tests to be added?

I tried cutting a release, but PyPI has made some changes that has caused it to fail. I'm working with Joe on getting them fixed.

Sounds good. In case it's useful have a release -> PyPI workflow that worked very recently here.
We used different build commands:

I used python -m build --sdist --wheel . --outdir dist after installing and upgrading pip to python 3.11.
I didn't use twine, as I remember having issues with it, and instead used a specific version of pypa/gh-action-pypi-publish

    - name: Build package
      run: python -m build --sdist --wheel . --outdir dist

    - name: Publish package
      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
      with:
        user: ${{ secrets.PYPI_USERNAME }}
        password: ${{ secrets.PYPI_PASSWORD }}

There were some pretty similar steps previously, but it looks like PyPI just made more folks need to have 2 factor auth enabled. Instead I've moved things to use the trusted publisher system, and ended up moving from setup.py to pyproject.toml at the same time (can't remember how to fix things in setup.py, but can remember how to migrate them).
Mind taking a look?  #218

Just seeing this now. Seems like you made the merge? Let me know if you still want me to look at it.

Thanks, hopefully this time will work, otherwise I may ping you to get more eyeballs on why the release isn't working.

No need for the bat signal, 0.3.2 has hit PyPI.
On the conda side of things, that will hopefully happen within the next 24 hours, and @ocepaf has created a repo patch so that it won't try to install earlier versions of Xpublish with Pydantic v2.


Fixed PR #206 by rebase against master

Applying #206 commits against latest master with Travis fixes.

That is obsoleted. It depends on a code that is removed by refactoring. It must / can be solved in the query compiler.

Should I roll it back, then?


My Infinity Evolved Priv. server crashes

so i made a personal server and the first day it worked fine, but the next day when me and my friends joined we noticed that it randomly started timing us out yet the server was still running.
ill post the crash report down here and also the whole Command Prompt just in case.
[https://pastebin.com/huvgkErf](url)
[crash-2019-08-09_12.40.35-server.txt](https://github.com/wildex999/TickDynamic/files/3488011/crash-2019-08-09_12.40.35-server.txt)

Caused by: java.util.zip.ZipException: incorrect data check
Not an issue for this issue tracker or any issue tracker
Check your server and mod jars on your server


Allow internal blocks logic to not be an array automatically

Currently when you have an object with templates, there's no way to only allow 1 item, it must be a list.

My use case is, someone can add a component, that component can contain ONE of a: youtube video, image, form, etc.  each of these would be a template because they have their own unique fields.

{
  // Note the lack of `list: true` here
  type: 'object',
  name: 'feature',
  templates: [{
    name: 'video',
    fields: [{
      type: 'string',
      name: 'url',
    }]
  }, {
    name: 'contactForm',
    fields: [{
      type: 'string',
      name: 'emailAddress',
    }]
  }]
}

While this is supported from the GraphQL side, the UI doesn't accommodate this (see the underlying BlocksFieldPlugin).

Not stale

Do you mind clarifying in the description what this is about, and what impacts it has? @jeffsee55

Alternatively, and possibly a different feature, is to allow an item limit to be set on lists in the configuration.  Then we could set a limit of 1 to solve (at least my) issue of wanting a single item instead of allowing a list.  Certainly there are use cases out there for preventing lists from exceeding a specific number.

keep alive

Not stale


Unclear statement regarding redeploy or perhaps just application restart?

Hi there,
The document https://docs.microsoft.com/en-us/dotnet/machine-learning/how-to-guides/serve-model-web-api-ml-net has a paragraph that at the time of my reading read as follows:
Machine learning models are not static. As new training data becomes available, the model is retrained and redeployed. One way to get the latest version of the model into your application is to redeploy the entire application. However, this introduces application downtime. The PredictionEnginePool service provides a mechanism to reload an updated model without taking your application down.
I'm curious, I get how using watchForChanges would allow the system to reload, but the statement "... is to redeploy the entire application." Wouldn't just a start and stop be sufficient, too? Redeploy to me (that word, redeploy) means a full-on deployment of a version of the application (copying files, e.g. "publish"). Restarting an application is a fairly trivial thing, and many applications restart themselves on a periodic basis to reload caches, etc.
Anyways, I think that if restarting the application also reloads a new zip file that's copied into a production environment, I could see a production scenario where the web api (or web application) itself wouldn't be fully redeployed, just the zip file, and then an app restart would do the trick. If that's something that indeed would do the trick (which I do think it would) then I recommend reworking the paragraph to include that nuance. Some novice readers might not get that.

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

ID: 1dce49db-3548-7dad-bdb1-812efde7ac86
Version Independent ID: 390a9c7a-2537-25ca-c041-0284c253acff
Content: Deploy a model in an ASP.NET Core Web API - ML.NET
Content Source: docs/machine-learning/how-to-guides/serve-model-web-api-ml-net.md
Product: dotnet-ml
GitHub Login: @luisquintanilla
Microsoft Alias: luquinta

Thanks for this feedback @eriksendc both of these scenarios (redeploy & restart) are valid and you're right, some distinction would be helpful.

I don't understand why this was closed for my lack of answering? I didn't understand if there was something I needed to answer. My original issue as documented stands.

If you have questions you want to ask for more information, I'm happy to help. But I (sort of strongly) believe the documentation is stating something incorrectly. In practice, in a real production situation, you do not need to republish an entire solution just to replace the model. You can replace just the model.zip file and restart the web application.

@eriksendc apologies for the confusion. The bot closed this automatically due to inactivity. This is already being tracked as a change that will be made. Thanks for reopening.


Makefile: allows the main file to have .k extension

This allows e.g., make build-haskell --haskell_main_file=/path/to/verification.k that is needed for using kore-repl.

If this makes sense, I can change the other build-* targets if needed.

The second commit has the kevm script to launch kore-repl with ledit, if available, that enables line editing for the repl command line.


add the url for user to complete registration

Description
We want to return the url that redirects to the user registration page with the entityId generated by the Relayer.
Todos

[x] Tests
[x] Documentation
[x] Link to Trello

 Show registration url when using sparkswap register


Property (any first) mediator haven't been added to API resource view

Steps to reproduce:
When API is created and resource is added then when we add property mediator (any mediator) as the first mediator we can't see it in the resource UI but in XML it's there.
After reloading it was successful and couldn't reproduce again.
OS, DB, other environment details and versions:
Java version: 17.0.11
Ubuntu 22.04

Closing this issue as it cannot be reproduced. Please feel free to reopen it if you have any further concerns.


Description is a required field for responses

Expected Behavior
All responses, regardless of how they're derived, will include a description. Specifically, this bit of the spec specifies it as a required field.
Actual Behavior
No description is included by default, and there were no (obvious) examples of how to add one. I did find out from poking around that simply adding a comment above a response variant will add a description, but this should be called out in the book (or API docs somewhere, though not sure where that'd fit).
Steps to Reproduce the Problem
Use a response like this:
#[derive(Debug, ApiResponse)]
enum Response {
    #[oai(status = 200)]
    Ok(
        Json<u64>,
    ),
}

Notice that the OpenAPI document has the response documented like this:
"responses": {
  "200": {
    "content": {
      "application/json": {
        "schema": {
          "type": "integer",
          "format": "uint64"
        }
      }
    }
  }
}

Some tooling (including the generator I maintain 😬) will fail schema validation of the document when parsing this.
Specifications
poem = { version = "1.0.24", features = ["multipart", "tempfile"] }
poem-openapi = "1.0.20"

Subsystem: openapi

Happy to take a crack at solving this, maybe with just a default empty string instead of omitted?

Happy to take a crack at solving this, maybe with just a default empty string instead of omitted?

Yes, I also like this,  welcome to PR. 🙂

Fixed in v1.0.27 😁


Msal 4 version

is it possible to get a similar walkthrough using MSAL 4 trying to follow this, most of it causes error relating to an obselete or deprecated approach such as the UI parent and

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

ID: 11f5b457-d99a-06d4-d203-f9eeaa27e0d9
Version Independent ID: b23b3a5d-b63b-dfe1-bb46-94f57c907be5
Content: Authenticate Users with Azure Active Directory B2C - Xamarin
Content Source: docs/xamarin-forms/data-cloud/authentication/azure-ad-b2c.md
Product: xamarin
Technology: xamarin-forms
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Hi @copperbeardy
Yes, it will be updated.
I'm going to close this issue as it's already being tracked at #1794


[Question] AXI4-ectomy

If I wanted to try removing the AXI4 bus interface and replace it with a different bus interface, would modifying eh2_ifu_mem_ctl and eh2_lsu_bus_intf be sufficient? I'm still tracing the code where .* is used, but I figure it should be possible to swap the cache's memory interface.

Yes, these are good places to start for the fetch and load/store bus. However, you will also need to touch  eh2_dma_ctrl.sv and eh2_dbg.sv for the DMA and debug bus interfaces.

Great! Appreciate the guidance 😄


unyaffs: point to more-up-to-date fork off of Google Code

This looks like a fork of unyaffs that is more up-to-date than the original and fixes some bugs not addressed by the original project.
Since the original project is on Google Code, and I understand that Google Code is due to be retired soon, I thought we ought to point to this repo instead.

This was moved to the core in https://github.com/Homebrew/homebrew-head-only/commit/64b01b3b8a038ce893f1e577e1517f86a439e9fa.


refactor: migrate to ESM

BREAKING CHANGE: This package is now pure ESM. Please use the supporting Node.js version to use this package. Or keep using v2.x until you are ready to switch
closes #3
@haversnail please review and merge. Thank you!

@haversnail hey, can I get a review/merge on this, please? I have an ESM project and want to use this date picker. I couldn't
find a better library than yours. I am using a locally modified copy of yours, but instead, use the package to reduce code redundancy. Please let me know if something has to be changed or anything, I will be happy to get it done :)

@Gopikrishna19 is this still something you're interested in working on? No worries if not, just let me know and I can see about making the changes.

Hello,
I am waiting this PR to be release awhile ago :)
If there is something I can help with. looking forward to use this change ASAP

@ABHammad thanks for your patience (and for the nudge)! Released in v3.


runtime: Refactor staking reward curve to be cached & dynamic

Staking reward curve is currently a static PiecewiseLinear, calculated once and only once in the block.
Instead, it should be a static, lazily cached value, not built unless needed, and re-built
in the case that input parameters have changed. The ideal_stake should be determined by the amount of parachain slots being bid on: this should be around (75 - 25.min(slots / 4))%.
We should probably introduce a new trait Curve, which declares the calculate_for_fraction_times_denominator function. PiecewiseLinear can impl this and staking pallet can require RewardCurve to impl it. We might get away with a simple RefCell to manage the cache and ensure that it can be updated as needed. Either way, we must ensure that the pieces are not recalculated on repeated calls.

cc @thiolliere

Staking reward curve is currently a static PiecewiseLinear, calculated once and only once in the block.

Currently the calculation of the points happens at compile time, result is:
const REWARD_CURVE: PiecewiseLinear<'static> =
    {
        extern crate sp_runtime as _sp_runtime;
        _sp_runtime::curve::PiecewiseLinear::<'static>{points:
                                                           &[(_sp_runtime::Perbill::from_parts(0u32),
                                                              _sp_runtime::Perbill::from_parts(25000000u32)),
                                                              .......
                                                             (_sp_runtime::Perbill::from_parts(1000000000u32),
                                                              _sp_runtime::Perbill::from_parts(25073000u32))],
                                                       maximum:
                                                           _sp_runtime::Perbill::from_parts(100000000u32),}
    };

(reason for piecewise approximation was to avoid having to compute 2^fraction on chain. though it is possible but not straightforward).

Instead, it should be a static, lazily cached value, not built unless needed, and re-built
in the case that input parameters have changed. The ideal_stake should be determined by the amount of parachain slots being bid on: this should be around (75 - 25.min(slots / 4))%.

how often would the amount of parachain slots being bid on change ?

either we provide the new approximation on every change
or we should compute the function on chain (for this I can try to find some algorithm for 2^((ideal_stake_rate - current_stake_rate)/falloff))
(or maybe if only ideal_stake change we can put into static something use for computing f(ideal_stake_rate, current_stake_rate) )

staking pallet is now generic on the reward curve and pallet-staking-reward-fn https://github.com/paritytech/substrate/pull/8332 allows to compute some inflation on-chain.
Thus this is done


Extend ability to import Collections with metadata to all parsers

The ability to import Collections with metadata was added to the CsvParser in https://github.com/samvera-labs/bulkrax/pull/364. Use https://github.com/samvera-labs/bulkrax/pull/364 as reference to add this ability to all other applicable parsers.

importing collection metadata was added to the bagit parser some time between v3.3.0 - v4.0.0


Scrollbar throws everything for a wonk

Whenever the text begins to scroll,

The scrollbar adjusts the content width, which throws off the background highlighting positioning.

Scrolling scrolls the text, but the background highlighting doesn't seem to always scroll with it, often being off by several lines at a time.

Which browser, which os?

Ah, sorry about that. The latest Google Chrome on Ubuntu 16 LTS.

Hi @drusepth, sorry about the wait.
I only have access to OS X; so if you’d like I’d really appreciate a PR to fix this!
Anyway, I just pushed a possible fix, could you check if the site works now?

No worries at all. I'm not using the project for anything currently; just saw it and was playing with it originally.
Unfortunately the latest fix doesn't solve the issue, but I've opened up a PR (#8) that does (for me). Can you take a look and make sure it still works on OS X before potentially merging? :)


Too slow laying out 1000 node graph.

I've a 1000+ node graph that takes around 3s to layout (graph.layout) and this going up with more nodes. Any suggestions as to why this might be?

The algorithms in dagre are more complex than you might think, quadratic or cubic in the size of the graph. So this is normal.
You could try viz.js - graphviz uses the same algorithms but it is highly tuned. It still might be slow though.

Thank you for the suggestion - I still want to manually render my graph - which is why Dagre is good - any thoughts+

If viz.js is fast enough, you can still render it however you want, just let it provide the coordinates.
Here is an example of dc.graph.js doing this.

thank you @gordonwoodhull - amiright in thinking that uses Cola under the hood please?

It has a choice of layout libraries in the select in the upper left.
The above link uses dot, so you could test the speed of viz.js by loading your graph into the browser (nothing uploaded) using the file selector on the right.

Quick plug for https://www.npmjs.com/package/@hpcc-js/wasm which includes the latest version of Graphviz compiled to wasm (The viz.js project is now archived).

Thanks @GordonSmith, I also found aduh95/viz.js which also uses wasm and looks like it has substantial development.
I haven't upgraded dc.graph.js yet, looking forward to trying these out. Real wasm should be smaller and faster.

Didn't know about that - should end up being the same thing (FWIW my tooling goes back to old ActiveX + NAPI wrappers I had for GraphViz back in the day!) - you can kick the wheels here:  https://observablehq.com/@gordonsmith/graphviz-wasm-example

I've ended up coding by hand Coffman Graham. This looks to be very fast - might be interesting to port into Dagre as another algo

Interesting! I take it this replaces network simplex for ranking?

correct - I need to do more testing now ...