[Bug]: Cannot Install llama-index 0.10+ Docker

Bug Description
Hi, my docker was running perfectly until the last update of version 0.10. Now, when I want to build it, it throws this error:
16.71   × Preparing metadata (pyproject.toml) did not run successfully.
subprocess.CalledProcessError: Command 'cd /tmp/pip-install-cb92xvq6/pymupdf_d00dc26c49b341ad8292f14c3d052652/mupdf-1.23.10-source && XCFLAGS=-DTOFU_CJK_EXT /var/lang/bin/python3.9 ./scripts/mupdfwrap.py -d build/PyMuPDF-aarch64-shared-tesseract-release -b all && echo /tmp/pip-install-cb92xvq6/pymupdf_d00dc26c49b341ad8292f14c3d052652/mupdf-1.23.10-source/build/PyMuPDF-aarch64-shared-tesseract-release: && ls -l /tmp/pip-install-cb92xvq6/pymupdf_d00dc26c49b341ad8292f14c3d052652/mupdf-1.23.10-source/build/PyMuPDF-aarch64-shared-tesseract-release' returned non-zero exit status 1.
16.71       [end of output]
16.71
16.71   note: This error originates from a subprocess, and is likely not a problem with pip.
16.72 error: metadata-generation-failed
Everything was going smoothly, but now I cannot seem to make it work when I want to do the pip install llama-index (also not working if I specify a version) in version 0.10 +
My Dockerfile:
Use the official Python image for AWS Lambda
FROM public.ecr.aws/lambda/python:3.9
Set working directory
WORKDIR /var/task
Install PostgreSQL development package
RUN yum install -y postgresql-devel gcc
Copy function code
COPY . .
RUN pip install --no-cache-dir -r requirements.txt -t .
Set the CMD to your handler (could also be done as a parameter override outside of the Dockerfile)
CMD ["answer.lambda_handler"]
Version
0.10.9
Steps to Reproduce
Run the docker file with llama-index in requirements
Relevant Logs/Tracbacks
No response

Seems like an issue installing tesseract?

What does your reqs file look like?

Oh, its pymupdf actually

If you aren't using file-based loaders, you can specify exact packages to install (and skip the pymupdf dep)
in V0.10.x, most integrations are a package
For example, you can install
llama-index-core
llama-index-llms-openai
llama-index-embeddings-openai
llama-index-program-openai
llama-index-question-gen-openai
llama-index-agent-openai
llama-index-multi-modal-llms-openai

If you aren't using file-based loaders, you can specify exact packages to install (and skip the pymupdf dep)
in V0.10.x, most integrations are a package
For example, you can install
llama-index-core
llama-index-llms-openai
llama-index-embeddings-openai
llama-index-program-openai
llama-index-question-gen-openai
llama-index-agent-openai
llama-index-multi-modal-llms-openai

Hi logan! Thank you for the quick reply
My requirements are:
llama-index
llama-index-vector-stores-postgres
psycopg2-binary
asyncpg
The thing is, I also tried to do the separate package installation and it didn't work (although I also tried to install
llama-index-readers-file)
so maybe the problem is there
I will try again later without the readers-file and let you know if it works!
It was quite weird because I have no problem if I specify llama-index==0.9.45, but as soon as I tried 0.10+, it always threw this error.
Thank you!

Hi, so today I tried again installing llama-index (without doing it package by package) and it worked perfectly all of a sudden. Cheers!


Project 📃: CRUD Operations

WebMasterLog Repository (Proposing new issue)
:red_circle: Project Title : CRUD Operations
:red_circle: Aim :A full-stack web application enabling users to manage a dynamic list with features like adding, viewing, updating,
and deleting names
:red_circle: Tech Stack Used : HTML,CSS ,JS, Node, Express, MySQL
:red_circle: Category :  Node-JS-Projects
Screenshots 📷

:white_check_mark: To be Mentioned while taking the issue :

Full name : Simran Saini
GitHub Profile Link : https://github.com/1simransaini
What is your participant role? (Mention the Open Source Program name. Eg. GSOC, GSSOC, SSOC, JWOC, etc.) GSSOC

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

@1simransaini don't close any issue until it's solved or closed by mentors or admins.

@Avdhesh-Varshney I'm sorry actually I made 2 issues so that's way I thought to delete this up.
Will not do this in future.

Hi myself Hannan Chougle,I am a 2nd year computer engineering student. Also a contributor at GSSOC 24 .I am a web developer have previously done some projects in mern stack,would request the project admin to please assign me this issue

@Hannan2004 Assigned to you. Follow the contributing guidelines carefully.
For further communication, join the discord server https://discord.gg/tSqtvHUJzE

@Avdhesh-Varshney, Please assign me this issue as I proposed it and have already created and checked the project on my local system; all I need to do is submit a pull request.
I wasn't assigned this issue initially as I was working on another issue, which has been successfully merged and closed. Thanks!


Allow enabling hide-fullscreen-exit-ui on macOS

The fullscreen exit popup appears on macOS as well now, making the first half of this patch applicable to that platform too:

@implicitfield Please add your changes to add-flag-for-incognito-themes.patch
At some point we should implement a better way of managing our flags, it is getting annoying :)

Merged in https://github.com/ungoogled-software/ungoogled-chromium/commit/5e8fc90f0ec84378a960aaf86e47189d04852439
I signed the commit locally and GitHub didn't quite detect this as merged, probably because Commit and CommitDate were modified


Update or make LuckyWars Plugin this is fun !

.....


Trumbowyg is colliding with jquery tabs

I am having problem with pushing it to work. I am using tabs written in jquery.
And each tab, has each textarea with trumbowyg. The first active tab is opened by default on page load. And everything seems to work, but when I go to ex. second tab (it's not loading) then, when I return to first tab, I see textarea and false try of loading trumbowyg.
Maybe I have to implement the trumbowyg some other way to make it work with this tabs... or make some changes into tabs code... here it is:
    // Tabs content

    $(function() {

        var activeIndex = $('.active-tab').index(),
        $contentlis = $('.tabs-content li'),
        $tabslis = $('.tabs li');

        // Show content of active tab on loads
        $contentlis.eq(activeIndex).show();

        $('.tabs').on('click', 'li', function(e) {
            var $current = $(e.currentTarget),
            index = $current.index();

            $tabslis.removeClass('active-tab');
            $current.addClass('active-tab');
            $contentlis.hide().eq(index).show();
        });
    });

ok, I just simplify my tabs script, and now they both works ok.


Plots.jl integration: grouping data leads to wrong errorbars

(Originally I had opened JuliaPlots/Plots.jl#4917, but then I realized the recipe is actually in this repository.)
If you use the group keyword with Measurement data, the errorbars of different data points get silently mixed up:
using Measurements
using Plots

data = range(0, 1, 10) .± range(0, 1, 10)
ids = mod.(1:10, 2)

plot(
   plot(data, title="expected errorbars"),
   plot(data, group=ids, title="wrong errorbars")
)

I'm not really sure what's the expected result, I'm not familiar with the group option.  Code of the plot recipe is at https://github.com/JuliaPhysics/Measurements.jl/blob/833064e4a4dca58be82ceaaa257d96a6b3708cfe/ext/MeasurementsRecipesBaseExt.jl, PR to fix the issue are welcome.


Missing trailing semicolon in bundled compressed

The compressed bundle misses ending semicolon, at least for jQuery's, which can cause problems when incorporated in applications bundles.

I just ran into the same issue. Tried to bundle using gulp.
Console is showing the following error:
Uncaught TypeError: (intermediate value)(...) is not a function
    at main.min.5229.js:4

I narrowed it down to the one missing semicolon @giohappy is talking about.

Okay, I just noticed this only happens wenn bundling the uncompressed files. Bundling the compressed files works fine.


Network loss (TZ-147)

Hello!!
I left the device in a network and the next day it lost the connection and could not reconnect, the signal that reaches the handler is ESP_ZB_BDB_SIGNAL_STEERING with status -1 as if the network to which it was connected had been deleted from the memory
Is there something I can do to solve it or to better diagnose the problem, any recommendations or a way to check if the network was erased from the memory of the chip

@diazmanuel Is it the issue that the network info was earsed from flash unexpectly? Could you share us the whole log when running into the issue?

@chshu i think thats the issue, this case has happened to me on other occasions but I thought it was due to rewriting the chip, unfortunately I don't have the complete log because it happened at night while I wasn't watching it, I'll try to debug when this happens. On the other hand, isn't there a command to read the memory where the network and its key are stored? so I could check if it was really deleted or the error is due to something else

@diazmanuel
The esp-zigbee-cli provides some commands to get the zigbee network information, such as, panid, extended panid, networkkey and network address and so on.

@diazmanuel ,
The ESP-Zigbee-SDK currently does not provide access memory APIs for users.
To better understand your issue, could you please provide more details about the specific environment you're working in? Here are some questions that will help me understand the context:
What is the network topology in your test, and what devices are present in the network?
Is the end device experiencing periods of detachment from the Zigbee network, or is it failing to join the network for a certain period of time?
Have you performed any operations related to Zigbee memory?
In general, if network data is being written, the Zigbee stack may encounter failure during the network initialization process rather than during network steering.
Furthermore, to ensure Zigbee network security, the Zigbee coordinator typically sets a minimum commissioning time. After the coordinator closes the BDB (Base Device Behavior) commissioning, the end devices or routers may fail to steer the network or join the Zigbee network. In such cases, you should ensure that the end device joins the network during the period(It is 180 seconds in esp-zigbee-sdk) or restart the coordinator.

hello @xieqinan , after some research, I think I have found the problem, on the board I was using up to 6 relays were activated, which produced an increase in current and due to the poor quality of the cables, a voltage protection was trigger and the chip reset.
After the reset, the chip is unable to re-initialize the zigbee stack, so it is left out of the network. After the reset, the relays are not activated since they are not lach, even though the chip is manually restarted is unable to start the zigbee stack again.
In addition, after the restart, some errors appear in the log
Brownout detector was triggered

ESP-ROM:esp32c6-20220919
Build:Sep 19 2022
rst:0xc (SW_CPU),boot:0x6e (SPI_FAST_FLASH_BOOT)
Saved PC:0x4001975a
SPIWP:0xee
mode:DIO, clock div:2
load:0x40875720,len:0x181c
load:0x4086c410,len:0xd44
load:0x4086e610,len:0x2dbc
entry 0x4086c41a
I (27) boot: ESP-IDF v5.2-dev-823-g903af13e84 2nd stage bootloader
I (27) boot: compile time Jun 21 2023 11:41:52
I (29) boot: chip revision: v0.0
I (31) boot.esp32c6: SPI Speed      : 40MHz
I (36) boot.esp32c6: SPI Mode       : DIO
I (41) boot.esp32c6: SPI Flash Size : 2MB
I (46) boot: Enabling RNG early entropy source...
I (51) boot: Partition Table:
I (54) boot: ## Label            Usage          Type ST Offset   Length
I (62) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (69) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (77) boot:  2 factory          factory app      00 00 00010000 00089800
I (84) boot:  3 zb_storage       Unknown data     01 81 0009a000 00004000
I (92) boot:  4 zb_fct           Unknown data     01 81 0009e000 00000400
I (99) boot: End of partition table
I (103) esp_image: segment 0: paddr=00010020 vaddr=42058020 size=0d680h ( 54912) map
I (133) esp_image: segment 1: paddr=0001d6a8 vaddr=40800000 size=02970h ( 10608) load
I (139) esp_image: segment 2: paddr=00020020 vaddr=42000020 size=54184h (344452) map
I (272) esp_image: segment 3: paddr=000741ac vaddr=40802970 size=0af44h ( 44868) load
I (292) esp_image: segment 4: paddr=0007f0f8 vaddr=4080d8c0 size=01874h (  6260) load
I (303) boot: Loaded app from partition at offset 0x10000
I (304) boot: Disabling RNG early entropy source...
I (315) cpu_start: Unicore app
I (315) cpu_start: Pro cpu up.
W (325) clk: esp_perip_clk_init() has not been implemented yet
I (331) cpu_start: Pro cpu start user code
I (332) cpu_start: cpu freq: 160000000 Hz
I (332) cpu_start: Application information:
I (335) cpu_start: Project name:     HA_customized_switch
I (341) cpu_start: App version:      1
I (345) cpu_start: Compile time:     Jun 21 2023 11:41:43
I (351) cpu_start: ELF file SHA256:  5737b0cac...
I (356) cpu_start: ESP-IDF:          v5.2-dev-823-g903af13e84
I (363) cpu_start: Min chip rev:     v0.0
I (368) cpu_start: Max chip rev:     v0.99
I (372) cpu_start: Chip rev:         v0.0
I (377) heap_init: Initializing. RAM available for dynamic allocation:
I (384) heap_init: At 408155A0 len 00067070 (412 KiB): D/IRAM
I (391) heap_init: At 4087C610 len 00002F54 (11 KiB): STACK/DIRAM
I (398) heap_init: At 50000010 len 00003FF0 (15 KiB): RTCRAM
I (405) spi_flash: detected chip: generic
I (409) spi_flash: flash io: dio
W (412) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (426) sleep: Configure to isolate all GPIO pins in sleep state
I (432) sleep: Enable automatic switching of GPIO sleep configuration
I (439) coexist: coex firmware version: ebddf30
I (445) coexist: coexist rom version 5b8dcfa
I (450) app_start: Starting scheduler on CPU0
I (455) main_task: Started on CPU0
I (455) main_task: Calling app_main()
E (465) task_wdt: esp_task_wdt_init(593): TWDT already initialized
I (465) gpio: GPIO[4]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (475) gpio: GPIO[2]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (485) gpio: GPIO[3]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (495) gpio: GPIO[21]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:2
I (505) taskPerifericos: Perifericos Handler Task Created
I (505) phy_init: phy_version 202,b4b3263,May 17 2023,20:14:14
I (525) phy: error: chgp_cal no done!!!
error: pll_cal exceeds 2ms!!!
error: pll_cal exceeds 2ms!!!
I (615) taskZigbee: Zigbee Handler Task Created
I (625) taskZigbee: ZDO signal: 23, status: -1
I (625) taskZigbee: Zigbee stack initialized
I (715) taskPerifericos: perifericos Handler Task Initialized
W (1205) taskZigbee: Failed to initialize Zigbee stack (status: -1)
W (1785) taskZigbee: Failed to initialize Zigbee stack (status: -1)
W (2375) taskZigbee: Failed to initialize Zigbee stack (status: -1)
W (2955) taskZigbee: Failed to initialize Zigbee stack (status: -1)
W (3535) taskZigbee: Failed to initialize Zigbee stack (status: -1)

@diazmanuel ,
The issue can be explained as follows:
On one hand, the overload current may cause the network data to be erased from the NVRAM (memory) of your Zigbee end device. In this scenario, the device mistakenly believes it still exists on the network and sends a "REBOOT SIGNAL" to request the application layer to reboot and reinitialize. You can use the log statement ESP_LOGW(TAG, "Failed to initialize Zigbee stack (signal %s, status: %s)", esp_zb_zdo_signal_to_string(sig_type), esp_err_to_name(err_status)); to verify this assumption.
On the other hand, if the network data is not erased, when the Zigbee end device is restarted, it typically restores its network data in memory. Upon startup, the device attempts to rejoin the original Zigbee network. However, if the Zigbee coordinator's commissioning process times out, it is forced to stop the commissioning, resulting in the end device's failure to rejoin. In this case, the end device sends a "Network steering was not successful (status: -1)" message to the application layer, indicating the need to retry the rejoin process.

@xieqinan
mm is something different, in fact, it does not lose the data as such, since after leaving it off for some time, it reconnects to the network, I think it has to do with the error that is displayed in the login, although I do not know what it is due to, but when that error disappears in the log, the system works again and connects correctly to the network without having to add it to said network again
I (525) phy: error: chgp_cal no done!!!
error: pll_cal exceeds 2ms!!!
error: pll_cal exceeds 2ms!!!

@diazmanuel ,
The problem seems to be quite tricky. If you don't mind, please copy the code below and replace the existing function void esp_phy_load_cal_and_init(void) in the ~/esp-idf/components/esp_phy/src/phy_init.c file. More helpful log message will be printed to address the problem. Please provide me with the specific log for both the rejoin success and initialization failure cases.
extern void pbus_print(void);
extern void phy_cal_print(void);
extern void phy_i2c_check(void);
extern void phy_reg_check(void);

void esp_phy_load_cal_and_init(void)
{
    char * phy_version = get_phy_version_str();
    ESP_LOGI(TAG, "phy_version %s", phy_version);

#if CONFIG_IDF_TARGET_ESP32S2
    phy_eco_version_sel(efuse_hal_chip_revision() / 100);
#endif
    esp_phy_calibration_data_t* cal_data =
            (esp_phy_calibration_data_t*) calloc(sizeof(esp_phy_calibration_data_t), 1);
    if (cal_data == NULL) {
        ESP_LOGE(TAG, "failed to allocate memory for RF calibration data");
        abort();
    }

#if CONFIG_ESP_PHY_REDUCE_TX_POWER
    const esp_phy_init_data_t* phy_init_data = esp_phy_get_init_data();
    if (phy_init_data == NULL) {
        ESP_LOGE(TAG, "failed to obtain PHY init data");
        abort();
    }

    esp_phy_init_data_t* init_data = (esp_phy_init_data_t*) malloc(sizeof(esp_phy_init_data_t));
    if (init_data == NULL) {
        ESP_LOGE(TAG, "failed to allocate memory for phy init data");
        abort();
    }

    memcpy(init_data, phy_init_data, sizeof(esp_phy_init_data_t));
    if (esp_reset_reason() == ESP_RST_BROWNOUT) {
        esp_phy_reduce_tx_power(init_data);
    }
#else
    const esp_phy_init_data_t* init_data = esp_phy_get_init_data();
    if (init_data == NULL) {
        ESP_LOGE(TAG, "failed to obtain PHY init data");
        abort();
    }
#endif

#if CONFIG_ESP_PHY_ENABLE_USB
    phy_bbpll_en_usb(true);
#endif

#ifdef CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE
    esp_phy_calibration_mode_t calibration_mode = CONFIG_ESP_PHY_CALIBRATION_MODE;
    uint8_t sta_mac[6];
    if (esp_rom_get_reset_reason(0) == RESET_REASON_CORE_DEEP_SLEEP) {
        calibration_mode = PHY_RF_CAL_NONE;
    }
    esp_err_t err = esp_phy_load_cal_data_from_nvs(cal_data);
    if (err != ESP_OK) {
        ESP_LOGW(TAG, "failed to load RF calibration data (0x%x), falling back to full calibration", err);
        calibration_mode = PHY_RF_CAL_FULL;
    }

    ESP_ERROR_CHECK(esp_efuse_mac_get_default(sta_mac));
    memcpy(cal_data->mac, sta_mac, 6);
    esp_err_t ret = register_chipv7_phy(init_data, cal_data, calibration_mode);
    if (ret == ESP_CAL_DATA_CHECK_FAIL) {
        ESP_LOGW(TAG, "saving new calibration data because of checksum failure, mode(%d)", calibration_mode);
    }

    if ((calibration_mode != PHY_RF_CAL_NONE && err != ESP_OK) ||
            (calibration_mode != PHY_RF_CAL_FULL && ret == ESP_CAL_DATA_CHECK_FAIL)) {
        err = esp_phy_store_cal_data_to_nvs(cal_data);
    } else {
        err = ESP_OK;
    }
#else
    register_chipv7_phy(init_data, cal_data, PHY_RF_CAL_FULL);
#endif

#if CONFIG_ESP_PHY_IMPROVE_RX_11B
    ESP_LOGW(TAG, "PHY enable improve rx 11b");
    phy_improve_rx_special(true);
#endif

#if CONFIG_ESP_PHY_REDUCE_TX_POWER
    esp_phy_release_init_data(phy_init_data);
    free(init_data);
#else
    esp_phy_release_init_data(init_data);
#endif

    ESP_ERROR_CHECK(esp_deep_sleep_register_hook(&phy_close_rf));
#if !CONFIG_IDF_TARGET_ESP32
    ESP_ERROR_CHECK(esp_deep_sleep_register_hook(&phy_xpd_tsens));
#endif

    pbus_print();
    phy_cal_print();
    phy_i2c_check();
    phy_reg_check();

    free(cal_data); // PHY maintains a copy of calibration data, so we can free this
}

Tips: this four functions may give out a huge logs(maybe 600+ lines).

Hello,
I (525) phy: error: chgp_cal no done!!!
error: pll_cal exceeds 2ms!!!
error: pll_cal exceeds 2ms!!!

Does the phenomenon still occur on your device? If you have any questions regarding the issue, feel free to discuss them here. Let's work together to resolve it.

The problem seems to be quite tricky. If you don't mind, please copy the code below and replace the existing function void esp_phy_load_cal_and_init(void) in the ~/esp-idf/components/esp_phy/src/phy_init.c file. More helpful log message will be printed to address the problem. Please provide me with the specific log for both the rejoin success and initialization failure cases.

Furthermore, if you have managed to capture logs related to the issue, please provide them for us. Your logs would be highly valuable and helpful in troubleshooting and resolving the problem.

hi @xieqinan
At the moment I changed the way I feed my board so I am not having this problem, but if I feed it again in the other way it continues to happen,at the moment I couldn't modify this parameter because it delays the rest of the development, I am currently testing the system and I have some network loss problems. I will try to recover the logs (since the problem occurs after a couple of days) and add it here. I ask you not to close the issue and give me time to capture these new logs

Hi @diazmanuel ,
Thank you for your support regarding the issue. The problem will be monitored and maintained until it has been fixed.

hi @xieqinan ,
After a few weeks of leaving the device connected, I was able to conclude that the problem is not a loss of the network.
the error only occurs due to the low quality of the power supply, which ends up triggering a chip protection.
For some unknown reason, once the chip restarts due to this protection, it is unable to initialize the Zigbee stack (as I mentioned earlier with the Logs) and thanks to the aging timeout that was set at 64 minutes, the device "lost" the connection to the network.
In summary, the problem is not a loss of connection, but rather the initialization of the zigbee stack after this protection is triggered.

@diazmanuel Thanks for the update, I will close this issue since it's actually power supply issue. Let us know if any further questions.


Shader Model 3 allows TEXKILL with input register

This is a follow-up issue for https://github.com/FNA-XNA/FNA/issues/124.
From that issue...
The problem gets introduced when clip() is done directly on an input value, such as the TEXCOORD5 value in the very first pixel shader, which produces something like this:
        pixelshader =
            asm {
            //
            // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
                ps_3_0
                dcl_color v0
                dcl_texcoord5 v1
                texkill v1
                mov oC0, v0

            // approximately 2 instruction slots used
            };

The problem is that texkill against an input register is forbidden according to Microsoft's own documentation on the texkill instruction. In fact, if I change the shader model to 2.0 instead of 3.0, I get this...
        pixelshader =
            asm {
            //
            // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
                ps_2_0
                dcl v0
                dcl t5
                texkill t5
                mov oC0, v0

            // approximately 2 instruction slots used
            };

This is what we're actually expecting! So either the documentation we're looking at is outdated and only references SM2 or the SM3 compiler has a problem with this shader.
CC @mklingen

Closing as the new repository tracks this now...


Minify just CSS and JS (Not HTML)

The options are limited. Are there any options to compress just the Javascript and CSS, and keep the HTML clean?

Hi, seems like dev is not updating,
I actually tried several plugins including this and cannot find a good solution.
I ended up creating rake task for minifying and it is highly customisable.
You can see it at this gist

You can just add this to your _config.yml
# Minifier
jekyll-press:
  exclude: '*.html'

The wildcard selects all html files and excludes them from the minifier

project is deprecated https://github.com/stereobooster/jekyll-press/issues/35


Add plus pattern in JavaScript, Pattern33

Description
Task

For the given input n the number of rows printed should be 2*n-1 for ex:

Note

Filename should be Pattern33.js

I would like to contribute to this task, Can you please assign me the above task

ok

pr merged #35


Uncaught exception: Error: Error: SQLITE_CORRUPT: database disk image is malformed PRAGMA journal_mode=WAL

My Wallet on opening gives that message.
Couldn't fix it . I have reinstalled wallet different times after erasing the app, Didn't work.

Any ideas?
Thank you

Looks like the database is corrupt and you'll have to revert to a backup.


'Id' property is not supported in the SDK

I getting the following exception if there is a 'Id' field in the properties. But I can insert from Data explorer
Microsoft.Azure.Cosmos.Table.StorageException
HResult=0x80131500
Message=Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.String'
because the type requires a JSON primitive value (e.g. string, number, boolean, null) to deserialize correctly.
To fix this error either change the JSON to a JSON primitive value (e.g. string, number, boolean, null)
or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer,
not a collection type like an array or List) that can be deserialized from a JSON object.
JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'Id.$t', line 1, position 1201.
Source=Microsoft.Azure.Cosmos.Table
StackTrace:
at Microsoft.Azure.Cosmos.Table.Extensions.TableExtensionOperationHelper.d__01.MoveNext()    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at Microsoft.Azure.Cosmos.Table.Extensions.TableExtensionRetryPolicy.<ExecuteUnderRetryPolicy>d__21.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.TableToCosmosMigrator.Program.Main(String[] args) in C:\Users\sarv\source\repos\TableToCosmosMigrator\TableToCosmosMigrator\Program.cs:line 38
Inner Exception 1:
JsonSerializationException: Cannot deserialize the current JSON object (e.g. {"name":"value"})
into type 'System.String' because the type requires a JSON primitive value (e.g. string, number, boolean, null) to deserialize correctly.
To fix this error either change the JSON to a JSON primitive value (e.g. string, number, boolean, null)
or change the deserialized type so that it is a normal .NET type
(e.g. not a primitive type like integer, not a collection type like an array or List)
that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.

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

ID: 75ec66a2-77d8-2fe7-32f2-91239368a0a6
Version Independent ID: 523e0650-3d46-01e2-bd8c-41656017d483
Content: Azure Cosmos DB Table API .NET Standard SDK & Resources
Content Source: articles/cosmos-db/table-sdk-dotnet-standard.md
Service: cosmos-db
Sub-service: cosmosdb-table
GitHub Login: @wmengmsft
Microsoft Alias: wmeng

@iqsarv  Thanks for the question! We are investigating and will update you shortly.

@iqsarv Thank you for reporting this. I was able to reproduce the issue with the SDK.
However while using storage explorer, I get the below error while trying to insert an entity

Id appears to be a reserved property name.
@wmengmsft Could you please confirm if this is true.

I mentioned from Data explorer of the Cosmos Table API. You can try calling the Cosmos REST API directly with Postman or some other REST client tool.
I am guessing the storage explorer is using the .NET sdk

On Cosmos DB Table API, "Id" is currently a reserved system property. Is it possible to choose another name for your property?
Please see this page for this and other discrepancies compared to Azure Storage Tables: https://docs.microsoft.com/en-us/azure/cosmos-db/faq#table

@iqsarv Please let us know if you have any additional questions.
We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


Why should X-Permitted-Cross-Domain-Policies be master-only only

Why should X-Permitted-Cross-Domain-Policies be master-only only?
Why not just none?
See:
https://owasp.org/www-project-secure-headers/#x-permitted-cross-domain-policies
https://github.com/dionach/HeadersAnalyzer/blob/master/HeadersAnalyzer.py#L551

https://github.com/PortSwigger


SIGTRAP when calling get_all_fs()

My program uses github.com/shirou/gopsutil/v3/disk for getting disk usage data once a minute, which for aix calls perfstat.FileSystemStat(). About once a day the program dies with SIGTRAP and is restartet by the system resource controller.
When analyzing the /core file  i get the following stack trace:
_internal_error(??, ??, ??) at 0xd057df80
_cleanup_push@AF83_37(??, ??, ??, ??) at 0xd058300c
pthread_cleanup_push(??, ??) at 0xd05815ec
__modinit_lock(??) at 0xd0129974
__modfini() at 0xd0196fc8
exit(??) at 0xd018b368
runtime.throw(??, ??) at 0x10054acc
runtime.sigpanic() at 0x1006e51c
runtime.sigtrampgo(??, ??, ??) at 0x10086614
runtime.sigtramp(??, ??, ??) at 0x108168a0
strncpy() at 0x10306768
getfsinfo(??, ??, ??, ??, ??, ??, ??) at 0x103f7f30
get_all_fs(??) at 0x103f80c4
_cgo_022023b15f11_Cfunc_get_all_fs(??) at 0x103f7178
github_0com_1power_x2ddevops_1perfstat.FileSystemStat() at 0x103dc334
github_0com_1shirou_1gopsutil_1v3_1disk.UsageWithContext(??, ??, ??, ??) at 0x10622278
github_0com_1shirou_1gopsutil_1v3_1disk.Usage(??, ??) at 0x1062264c
main.startMetrics(??) at 0x10801438
runtime.kickoff() at 0x10092e90
After some Google-ing i've found https://peeterjoot.wordpress.com/2010/05/05/fun-with-aix-nested-signal-handlers/.
Maybe the SIGTRAP occurs because devname or fsname sometimes is NULL or calloc failed in getfsinfo()

Can you make some local changes into the code and check if it works for you on your machine?
File c_helpers.c in function getfsinfo() (line 102 and below).
After line 111:
if (fsname == NULL) {
  return 1
}

if (devname == NULL) {
  return 1
}

After line 122 (calloc() calls):
if (fs->devname == NULL) {
  return 1
}
if (fs->fsname == NULL) {
  return 1
}

Yes, i'll test it.  Thanks !

The good: Your fix works.
The bad: It seems to be a memory issue with gccgo. My program keeps allocating memory and finally i get this error:
malloc failed: Not enough space
Thanks for your help !

OK, thank for you for the feedback. I have my own perfstat-based agent the whole time running and got no problems. But you mentioned the difference - mine is compiled using Golang compiler and not gcc-go, even if it uses gcc as backend for C bindings.

Can you check it with Golang and POWER8 (or newer), if the same problem occurs? I will try meanwhile to recompile my agent with gcc-go and check if I get the problem.

I was still unable to bring my part under gccgo, but can you please do the following:

stop your program
export the variable:

export MALLOCDEBUG=log:extended,stack_depth:20

start your program again
find the PID of your program and run:

gencore <PID> /tmp/core.first

after some time run it again:

gencore <PID> /tmp/core.second

then start dbx and produce the list of memory allocations:

dbx </path/to/program> /tmp/core.first
malloc allocation >/tmp/alloc.first
quit

dbx </path/to/program> /tmp/core.second
malloc allocation >/tmp/alloc.second
quit

Then please send me both alloc.first and alloc.second. I will compare them with what I see on my systems.

When compiled with golang & Power8 my program still was restarted by srcmstr, but no core file was generated.
I added code to record the heap size, and it keeps more or less constant.
I don't think it's your code that has a memory leak.
My program uses shirou/gopsutil for platform independent performance metrics, and for aix gopsutil uses your perfstat lib.
Seems to be an gccgo issue, but we still have to use gccgo for our Power7 machines.

Do you use gcc8? If yes, can you compile your code using gcc10? I compiled my code with gccgo10 and don't see any memory problems. But I have only rootvg on my test system.

I compiled my code with go version go1.16.5 gccgo (GCC) 11.3.0 aix/ppc - self compiled with the same options as offical gcc 8.3.0.

I got a panic today in the code compiled with gccgo 10
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x33 addr=0xb8222e7 pc=0x900000000047968]

goroutine 19420 [syscall]:
runtime.dopanic_m
        ../../../../gcc-10.3.0/libgo/go/runtime/panic.go:1208

Now I have to understand, if it has something to do with the perfstat library, but I'll do it tomorrow.


manifest.py script break

here's the terminal output:
Last login: Sat Jul 25 14:20:19 on ttys005
ifi-mac-pro:~ admin$ manifest.py -s /Volumes/Stardom\ 1/to_be_sipped_and_sorted/Moving\ Media\ Digitization\ Project\ Files\ April\ 2016
Traceback (most recent call last):
File "/Users/admin/ifigit/ifiscripts/manifest.py", line 164, in
main(sys.argv[1:])
File "/Users/admin/ifigit/ifiscripts/manifest.py", line 97, in main
generate_log(log_name_source, 'manifest.py started.')
File "/Users/admin/ifigit/ifiscripts/ififuncs.py", line 312, in generate_log
with open(log, "w", encoding='utf-8') as fo:
TypeError: 'encoding' is an invalid keyword argument for this function
ifi-mac-pro:~ admin$

Hi Raelene - it's a unicode issue - I'd need filenames to figure out how to figure this out. I tried logging on to ES2 but couldn't find the paths in question so can you point me in the right direction please?

Hi Kieran
the example I gave you above was from the stardom drive which is now disconnected. i'm pasting a new example below from ES2 desktop. it break has happened to me on macmini and es1 also in the last few weeks. let me know if you would like me to post more examples. - from different stations or with different av content. R
terminal:
Last login: Fri Jul 31 13:39:49 on ttys005
ifi-mac-pro:~ admin$ manifest.py -h
usage: manifest.py [-h] [-s] [-f] [-sha512] source
Generate manifest with checksums for a directory Written by Kieran O'Leary.
positional arguments:
source        Input directory
optional arguments:
-h, --help    show this help message and exit
-s, -sidecar  Generates Sidecar
-f, -felix    Felix Meehan workflow - places manifest inside of source
directory
-sha512       Generates sha512 checksums instead of md5
ifi-mac-pro:~ admin$ manifest.py -s /Users/admin/Desktop/rc_desktop/eu_blarney_qc/ucla/tiff_relevants
Traceback (most recent call last):
File "/Users/admin/ifigit/ifiscripts/manifest.py", line 164, in
main(sys.argv[1:])
File "/Users/admin/ifigit/ifiscripts/manifest.py", line 97, in main
generate_log(log_name_source, 'manifest.py started.')
File "/Users/admin/ifigit/ifiscripts/ififuncs.py", line 312, in generate_log
with open(log, "w", encoding='utf-8') as fo:
TypeError: 'encoding' is an invalid keyword argument for this function
ifi-mac-pro:~ admin$

So this was weird - i didn't have the correct python3 shebang at the top, and python2 was running the script, not python3. All is fixed now. Thx for reporting.


Migration PHPExcel > PHPSpreadsheet not working

Hello,
I am trying to use the rector migration from PHPExcel to PHPSpreadsheet but it is not working.
The problem is that is not detecting any changes to do, when obviously i am using code
that should be refactored.
It is saying "[OK] Rector is done!", but without changes.
I followed the guide from getrector.org, that talks about do this migration in 30 minutes.
If you could take a look i will be very gratefull.

Hi, thanks for reporting the issue.
This is only website repository. Please report Rector code issues to: http://github.com/rectorphp/rector
Thanks!


user doc: update sqpoll user documentation

The documentation about needing to be root for the setup_sqpoll function had been outdated.
Other documentation for feature flags was either missing or seemed less informative than the info in the newer liburing io_uring_setup(2) man page.

I took the new documentation straight from the liburing's io_uring_setup(2) man page. I don't know if we want to start referring to such man pages in this crate's documentation.

Another option would be to link to an established website's man page for io_uring_setup(2). I am partial to https://man.archlinux.org/man/io_uring_setup.2


Convert existing design system components to use focus-visible

Background
focus-visible applies custom styling only if it would be shown natively. This allows a custom focus treatment (which we have) to only be shown in situations where it makes sense and adds to the accessibility and usability for a given control.
Acceptance Criteria:

Rewrite interactive components that receives focus with :focus-visible pseudo-class

:tada: This issue has been resolved in version 1.17.0-alpha.55 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 4.17.0-alpha.28 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 3.0.0-alpha.4 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Text Parser

I am trying to calculate complex dates with Later.js.
I want to to things like: "on the third Tuesday of every month"
But I get an error pointing to 'third'. According to the docs, only 'first' and 'last' are recoginzed...ok, so if I change it to: "on the first Tuesday of every month"
Then the error is at 'Tuesday'.
How I can use Later.js to figure such dates using the text parser?

You're looking for on Tuesday on the 3rd day instance.  With Later, each constraint is specified separately so in this case you have a day constraint (on Tuesday - it only occurs when day of week is Tuesday) and a day instance constraint (on the 3rd day instance - it only occurs on the third occurrence of a day within a month).

Makes sense. I can get that to work, but how about if I want to do:
"on Saturday on the first day instance every 2 months starting 2/1/2016"
When I try that, the dates output are:
10/3/2015, 12:00:00 AM
12/5/2015, 12:00:00 AM
2/6/2016, 12:00:00 AM...
Shouldn't the first date be the February date? Or am I doing something wrong?

If you want to start looking for occurrences after a particular date, pass the date to next instead of trying to embed it in the schedule definition.
// sched for minute equal to 1,2, or 3
  var sched = later.schedule(later.parse.recur().on(1,2,3).minute()),
      start = new Date('2013-05-22T10:22:00Z');

  // get the next instance
  sched.next(1, start);
  --> Mon, 22 May 2013 11:01:00 GMT

Got it. Thanks!

And how do I enter time ranges with the text parser?
Say I want:
"on Saturday on the first day instance every 2 months from 12:00 until 14:00"


unify the coding style of using testcontainers

To unify the coding style of using testcontainers, and improve maturity for logging

Hey @feuyeux thanks a lot and sorry for the delay with review!
I have noticed that there is also this PR which seems to overlap with yours. Could you please take a look?

Hey @feuyeux thanks a lot and sorry for the delay with review! I have noticed that there is also this PR which seems to overlap with yours. Could you please take a look?

Thanks for reply, and I just checked #60 pull request，there're some files changed on both. What I did is let all series of vector dbs to use log instead of system out, for example, and both of use did unify the coding style on testcontainers.
So, I can merge this PR if it approved before mine, with pleasure. Or vice versa, maybe :)

Hey @feuyeux thanks a lot and sorry for the delay with review! I have noticed that there is also this PR which seems to overlap with yours. Could you please take a look?

I found

I found with https://github.com/langchain4j/langchain4j-examples/pull/60 had merged, and then I just merge with it, please review.

Hey @feuyeux thanks a lot and sorry for the delay with review! I have noticed that there is also this PR which seems to overlap with yours. Could you please take a look?

I found that https://github.com/langchain4j/langchain4j-examples/pull/60 had merged, and then I just merge with it, please review.

@langchain4j Please take a quick look, there's no conflects

I just created a new PR, and let's move to https://github.com/langchain4j/langchain4j-examples/pull/78.


Update swagger ui 3

Addresses #11 .
I copied the files from https://github.com/swagger-api/swagger-ui/tree/master/dist and updated the __init__.py. Anything else to do @dtkav ?

i've tried this locally and it seems to work

confirmed this works and resolves a bunch of issues. for me i really wanted https://github.com/swagger-api/swagger-ui/pull/6040

My apologies for the delayed response. I updated swagger-ui to 3.30.0 in #14 . Thanks for the PR.


Missing a code snippet

There is an unfinished demo code in the WebAssembly article, could you complement it.

Sure, I will fix it in this week.


6 tests fail, 4 tests time out

Actual Behavior
See the log here.
Specifications

HPX Version: 1.9.1
Platform (compiler, OS): FreeBSD 13.2

@yurivict Thanks!


add a support to exclude properties from syncing with browser's storage

Currently, the only way to exclude a property from syncing to browser's storage is to provide a config similar to this:
const config: StateConfig = {
    state: {
      storageSync: {
        keys: {
          'auth.userToken.token.access_token': StorageSyncType.LOCAL_STORAGE,
          'auth.userToken.token.token_type': StorageSyncType.LOCAL_STORAGE,
          'auth.userToken.token.expires_in': StorageSyncType.LOCAL_STORAGE,
          'auth.userToken.token.expiration_time': StorageSyncType.LOCAL_STORAGE,
          'auth.userToken.token.scope': StorageSyncType.LOCAL_STORAGE,
          'auth.userToken.token.userId': StorageSyncType.LOCAL_STORAGE,
        },
      },
    },
  };

Basically, customers are forced to list every property they want to sync to storage and not list the property they want to exclude.
The idea is to create a much cleaner way to configure this. This could be an example configuration:
const config: StateConfig = {
    state: {
      storageSync: {
        keys: {
          'auth.userToken.token': StorageSyncType.LOCAL_STORAGE,
        },
        excludeKeys: [
          'auth.userToken.refreshToken',
        ],
      },
    },
  };

PR: #3560


ValidationError: child "redirectTo" fails because ["redirectTo" must be a string]

I cloned the project and tried to run, but got the error.
I also tried with previous version commit 5e0e277
@Kevin-A Kevin-A authored on 4 Mar, it worked perfectly. I guess the issue is due to updating version of hapi and hapi-auth-cookie.

You were correct. In the newer versions of hapi-auth-cookie it is no longer necessary.


Currency Converter with HTML,CSS AND JAVASCRIPT

I AM A GSSOC'21 PARTICIPANT. I WANT TO MAKE CURRENCY CONVERTER WITH HTML,CSS AND JAVASCRIPT ...
PLEASE ASSIGN ME THIS ISSUE.....

@ridsuteri @991rajat @harshgupta20  PLEASE HAVE A LOOK ON THIS ISSUE...

@Mrinal81 there are already two currency converters available in the project ! and I don't think it's open now , hence closing it :(

Ok


Access URL not showing

In "Home" for a container, it shows the correct port, but the access URL is missing. it does show if I go to settings.

Depending on the image you've selected you may not see it - There's a change request in place to use the IP + port whenever a URL isn't available.
Can you share the name of the image you used for QA purposes?


add install scripts for neurips23 entries.

I added a missing entry (cufe on filter), otherwise it looks good to me.


fix signatureBase buffer concatenation

This fixes issue #4.

Works as advertised 😃
Thanks @StefanGussner. Merging and pushing a new version shortly.

Thanks :)


Image Packaging part 1

Provide an automated image packaging and chunking solution for SVG and binary images.
Webpack Loader
This loader will be all that gets used during active development so as to not package a sprite sheet on every local rebuild. It should internally generate a non-base64 dataUri of the image passed to it and create a style sheet that contains one item of the form:
:local(.someClass){
  background-image: url(DATA_URI);
  background-repeat: repeat;
}

With this generated style sheet we will then run the css-loader and the style-loader so that the resulting CSS is injected into the page at run time.

This ticket encapsulates providing a standard interface for using image assets, #60 is how to provide that efficiently

Blocks #10, because this determines what it is that we will need to pre-cache.


Arrays of Arrays

Sorry of this seems too simple, I tried to localize the problem I was facing. I am trying to create a tensor with an array of an array of ints.
public static void ArrayOfArrays()
{
    int[][] ints = Enumerable.Range(0,50).Select( i => new int[] { 1, 2, 3 } ).ToArray();

    var inT = torch.tensor(ints);
    var inA = torch.from_array(ints);
}

inT fails to compile with "Error (active)	CS1503	Argument 1: cannot convert from 'int[][]' to 'bool'	"
inA fails during runtime with "System.NotSupportedException: 'The type System.Int32[] is not supported.'"
Okay, so the second response does seem fairly clear, perhaps this just isn't supported? Or is it just that I am doing it wrong?
Is there a way to properly create a tensor of the int[][] structure shown here? In pytorch it would look like:
ints = []
arr = [1] * 3
ints.append(arr)

inA = torch.tensor(ints);

Please let me know, ty

You shall use int[,] (multidimensional arrays) rather than int[][] (jagged arrays). Here we explained why we don't support jagged arrays currently https://github.com/dotnet/TorchSharp/issues/1347#issuecomment-2203495714.
You could use the following code to convert a 2d jagged array to a 2d array and create the tensor.
using TorchSharp;

int[][] jagged = Enumerable.Range(0, 50).Select(i => new int[] { 1, 2, 3 }).ToArray();

int[,] multi = new int[50, 3];
for (int i = 0; i < multi.GetLength(0); i++)
{
    for (int j = 0; j < multi.GetLength(1); j++)
    {
        multi[i, j] = jagged[i][j];
    }
}

var tensor = torch.tensor(multi);
Console.WriteLine(tensor.cstr());

/*
[50x3], type = Int32, device = cpu, value =
int [,] {
 {1, 2, 3},
 {1, 2, 3},
 {1, 2, 3},
 ...
 {1, 2, 3},
 {1, 2, 3},
 {1, 2, 3}
}
*/

Thank you @yueyinqiu for your assistance, I missed the nuance between jagged and multidimensional in this use. I appreciate it.

@travisjj -- can this be closed?

@NiklasGustafsson Yes, this resolved the issue and worked in setting up the sample tensors I was using for training. Thanks


Unify Alpaca API key and secret references

Changes

unify references in up Mise command
unify reference in required YAML definitions

Comments

Minor cleanup I've wanted to do.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#428  👈 (View in Graphite)
#427
#426
#425
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

@chrisaddy I'm merging just because this has been open for a while.


Why do you add sleep in streaming client?

https://github.com/k2-fsa/sherpa/blob/d958043f1680bdef666a97699d2aaa9fcd4c91fa/sherpa/bin/pruned_stateless_emformer_rnnt2/streaming_client.py#L103
It costs 0.25s(4096/16000) each chunk and make it so slow. I didn't find any difference with/without sleep. Is it because if many clients request the server, there may be some unknown errors?

It is to simulate the real condition. In reality, you need some time to capture some audio samples.
For instance, if the sampling rate is 16kHz, you need 1 second to capture 16000 audio samples.

Oh, thanks!


cherry-pick #21641 #21277

Cherry-pick two STS bug fixes into 1.25
https://github.com/grpc/grpc/pull/21277
https://github.com/grpc/grpc/pull/21641

@donnadionne

@JimmyCYJ
Some findings about windows portability tests build only timeout:

the test timeout is not happening on master, but this PR is against v1.25.x, which is relatively old (there is 1.26.x and 1.27.x now)
I found that this PR https://github.com/grpc/grpc/pull/20900 has increased the timeout for windows C++ portability build, but the fix is not available in v1.25.x (it's only available in 1.26+)

So two possible solutions:

it seems safe to mark this particular failure as "known flake on v1.25.x" and ignore it
we could backport https://github.com/grpc/grpc/pull/20900 into v1.25.x

A few more comments on the other test failures:

the bazel C/C++ MacOS tests I wouldn't expect to work as support for bazel for mac was added after 1.25 release (so safe to ignore the failures)

the interop test build failure seems to be due to java interop docker build failing, so probably safe to ignore (https://github.com/grpc/grpc/issues/21675)

the artifact build failure (fatal error: openssl/cmac.h: No such file or directory on python manylinux1) I don't have much context, but it's worth doublechecking what's going on.

@jtattermusch Thanks much for looking into the test failures. Right now, merging is blocked on portability tests windows.
@JimmyCYJ can backport #20900 in this PR if it can unblock merging.

"I signed it"

I signed it


wip: new(ci): added update-syscalls gha.

What type of PR is this?
/kind feature

Any specific area of the project related to this PR?
/area CI

Does this PR require a change in the driver versions?
No

What this PR does / why we need it:
Which issue(s) this PR fixes:

Porting of update-syscalls Prow job.
Waiting for Poiana token (missing at the moment).
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Welcome @cappellinsamuele! It looks like this is your first PR to falcosecurity/libs 🎉

Hi @cappellinsamuele !
Please follow the PR template :)

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

7c3f92a Merge branch 'falcosecurity:master' into new/porting_update_syscalls_job

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Adding label do-not-merge/contains-merge-commits because PR contains merge commits, which are not allowed in this repository.
Use git rebase to reapply your commits on top of the target branch. Detailed instructions for doing so can be found here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/milestone 0.11.0

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: cappellinsamuele, FedeDP, jasondellaluce
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Get the _id assigned to an object right after inserting it

Hi. Is it possible to get the _id assigned to an object right after inserting it? All I get is null :(
Item item = new Item();
database.getCollection("items", Item.class).insertOne(item);
System.out.println(item.id); // null

I am looking for something like http://stackoverflow.com/a/3339206/2636418, but for custom objects with codecs, not for BasicDBObject. Any idea?

Sorry, It does not seem possible. (If it is, it's not trivial)
As a workaround, the best I can offer is to use @Id on a String field, and initialize this field with something like java.util.UUID.randomUUID().toString(). This way your object have an id before being inserted.


attributesForFaceting

Hi there
I don't believe the attributesForFaceting annotation is working. I have the following mapping but the facets are not created. The indices are populated fine other than the missing facets.
This is using Symfony 2.7.3.
/**
 * Overall Index
 *
 * @ORM\Table(
 *  name="search_overall_index",
 *  indexes = {
 *         @ORM\Index(name="idx_search_class_identifier", columns={"class", "identifier"})
 *      },
 *  uniqueConstraints={
 *     @ORM\UniqueConstraint(columns={"class", "identifier"})
 *    }
 * )
 *
 * @UniqueEntity(fields={"class", "identifier"})
 *
 * @ORM\Entity(repositoryClass="SearchBundle\Repository\OverallRepository")
 * @ORM\HasLifecycleCallbacks
 *
 * @Algolia\Index(
 *     attributesForFaceting = {"type", "user", "project"},
 *     attributeForDistinct = "objectKey"
 * )
 *
 */
class Overall extends BaseEntity
{

  //Other properties and methods: Example mapping for type:

    /**
     * @var string
     *
     * @ORM\Column(name="type", type="string", length=255, nullable=false)
     * @Assert\NotBlank()
     * @Algolia\Attribute(algoliaName="type")
     */
    private $type;

Hey @mpclarkson,
did you apply the settings with php app/console algolia:settings --push after adding this attributesForFacetting index setting (https://github.com/algolia/AlgoliaSearchBundle#index-settings) ?

Oops, sorry I missed that.  Would be nice if it were automatic though - one less deployment step!
Thanks for the prompt response.

H

Hi there
I'm having some problems running this command associated with constructors caused by line 148 in vendor/algolia/algolia-search-bundle/Indexer/Indexer.php
The bundle instantiates an entity here  $entity = new $class(); but this throws an exception if the constructor requires arguments.  Until now, I've been able to get around this with our own entities by allowing null but this doesn't work for entities provided by third party bundles. For example:
Warning: Missing argument 1 for FOS\UserBundle\Model\Group::__construct(), called in /home/vagrant/Code/hilenium-application/vendor/algolia/algolia-search-bundle/Indexer/Indexer.php on lin
  e 148 and defined

Changing this line to $entity = $reflClass->newInstanceWithoutConstructor(); fixes the problem. I'll submit a PR if you want?

thank you for the investigation. :) We've decided to not set the settings automatically because it's kind of complex to detect if we need to save them or not -> since PHP is stateless, we would need to check if the settings changed at each indexing.
Regarding the newInstanceWithoutConstructor, that's indeed a good idea. We would love to merge your PR!

Cheers. PR submitted.


WIP: Improves performance and memory footprint of vmq_reg_trie

Proposed Changes
Please describe the big picture of your changes here to communicate to the
VerneMQ team why we should accept this pull request. If it fixes a bug or
resolves a feature request, be sure to link to that issue.
Types of Changes
What types of changes does your code introduce to this project?
Put an x in the boxes that apply

[X] Bugfix (non-breaking change which fixes issue #1694, maybe #1944 )
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation (correction or otherwise)
[ ] Cosmetics (whitespace, styles...)
[ ] DevOps (Build scripts, pipelines...)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating
the PR. If you're unsure about any of them, don't hesitate to ask on the
mailing list. We're here to help! This is simply a reminder of what we are
going to look for before merging your code.

[ ] I have read the CODE_OF_CONDUCT.md document
[ ] All tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if needed)
[ ] Any dependent changes have been merged and published in related repositories
[ ] I have updated changelog (At the bottom of the release version)
[ ] I have squashed all my commits into one before merging

Further Comments
If this is a relatively large or complex change, kick off the discussion by
explaining why you chose the solution you did and what alternatives you
considered, etc.

Let me know what you think about how to proceed here? I could make a new view out of it, or just modify the existing code around vmq_reg_trie?

@mths1 - I like to see a more detailed description of what the PR does. How vmq_reg_trie currently behaves in terms of memory and performance and how this PR improves it, ideally with some benchmarks/numbers around that.

@mths1 I'd add it as a new view but set it as a the default. This gives the user the ability to fall back, in case of unexpected differences.

Some graphs, for 100 clients subscribing to 500 topics each.

I added it as a new reg_view. I have been always bad at naming stuff, so it is now called vmq_reg_ordered_trie. Better names are welcome. I do not load it by default, as the original version still has negative impact on performance and memory footprint even when it is not the default. I will see if I can make some memory and performance plots today or tomorrow. Naming suggestions and suggestions for code improvement are always welcome :-)

Naming stuff and cache invalidation are the only hard problems, right? :)

I do not load it by default, as the original version still has negative impact on performance and memory footprint even when it is not the default.

Hold on... the original version has negative impact on the new reg_view just because the former is loaded too?

Scenario:
100 clients
500 topics each
No publish

Naming stuff and cache invalidation are the only hard problems, right? :)

I do not load it by default, as the original version still has negative impact on performance and memory footprint even when it is not the default.

Hold on... the original version has negative impact on the new reg_view just because the former is loaded too?

Yep, because the vmq_reg_trie:init() runs which subscribes to the subscriber events as well.

Nice!
Ok, got you on the loading of multiple reg_views. We don't preload the old one then.
A user still can fallback to it with:
default_reg_view = vmq_reg_view
reg_views = [vmq_reg_view]

@mths1 I think this can move forward from draft. We can maybe rethink the parallel loading and operation of reg_views later.
I want to cut a RC for a release shortly, ideally we can have this RP merged.

Moved from draft to ready for review, and removed the debug code.
PS: Would be great if the REST interface would make it into the RC as well ;-)


Mobile - Error page on Earning screen

When pool info get fail, value is undefined
Also fix bug: auto reset selected pool to default

Version test: https://file.cdmteck.com/s/DB9JLAnjJczopcC/download?path=%2F&files=SubWalletMobile-build-309-1428-merge-2024-02-01T09-00-10.ipa
Device test: IP 11, S20 FE 5G
Validation passed in case: perform all action earning


More fixes and Stars for LOWW

I don't expect it to be merged right now, but as I think of it being pretty much done, I just wanted to put it here!

Holy cow-- at first glance, these STARs look super complicated... thanks for putting in the time :)
This will obviously depend on #493, which is in need of some community feedback. Once it goes, then we can have a look at this! :+1:

@erikquinn I hope I didn't make any mistakes, but they should be working fine 😆 I think rather than you thanking me, it should be me and the community thanking you for all the effort you put into this project!!! Great game!

And the arrivals section will need to be updated to get them to actually fly the STARs when they spawn. Feel free to reference ksfo.json:241, the example airport included in #493 when adding the stars to the spawn patterns!

@jakobeng1303 ohhhh this project is much bigger than any single person, there are quite a few people to have done more than me. In fact, I'm kind of late to the party... :disappointed: But, now that I've found this awesome game, I'm here to stay and help as much as possible. :smile:

@erikquinn I don't know for how long I'll stay, but I'll give it a try and help this incredible project!
Will "route": "xx", clear the plane right form the beginning to a certain star or what will that command do?

@jakobeng1303 it describes the route of flight. So the beginning of the star, the star id, the destination airport, eg route: "MXW.PYE1.KSFO" will cause the aircraft to spawn at MXW, follow and descend via the PYE1 STAR, with a filed destination of KSFO. (Reasoning for including the last part is because we should eventually be adding capability to work arrivals/departures to/from multiple airports within a single airspace)

@erikquinn so in my case adding in route: Mabod isn't enough, but I'd need MABOD.MABOD4K.LOWW ? basically I have to add in those for all 4 possible runways. How do planes know, which one to take?

@jakobeng1303  As I said in #493 I think you might be confusing STAR's with RNAV transitions.
Here are the STAR's (e.g., MIKOV 7W) which end in the point MABOD:

And here is the transition (MABOD4K) which takes aircraft form MABOD to the ILS (in this case, RWY11):

I'm not exactly sure what the route would look like, but it would be something like this: MIKOV.MIKOV7W.MABOD.MABOD4K.LOWW, so the STAR shouldn't start at MABOD, it should start at MIKOV

@Fechulo Damn.   Just to confirm, is it planned to just add the star, or the transitions as well?
The Problem with Mikov7W is, that currently Mabod is the only waypoint we have (currently), so planes would spawn into Mabod, not Mikov.

@jakobeng1303  don't feel stupid, a lot of people make this mistake! Currently, aircraft do follow the MIKOV7W, as you can see in the picture:

I'm not sure how the transitions could be assigned, but maybe, we should assume that MIKOV 7W is actually part of the flight plan and MABOD 4K is the STAR. It's not very realistic, but it's probably good enough.

@Fechulo I think for LOWW (currently) clearing the transition will be more helpful but in the future we/I might add it. If I got you right, that would mean changing all the arrivals to their actual beginning eg Mikov? how would I clear a plane then? Mikov7w and then mabod4k or at the same time?

Right now, it's only necessary to clear them for MABOD 4K, since the are already following MIKOV 7W when they enter the airspace. However, if/when we have en route control, we might need to clear the for both, but we'll leave that to future contributors.

@Fechulo thanks for all the information, something I'm still trying to figure out, is how I'm supposed to write that route:  MABOD.MABOD.LOWW or else? I have left out the 4k on purpose because from my pov it didn't seem logic to tell a plane to use the Mabod4k transition, when it's actually flying the 5k. I hope it's clear what I'm trying to say

@jakobeng1303 I'm afraid it isn't clear what you're talking about :smile: , at least I have no idea what you are referring to, sorry...

@jakobeng1303 Actually, now that I looked a bit more closely at the diff of this pull, there is a critical difference in nomenclature in the USA vs Europe...
The STARs are implemented in the FAA convention of transition.procedure.destination, where transition is not the same transition you guys are talking about. The word "transition" to me means the point that links a terminal procedure (SID/STAR) with the en route structure (airways). So you fly on an airway to one of a few "transitions" that connect you to the STAR, and then that takes you to the airport.
In Europe, it seems to me like it goes like this: you follow an airway to some fix that connects you to the STAR. (In the USA, I would call that fix the "transition", and Europe doesn't really name it). You then follow the STAR to the fix for which the STAR is named, at which point, you are still a ways away from the airport, and must be assigned a "transition" that connects you from the STAR to a particular runway. Thus, the "transition" is like a STAR that comes after the STAR.
I now see in this PR, you listed the runways within transitions, and that will not work. For it to work, the transitions need to be the fixes from which arrivals can join the STAR (even if only one). If multiple (european) "transitions" off of this STAR are needed, multiple STARs will need to be created. The best course of action (at least for now) is probably to pick only one (european) "transition" to whichever runway is in use based on the wind, and we can figure the rest out later.

@erikquinn I should have looked that up earlier :/ that is quite a big misunderstanding. Luckily we know now!

@erikquinn so the European format would be like:
"stars": {     "NERDU 4K": {       "icao": "NERDU4K",       "name": "Nerdu4K"       "body": [["NERDU", "A60+|S250"], ["WW666", "A50+|S250"], ["WW664", "A50+|S250"], ["WW658",       "A50+|S250"], ["WW656", "A50+|S250"], ["WW654", "A50+|S250"], ["WW653", "A50+|S250"], ["WW652",    "A50+|S250"], ["WW651", "A50+|S250"], ["WW650", "A50|S250"]],       "draw": ["NERDU", "WW666", "WW664", "WW658", "WW656", "WW654", "WW653", "WW652",      "WW651", "WW650"],
Is that kind of correct?

for some reason it clutters all together -.-
"stars": {
"NERDU 4K": {
"icao": "NERDU4K",
"name": "Nerdu4K"
"body": [["NERDU", "A60+|S250"], ["WW666", "A50+|S250"], ["WW664", "A50+|S250"], ["WW658",       "A50+|S250"], ["WW656", "A50+|S250"], ["WW654", "A50+|S250"], ["WW653", "A50+|S250"], ["WW652",    "A50+|S250"], ["WW651", "A50+|S250"], ["WW650", "A50|S250"]],
"draw": ["NERDU", "WW666", "WW664", "WW658", "WW656", "WW654", "WW653", "WW652",      "WW651", "WW650"],

Try using triple-backticks above and below your code, and it should indent properly.
"NERDU4K": {
  "icao": "NERDU4K",
  "name": "Nerdu 4K"
  "body": [["NERDU", "A60+|S250"], ["WW666", "A50+|S250"], ["WW664", "A50+|S250"], ["WW658", "A50+|S250"], ["WW656", "A50+|S250"], ["WW654", "A50+|S250"], ["WW653", "A50+|S250"], ["WW652", "A50+|S250"], ["WW651", "A50+|S250"], ["WW650", "A50|S250"]],
  "draw": ["NERDU", "WW666", "WW664", "WW658", "WW656", "WW654", "WW653", "WW652", "WW651", "WW650"],
}

The property name (eg what you put as the label for the whole block) needs to match the ICAO identifier. The name property is just to help the speech synthesis know how to pronounce it since she's not quite smart enough to get "Brookmans Park" out of just "BPK". :wink: Rest looks fine syntactically; as long as it matches the chart it should be correct.

@jakobeng1303 Oh, and also remove the comma at the end of the draw section, since it is the last element.

@erikquinn thanks for that & makes sense

I've decided to close this pull for now and make a new one as soon as I have converted all the transitions into stars or whatever 😆 I hope that'll work though!


[TensorMap revamp] : 3 : backend : DeepLearning API

Description
This PR contains the implementations of deep learning model generation, code generation and code execution API
Type of change

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

How Has This Been Tested?
Manually tested.
Test Configuration:
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

@aselarbd Can you please rebase?


Dynesty output size variance between hardware setups

Different number of samples outputted for each run of dynesty on different hardware. Hinders effective seeding + tests.
Because size of resample_equal() output is necessarily equal to size of initial output array, the goal is to modify that line to fix seed and number of output samples.

Possible explanations:
[x] Different versions of numpy - tested
[ ] Different versions of dynesty
Try:
[ ] Running single sampling iteration of dynesty - same results?
(feel free to add to this)

I tried running a single iteration of sampling by setting nlive=1 and maxiter=1 and got identical results on two different platforms.

I also confirmed that my versions of dynesty are the same.


feat: make worker heartbeat intervals configurable

See comment here: https://github.com/hatchet-dev/hatchet/pull/310#discussion_r1546161353.
Default intervals are typically 4 second interval times with 5 second liveness checks, so query delays >1 second can sometimes cause issues under load.

What are the various can we make this configurable? Like passing in the cmd arguments or reading from the env file?? I would like to tackle this issue


Start using version branches

New features that are worked on should be in the next version as its own branch so when a feature or features are ready enough to release they can be merged to main. This leaves main clean until the features are in and the releases with clear defined updates

v.1.0.4 will be the branch for the next version

Need to report in the system what version it is

Done its in the header for in the about page:


Subsetting: Change y-axis label on histograms

Discussed in EDA UX meeting and decided

The Y-axis should simply be "Count"
Users will identify which entity it is based on the legend

QA'd, looks good. Closing

Danica, no work has been done on this ticket yet, so reopening. Maybe you meant to close a different one?

Sheena, it looks updated to me. Am I missing something?

This is for the histograms on the subsetting tab. Instead of saying "Count of X", the UX group decided to do just "Count" since the legend specifies the entity level, and it's less strange to see "Repeated measures" there.

Closed with PR #320

Looks good.


feat: Port/Data.Nat.Factorization.Basic

It looks like some of these proofs are getting stuck in BEq vs DecidableEq issues. See line 91 for an example of something that seems like it should work but doesn't.

Still needs a review of names and comments, but it builds now


Extend webhook registration to support metafield_namespaces

I've added the ability to specify metafield_namespaces in webhook registration to allow these to be received from apps using this API. This is mostly following the patterns already there for fields.
The tests have gotten more complex, as before it was just fields or !fields, but I'm open to feedback (there; and anywhere in general).
This will also need minor updates in the shopify_app codebase to pass through the parameter.
Description
This change allows ShopifyApp.configuration.webhooks to set a metafield_namespaces parameter and pass that through to webhook registration.
This allows anyone using the shopify_app gem (once that's also improved) to have webhooks with metafields without needing to write custom code. The alternative is to manually register webhooks through graphql and manage it (removing all the benefits of the shopify_app features), or to update a webhook registered this way to add the metafieldNamespaces manually.
How has this been tested?
I have added automated tests around the areas I've changed, and included this branch in a shopify app I'm building which needs these features, and tested it through that as well for HTTP webhook registration. In more detail I:

Connected that app to a development store,
Configured ShopifyApp.configuration.webhooks with the new param,
Monkeypatched the ShopifyApp::WebhooksManager class to pass through the new field
Ran a purchase with my app which uses the checkout ui extensions to add a metafield to an order during checkout, and
Can confirm that on order completion the metafield I've requested from the webhook subscription appears in the webhook.

[x] I have added tests that prove my fix is effective or that my feature works.
[x] I have updated the project documentation.
[x] I have added a changelog line.

Commenting to attempt to re-run the CLA check

Hi @mllemango thank you for the update, even if it's no progress for now it's good to have that communicated.

Hi @mllemango how is the coming soon™ coming? I've recently rebased this change (we still need this functionality) and I see #1189 was merged - are we likely to see any further updates soon?


MBC2 fixes

Fix MBC2 emulation to pass the following Mooneye GB tests:

emulator-only/mbc2/bits_ramg.gb
emulator-only/mbc2/bits_romb.gb
emulator-only/mbc2/ram.gb

Fixed by 06212f1cbcf8025f471d6c45c4836e59f97b0758 and fd267c49b28493b361dce582b08b95995aeda1f2.


Error No such file or directory

I get an Error with Install on Clean Kali
Removing intermediate container 50ce2a4ce0a8
---> 4e6d12b5714b
Step 4/9 : COPY --chown=splunk:splunk ./Splunk4DFIR /opt/splunk/etc/apps/Splunk4DFIR
---> f1d6ae943808
Step 5/9 : RUN sudo git clone https://github.com/whikernel/evtx2splunk.git /opt/splunk/etc/apps/Splunk4DFIR/bin/evtx2splunk
---> Running in 4c2cbc4d84f1
Cloning into '/opt/splunk/etc/apps/Splunk4DFIR/bin/evtx2splunk'...
Removing intermediate container 4c2cbc4d84f1
---> aa38e3a3f0dc
Step 6/9 : RUN sudo chown -R splunk:splunk /opt/splunk/etc/apps/Splunk4DFIR/bin/evtx2splunk
---> Running in 902cfa4c1505
chown: cannot access '/opt/splunk/etc/apps/Splunk4DFIR/bin/evtx2splunk': No such file or directory
The command '/bin/sh -c sudo chown -R splunk:splunk /opt/splunk/etc/apps/Splunk4DFIR/bin/evtx2splunk' returned a non-zero code: 1

It may be because kali distributes an old version of docker that doesnt use BuildKit by default, can you try to run sudo DOCKER_BUILDKIT=1 docker build -t splunk4dfir . instead ?

Works like a charm. You're the goat 💯

I've added the workaround to the readme, i'm closing the issue, thanks for reporting it. :+1:


Fix the condition for asymmetric quantization

Summary

Previously, we were not saving the zp if all the values stored in the parameter were 0s
However, this fails loading in the event that we're running asymmetric quantization
Update the condition to directly check if we're running asym or sym quantization

Still need to run against all testing


Added split_bytes31

This change is

Change target branch

corelib/src/lib.cairo line 210 at r2 (raw file):
Previously, orizi wrote…
mostly since 2 to the power of 128 is not necessarily a concept for felt252 as it is - just declare it for your usage needs, and not for everyone.

I thought you said you agree it may be useful for other stuff. It's not specific for bytes31 so I didn't want to put it in bytes_31.cairo and then import it from there when using in byte_array.cairo. And it made sense to put with other felt stuff as it may be useful. It is a felt thing IMO as this is the 2^128 constant of type felt252.


Change the processing of remember_me option

On the user login page, remember_me input is now handled by the boolean remember_me field in LoginForm

Looks good


The order of multiplication on constants is incorrect

These constants are misleading:
const (
BYTE     = 1.0
KILOBYTE = 1024 * BYTE
MEGABYTE = 1024 * KILOBYTE
GIGABYTE = 1024 * MEGABYTE
TERABYTE = 1024 * GIGABYTE
)
Based on the current standards, 1 Kilobyte = 1000 bytes:
1 kB (kilobyte) = 1,000 bytes
1 KiB (kibibyte) = 1,024 bytes
https://encrypted.google.com/search?hl=en&q=1 KB
https://encrypted.google.com/search?hl=en&q=1 KiB

Now I saw you closed the same issue, awhile back. Pff...
https://github.com/cloudfoundry/bytefmt/issues/2


jwt-go dependancy is vulnerable (CVE-2020-26160)

Describe the bug
https://nvd.nist.gov/vuln/detail/CVE-2020-26160
The package:
dgrijalva/jwt-go
Is not maintained anymore. You can check multiple issues on their repo.
Expected behaviour
Use stable and reliable dependancies
This seems to be a 1v1 replacement and is more up to date:
https://github.com/form3tech-oss/jwt-go
Though, you might want to migrate to something more stable long term from Square:
https://github.com/square/go-jose/tree/v2

@sharadregoti i think we should do this. Should be fairly straightforward in my opinion.
Can you pick this up for v0.21.5?

Coming in v0.21.5


Setup CI testing pipeline

This PR will setup the CI testing pipeline.
Related to https://github.com/Farama-Foundation/Jumpy/pull/5#issuecomment-1131487259 and https://github.com/Farama-Foundation/Jumpy/issues/4.

@pseudo-rnd-thoughts, @alessandrostockman, I think this is ready to be reviewed.

We may want to add py 3.6 support if jumpy is used more in gym as it now supports py 3.6

Done!

LGTM


godoc intermittent 'internal server error'

If I repeat the following sequence of clicks in Chrome I occasionally get 'internal server error'
https://godoc.org/golang.org/x/image/draw#example-Draw
https://godoc.org/golang.org/x/image/draw#ex-Draw
https://godoc.org/golang.org/x/image/draw#ex-Draw
https://godoc.org/golang.org/x/image/draw?play=Draw

There are occasionally production issues, but this issue is now too old to help us track them down, so I'm closing it. Thanks for the report.


sshd: Change @jwflory's SSH key from RSA to ED25519

Recently I migrated my SSH keys. I now use an ED25519 key for enhanced
security and performance over RSA. This only affects my login on all
hosts that apply the sshd role.

lolol, thanks @Tjzabel! :+1: Merging.


The method 'signInWithPhoneNumber' isn't defined for the class 'FirebaseAuth.'

this is my signInWithPhoneNumber method
 Future<void> _signInWithPhoneNumber() async {
    final errorMessage = "We couldn't verify your code, please try again!";
    await _auth
        .signInWithPhoneNumber(
        verificationId: _verificationId, smsCode: smsCodeController.text)
        .then((user) async {
      await _onCodeVerified(user).then((codeVerified) async {
        this._codeVerified = codeVerified;

        FirebaseAuth _auth = FirebaseAuth.instance;

        debugPrint('auth:_auth.currentUser()');
        print(_auth.currentUser());
        FirebaseUser  mCurrentUser = await _auth.currentUser();
        print('Hello ' + mCurrentUser.displayName.toString());

        setState(() {
          mCurrentUser != null ? accountStatus = 'Signed In' : 'Not Signed In';
        });

        Logger.log(
          TAG,
          message: "Returning ${this._codeVerified} from _onCodeVerified",
        );
        if (this._codeVerified) {
          await _finishSignIn(user);
        } else {
          _showErrorSnackbar(errorMessage);
        }
      });
    }, onError: (error) {
      print("Failed to verify SMS code: $error");
      _showErrorSnackbar(errorMessage);
    });
  }

Here is my pubspec.yaml file--
version: 1.0.0+1

environment:
  sdk: ">=2.0.0-dev.68.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  cupertino_icons: ^0.1.2
  country_pickers: ^1.0.1
  firebase_core: ^0.3.0
  firebase_auth: ^0.8.0
  google_sign_in: ^3.2.4
  firebase_analytics: ^1.0.4
  firebase_database: ^1.0.5
  image_picker: ^0.4.12
  firebase_storage: ^1.0.4
  image_picker_ui: ^0.1.2
  transparent_image: ^0.1.0
  intl: ^0.15.2
  dropdown_menu: ^1.1.1
  carousel_pro: ^0.0.13
  cloud_firestore: ^0.9.0
  fluttertoast: ^2.2.6
  cached_network_image: ^0.5.1

dev_dependencies:
  flutter_test:
    sdk: flutter

flutter:
  uses-material-design: true
  assets:
    - images/chat.png
    - images/fast.jpg
    - images/power.jpg
    - images/secure.png

@ebastuart Thank you for providing the solution.
@Yogita75 Do you still experience the issue after trying the fix that @ebastuart mentioned?

@Yogita75
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/487. Any further collaboration will be done there.


add nice boxes instead of vomit of text on index page

see example here for how to implement
https://github.com/acefa-hubs/acefa-hubs.github.io/blob/main/_quarto.yml

looks like https://acefa-hubs.github.io


Video conference mute bar won't disappear

Microsoft PowerToys version
0.51.1
Running as admin

[ ] Yes

Area(s) with issue?
Video Conference Mute
Steps to reproduce
not sure exactly how to repro it (but I'm paying attention to try to figure out the exact steps)
I think the bar is showing up after a MS Teams meeting where I've used the mute button in the app 🤷♂
✔ Expected Behavior
I can click the microphone off button and the bar will disappear

report bug zip file (if that helps): PowerToysReport_2022-01-04-08-36-31.zip
❌ Actual Behavior
the bar won't disappear & clicking the microphone off button isn't doing anything

Other Software
No response

clicking the microphone off button isn't doing anything

To be sure: does that mean the mic is not actually muted too?

does that mean the mic is not actually muted too?

I don't know, wonder how I would check that? 🤔 When I went into my sound settings I had 3 mic's and the default one had the green bar that was going up & down if I talked.
I exited & re-opened PowerToys and the mute bar didn't pop-up so I assume the issue is within the PowerToys app

What mic is selected in the Setting?

What mic is selected in the Setting?

my webcam one

I always use my headset one for meetings

And which on is selected Iin PowerToys > VCM settings? :)

all:

We should not have to mute mic and camera to hide that hide tool. This is not a good customer experience. We understand the intent but the goal here is serving the customer not changing the customer.

trying to use the feature again today.  toggle using the keyboard shortcut is not changing the bar
toggle 1:

toggle 2:

notice the contradiction on toggle 2?

I'm seeing this too.  I mostly rely on the shortcut keys, and as this post noted, the toolbar will not go away even when the mic is no longer muted.  You have to open powertoys and toggle the switch disable/enable Video Conference Mute.

Also experiencing this. There seems to be a correlation on the selected microphone setting.
I've currently only experienced this when the selected microphone is set to "All" if it's set to just a particular source it seems to work nicely.
This is obviously a workaround as it would be nice to be able to change devices and for the feature to migrate over nicely.

I see the same behavior as @lukelic (selecting a specific mic works, leaving it as All causes the notification to stay permanently on the screen and the status is permanantly stuck to "off"). Thanks for the tip @lukelic
The interesting thing is that this worked great on the initial install and testing of PowerToys, but after a reboot I now see this behavior.

I can also confirm same behavior as @lukelic

Thanks for the tip!
The work-around works for me as well.  I use different microphones
depending on when I'm in the office or at home, but I can live with it
until there's an update that allows this to be set back to All.
On Fri, Jan 21, 2022 at 9:16 AM Michal Hudeček @.***>
wrote:

I can also confirm same behavior as @lukelic https://github.com/lukelic
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/15253#issuecomment-1018705797,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWFSULZVAIUEWW2NCL6LYG3UXGIHDANCNFSM5LHPPHRQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

--
~Wei-min Lee~

Closing out as we will be removing VCM from powertoys. https://github.com/microsoft/PowerToys/issues/21473 Is tracking issue.


'Cancel' still clears trash

The 'cancel' button in the confirmation dialog when clearing trash still clears deleted todo items.
Repro:

Create a task and delete it
Press the trash icon in the deleted tasks panel
Press 'Cancel' in the dialog that pops up
Your task is still removed

Running the flatpak.

Thanks! It is fixed in 44.7.4


type 'AnimatedBuilder' is not a subtype of type 'PreferredSizeWidget?' in type cast

Thank you for creating this wonderful widget, I'm trying to test but got this error
[

]

My mistake. In a little days I improved that widget

Thank you Sir!

Done! The Screen Widget only recives the appBar and body, I have deleted the center, showAppBar, left, center and right widget. Please check the example and update to release 1.3.1


config: enable blunderbuss for pd

Codecov Report

Merging #127 (c2e098b) into master (4c5ec66) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #127   +/-   ##
=======================================
  Coverage   86.89%   86.89%
=======================================
  Files          10       10
  Lines         809      809
=======================================
  Hits          703      703
  Misses         60       60
  Partials       46       46

Flag
Coverage Δ

unittests
86.89% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4c5ec66...de4f1da. Read the comment docs.

/auto-cc

/status can-merge


Cluster Administration Table links to 404 pages and duplications of the same contents in the bottom section of this page.

URL: https://rancher.com/docs/rancher/v2.x/en/cluster-admin/
Issue 1: Cluster Administration Table links to 404 pages. The first column of the table on this page are links, but all of them fail to link to valid pages.
Issue 2: Duplications of the same contents in the bottom section of this page. The same contents of table appear in the bottom section of this page without correct formatting.

I guess this is related to https://github.com/rancher/docs/pull/2571, @bashofmann can you check?

Will look at it asap

@superseb https://github.com/rancher/docs/pull/2585 fixes both issues for me. Learnt a bit about how hugo page bundles work.


⚠ Slack has degraded performance

In b3d7717, Slack (https://status.slack.com/api/v2.0.0/current) experienced degraded performance:

HTTP code: 200
Response time: 246 ms

Resolved: Slack performance has improved in b0ab370 after 25 minutes.


remove release config

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: brmclaren
If they are not already assigned, you can assign the PR to them by writing /assign @brmclaren in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/ok-to-test

@BRMcLaren: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

serverless-jenkins
dc1c65440e834936028ccf597d67ad1001542266
link
/test this

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Cyclic reference

Getting "found cyclic reference", I'm assuming your parser does not support cyclic references?

No, it does not.
I am still considering how to make this possible.
Any ideas?

I'm at the reactive summit the next day or so. Will try to take a look and come up with some ideas. Need this badly for a project I'm working on

Hello, I see in your tests where you're checking for failure with the following:
{  "a": {"$ref": "#/b"},  "b": {"$ref": "#/c"},  "c": {"$ref": "#/a"} }
What I'm looking for is schema generation for a type that contains a property of the same type, as follows:
{   "$schema": "http://json-schema.org/draft-04/schema#",   "id": "http://my.schema.com/foo",   "type": "object",   "title": "foo Schema",   "description": "Describes the payload for 'foo' entities.",   "properties": {     "_embedded": {       "type": "object",       "properties": {         "parent": {           "type": "array",           "items": {             "$ref": "http://my.schema.com/foo"           }         }       }     }   } }

Could we just leave the unparsed reference when we discover a cyclic reference? That way the tree isn't recursive, and json-schema-codegen could use that reference to look up the type it should use in that place, which should be generated from somewhere else

Yes, I agree. This is the best approach I can think of right now too. We can also leave a reference Pointer in cases where it can not be resolved.
Would you like to give it a try?

On 22 Oct 2016, at 17:08, Devon Stewart<EMAIL_ADDRESS>wrote:
Could we just leave the unparsed reference when we discover a cyclic reference? That way the tree isn't recursive, and json-schema-codegen could use that reference to look up the type it should use in that place, which should be generated from somewhere else
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@tptodorov: Still working on getting the Swagger spec to codegen, but at least it parses now. Running into lack of anyOf support now, but if I remove all the definitions that use that the codegen is almost perfect (lack of patternProperties support in codegen is also required, currently the generated case classes are empty)

I don't see how the cyclic $ref is represented in the returned SchemaDocument.
I think, any SchemaDocument references in a SchemaDocument should be now  Either[SchemaDocument, CyclicReference], to be able to preserve the Cyclic ref in the final object tree. Then, with that codegen can work accordingly.

@tptodorov: The reason I didn't go down that route is because it would require substantial refactoring of all code around SchemaDocument, both in the parser and in codegen. The way the code is currently written, the $ref -> pointer gets parsed into an additionalSchema, which itself is resolved into a SchemaDocument which knows enough about itself to generate the right class names at codegen time

fixed in release 0.11.0


New version: REALiX.HWiNFO version 7.60

Pull request has been created with Komac v1.9.1 :rocket:

Resolve #113393

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/113441&drop=dogfoodAlpha

It has been trying for a week!

You can use an official mirror:
https://www.sac.sk/download/utildiag/hwi_760.exe

@CoolPlayLin
You can use an official mirror:
https://www.sac.sk/download/utildiag/hwi_760.exe


Update of the Serbian messages translation

Updated sr.po, fixed plurals issue

Codecov Report

Merging #5240 into master will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5240      +/-   ##
==========================================
+ Coverage   82.09%   82.12%   +0.02%
==========================================
  Files         134      134
  Lines      147431   147429       -2
==========================================
+ Hits       121037   121076      +39
+ Misses      26394    26353      -41

Impacted Files
Coverage Δ

src/profiler.c
94.11% <0%> (-0.57%)
:arrow_down:

src/netbeans.c
27.23% <0%> (-0.23%)
:arrow_down:

src/mouse.c
76.52% <0%> (-0.17%)
:arrow_down:

src/message.c
79.43% <0%> (-0.05%)
:arrow_down:

src/terminal.c
81.66% <0%> (-0.04%)
:arrow_down:

src/gui.c
63.74% <0%> (ø)
:arrow_up:

src/version.c
92.1% <0%> (ø)
:arrow_up:

src/os_unix.c
63.5% <0%> (+0.04%)
:arrow_up:

src/channel.c
84.25% <0%> (+0.07%)
:arrow_up:

src/ex_docmd.c
83.7% <0%> (+0.11%)
:arrow_up:

... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5f76334...7df3ebf. Read the comment docs.

Please execute :source cleanup.vim after you finished translation.

OK, I won't forget next time! Here is a cleaned up one.

I'll include it now, thanks.


WIP: Add an API application on top of SpellBot's backend

Description
Adds a new entry point for a SpellTable API that can provide access to SpellBot information via a RESTful API. This can then be leveraged by a SpellBot Dashboard where users will be able to interface with the bot via a webpage.
Checklist

[ ] Add tests for these changes
[ ] Test coverage is not decreased
[ ] Entire test suite passes

Codecov Report

Merging #304 (0f55b8f) into master (eb1d6e0) will decrease coverage by 0.23%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #304      +/-   ##
==========================================
- Coverage   97.91%   97.67%   -0.24%
==========================================
  Files          53       53
  Lines        2684     2670      -14
  Branches      361      361
==========================================
- Hits         2628     2608      -20
- Misses         31       36       +5
- Partials       25       26       +1

Impacted Files
Coverage Δ

src/spellbot/__init__.py
95.68% <0.00%> (-0.42%)
:arrow_down:

src/spellbot/data.py
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eb1d6e0...0f55b8f. Read the comment docs.


feat: merge GraphQL plugin to release

Description

This PR will merge the GraphQL feature branch into release branch.
List of major features / changes shipped with this PR:

operations of type query or mutation.
POST or GET type requests.
content type application/json or application/graphql.
use of query variables.
pagination using limit offset or cusor.
smart substitution in the query body and query variables.
OAuth using datasource.
Refactor of REST API code on the server and the client.

DP available here

Fixes #2284
Type of change

New feature (non-breaking change which adds functionality)
This change requires a documentation update

How Has This Been Tested?

JUnit and Cypress test cases
Maual

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

/ok-to-test sha=e945522

Adding the test plan approved label since we would only run the CI tests on this and no manual testing is supposed to happen since the manual testing has already been done with individual feature PRs. This is as per one of the discussions that was done regarding the same earlier cc: @nidhi-nair @prapullac

/ok-to-test sha=e945522

/ok-to-test sha=fb25daa

/ok-to-test sha=fb25daa

/ok-to-test sha=5deccfe

/ok-to-test sha=0483612

/ok-to-test sha=e3d1d3c

/ok-to-test sha=e3d1d3c

/ok-to-test sha=e3d1d3c

/ok-to-test sha=31555ed

/ok-to-test sha=f712166

/ok-to-test sha=74de7ed

/ok-to-test sha=e2dc666

/ok-to-test sha=2e16715


0.6.0-beta1 is out

@lwille I pushed a beta with PUT API. Can you check it out and make sure it works for you?

@lwille Forgot to mention, you can get the beta version easily with npm i pingdom-api@beta.

@lwille Updated the PUT section a bit (typo there) + added support for DELETE (not tested) at beta2.
It would be awesome to write a little test suite for this...

Just updated to beta2. updateChecks is working like a charm. Personally I don't need DELETE for now.
Would you create a separate issue for testing?

Would you mind creating a separate issue for the test suite?

We have a rough, mock based suite implemented. I added issues for the missing bits (#8, #9).


Swapped Checksums in Image

master/public/book/en/v2/book/03-git-branching/images/advance-master.png
In the image, the checksums of the latest commits for 'master' and 'testing' are swapped.

This has been fixed in the book 6 months ago. Sadly, the fixes don't seem to be visible on the site.

It happens. Thanks for acknowledging!

Duplicate of #472, closing this one.


I

hello，I want to test the jsma function,but I can't find ex_01.py in the repertory，so can you give me your ex_01.py?Thank you very much!!!

Do you use Keras?  In keras_example, there is ex_01.py.  I forgot to upload it.  The only difference is whether the model is built using Keras API or TF API.  I will upload one asap.

The example code has already been refactored.