MODINREACH-43: CRUD API for Contribution Criteria Configuration

Purpose

Approach

TODOS and Open Questions

Learning

Pre-Merge Checklist:
Before merging this PR, please go through the following list and take appropriate actions.

Does this PR meet or exceed the expected quality standards?

[ ] Code coverage on new code is 80% or greater
[ ] Duplications on new code is 3% or less
[ ] There are no major code smells or security issues

Does this introduce breaking changes?

[ ] Were any API paths or methods changed, added or removed?
[ ] Were there any schema changes?
[ ] Did any of the interface versions change?
[ ] Were permissions changed, added, or removed?
[ ] Are there new interface dependencies?
[ ] There are no breaking changes in this PR.

If there are breaking changes, please STOP and consider the following:

What other modules will these changes impact?
Do JIRAs exist to update the impacted modules?

[ ] If not, please create them
[ ] Do they contain the appropriate level of detail?  Which endpoints/schemas changed, etc.
[ ] Do they have all they appropriate links to blocked/related issues?

Are the JIRAs under active development?

[ ] If not, contact the project's PO and make sure they're aware of the urgency.

Do PRs exist for these changes?

[ ] If so, have they been approved?

Ideally all of the PRs involved in breaking changes would be merged in the same day to avoid breaking the folio-testing environment.  Communication is paramount if that is to be achieved, especially as the number of intermodule and inter-team dependencies increase.
While it's helpful for reviewers to help identify potential problems, ensuring that it's safe to merge is ultimately the responsibility of the PR assignee.

INFO: api-lint: Using api-lint version: 1.0.6
INFO: api-lint: Assessing API description files: OAS
INFO: api-lint: Processing OAS 3.0 file: src/main/resources/swagger.api/inn-reach.yaml
ERROR: api-lint:
Violation - Syntax error in the following text: 'requir
'
Violation - Duplicate key : 'tags'
Violation - Duplicate key : 'operationId'
Violation - Duplicate key : 'description'
Model: file://src/main/resources/swagger.api/inn-reach.yaml
Profile: OAS 3.0
Conforms? false
Number of results: 4
Level: Violation

Source: http://a.ml/vocabularies/amf/core#syaml-error
Message: Duplicate key : 'description'
Level: Violation
Target:
Property:
Position: Some(LexicalInformation([(304,6)-(304,17)]))
Location: file://src/main/resources/swagger.api/inn-reach.yaml

Source: http://a.ml/vocabularies/amf/core#syaml-error
Message: Duplicate key : 'operationId'
Level: Violation
Target:
Property:
Position: Some(LexicalInformation([(305,6)-(305,17)]))
Location: file://src/main/resources/swagger.api/inn-reach.yaml

Source: http://a.ml/vocabularies/amf/core#syaml-error
Message: Duplicate key : 'tags'
Level: Violation
Target:
Property:
Position: Some(LexicalInformation([(306,6)-(306,10)]))
Location: file://src/main/resources/swagger.api/inn-reach.yaml

Source: http://a.ml/vocabularies/amf/core#syaml-error
Message: Syntax error in the following text: 'requir
'
Level: Violation
Target:
Property:
Position: Some(LexicalInformation([(425,8)-(426,0)]))
Location: file://src/main/resources/swagger.api/inn-reach.yaml

ERROR: api-lint: There were processing errors. See list above.

Note: When those ERRORs are fixed, then any INFO and WARNING messages will be gone too. See Jenkins "Artifacts" tab for ApiLintReport.


31-07 reset

relevant to this reset:
https://community.libra.org/t/testnet-update-july-31st/1448

Out-dated.


BUG result of File.tempname has no type when nil check & use in ensure block is present

I saw some related issues but this may be different.
The following code causes the compiler to fail. Seems to be that it cannot infer the type of tmp_path below:
def with_tmp_path
  tmp_path = File.tempname("funky", suffix: ".db")
  yield tmp_path
ensure
  File.delete(tmp_path) if !tmp_path.nil? && File.exists?(tmp_path)
end

with_tmp_path do |tmp_path|
  puts tmp_path
end

Confirmed in crystal playground with crystal 0.27.2.
removing any of the following causes the bug not to appear:

the entire ensure block
&& File.exists?(tmp_path)
the code that calls with_tmp_path

Specifying the type of tmp_path doesn't seem to avoid the error.
the error message is:
BUG: `tmp_path` at eval:5:29 has no type (Exception)
  from ???
  from ???
  from ???
  from ???
  from ???
  from ???
  from ???
  from ???
  from ???
  from ???
  from ???
  from ???
  from ???
  from ???
  from ???
  from ???
  from __crystal_main
  from main
  from __libc_start_main
  from _start
  from ???
Error: you've found a bug in the Crystal compiler. Please open an issue, including source code that will allow us to reproduce the bug: https://github.com/crystal-lang/crystal/issues

Reduced:
begin
  x = 1
ensure
  !x.nil? && x
end


[DB2 LUW plugin]: Generate SQL not working when select from alias

This is related to #2149.
Auto complete for alias works now but generate SQL does not

Also edit of results is disabled
Edit: Version 4.2.4

Hi, it works for me with Db2

you just have to activate this option

in metadata.

Nope
You did a SQL from an Alias? Because for tables and views everything works smooth.
´´´´sql
create table TEST.DUMMY (COL1 INTEGER NOT NULL, CONSTRAINT DUMMY_PK PRIMARY KEY(COL1));
CREATE ALIAS TEST.DUMMY_ALIAS FOR TEST.DUMMY;
INSERT INTO TEST.DUMMY VALUES (1);
-- -> refresh meta data on connection
select * from TEST.DUMMY_ALIAS;
´´´
When I now right click on the alias I and want to generate the sql for the row there is the original error message.
When I select the dummy table generation of SQL statements works for me aswell

It worked for me. Now that I re-run "dbeaver" it stopped working and I have not moved or updated anything. I do not know happened.

The error still occurs in the Version 5.0.3 when called from a Select result.

Aliases support (for Oracle and DB2) will be added in the next version.
Thanks for reminding :)


I made a plugin for loading time

It's so small so I have just made a GIST so far. The first panel-bar plugin is created! Works great!
https://gist.github.com/jenstornell/c4990a30eedd1dd69e6a
Docs:
Add a list with panel-bar plugins somewhere in the docs?

Would you mind if I integrate it as as a default element?

Do it! ☺ Then I have one less plugin to keep updated.

:+1:


inter-gcc executable not found usr/bin/g++ not found

Checklist

[x] Check that you have the GNU C Compiler installed by typing gcc --version into a terminal.
[x] If you don't have the linter package installed, either update to the latest version of linter-gcc or install linter directly with apm install linter.
[x] Ensure that you are using a valid grammar - either C/C++/C++14
[x] Ensure that you have read all the relevant information in the wiki, particularly the Common Issues page.

Issue (including debugging messages):

if you are on Windows, change GCC Executable path to C:\MinGW\bin\g++.exe


Automated testing of search performance

The thousands of YouTubers syncing their channels provide a good test-case for tuning search. Presumably, the vast majority of these should be the first result when searching for their channel.

I'm going to draft out what I think a reasonable first search benchmark could be.
In order to test whether our changes improve or worsen results we need to define criteria that we want to satisfy.
Such criteria can be either true or false or "discrete" (over 60%, between 2 and 6, ...).
So long as those criteria are satisfied, we consider the test as satisfactory. More and more criteria can be added as we learn/improve.
The goal of our search engine is to return relevant data to what we host on our blockchain based on the set of keywords used, this is not an easy task and certainly requires months or years of fine tuning; there is always room for improvement and there is no optimal final solution. That said, the current search engine is not really that great, or at least it doesn't feel like that, so improving it should be possible. To do that we need to find a way to state via code that our search engine is bad. Here is what we can start with:

Given a channel "@ChannelName" existing in the blockchain with n published videos signed with it; granted that the channel is the winning claim, searching for "@ChannelName" should return a set of results where the channel comes in within the first 3 items of the set.
Given a channel  "@ChannelName" existing in the blockchain with n published videos signed with it; granted that the channel is the winning claim, searching for "ChannelName" should return a set of results that must include the channel name IF and only IF, the ChannelName is a unique enough term not to be outweighed by other claims in the chain
Given a channel "@ChannelName" existing in the blockchain with n published videos signed with it; granted that the channel is the winning claim, searching for "@ChannelName" should return a set of results where the the top 3 most valuable streams signed with such channel should come in within the first 10 items of the result set.
Given a channel "@Some-Words" or "@SomeWords" or<EMAIL_ADDRESS>(or any other predictable word separator); searching for "Some Words" should return a set of results that include the channel and possibly its top streams as well, granted the weight of those claims are relevant enough or unique enough to matter.
Given a stream "this-is-a-stream", searching for an exact match "this-is-a-stream" should return a set of results where this stream is within the first 3 claims
Given a stream "this-is-a-stream" or any other predictable word separator, searching for all the keys, in order ("this is a stream"), should return a set of results that include this stream, as long as there are enough letters to make this claim relevant enough in the whole set of data
Given a stream whose Title property is defined and long enough to be indexed, searching for an exact match of the title should return a set of results that include the stream, granted that the terms are unique enough to outweigh all the other claims.

The weights and the priorities have to be defined in order for this to work, I don't know if there is a good enough rule and whether it is possible to write it down in both documentation and code, but we should at least broadly know what matters more than what.
This list is unfinished and could certainly use some help, feel free to append more stuff to it or DM me with ideas!

Once a first version is "finished" can results be written on a regular interval to a data source readable by metabase?

Per #160, make sure to test casing as well.


Multi-process support for Detox Android

It is very possible that the page is in a different process.
For example pageA In process 1, pageB In process 2, It is impossible to test pageA and pageB at the same time
Describe alternatives you’ve considered
Is it possible that support multi-process testing based on espresso remote
https://developer.android.com/training/testing/espresso/multiprocess

Hi @yongjiliu,
ATM Detox doesn't come with this setup out of the box. But according to the guide (as per your ref) it appears that this is very likely something you can easily add to your own app and see. If you do so, please report back so as to let us know 🙏🏻


About esp32-s3 sdmmc write speed (IDFGH-10370)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
Hello, I am testing my own esp32-s3 pcb , it has a 4-line sd card slot. The esp32-s3 datasheet indicates that esp32-s3 sdmmc frequency is up to 40MHz, so the theoretical max sdmmc write speed for 4-line mode might be 160Mbps? But I wrote a program to test the writing speed and was frustrated to find that the write speed was 4Mbps, which is much slower. So I want to know the benchmark of esp32-s3 sdmmc write speed.
Here is my environment:

esp-idf version : 5.0.2
chip: esp32-s3r8
flash: 16MB

Here is the code:
#include <stdio.h>
#include <stdint.h>
#include <stddef.h>
#include <string.h>
#include <inttypes.h>
#include "soc/soc_caps.h"

#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/semphr.h"
#include "freertos/queue.h"

#include "esp_log.h"
#include "esp_attr.h"
#include "esp_timer.h"

#include "driver/sdmmc_host.h"

#include "sdkconfig.h"
#include "sdmmc_cmd.h"

#define PIN_NUM_D0 (48)
#define PIN_NUM_D1 (47)
#define PIN_NUM_D2 (41)
#define PIN_NUM_D3 (38)
#define PIN_NUM_CMD (40)
#define PIN_NUM_CLK (39)

static const char *TAG = "app_main";

void app_main()
{
    esp_err_t err = ESP_OK;
    /* Probe */
    sdmmc_host_t config = SDMMC_HOST_DEFAULT();
    ESP_LOGI(TAG, "Probe using SD 4-bit...\n");
    config.flags = SDMMC_HOST_FLAG_4BIT;

    config.max_freq_khz = SDMMC_FREQ_DEFAULT;

    sdmmc_slot_config_t slot_config = SDMMC_SLOT_CONFIG_DEFAULT();

    slot_config.width = 4;
    slot_config.clk = PIN_NUM_CLK;
    slot_config.cmd = PIN_NUM_CMD;
    slot_config.d0 = PIN_NUM_D0;
    slot_config.d1 = PIN_NUM_D1;
    slot_config.d2 = PIN_NUM_D2;
    slot_config.d3 = PIN_NUM_D3;

    err = sdmmc_host_init();
    ESP_ERROR_CHECK(err);

    err = sdmmc_host_init_slot(SDMMC_HOST_SLOT_1, &slot_config);
    ESP_ERROR_CHECK(err);

    sdmmc_card_t *card = (sdmmc_card_t *)malloc(sizeof(sdmmc_card_t));
    for (;;)
    {
        if (sdmmc_card_init(&config, card) == ESP_OK)
        {
            break;
        }
        ESP_LOGW(TAG, "slave init failed, retry...");
        vTaskDelay(1000 / portTICK_PERIOD_MS);
    }
    sdmmc_card_print_info(stdout, card);

    gpio_pullup_en(PIN_NUM_CMD);
    gpio_pulldown_dis(PIN_NUM_CMD);
    gpio_pullup_en(PIN_NUM_CLK);
    gpio_pulldown_dis(PIN_NUM_CLK);
    gpio_pullup_en(PIN_NUM_D0);
    gpio_pulldown_dis(PIN_NUM_D0);
    gpio_pullup_en(PIN_NUM_D1);
    gpio_pulldown_dis(PIN_NUM_D1);
    gpio_pullup_en(PIN_NUM_D2);
    gpio_pulldown_dis(PIN_NUM_D2);
    gpio_pullup_en(PIN_NUM_D3);
    gpio_pulldown_dis(PIN_NUM_D3);

    size_t sector_count = 40;
    size_t sector_size = 512;
    char *sdio_write_buffer_str = (char *)malloc(sector_count * sector_size);
    assert(sdio_write_buffer_str != NULL);
    memset(sdio_write_buffer_str, 0, (sector_count * sector_size));
    int64_t start_time = esp_timer_get_time();
    ESP_ERROR_CHECK(sdmmc_write_sectors(card, sdio_write_buffer_str, 11, sector_count));
    ESP_LOGI(TAG, "sdio write %dB take %ldus, speed: %ldMbps", (sector_count * sector_size), (int32_t)(esp_timer_get_time() - start_time), (int32_t)(sector_count * sector_size * 8 / (int32_t)(esp_timer_get_time() - start_time)));
    free(sdio_write_buffer_str);
}

Here is my run log:
[0;32mI (715) heap_init: Initializing. RAM available for dynamic allocation:
I (722) heap_init: At 3FC95998 len 00053D78 (335 KiB): DRAM
I (729) heap_init: At 3FCE9710 len 00005724 (21 KiB): STACK/DRAM
I (735) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (741) heap_init: At 600FE010 len 00001FF0 (7 KiB): RTCRAM
I (748) esp_psram: Adding pool of 8000K of PSRAM memory to heap allocator
I (755) spi_flash: detected chip: winbond
I (760) spi_flash: flash io: qio
I (764) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (784) esp_psram: Reserving pool of 32K of internal memory for DMA/internal allocations
I (784) app_main: Probe using SD 4-bit...

I (794) gpio: GPIO[39]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (804) gpio: GPIO[40]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (814) gpio: GPIO[48]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (824) gpio: GPIO[47]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (834) gpio: GPIO[41]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (844) gpio: GPIO[38]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (904) gpio: GPIO[38]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
Name: SD32G
Type: SDHC/SDXC
Speed: 20 MHz
Size: 30436MB
CSD: ver=2, sector_size=512, capacity=62333952 read_bl_len=9
SSR: bus_width=4
I (954) app_main: sdio write 20480B take 39902us, speed: 4Mbps

Here is my sd slot schematic:

The sd connection has been processed with equal length

Hello. I am getting similar speeds (5Mbps) as you when using the default 20MHz SDMMC frequency. However when using 40MHz (SDMMC_FREQ_HIGHSPEED), the speed increases greatly (using your code example). Try to change config.max_freq_khz  like this:
config.max_freq_khz = SDMMC_FREQ_HIGHSPEED;

My output:
Name: EB1QT
Type: SDHC/SDXC
Speed: 40.00 MHz (limit: 40.00 MHz)
Size: 30528MB
CSD: ver=2, sector_size=512, capacity=62521344 read_bl_len=9
SSR: bus_width=4
I (442) app_main: sdio write 20480B take 2134us, speed: 76Mbps
I (452) app_main: sdio write 20480B take 2057us, speed: 79Mbps
I (452) app_main: sdio write 20480B take 2043us, speed: 80Mbps
I (462) main_task: Returned from app_main()

Okay so I found out something interesting and now I am not sure how to handle the situation, this will need a further exploration. For some reason as I was switching branches in ESP-IDF the issue of slow writes disappeared even on default 20MHz freq. I literally cannot reproduce the 5Mbps I was getting at first, now I get around 50Mbps on default and 80Mbps on highspeed...
At first I was using master branch version of ESP-IDF on ESP32-S3-USB-OTG devkit board.
Can you try to go inside your esp-idf folder, git checkout the branch to release/v5.0 and/or release/v5.1, run ./install.sh and . ./export.sh, then in the project folder run idf.py erase-flash, idf.py fullclean and idf.py build flash monitor? You can also try to set config.max_freq_khz = SDMMC_FREQ_HIGHSPEED; in the code as I told you before.

Okay so I found out something interesting and now I am not sure how to handle the situation, this will need a further exploration. For some reason as I was switching branches in ESP-IDF the issue of slow writes disappeared even on default 20MHz freq. I literally cannot reproduce the 5Mbps I was getting at first, now I get around 50Mbps on default and 80Mbps on highspeed...
At first I was using master branch version of ESP-IDF on ESP32-S3-USB-OTG devkit board.
Can you try to go inside your esp-idf folder, git checkout the branch to release/v5.0 and/or release/v5.1, run ./install.sh and . ./export.sh, then in the project folder run idf.py erase-flash, idf.py fullclean and idf.py build flash monitor? You can also try to set config.max_freq_khz = SDMMC_FREQ_HIGHSPEED; in the code as I told you before.

Hello, @adokitkat. I seem to have found the reason. When I forbid esp32-s3 to use external spi ram, my program test write speed can reach 40Mbps under 40Mhz clk. Maybe there is bandwidth crowding between spi ram and sdmmc? Can this problem be solved in esp-idf from the software level? Or is this just a hardware limitation?

Could you please provide the whole project folder as a zip file here?

sure, idf.py --version output ESP-IDF v5.0.2-285-g7493b907ef.
The compressed package contains two projects, one of which enables the external spi ram, but the programs of the two are the same, and the running results are different. The sdmmc write speed of the project with external spi ram is much slower than that of the project without external spi ram
sdmmc_test.zip

Unfortunately right now I do not have ESP32-S3 hardware with both 4-bit SDMMC and PSRAM connected so I cannot progress much further. I am not sure why at first I got similar result and after that until now I am getting correct speeds. So do you have PSRAM on your custom board as well? What pins does it use? Does is share some pins with SDMMC?

Maybe this applies in your case: https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/api-guides/external-ram.html#restrictions
As I said, I do not have access to a hardware similar to yours right now, so I am only guessing but you can try to:

Change SPI access method: Component config → ESP PSRAM → Support for external, SPI-connected RAM → SPI RAM config → SPI RAM access method to Make RAM allocatable using heap_caps_malloc(..., MALLOC_CAP_SPIRAM) so it won't be accessible by regular malloc()

Enable experimental features in idf.py menuconfig and set PSRAM clock speed to 120Hz: Component config → ESP PSRAM → Support for external, SPI-connected RAM → SPI RAM config → Set RAM clock speed. This have it's own gotchas: https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/api-guides/flash_psram_config.html#flash-psram-combination

Maybe this applies in your case: https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/api-guides/external-ram.html#restrictions
You are using GPIO pins 47 and 48 which are SPICLK_P_DIFF and SPICLK_N_DIFF pins, Serial peripheral interface differential clock negative/positive for SPI bus. https://www.espressif.com/sites/default/files/documentation/esp32-s3_datasheet_en.pdf
As I said, I do not have access to a hardware similar to yours right now, so I am only guessing but you can try to:

Change PSRAM access method: Component config → ESP PSRAM → Support for external, SPI-connected RAM → SPI RAM config → SPI RAM access method to Make RAM allocatable using heap_caps_malloc(..., MALLOC_CAP_SPIRAM) so it won't be accessible by regular malloc()
Enable experimental features in idf.py menuconfig and set PSRAM clock speed to 120Hz: Component config → ESP PSRAM → Support for external, SPI-connected RAM → SPI RAM config → Set RAM clock speed. This have it's own gotchas: https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/api-guides/flash_psram_config.html#flash-psram-combination

Thanks, Make RAM allocatable using heap_caps_malloc(..., MALLOC_CAP_SPIRAM) works, I think after that I have to put all sd write buffers in internal ram instead of external ram.

Great, nice to see it helped.


chromiumBeta: 98.0.4758.74 -> 98.0.4758.80

Motivation for this change
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Did the update script not pick up chromium stable? I see 98 on linux stable today: https://omahaproxy.appspot.com/.

It wasn't released at that time. Chromium's release process is far from ideal but I guess it could be worse... :o


[MRG] Check whether prior values are valid.

Fixes #1017.

Why not check prior in the constructor?

@kernc Sounds logical, fixed.

Thanks!


Using exResetAllFilters and then exFilterColumn causes two requests

In a DataTables loaded with serverSide data. I'm using exResetAllFilters to reset all my filters, and then exFilterColumn to set a new filter. This will right now use two AJAX requests.
I'm also not entirely sure what the argument ajaxSource for both functions will do.

Added to the 0.8.8.beta.12, read docs for more info
took me a while :)


UI translations?

cc @tarakju
I just noticed that VSCode is translated into German, but the Kite plugin is not. A mix of German/English is a bit unfortunate. I'm unsure whether the translations were added with the latest update or I just didn't notice.
@abe33
It's probably similar with French, I gutess.
What do think about translating the user interface? Are translations easy or difficult to add?

I've seen nothing about it in their docs, I'm not even sure we can access the current selected locale to make our own system. I'll have to experiment to give a more definitive answer

@abe33 Thanks for looking into this! I think that it's not very important right now. We should revisit this in the future, maybe during the preparations for the marketplace launch.

I agree with the above.  "Never say never" but we already have so many dimensions to the Kite product (editor, OS, network latencies, richness of code, local vs global api's, etc etc) that we don't have the resources to add another dimension of surface area.


Ctrl + 1 doesn't show 1st viewport

Tested versions
4.3 dev
System information
Window 11
Issue description
Ctrl + 1 suppose to show 1 viewport.
Steps to reproduce

Ctrl + 2 or any other variant
Ctrl + 1

Minimal reproduction project (MRP)
Any project

Can't confirm in latest, are you focusing the 3D view? Is there an outline around it? It only works when focused, it's contextual

I actually meant  spatial_editor/1_viewport for 3d editor.
It doesn't work on master 29b3d9e

I can confirm this on v4.3.dev.custom_build 40b4130c9 (Linux) when using an AZERTY keyboard layout. Only the 2 Viewports (Ctrl + 2) and 2 Viewports (Alt) (Ctrl + Alt + 2 shortcut works, not any of the other shortcuts.
On QWERTY, all shortcuts work.


cache prelogin pages

@dannyroberts @javierwilson
I'm going off of the cas_ssl example and these docs:
https://www.nginx.com/resources/admin-guide/content-caching/

@dannyroberts updated

@biyeun nginx won't actually cache these pages unless the headers are set properly. We have a decorator and middleware to do this https://github.com/dimagi/commcare-hq/blob/master/corehq/middleware.py#L140-L170
also there will need to be some way to bust the cache on updates to the prelogin module. It's possible that the static files have a hash on the url to get around this, but I don't think the endpoints that hit django do.

@emord added the ability to force purge the NGINX caches using the PURGE request to any of the endpoints, per these docs: https://www.nginx.com/products/nginx/caching/#purging
also added docs for how to force purge and updated the headers on the prelogin views to enable caching. https://github.com/dimagi/commcarehq-prelogin/pull/138

This looks like a fairly manual process that we will inevitably forget to do many times. Would it be possible to add those commands to the deploy? Preferably it would only happen if the prelogin submodule was updated, but I think it would be acceptable to do on every deploy

+1 to adding this to deploy. Maybe the easiest thing to do is after PURGEing, write the prelogin submodule commit id to a file somewhere; and then the next time before PURGEing, read the file to see if it's different from the current submodule commit id; if it's different then PURGE, otherwise skip.

@dannyroberts @emord I'm kind of preoccupied with dimagi.com stuff right now. is there a change we can merge this today so that the static site gets cached for the time being? I'll add the deploy script on round two.

I'm okay with that.

Do you have everything you need to test this on staging? (Maybe you already did that?)


Convert some relative imports in theme package

Refs https://github.com/cloud-annotations/docusaurus-openapi/issues/236
Originally I was planning to submit a PR converting all of the imports, but what I quickly realised is that if you just do this without declaring a types module for each one, the compile process fails with
error TS2307: Cannot find module '@theme/ApiDemoPanel/Response' or its corresponding type declarations.

or whatever. This does increase the overhead of the job a bit so I have started off (somewhat selfishly 😇) by only converting the two components I am interested in swizzling. I can also confirm that doing this does make the nested components swizzle-able :tada:

wow this is good timing @chris48s .. can you selflessly add in ApiDemoPanel/Execute/makeRequest.js to make that swizzle-able? I selfishly want to swizzle that component.. and am relieved to see your solution for other components cc @dr-phil

Nice work, thanks!


[Snyk] Security upgrade tornado from 6.1 to 6.3.3

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

runtimes/pytorch/ubi8-python-3.8/kustomize/base/requirements-elyra.txt

⚠ Warning
jupyter-client 7.3.1 requires tornado, which is not installed.
ipykernel 6.13.0 requires tornado, which is not installed.
ipykernel 6.13.0 requires ipython, which is not installed.

Vulnerabilities that will be fixed
By pinning:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

566/1000  Why? Recently disclosed, Has a fix available, CVSS 5.6
HTTP Request Smuggling SNYK-PYTHON-TORNADO-5840803
tornado:  6.1 -> 6.3.3
No
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

closing this is fixed #50


SchedulerLock.name should support placeholders in form "${property.name}"

Currently, all the parameters of @SchedulerLock annotation support placeholders, with exception of name property. Name specified in annotation is not evaluated.
I would like to  specify it like this:
@SchedulerLock(name = "${lock.name}")

so that it would be evaluated to a value defined in properties/yml file.

Thanks for feedback. Fixed in 0.17.0, enjoy

Great! Thanks.


Harden the JSON import to avoid crashed by accessing undefined fields

We are experiencing few bug crashing YAP because accessing undefined variables. This should not be an issue when using the edit mode but quite visible when importing a JSON (which is a faster option to build large demos).
We are hardening the code, testing if variables are defined but we should address the root cause and harden the import. Typescript will not help us on this because these issue manifest runtime.
There are several examples, like this one:
         "outcome": {
            "summaryText": "A new clean project has been created",
            "elements": {},
            "commands": {}
         }

OK when we remove elements
     "outcome": {
        "summaryText": "A new clean project has been created",
        "commands": {}
     }

addressed by extending the edit mode and avoid manual editing of the json file


Add section "Vcpkg via FetchContent"

Describe the pull request

What does your PR fix?
Fixes #28645

Which triplets are supported/not supported? Have you updated the CI baseline?
Does not apply

Does your PR follow the maintainer guide?
Yes

If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/

https://github.com/microsoft/vcpkg/pull/27311

Closing this PR, see comment above


meteor-ionic2 doesn't work on android kitkat(4.4.4)

Hi,
I'm trying to integrate meteor and ionic 2 (following the Angular2-Meteor - Socially tutorial) installing it on a device with android kitkat (4.4.4), but I'm getting the next error when selecting ion-input tag in my page.
Tested devices:

Samsung Galaxy S3 I9300
Motorola Moto X

Inspecting the device in chrome, this is the generated error:

In this repo, I have a example to reproduce this issue:
https://github.com/ingleo/meteor-ionic2
Versions used:

Meteor <IP_ADDRESS>
Ionic 2.0.0-rc.3
Angular 2.1.1
Ubuntu 16.04 LTS

I really appreciate any help, regards.

due to your secreen shots its not from Meteor.
you just need to define "closest" Method into your object

I installed the same project on android 5.0, 5.1 and 6.0, everything works fine.
Chrome device inspector doesn't show errors.
Regards.

great

https://forum.ionicframework.com/t/minimum-android-version-supported-by-ionicv2/54164/10
Make sure your targeting the right version of android also when you build it. (you can change the targeted version in the config.xml)

Hi,
I also have this problem, I tried in Galaxy 5.1.1 and it works fine, but it does not work correctly in Galaxy 4.4.2.
@Slavrix Can you please tell me where to find this file?
I am following the following tutorial. WhatsApp Clone with Ionic 2 and Meteor CLI, I checked the link you provided but I did not find anything to help me.

closing due to inactivity and cleanup after tons of new updates in the recent month.
Feel free to open a new issue if you are still affected .
Please try the updated version of the tutorial


SCM: incomming/outgoing revert features 1.92.

if the features has been removed in the new version, please add a features that will show all the difference between the branches that was in version 1.92

Closing as duplicate of #227727


(Issue #40) : Change directory structure.

Delete 'Mvvm' directory and 'Kinugasa.Mvvm' project move to one higher hierarchy directory.
'Kinugasa.Mvvm.Test' project are same.
In the solution 'Test' directory  move to one higher hierarchy.

Relate to #40


ShareFileClient uses PartitionedUploader

Resolves #16816
ShareFileClient custom upload implementation had a memory leak and provided no real benefit over shared implementation. This moves ShareFileClient to shared implementation. Memory leak is no longer present. Tests match current recordings exactly.

Also please update the Azure.Storage.Files.Shares changlog

/azp run net - storage - tests

Do we need any additional tests, or do we think the current test coverage is sufficient?

I think current test coverage is sufficient. We force sequential upload and we do test both single and partitioned upload. Additionally, explicit-only large file tests pass.


XML encoder: remove erroneous initial line break

The PR fixes the erroneous initial line feed inserted before the root element.
This PR also removes the inline feature of the XML encoder which wasn’t exposed in the public API and proved to complicated to wrap my head around.

Looks good. Also verified that it fixes https://github.com/NLnetLabs/krill/issues/874.


Fix https://www.npmjs.com/advisories/1005356

The current version is causing npm audit warnings with high severity because of an outdated aws-sdk version.  See https://github.com/advisories/GHSA-rrc9-gqf8-8rwg.  This update should resolve the audit warnings.

I am surprised anyone is using this. I will be glad to transfer the repo and package if you want since I am not maintaining it.

Yes, please.  That would be helpful.

joshuaburgner/gulp-cloudfront-invalidate already exists

Also, "user joshuaburgner not found" on npm.

Please transfer to https://github.com/jburgner instead.
Also, on npm:
https://www.npmjs.com/~jburgner

Confirming the above from joshuaburgner.


Add and update documentation image descriptions

Welcome!
This is the working PR for the napari alt text workshops! This is where we collaborate during the event before we send a clean contribution over to the main repo.
For the full info about this event, please visit the event agenda.
How to contribute
⭐ For full info about how to interact with this PR, please visit the How to Participate section of the agenda. Please contribute via suggestions so we can easily review each other's work and give you credit in the commit history!
✏ If you plan to work on a file, let people know by commenting below. You can do this as a group, and you can write alt text for as many images as you'd like. We can have multiple suggestions for the same alt text, but it would be nice if we spread out to cover more images.
📚 If you need a reference for how to format your suggestions, alt text in Markdown files (ends with .md) follow this format.
🖼 There may be two types of images in this PR: ones that already have alt text and ones that have none.

Images that appear in this PR with existing alt text are still worth reviewing and editing! If you think they could benefit from a different description, please suggest one.
Images with no alt text need a description added in place of the blank.

❗ If you think an image is missing from these files, let @isabela-pf know and she'll add it to the PR.
Images in this PR
By file, here is where the images appear in the documentation.

README.md
docs/community/team.md
docs/developers/documentation/docs_template.md - does not appear
docs/developers/profiling.md
docs/developers/testing.md
docs/guides/3D_interactivity.md
docs/guides/contexts_expressions.md
docs/guides/layers.md
docs/guides/magicgui.md
docs/guides/rendering-explanation.md
docs/howtos/layers/image.md
docs/howtos/layers/labels.md
docs/howtos/layers/points.md
docs/howtos/layers/shapes.md
docs/howtos/layers/surface.md
docs/howtos/layers/tracks.md
docs/howtos/layers/vectors.md
docs/howtos/perfmon.md
docs/index.md
docs/plugins/find_and_install_plugin.md
docs/plugins/first_plugin.md
docs/tutorials/annotation/annotate_points.md
docs/tutorials/fundamentals/getting_started.md
docs/tutorials/fundamentals/installation.md
docs/tutorials/fundamentals/quick_start.md
docs/tutorials/fundamentals/viewer.md
docs/tutorials/processing/dask.md
docs/tutorials/segmentation/annotate_segmentation.md
docs/tutorials/tracking/cell_tracking.md
napari/_vendor/experimental/humanize/README.md - I'm not sure we need to make edits here; I think it's generated from elsewhere. Make this the lowest priority.

If you need anything, please ask @isabela-pf 🌻

Thank you all for participating and writing alt text for such a fun variety of images! I'll be closing this PR to preserve the diff for future work and cleaning this up for a PR to napari proper (and I will link to that PR when I open it). 🌻
Happy future image description writing!


Cannot use live chat

LiveShareLogs.zip

Product and Version [VS/VSCode]: VS Code 1.35.1 (1.35.1)
OS Version [macOS/Windows]: MacOS Mojave 10.14.3
Live Share Extension Version: 1.0.471
Target Platform or Language [e.g. Node.js]: Typescript

Thanks for reaching out. From logs:
[2019-06-27 08:47:13.218 Client.Rpc.Workspace V] < workspace.registerServices()
[2019-06-27 08:47:13.220 Client.Rpc.PortForwarding E] > terminal.stopTerminal() error: undefined
[2019-06-27 08:47:13.318 Client.Rpc.Workspace E] > workspace.registerServices() error: undefined
[2019-06-27 08:47:13.318 API E] Error: Method not found: workspace.registerServices.
Cannot process request for service: workspace. Multiple providers exist, so the request is ambiguous.
[2019-06-27 08:47:14.226 Client E] Unhandled promise rejection:
Method not found: workspace.registerServices.

Cannot process request for service: workspace. Multiple providers exist, so the request is ambiguous.
  at new ResponseError (/Users/chinwee/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.471/node_modules/vscode-jsonrpc/lib/messages.js:46:1)
  at handleResponse (/Users/chinwee/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.471/node_modules/vscode-jsonrpc/lib/main.js:430:1)
  at processMessageQueue (/Users/chinwee/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.471/node_modules/vscode-jsonrpc/lib/main.js:258:1)
  at Immediate.<anonymous> (/Users/chinwee/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.471/node_modules/vscode-jsonrpc/lib/main.js:242:1)
  at runCallback (timers.js:696:18)
  at tryOnImmediate (timers.js:667:5)
  at processImmediate (timers.js:649:5)

@legomushroom Can you take a look at these logs? I see a lot of errors there.


Add cursor animation

Is your feature request related to a problem? Please describe.
Add cursor animation
Describe the solution you'd like
Add cursor animation
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@KapuluruBhuvaneswariVspdbct i would really love to have a new cursor for the webiste.


"Paillier-Blum Modulus" parameter choice reference

On the Paillier-Blum Modulus page (content/docs/zkdocs/zero-knowledge-protocols/product-primes/paillier_blum_modulus.md), it mentions choosing a modulus size of 2048 to get 80 bits of security. By any chance, could someone include a reference for why this modulus size yields this security and ideally which size is needed to target different security levels?
Thanks

Hi @tyurek, the choice of the modulus size is not exactly what achieves 80 bits of security for the zero knowledge protocol, but setting m equal to 80, where m is the number of triples (x, a, b) that the prover needs to send. Why this achieves 80 bits of security is described in the referenced paper https://eprint.iacr.org/2021/060.pdf
For the factoring problem, choosing 2048 for the modulus size achieves 112 bits of security and allows a safe margin on these 80 bits of security. The reference here is NIST's document comparing key sizes (https://csrc.nist.gov/publications/detail/sp/800-57-part-1/rev-5/final table 2 page 54).


uid: include context

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

11 of 13 (84.62%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.008%) to 58.183%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

defaultActions.go
3
5
60.0%

Totals

Change from base Build<PHONE_NUMBER>0:
0.008%

Covered Lines:
3086

Relevant Lines:
5304

💛  - Coveralls


SyntaxError: Use of const in strict mode.

Following the instructions for initial setup, and trying to build, results in an exception for both Android and iOS:
react-native run-android

/Users/xyz/Workspace/ReactNative/snowflake/node_modules/react-native/local-cli/cli.js:73
  const setupEnvScript = /^win/.test(process.platform)
  ^^^^^
SyntaxError: Use of const in strict mode.
    at Module._compile (module.js:439:25)
    at Module._extensions..js (module.js:474:10)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/xyz/Workspace/ReactNative/snowflake/node_modules/babel-core/node_modules/babel-register/lib/node.js:138:7)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/Users/xyz/Workspace/ReactNative/snowflake/node_modules/react-native/cli.js:15:18)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)

The following displays in a Terminal window which pops up when opening the iOS project in Xcode:
~/Workspace/ReactNative/snowflake/node_modules/react-native/packager ~

/Users/xyz/Workspace/ReactNative/snowflake/node_modules/react-native/local-cli/cli.js:73
  const setupEnvScript = /^win/.test(process.platform)
  ^^^^^
SyntaxError: Use of const in strict mode.
    at Module._compile (module.js:439:25)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:929:3
~
Process terminated. Press <enter> to close the window

I upgrade Snowflake and did not see this problem.  Please upgrade to newest release: https://github.com/bartonhammond/snowflake/releases/tag/0.0.10a

The problem remains for me, even after update, but I guess it must be an environment problem then...?

@perqa did you do a fresh checkout?

The problem was my Node version was too old. I got the same error for AwesomeProject in the FB guide. Updated nvm, node and npm, and can now build AwesomeProject, but get the following error for Snowflake:
Error building DependencyGraph:
Error: Naming collision detected: /Users/perqa/Workspace/ReactNative/snowflake/node_modules/fbjs/lib/warning.js collides with /Users/perqa/Workspace/ReactNative/snowflake/node_modules/react/node_modules/fbjs/lib/warning.js
at HasteMap._updateHasteMap (HasteMap.js:132:13)
at HasteMap.js:103:28
at tryCallOne (/Users/perqa/Workspace/ReactNative/snowflake/node_modules/promise/lib/core.js:37:12)
at /Users/perqa/Workspace/ReactNative/snowflake/node_modules/promise/lib/core.js:123:15
at flush (/Users/perqa/Workspace/ReactNative/snowflake/node_modules/asap/raw.js:50:29)
at nextTickCallbackWith0Args (node.js:419:9)
at process._tickCallback (node.js:348:13)
~
Process terminated. Press  to close the window

You need to read the release notes: https://github.com/bartonhammond/snowflake/releases/tag/0.0.10 - namely that you'll have to

npm install -g npm3
rm -rf node_modules
npm3 install

Sorry, I did update to npm3, but forgot the
rm -rf node_modules

I have successfully built the iOS app, but there is still some trouble at the mill:

You need to make sure that you started the client 'react-native start' - and be sure you are in snowflake - if the client is running somewhere else, the app fails like what you see here

Fantastic! Manually giving the command
react-native start

made all the difference. Didn't see that in the tutorial...
Many thanks for all your help to get me started, a help which was far beyond my expectations. I'm really looking forward to exploring React Native and Snowflake further now. Thanks!

It's a common mistake, I do it all the time as I install various projects to learn something and inevitably forget to restart.    Glad your like Snowflake - do me a favor and "Star" the project.  Let me know if you have any more issues/questions.  Good luck

I know this has been posted already but I can't for the life of me figure this out. It still keeps giving me the same error as above. I've tried npm3 install (and also making sure my nvm had switched to node 5.6 with npm 3+) and still giving me the use of const strict mode error. Also made sure I was running react-native start in snowflake dir.
Any other clues? Thanks.
const setupEnvScript = /^win/.test(process.platform)
^^^^^
SyntaxError: Use of const in strict mode.
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Module._extensions..js (module.js:478:10)
at Object.require.extensions.(anonymous function) [as .js] (/Volumes/Untitled/test/snowflake/node_modules/babel-register/lib/node.js:134:7)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (/Volumes/Untitled/test/snowflake/node_modules/react-native/cli.js:15:18)
at Module._compile (module.js:460:26)
Command /bin/sh failed with exit code 1

Should mention AwesomeProject loads fine straight out of the box for me. Can't figure out what I'm doing wrong with snowflake?

I don't think this is Snowflake specific.  This issue on RN seems to be what you're experiencing: https://github.com/facebook/react-native/issues/3946

Yes! nvm alias default v5.6.0 fixed it for me because it was referencing an old node version. I google'd the issue for over an hour and did not find that post, I apologize. Thank you for your reply - as always. This project gets as many stars as I'm allowed to give.


remark v5 API is async now

Hi,
Just thought to note that remark changed its API so that it's async. The signature is like this:
remark().use(lint).use(html).process('## Hello world!', function (err, file) {
    console.error(report(file));
    console.log(file.toString());
});

You might want to tweak the README example accordingly.

@bebraw That’s not really true, it’s more that the return value is now a virtual file instead of a string / React element
The sync interface is still very much allowed / favoured often!
P.S. @tmcw I did quite a lot on sanitation in remark-html, which is now very virtual and very safe. Take a look at the index.js.
remark-react could use something a lot similar, with the exception of instead of stringifying to HTML (L60), going to react with hast-to-hyperscript.

@wooorm I'm good for now.
I guess adding that .contents bit to the README would help. That bit me today and I ended up writing html-webpack-remark-plugin to deal with the async interface. No probs. 😄

Ah, well the thing there is that it’s a bit weird that remark is “stringifying” to React. In essence, toString simply returns file.contents, so it would also work for React.
I’d rather not advertise accessing .contents. Maybe buffers will be added in the future, meaning people’s code will break if they use .contents instead of .toString().

@wooorm So what is preferred way?

  {remark().use(reactRenderer).process(this.state.text).contents}

or

  {remark().use(reactRenderer).process(this.state.text).toString()}

I’d like to submit a pull request to fix non-working example in the Readme.

The latter (toString()), as buffers are now also supported, and toString() automatically transforms those!

Whoops, hold on, as this plugin exposes an AST, it should use contents. 😬


TypeError: WebDriver.init() got an unexpected keyword argument 'service_log_path'

I'm also facing the same issue
WebDriver.init() got an unexpected keyword argument 'service_log_path'
Python 3.11.4
Selenium Version: 4.9.1
Robot Framework Version: 6.1

I think issue is caused by Selenium changing APIs and SeleniumLibrary not yet being updated. Downgrading Selenium may help. This issue tracker is for Robot Framework core only, SeleniumLibrary has it's own tracker, so this issue is invalid here. You may want to submit it to SeleniumLibrary's tracker, but please check is the issue already reported first.


Kex2 working for desktop and mobile

[x] kex2 working on desktop and mobile
[x] remove devices working
[x] generate paper key working
[x] changing homedir on device working

[ ] fix https://github.com/keybase/client/pull/1350#discussion-diff-45141529R222

[ ] fix dispatch in props

@keybase/react-hackers this is ready to look at. mostly splitting things up and moving things around

@keybase/react-hackers bump

@MarcoPolo linting fixed

So only ui changes where needed to get kex2 working on desktop?

I put in some action changes in previous PRs

@keybase/react-hackers can we get this in today?

:+1:

:thumbsup:


Use $PYTHON_BINARY to fix code coverage

Use $PYTHON_BINARY instead of python to trigger code coverage for parallel FPGA tests.

maybe we still need to call this "coverage combine" that was removed one PR later?
https://github.com/spcl/dace/commit/83f38ae1206cf8ff58553a37d1035ef5cf36d914

maybe we still need to call this "coverage combine" that was removed one PR later?
83f38ae

Same error as before, "no data to combine" :-/
Could it be subprocess or multiprocessing that messes up coverage somehow?
In intel_fpga_test.py, for example, we use subprocess to call tests like this:
        proc = sp.Popen(map(str, [sys.executable, path] + args),
                        cwd=TEST_DIR,
                        stdout=sp.PIPE,
                        stderr=sp.PIPE,
                        encoding="utf-8")

I could try changing this to use importlib to run them in the same interpreter as the process spawned by multiprocessing.


Build new instruction selector / machine-code emission backend

This issue will track progress on our new instruction selector / machine-code emission work, which has been ongoing (in design and initial implementation).
The scope of the work is:

Build a new instruction selector, to replace the recipes and meta-DSL system that adds encodings to existing Cranelift IR instructions.
Develop a low-level encoding of machine instructions, with virtual registers prior to register allocation (an "IR" of sorts)
Interface the above to a new register allocator infrastructure, minira
Develop the binary-encoding pass that emits into a CodeSink from the above representation

As discussed among @sunfishcode, @julian-seward1, @bnjbvr, and others, we want to do this work in order to clean up the story for a new machine backend, as recipes had become difficult to write and maintain.
The system will be co-developed with an initial backend for ARM64 using the new interfaces.

@cfallin
I'm getting a compile error with building for aarch64-unknown-linux-gnu on current master, and found this pullrequest as the culprit when bisecting the issue. Here's the error:
   Compiling cranelift-codegen-meta v0.59.0 (/tmp/wasmtime/cranelift/codegen/meta)
   Compiling cranelift-bforest v0.59.0 (/tmp/wasmtime/cranelift/bforest)
   Compiling wasi-common v0.12.0 (/tmp/wasmtime/crates/wasi-common)
   Compiling cranelift-codegen v0.59.0 (/tmp/wasmtime/cranelift/codegen)
warning: unused import: `self::call::expand_call`
  --> cranelift/codegen/src/legalizer/mod.rs:35:5
   |
35 | use self::call::expand_call;
   |     ^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default

warning: unused import: `self::globalvalue::expand_global_value`
  --> cranelift/codegen/src/legalizer/mod.rs:36:5
   |
36 | use self::globalvalue::expand_global_value;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: unused import: `self::heap::expand_heap_addr`
  --> cranelift/codegen/src/legalizer/mod.rs:37:5
   |
37 | use self::heap::expand_heap_addr;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: unused import: `self::table::expand_table_addr`
  --> cranelift/codegen/src/legalizer/mod.rs:39:5
   |
39 | use self::table::expand_table_addr;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0599]: no variant or associated item named `X86ElfTlsGetAddr` found for type `ir::instructions::Opcode` in the current scope
    --> cranelift/codegen/src/regalloc/spilling.rs:272:45
     |
272  |             || opcode == crate::ir::Opcode::X86ElfTlsGetAddr
     |                                             ^^^^^^^^^^^^^^^^ variant or associated item not found in `ir::instructions::Opcode`
     |
    ::: /tmp/wasmtime/target/aarch64-unknown-linux-gnu/debug/build/cranelift-codegen-dd375821e82eb469/out/opcodes.rs:1427:1
     |
1427 | pub enum Opcode {
     | --------------- variant or associated item `X86ElfTlsGetAddr` not found here

error[E0599]: no variant or associated item named `X86MachoTlsGetAddr` found for type `ir::instructions::Opcode` in the current scope
    --> cranelift/codegen/src/regalloc/spilling.rs:273:45
     |
273  |             || opcode == crate::ir::Opcode::X86MachoTlsGetAddr
     |                                             ^^^^^^^^^^^^^^^^^^ variant or associated item not found in `ir::instructions::Opcode`
     |
    ::: /tmp/wasmtime/target/aarch64-unknown-linux-gnu/debug/build/cranelift-codegen-dd375821e82eb469/out/opcodes.rs:1427:1
     |
1427 | pub enum Opcode {
     | --------------- variant or associated item `X86MachoTlsGetAddr` not found here

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0599`.
error: could not compile `cranelift-codegen`.

It's propably worth noting that this only happens when executing cargo build from the wasmtime dir, and it doesn't when cd wasmtime/cranelift & cargo build. Still the error seems to be from cranelift.

verbose log from --verbose: verbose-log.gz
is it okay to discuss this matter here, or would you like to see a new issue for it?

@stefson This is an issue, not a pull request. I think you want https://github.com/bytecodealliance/cranelift/pull/1174 instead. The PR number you are looking at is from before cranelift was moved into wasmtime. Also, I'm pretty sure cranelift doesn't support aarch64 yet, even if it happened to compile before that PR (in fact, this issue is about enabling an arm64 backend, but see also #1075). Also related, it doesn't support arm32 either (#1173), which I think you have also been trying to build for.

Where's the sense in arguing about issue and pullrequest please, especially since #1174 is clearly linked to this thread. It's rather unlikely that the backends work yet, but can't say for sure if they do without building them from source and do some testing.
This patch clearly regressed big time, my message is meant to inform the author about the possibly unintended breakage.

I was trying to be helpful and point out a misunderstanding, not argue. You want https://github.com/bytecodealliance/cranelift/pull/1174, not this issue. The author of this issue was not the author of that PR.

it's this commit that caused the regression: https://github.com/bytecodealliance/wasmtime/commit/0a1bb3ba6ccadd4b716cd259a097bb31435c0c6d
something at github seems to have been broken by integrating cranelift, making me turning up here if I try to follow the linked issue from that very commit. I'll continue to post over there.

@stefson: To clear up one additional thing: the ARM64 backend is not on mainline yet, so notwithstanding any other recent commits or other changes, one should not expect a build on ARM64 to work quite yet. We're getting close though :-)


Random jerkiness with animating blendshapes

Godot version:
master / ef7b384861
OS/device including version:
Manjaro Linux 17.1
Issue description:
I have blendshapes for breathing animation which expands or shrinks the character's chest area. They work perfectly from Blender, and look ok when I manually adjust sliders inside the related mesh instance.
However, when I make a simple animation which animates their values with bezier curve from 0 to 1 and again to 0, it shows random 'hiccups' which make the whole mesh to jerk abruptly with each loops sometimes. This behavior shows both in the editor (when played using the animation view) and in game.
The curve looks like this:

And it seems that the jerky behavior occurs when a blendshape first changes its value from 0, because if I add another key point with value 0 near the beginning, the hiccup occurs at that point instead:

A video shows the symptom (and also that of #19880). The 'hiccup' happens at around 0:17:

https://www.youtube.com/watch?v=R3zDrk1AiDw

wait so is the black patches showing up at the end of the video a symptom as well yes?
also can you step through the animation manually to see if the jerkiness is occurring between finish and start points (loop)? Cause it could be as simple as end point not continuous with start point.

@pgruenbacher No, the black patches is for another issue which is mentioned in my other comment.
I also initially thought it could be just an issue with the animation's start and end position not matching with each other. But as it's just a blendshape animation with bezier curve which has key points at the start and end which are set to zero, and because as I mentioned above, the problem occurs whereever I put additional key frame at which the blendshape starts to change its value from 0 to something positive, I doubt it could be the cause of the problem.
By the way, if I grab the slider and drag it around the problematic frame (the additional 0 value which I added for testing), I can't reproduce the problem. But if I hit the play button, the hiccup happens at that specific point and the same happens in game as well.

It turned out that this is caused by a mesh resource being shared between MeshInstances each being controlled by a different AnimationPlayer.
As noted in the other issue's comments, this is an intended behaviour and probably just needs a warning message in a relevant section on the documentation.

It turned out that this is caused by a mesh resource being shared between MeshInstances each being controlled by a different AnimationPlayer.
As noted in the other issue's comments, this is an intended behaviour and probably just needs a warning message in a relevant section on the documentation.

So, what it would be the workaround? I need to instance some scenes and launch a blend shape animation on each. I tried everything for 2 days and I didn't find any solution (It not only happens with AnimationPlayer as I tried to animate those via Timers) . I can understand why it happens but it shouldn't be that difficult to get something that simple. Any insight?
Thanks.

Select every mesh resource inside MeshInstance or other mesh container, and toggle Local to Scene to true, and it should resolve the issue.
Hope this helps!

@mysticfall Thank you very much for the tip, didn't tried that, but I'm afraid it doesn't work, as you can see in the gif I have that set up with local to scene, also made unique materials and so, and still happening when spawning. Am I doing something wrong?
PD: Sorry for the crappy GIF haha

Sorry, I can't detecte anything wrong with your setup from the gif alone. I don't have much knowledge of the engine internals, but maybe someone may help if you could upload a minimal reproducible case?

Well, doing the minimal project I realized that making sub resources unique in the MeshInstance
 insted of making them unique by hand kinda works and it doesn't make artifacts and weird things. What I don't know if it was a matter of the material or which sub resource was causing that but it's ok.
Thank you very much!

Want to give a big thank you to folks in in this issue. I kept getting flickering black materials on my 3d objects in Godot. This is the only thread that fixed the issue. I changed my material resources on my mesh instances (just the ones with the issue) with "Local To Scene" checked. And that worked.
This is necessary for me because I'm using AnimationPlayers to change the blend shapes exported from a shape key in blender. When I would play the animation, I'd get all of these flickering black materials... Until today. Thanks!


Reward schema improvement

Description

Add feed reward schema support in CLI
Add feedRewardStrategy registration in app
Add RewardCalculator func in MsgFeedData type

Changes

Closes: #124 #130

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: freddyli7:x: Freddy LiFreddy Li seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Alert: KubePodNotReady in mdns

Alert KubePodNotReady firing in mdns namespace
This is an automated issue created by the monitoring system. Please do not edit this message.
Alertmanager URL: https://alertmanager.ankhmorpork.thaum.xyz
Issue was last updated at 2023-03-03 06:51:43.660126597 +0000 UTC m=+85.597217645.
Common Labels

alertname
KubePodNotReady

cluster
ankhmorpork

namespace
mdns

pod
external-mdns-648f549b4c-snr8h

prometheus
monitoring/k8s

severity
warning

Common Annotations

description
Pod mdns/external-mdns-648f549b4c-snr8h has been in a non-ready state for longer than 15 minutes.

runbook_url
https://runbooks.thaum.xyz/runbooks/kubernetes/kubepodnotready

summary
Pod has been in a non-ready state for more than 15 minutes.

Alerts

StartsAt
Links

2023-03-03 06:46:13.046 +0000 UTC
GeneratorURL

(DO NOT MODIFY: 4dfb89694ac3f69e056010c43c0de13b7d25206807afa18889e390f882715ed4 )

Cluster out of capacity. Resize in progress.


[SPARK-11913][SQL] support typed aggregate with complex buffer schema

Test build #46506 has started for PR 9898 at commit b54f794.

Test build #46506 has finished for PR 9898 at commit b54f794.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):\n  * abstract class Aggregator[-I, B, O] extends Serializable \n

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/46506/
Test PASSed.

cc @marmbrus

Thanks, merging to master and 1.6


Fix decimal locale-sensitivity bug which caused incorrect reads

This patch fixes an issue where our decimal parsing was locale-sensitive, causing the old code to return wrong answers when run in locales that use commas as decimal marks. Redshift will always use a dot (".") as the decimal point, so we can fix this bug by explicitly specifying a US locale when creating our DecimalFormat.
Fixes #243.

Current coverage is 89.09% (diff: 100%)

Merging #249 into master will increase coverage by 0.01%

@@             master       #249   diff @@
==========================================
  Files            12         12
  Lines           641        642     +1
  Methods         562        561     -1
  Messages          0          0
  Branches         79         81     +2
==========================================
+ Hits            571        572     +1
  Misses           70         70
  Partials          0          0

Powered by Codecov. Last update f7bb9c3...f564bbe


more curl retries

Summary and Scope
add more curl retries
Issue Type

Bugfix Pull Request

Prerequisites

[x] I have included documentation in my PR (or it is not required)
[x] I have tested this by building an image using this branch HEAD, or this is does not pertain to the node-images pipeline.

Idempotency
Yes
Risks and Mitigations
None known

/backport lts/csm-1.5


Allow the generate-deps-for-config-factory to create the specified config file

Modifies the tool slightly to allow it to create the specified config file if it does not currently exist.

Ping @GeeH — minor usability improvement to allow creating a config file, and not require an existing one.

On it.


Remove configurationHealth from edgeAgent reported properties

It appears that this property has never been implemented. We should remove this from the docs.

@vadim-kovalyov : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

Thank you @vadim-kovalyov
#sign-off


Remove print in #5603 customize

Description:
#5603 included an annoying print CC: @andrey-git

@andrey-git no worries! That is why we have a dev branch :smile:


Old Firmware - New message

I have been using your excellent integration for a very long time without issue to the point where my HA depends upon it.
I have 2 ZNDMWG03LM lumi.gateway.mgl03 with firmware 1.4.7_0115 with 47 Devices, 194 entities attached which have performed without fault up to version 3.3.6.  I have just updated to version 4.0.4 and now receive this message for the first time
{'msg': "Unsupported firmware: ........, 'model': 'lumi.gateway.mgl03', ........, 'version': '1.4.7_0115'}"}
I have read the Documentation on supported firmware and can see that this version is no longer supported. I have not had the need to read the Documentation for a long time and I am sure that this version used to be supported. I did not see anything in the release notes for version 4 to say that this version would no longer be supported.
The MiHome app is only offering an firmware update to version 1.4.7_0160 which suggests that this is the latest version that the hardware will support.
I have not had long to properly test version 4.0.4 but all devices still appear to be working.
I'm just curious why this firmware version is no longer supported and that future changes to the integration may break the system or that there may be problems when it comes to adding new devices or re-pairing existing ones..

Your firmware not supported more than year, from v3 https://github.com/AlexxIT/XiaomiGateway3/tree/v3.0.0
But I have added notification only in v4.


Removing all BPR related rules

Removing all the BPR stuff.

Some of the removed rules look like non-bpr things we should keep?

@runspired I think we want to reevaluate once FastBoot is released, as some of these may apply, but will likely need to be reworked.


Fix non-redirect payments

PaymentHandler::pay() changes:

renamed $paymentUrl to $finalizeUrl
check if order is paid right after creation
if order is paid, return redirect to finalize page
if order is not paid, return redirect to Mollie checkout page

(!) For non-redirect payments, the initial webhook always fails on my system, but order is still paid in Shopware. Probably the transaction ID is not yet saved on the Shopware order when the order at Mollie is created. I am not sure of the implications.
Fixes #118

@fjbender as mentioned in your issue, many thanks for identifying the problem. We had discussions with the mollie api tec team and found out that it could be (future payment cases) that we get an mollieOrder that is not paid and has no payment url. Therefor we have added a fix that will add the finalize url in any case when mollie return url misses.
We changed it slightly already in our SW 6.4 compatibility pull request but the fame is yours. Thanks a lot


Speed up bower install by avoiding unnecessary web requests

Don't check the web when doing bower install if the requested package is versioned and a satisfying version exists in the cache.

We recommend switching to Yarn from Bower so there's no point in making Bower faster


python310Packages.hahomematic: 1.9.3 -> 1.9.4

Description of changes
https://github.com/danielperna84/hahomematic/releases/tag/1.9.4

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 180093 run on x86_64-linux 1

2 packages built:

python310Packages.hahomematic
python39Packages.hahomematic


Make construction of property dictionary lazy

Right now the dictionary is constructed when the instance is initialized which wastes some memory, I think we can do
better though, consider:
julia> using OrderedCollections

julia> # now
       struct A
           x::OrderedDict{Symbol, Any}
       end

julia> Base.summarysize(A(OrderedDict{Symbol, Any}()))
240

julia> # vs.
        mutable struct P
           x::OrderedDict{Symbol, Any}
           P() = new()
       end

julia> struct B
           x::P
       end

julia> Base.summarysize(B(P()))
16

Then as soon as the first dynamic property is added, the dict is initialized.
Maybe this can cause some overhead, or maybe not.

This isn't totally crazy. Here's a possible way to add it directly to the properties field with Refs:
julia> struct MyStruct
           _properties::Base.RefValue{Dict{Symbol, Any}}
           MyStruct() = new(Ref{Dict{Symbol, Any}}())
       end

julia> ms = MyStruct()
MyStruct(Base.RefValue{Dict{Symbol, Any}}(#undef))

julia> ms.x[] = Dict{Symbol, Any}()
Dict{Symbol, Any}()

Your idea for a separate mutable properties struct looks waay cleaner though😅

I will give it a try with the mutable struct because I also like its cleanliness :-)

Implemented in #11, merged in #12.


Transform classifier into normalizer

This PR transforms the classifier into a normalizer easing the future implementation of the separator customization in Charabia
This PR also adds the lossy_normalization option allowing to activate or deactivate lossy normalization, this will be useful to normalize stop_words, custom separators, or custom words in order to be properly classified

Hello @ManyTheFish :wave:,
Thank you for the PR, I'll start reviewing it.
My understanding from our offline discussion is that this PR changes the behavior of stop words.

Behavior
Before this PR
After this PR

Case sensitivity (the != or == to The?)
Sensitive
Insensitive

Diacritics sensitivity (the != or == to thé?)
Sensitive
Sensitive (unchanged)

That is:

Both before and after this PR, having the in the stop words does not make thé a stop word as well
Before this PR, having the in the stop words would not make The a stop word as well, but after this PR it does.

If my understanding is correct, I think we should publicize the difference a little bit more so that product and documentation are aware of this change and what the new state is. A quick look through the documentation and specification indicates to me that the current case and diacritics sensitivity of stop words is not currently documented. I think it should probably be because as a user of Meilisearch I already wondered this about stop words.
So that we can do so, could you open an issue, to be fixed by this PR, and tag the documentation team + add the missing spec label on it? For the description of this issue, if you want to, you can reuse part of the tables and examples I gave at the beginning of this message.
I also have some additional questions:

what is the current behavior of the stop words when a kanji is passed as a stop word? My expectation is that only the kanji is considered a stop word, not its various reading. As an example, adding 成犬 to the stop words does not add セイケン or せいけん.
what is the current behavior of the stop words when kana are passed as a stop word? My expectation is that only the kana that were passed are considered a stop word, such that adding せいけん to the stop words does not add セイケン, 成犬 or 聖剣.

Hello @ManyTheFish 👋,
Thank you for the PR, I'll start reviewing it.
My understanding from our offline discussion is that this PR changes the behavior of stop words.
Behavior 	Before this PR 	After this PR
Case sensitivity (the != or == to The?) 	Sensitive (the != The) 	_In_sensitive (the == The)
Diacritics sensitivity (the != or == to thé?) 	Sensitive (the != thé) 	Sensitive (the != thé, unchanged)
That is:
* Both before and after this PR, having `the` in the stop words does not make `thé` a stop word as well

* Before this PR, having `the` in the stop words would not make `The` a stop word as well, but after this PR **it does**.

If my understanding is correct, I think we should publicize the difference a little bit more so that product and documentation are aware of this change and what the new state is. A quick look through the documentation and specification indicates to me that the current case and diacritics sensitivity of stop words is not currently documented. I think it should probably be because as a user of Meilisearch I already wondered this about stop words.
So that we can do so, could you open an issue, to be fixed by this PR, and tag the documentation team + add the missing spec label on it? For the description of this issue, if you want to, you can reuse part of the tables and examples I gave at the beginning of this message.

mmmmh... You're probably right, I'm just wondering about the fact that we would commit to a design without ensuring that it's the best one. Let's "revert" the changes keeping the previous behaviors, and rethink it more globally later to commit to a final behavior to freeze in a spec.

I also have some additional questions:
1. what is the current behavior of the stop words when a kanji is passed as a stop word? My expectation is that only the kanji is considered a stop word, not its various reading. As an example, adding 成犬 to the stop words does not add セイケン or せいけん.

2. what is the current behavior of the stop words when kana are passed as a stop word? My expectation is that only the kana that were passed are considered a stop word, such that adding せいけん to the stop words does not add セイケン, 成犬 or 聖剣.

No Japanese normalization occurs before the classification, moreover, Charabia is not able to convert Kanji into Kana but only katakana into Hiragana.

Thanks for your answer many!

Let's "revert" the changes keeping the previous behaviors, and rethink it more globally later to commit to a final behavior to freeze in a spec.

I think we can keep this PR open for now, but yeah I'd rather we decided on a spec and behaviour before merging it (at least at the Meilisearch level). I think maybe this can be done quickly so that we don't spend too much time before merging this PR.

@dureuill, I took into account your change requests on documentation and I move the Lowercase normalizer into the lossy normalizer imitating the previous behavior, this way we can merge this PR and decide later the order of the lists.

Thank you @dureuill,
bors merge


Report HTTP/2 header parsing errors earlier

We found that the 10.0.x branch is also affected by CVE-2024-24549(https://github.com/advisories/GHSA-7w75-32cg-r6g2), but it has not been fixed yet. Therefore, we have created this patch for 10.0.x based on the fixes applied in other branches.

Is there a reason you are using Tomcat 10.0 and not Tomcat 10.1?  Tomcat 10.0 is no longer supported
See https://tomcat.apache.org/tomcat-10.0-eol.html

During a recent network asset mapping assessment, we identified that a significant number of services are still deployed on Tomcat 10.0.x. Given the continued widespread use of this version, we think it is valuable to provide patch support for these legacy deployments as well.

As previously stated, the 10.0.x branch is well past end-of-life (over three years ago); there will be no further updates to this level. Anyone not updating a product in that length of time clearly has no interest in security, regardless of whatever lip service they might pay.


Design and implement an improved locking system for write infrequent / read frequent shared data

Performance in openssl in 3.0 has degraded somewhat due to the expansion of the amount of shared data being used under the protection of rwlocks.  This issue tracks the design and implementation of a locking api to improve the performance of openssl when accessing frequent read / infrequent write data


Firebase Auth: Add FirebaseUser.sendEmailVerification()

just need a separate sendEmailVerification test for this

Done that. Let me know whether this the way you intended it to be or not.


TFTRT calib_graph/infer_graph has different output

I am doing tftrt convert to accelerate tf model.
first, get calib_graph
calibration_graph = trt.create_inference_graph()
second run calib_graph
the output is a tensor with batch_size = 16, output like this
third, I get the int8 graph
int8Graph = trt.calib_graph_to_infer_graph(calibration_graph)
('length and output: ', [array([-0.999994  ,  0.99682164,  0.9992819 ,  0.95060456, -0.8617101 ,
0.9993279 , -0.994945  ,  0.99960554, -0.99968964,  0.99943244,
0.9990337 ,  0.9889959 ,  0.91563284,  0.99274397,  0.99358046,
0.9925939 ], dtype=float32)])
But when I run the int8Graph using the same input data as step2, I get output like this,
('length and output: ', array([0.952391  , 0.94719326, 0.9581959 , 0.86539173, 0.92513335,
0.97020185, 0.88829505, 0.97703993, 0.87482417, 0.9612503 ,
0.95443654, 0.8331325 , 0.9141325 , 0.92734456, 0.94608974,
0.9845928 ], dtype=float32))
It's really confused, any one met this problem?
by the way, I run origin pb with the same data, I get
('length and output: ', array([-0.999994  ,  0.99682164,  0.9992819 ,  0.9506048 , -0.8617081 ,
0.9993279 , -0.9949451 ,  0.99960554, -0.99968964,  0.99943244,
0.9990337 ,  0.9889959 ,  0.9156331 ,  0.99274397,  0.99358046,
0.9925939 ], dtype=float32)),
same as my calib_graph result.
So, what's wrong with the int8_graph???

@CLIsVeryOK Please provide details about what platform you are using (operating system, architecture). Also include your TensorFlow version. Also, did you compile from source or install a binary? Thanks!

@gadagashwini  I use ubuntu 16.04/1080Ti GPU, tf1.13, installed a binary

@CLIsVeryOK Will it be possible to provide us the complete code to reproduce the issue. Thanks!

@gadagashwini  please give me your email, I send you the data and code in zip

Hi @CLIsVeryOK, would you please provide the code and data via github? Thanks.

Hi There,
We are checking to see if you still need help on this, as you are using an older version of tensorflow which is officially considered end of life . We recommend that you upgrade to the latest 2.x version and let us know if the issue still persists in newer versions. Please open a new issue for any help you need against 2.x, and we will get you the right help.
This issue will be closed automatically 7 days from now. If you still need help with this issue, please provide us with more information.


Upgrade swagger-ui  - Mixed content issues due to XHR over HTTP made from HTTPS page

Hello,
It is not currently possible to use swagger-tools over an HTTPS API.
It was a bug in swagger-ui that was apparently fixed few weeks ago: https://github.com/swagger-api/swagger-ui/issues/1670
Swagger-ui should be updated to a more recent version.
Cheers.

Duplicate of #384.


load_file on Windows not possible

I'm trying to load a local hello world html file using file_url. But execution of the program stops with an error. The error is:
Traceback (most recent call last):
File "p:\VSCode-Server-Workspaces\Python_Projects\tests\GeoPy Test.py", line 28, in
frame.load_file(tempFilePath)
File "C:\Users\heiko\AppData\Local\Programs\Python\Python311\Lib\site-packages\tkinterweb\htmlwidgets.py", line 151, in load_file
file_url = str(file_url).split("/", 1)[1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
Do I have to prepare paths on windows in a specific way? The path given to load_file was: path.join(sys.path[0], 'basic_html.HTML')
I'm running windows 11 22H2 Build 22621.1992 and Python 3.11.0

You have to add the local file protocol before the path, i.e. file://. I believe there is a HtmlFrame method that does this automatically though.
(note: I'm not the author, I just had the same problem recently)

Hi @aponigricon @Cathnan thanks for bringing this to my attention. I've tweaked the logic for loading files; it should work now. Try upgrading TkinterWeb and let me know if it works for you!


[COPY CHART]Null Reference Exception in XSSFSheet.CopySheetImages(XSSFWorkbook destWorkbook, XSSFSheet destSheet)

I have problem when trying to copy sheets from one excel file to another. The goal is to merge many excel files in to one. I got NullReferenceException.
Error message:
An unhandled exception was thrown by the application. System.NullReferenceExcepti on: Object reference not set to an instance of an object.    at NPOI.XSSF.UserModel.XSSFSheet.CopySheetImages(XSSFWorkbook destWorkbook, XSSFSheet destSheet)    at NPOI.XSSF.UserModel.XSSFSheet.CopyTo(XSSFWorkbook dest, String name, Boolean copyStyle, Boolean keepFormulas)
For some reason cellAnchor.picture is null so this is not even going deeper in to blipFill.blip.embed
string embed = cellAnchor.picture.blipFill.blip.embed; line 2939
This is the input file from which I want to copy sheets to new workbook. I got more of them but they look almost the same first sheet with table and second sheet with different types of charts.
input.xlsx
My code that isn't working:
`
public string MergeReports(List reportsPaths)
{
string path = "D:\02_Testy";
finalFile = Path.Combine(path,test.xlsx);
XSSFWorkbook workbookMerged = new XSSFWorkbook();
            foreach (string reportPath in reportsPaths)
            {
                XSSFWorkbook xssfWorkbook;
                using(FileStream fs = new FileStream(reportPath,FileMode.Open,FileAccess.Read))
                {
                    xssfWorkbook = new XSSFWorkbook(fs);
                    for(int i = 0; i<xssfWorkbook.NumberOfSheets;i++)
                    {
                        XSSFSheet xssfSheet = xssfWorkbook.GetSheetAt(i) as XSSFSheet;
                        xssfSheet.CopyTo(workbookMerged,xssfSheet.SheetName,true,true);
                    }
                }
            }
            using(FileStream fs = new FileStream(finalFile,FileMode.Append,FileAccess.Write))
            {
                workbookMerged.Write(fs,false);
            }

        return finalFile;
    }

`
Every other parts of that 2 sheets are copied just fine. Only issue is that application crash when there is chart in second sheet.

I Have the same issue, the different has two-part.

I only need one sheet to another xlsx file.
I using Foreach to replace for-loop
when I using for-loop, I found some issue which is getting wrong sheet name(PY<-rightname)
it shows PYY<-wrongname> lend to an exception.
Foreach getting right name but I write workbook to filestream shows another exception
is 「只可以在唯寫模式中要求附加存取」.
This is My Code, Hoping will help to fix.

using (FileStream fsOut = new FileStream("D:\\ExcelFile\\testtest.xls", FileMode.Append, FileAccess.ReadWrite))
            {
                HSSFWorkbook product = new HSSFWorkbook();

                foreach (HSSFSheet xSSFSheet in workbooks)
                {
                    if (xSSFSheet.SheetName == "WenttoCopysheet")
                    {
                        xSSFSheet.CopyTo(product, xSSFSheet.SheetName, true, false);
                    };
                }

                product.Write(fsOut);
                fsOut.Close();
            }

@tylkotroszke I can reproduce your issue.

So generally speaking NPOI cannot copy charts right? @tonyqus

No, NPOI cannot copy charts so far.


test: Fix inf and add NaN tests

Fixed inf tests to eliminate division by zero as it's not supported anymore
Added NaN validation and tests

Integration tests: https://github.com/firebolt-db/firebolt-net-sdk/actions/runs/7723858938


Zoneout: fix random noise expectation at inference time

Zoneout: weighted sum with the previous state to restore random noise expectation at inference time.
As was discussed in:
https://github.com/Rayhane-mamah/Tacotron-2/issues/4#issuecomment-386217441
https://github.com/Rayhane-mamah/Tacotron-2/issues/4#issuecomment-384894124
etc
And implemented in the original paper author's Zoneout code — https://github.com/teganmaharaj/zoneout/blob/master/zoneout_tensorflow.py#L47
Solves the increased speed of synthesized speech while keeping the quality same.

Fair enough, I will set these changes to the repo for now, but the whole zoneout_LSTM.py file is planned to be removed for the next repo update. Still thank you very much for your contribution!


Switch to label-based CI approval for public PRs

For a PR from a public fork, CI will only run when the "approved-for-ci"
label has been added after code review.
It will continue to run on push and (non-fork) PR as normal.

The pre-commit hook failed to run for me so please squash this PR when merging to get rid of that commit which just ran the YAML autoformatter.


Update images to reflect correct UPN Suffix

Images need updated to reflect that the standard domain name for Azure Government is *.onmicrosoft.us not *.onmicrosoft.com.

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

ID: 6fb73708-8571-ebf9-aabc-697f7ab2ec75
Version Independent ID: e172721d-1017-f593-baad-f54fd54fc42f
Content: Azure Government Identity - Azure Government
Content Source: articles/azure-government/documentation-government-plan-identity.md
Service: azure-government
GitHub Login: @stevevi
Microsoft Alias: stevevi

Thank you for your detailed feedback.  We are looking into the issue, and we will respond when we have more information.

Thank you for your feedback @Commochief  . This has been assigned to the content owner, @stevevi , and will be updated as appropriate.

OK, thank you.  Images updated.

#please-close


feat(publish-script): re-write as js script, allow beta releases

Related to #2056
I have re-written the release script in javascript to enhance the user experience when doing a new release and also to allow releases from another branch than develop for beta releases.
Here is the flow:

if branch === develop -> do normal release
if branch === master -> ask to be on develop for normal release or another branch for beta
if branch !== develop || branch !== master -> ask if user wants to release a beta

In case of beta, ask for a new version number with -beta.x suffix

[x] Allow stable releases
[x] Allow beta releases
[ ] Revert changes if process does not go until the end
[ ] Refactoring of duplicated code (for different releases cycles)

Result:

Is there a reason the release.sh script isn't removed?

Is there a reason the release.sh script isn't removed?

WIP, maybe?

Need a real world testing on a fork and your review guys 👍

Need a real world testing on a fork and your review guys 👍

Let's do the release with it :D


v3 timeline

Hello all, I was wondering when the official gem would support version 3 of the SynapsePayments API? synapsepay.readme.io/v3.0/docs

+1.

@daryllxd @miguelperez We should be announcing something in next couple of days for this

@daryllxd @miguelperez here is the new lib https://github.com/synapsepay/SynapsePayRest-Ruby

thanks.


Replace temporary Files with tesseract stdin/stdout

This change introduces Tesseract.processStream() to simplify usage with build tools and reduce I/O.
Tesseract.process() uses it but – except for an added return value – should remain compatible. (The tests pass, but I did not use it with options.config explicitly.)
I also felt like adding another small test case.

could you fix the errors here? https://app.wercker.com/#buildstep/54c93225cc09f996373243af

I couldn't recreate the error locally, with a more or less recent version of tesseract. The version of tesseract on wrecker does not seem to accept stdin at all (initially I tried the alternate parameters as you can see), so I'm afraid I won't be able to do anything to fix the errors there... I'm sorry if I wasted your time ;)

time to email wrecker :)

bump
This would be highly appreciated. :+1:
Any help needed in making it work?


Warning in loader.py in Django 1.8

In Django 1.8 when execute the server display the following warning:
RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9. from django.utils.importlib import import_module

I sent the pull request.

The same problem. How to fix ?

Hi @BlastPy, the problem is solved as well:
In the file loader.py add this:
try:
from importlib import import_module
except ImportError:
from django.utils.importlib import import_module

the repo is not maintained?
the latest version is released  in 2013 .
I add  the suggest in loader.py , the problem is still exists

A bit worrisome, this repo appears abandoned?

I don't know if I'm allowed to but I forked and fixed it here: https://github.com/gungorbudak/django-endless-pagination. Also, used Bootstrap 3 theme for the templates, FYI by taking some help from https://github.com/mozillazg/django-endless-pagination-bootstrap-theme
To upgrade, you do the following:

$ cd ~/Downloads
$ git clone https://github.com/gungorbudak/django-endless-pagination.git
$ cd django-endless-pagination
$ sudo pip uninstall django-endless-pagination
$ sudo python setup.py install

And, the warning is gone.

try my app
https://github.com/shtalinberg/django-el-pagination
my repo will be maintained


Moved tr from chinese to german group

For Turkish, in the most of the cases number will remain in a singular form, but if a translation string will be used for, per example, 2 sentences, then there's no chance to set the right form for the 2nd sentence, good example is here http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html#tr
As putting tr in a correct group wouldn't affect any existing translation tags (as they're singular anyway), I'd suggest keeping the third commit.

Required some code style fixes because of chunk commit :(

Think it's a "feature". It shouldn't affect any existing translations but should add more flexibility to copywriters


FIX: correct inheritance of squashing tiff

No tests cover this, but @tacaswell vouches for its correctness


Access control

Htaccess for now?

Took MUCH longer than expected, and still have some issues with awkward redirects and page reloads, but now have true authentication/authorization (limited to GitHub authentication and a single list of authorized users in an environment variable setting).


[Bug] [DataSource] the password echo is empty

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened

the password echo is empty
search prompt information is not clear
the password input box should be required, according to security considerations

What you expected to happen

the content of the password input box is replaced by *
the content of the search prompt box should be Please enter the data source name
password box is required

How to reproduce

create datasource
edit datasource

Anything else

Version
dev
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

It is not a bug that the password input box is empty. You can create another issue about search input


Presentation: Add support for custom property category renderers

Extends PropertyCategorySpecification to include a renderer field.
Adds PropertyCategoryRendererManager which acts similarly to PropertyValueRendererManager, but is specific to property grid categories.
Integrates custom category rendering logic into VirtualizedPropertyGrid.
Some previously internal property grid state and types are now exposed to custom category renderers. They require some revision before graduating this API from alpha.

Parallel PR for the native addon.

Whoever is going to use custom renderers through presentation rules, there will be a need to find out what ECInstance's content needs to be rendered inside the custom category. Do you have an idea how that would be done?

Custom renderers are able to access category contents through props.categoryItem.getChildren(), but I might have misunderstood the question.

Whoever is going to use custom renderers through presentation rules, there will be a need to find out what ECInstance's content needs to be rendered inside the custom category. Do you have an idea how that would be done?

Custom renderers are able to access category contents through props.categoryItem.getChildren(), but I might have misunderstood the question.

The problem that we're trying to solve is:

we're displaying properties for some element A
the element has related properties on class B
the consumer wants not only custom rendering of B properties, but also query some additional data related to the B instance and render that.

With your changes we provide a custom renderer which has access to PropertyRecords through props.categoryItem.getChildren(). From there we can find a PropertyRecord that we want, but I don't see how to get InstanceKey of the element whose data the record contains - it is essential for building a query for additional data.  The only way to find out the information is through the data provider that produced the record, so we have to make it available to the renderer in some way.


Parse JSON-LD into C# object

Hi,
is it possible to parse JSON-LD data into a C# object. According to the documentation, it seems that the conversion is only the other way around from a C# object to JSON-LD data.

Duplicate of https://github.com/RehanSaeed/Schema.NET/issues/2