predict() got an unexpected keyword argument 'meta' in seldon in Serving deployed via AppendBuilder directly

/kind bug
What steps did you take and what happened:
Relevant code:
# fairing:include-cell
import tensorflow as tf
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense, Dropout, LSTM
from urllib.request import urlopen
import numpy as np
import importlib
import os

class HousingServe(object):

    def __init__(self):
        self.model_file = "model.dat"
        self.model = None

    def train(self):
        # n/a - trained in the notebook, not deployed
        pass

    def predict(self, X, feature_names=None):
        if not self.model:
            self.model = joblib.load(self.model_file)

        prediction = self.model.predict(data=X)

        return prediction

# ---- different cell ----

def deploy_model(model):

    model.save('model.dat')

    from kubeflow import fairing
    from kubeflow.fairing import PredictionEndpoint

    BackendClass = getattr(
        importlib.import_module('kubeflow.fairing.backends'),
        'KubeflowGKEBackend')

    GCP_PROJECT = fairing.cloud.gcp.guess_project_name()
    DOCKER_REGISTRY = 'eu.gcr.io/{}'.format(GCP_PROJECT)
    BuildContext = None

    from kubeflow.fairing.deployers import serving
    from kubeflow.fairing.preprocessors.converted_notebook import ConvertNotebookPreprocessorWithFire
    from kubeflow.fairing.builders import cluster
    from kubeflow.fairing.builders import append

    preprocessor = ConvertNotebookPreprocessorWithFire(
        class_name='HousingServe',
        notebook_file='this_notebook.ipynb')

    input_files=['model.dat','requirements.txt']
    preprocessor.input_files =  set([os.path.normpath(f) for f in input_files])
    preprocessor.preprocess()

    base_image = "gcr.io/kubeflow-images-public/tensorflow-1.13.1-notebook-cpu:v0.5.0"
    cluster_builder = cluster.cluster.ClusterBuilder(registry=DOCKER_REGISTRY,
                                                     base_image=base_image,
                                                     preprocessor=preprocessor,
                                                     pod_spec_mutators=[fairing.cloud.gcp.add_gcp_credentials_if_exists],
                                                     context_source=cluster.gcs_context.GCSContextSource())
    cluster_builder.build()
    print(cluster_builder.image_tag)

    builder = append.append.AppendBuilder(
        registry=DOCKER_REGISTRY,
        base_image=cluster_builder.image_tag,
        preprocessor=preprocessor)
    builder.build()

    pod_spec = builder.generate_pod_spec()

    module_name = os.path.splitext(preprocessor.executable.name)[0]
    deployer = serving.serving.Serving(module_name + ".HousingServe",
                                       service_type="LoadBalancer",
                                       labels={"app": "mockup"})
    url = deployer.deploy(pod_spec)

requirements.txt:
fire
gitpython
google-cloud-storage
joblib
kubeflow-metadata
numpy
pandas
retrying
seldon-core
sklearn
xgboost
tornado>=6.0.3

Then, I POST as a test:
{
	"data":{
		"names":null,
		"tensor":{
			"shape":[2,2,2],
			"values":[0,0,0,0,0,0,0,0]
		}
	}
}

I get a 500 error, and the logs in stackdriver:
Traceback (most recent call last):
  File "/opt/conda/lib/python3.6/site-packages/seldon_core/user_model.py", line 156, in client_predict
    return user_model.predict(features, feature_names, **kwargs)
TypeError: predict() got an unexpected keyword argument 'meta'

What did you expect to happen:
A result to be returned.
Anything else you would like to add:
I'm sorry, I'm really struggling. I'm just trying to get a simple example of Fairing together and running on GCP, but I'm not even sure which APIs are known to be working. I'd be grateful if anyone could point me in the right direction. I'm sorry if I'm missing something obvious.
Environment:

Fairing version: (use python -c "import kubeflow.fairing; print(kubeflow.fairing.__version__)"): AttributeError: module 'kubeflow.fairing' has no attribute '__version__' (I tried in the terminal, in the notebook, and in Python directly. Help me out here..)
Kubeflow version: (version number can be found at the bottom left corner of the Kubeflow dashboard): 0.6.2
Minikube version: n/a - I'm on GCP
Kubernetes version: (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"13+", GitVersion:"v1.13.11-dispatcher", GitCommit:"2e298c7e992f83f47af60cf4830b11c7370f6668", GitTreeState:"clean", BuildDate:"2019-09-19T22:26:40Z", GoVersion:"go1.11.13", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"12+", GitVersion:"v1.12.10-gke.11", GitCommit:"0fdbd1a29758a35074d31d4fc50037611841fba4", GitTreeState:"clean", BuildDate:"2019-09-20T23:18:11Z", GoVersion:"go1.10.8b4", Compiler:"gc", Platform:"linux/amd64"}

OS (e.g. from /etc/os-release): Mac OS X - hopefully irrelevant, working out of Jupyter, etc

I've skipped on Fairing and searched for other examples, and found build_python_component in the simple notebook example. I randomly googled and found some docs for it, which say it's deprecated, and to use build_image_from_working_dir and func_to_container_op.
The docs had me confused for a while (the default image is different than the one stated), but also the dependencies aren't captured for me. I've used modules_to_capture to specify the name of a notebook imported via import_ipynb but still just the single function makes it into the workflow and the module is referenced. Same with/without code pickling.
Is there a recommended/documented way to wrap up a function and deps?


Update README.md

We added instructions for set JAVA_HOME and PATH for Windows, MacOs and Linux

Hi Mani, I have done the changes that you suggested me

Hi Mani, we tested on MacOS and windows 10

Thanks @Hilmerc for your hard work, please join us on the hackday we will need your support for Java 9 (Jigsaw and JShell).

Hi Mani, MedellinJUG will join tomorrow with in the live session.


[ESP32C6] ESP-Nimble-CPP does not compile. (IDFGH-10110)

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.

IDF version.
v5.1-dev-4734-g8a08cfe7d1
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
What is the expected behavior?
I have looked at the ESP32C6 status and found NimBLE to be already checked, so I tried compiling the excellent https://github.com/h2zero/esp-nimble-cpp after setting the target to esp32c6.
For some reason, it fails with:
/home/mickey/.espressif/tools/riscv32-esp-elf/esp-12.2.0_20230208/riscv32-esp-elf/bin/riscv32-esp-elf-g++  -DESP_PLATFORM -DIDF_VER=\"v5.1-dev-4734-g8a08cfe7d1-dirty\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -Iconfig -I../components/esp-nimble-cpp/src -I../../../../../../components/newlib/platform_include -I../../../../../../components/freertos/FreeRTOS-Kernel/include -I../../../../../../components/freertos/FreeRTOS-Kernel/portable/riscv/include -I../../../../../../components/freertos/esp_additions/include/freertos -I../../../../../../components/freertos/esp_additions/include -I../../../../../../components/freertos/esp_additions/arch/riscv/include -I../../../../../../components/esp_hw_support/include -I../../../../../../components/esp_hw_support/include/soc -I../../../../../../components/esp_hw_support/include/soc/esp32c6 -I../../../../../../components/esp_hw_support/port/esp32c6/. -I../../../../../../components/esp_hw_support/port/esp32c6/private_include -I../../../../../../components/heap/include -I../../../../../../components/log/include -I../../../../../../components/soc/include -I../../../../../../components/soc/esp32c6 -I../../../../../../components/soc/esp32c6/include -I../../../../../../components/hal/esp32c6/include -I../../../../../../components/hal/include -I../../../../../../components/hal/platform_port/include -I../../../../../../components/esp_rom/include -I../../../../../../components/esp_rom/include/esp32c6 -I../../../../../../components/esp_rom/esp32c6 -I../../../../../../components/esp_common/include -I../../../../../../components/esp_system/include -I../../../../../../components/esp_system/port/soc -I../../../../../../components/esp_system/port/include/riscv -I../../../../../../components/esp_system/port/include/private -I../../../../../../components/riscv/include -I../../../../../../components/lwip/include -I../../../../../../components/lwip/include/apps -I../../../../../../components/lwip/include/apps/sntp -I../../../../../../components/lwip/lwip/src/include -I../../../../../../components/lwip/port/include -I../../../../../../components/lwip/port/freertos/include -I../../../../../../components/lwip/port/esp32xx/include -I../../../../../../components/lwip/port/esp32xx/include/arch -I../../../../../../components/bt/include/esp32c6/include -I../../../../../../components/bt/common/osi/include -I../../../../../../components/bt/common/api/include/api -I../../../../../../components/bt/common/btc/profile/esp/blufi/include -I../../../../../../components/bt/common/btc/profile/esp/include -I../../../../../../components/bt/porting/include -I../../../../../../components/bt/porting/nimble/include -I../../../../../../components/bt/porting/npl/freertos/include -I../../../../../../components/bt/porting/transport/include -I../../../../../../components/bt/host/nimble/nimble/nimble/host/include -I../../../../../../components/bt/host/nimble/nimble/nimble/host/services/ans/include -I../../../../../../components/bt/host/nimble/nimble/nimble/host/services/bas/include -I../../../../../../components/bt/host/nimble/nimble/nimble/host/services/dis/include -I../../../../../../components/bt/host/nimble/nimble/nimble/host/services/gap/include -I../../../../../../components/bt/host/nimble/nimble/nimble/host/services/gatt/include -I../../../../../../components/bt/host/nimble/nimble/nimble/host/services/hr/include -I../../../../../../components/bt/host/nimble/nimble/nimble/host/services/ias/include -I../../../../../../components/bt/host/nimble/nimble/nimble/host/services/ipss/include -I../../../../../../components/bt/host/nimble/nimble/nimble/host/services/lls/include -I../../../../../../components/bt/host/nimble/nimble/nimble/host/services/tps/include -I../../../../../../components/bt/host/nimble/nimble/nimble/host/util/include -I../../../../../../components/bt/host/nimble/nimble/nimble/host/store/ram/include -I../../../../../../components/bt/host/nimble/nimble/nimble/host/store/config/include -I../../../../../../components/bt/host/nimble/nimble/porting/nimble/include -I../../../../../../components/bt/host/nimble/port/include -I../../../../../../components/bt/host/nimble/nimble/nimble/transport/include -I../../../../../../components/esp_timer/include -I../../../../../../components/esp_wifi/include -I../../../../../../components/esp_wifi/wifi_apps/include -I../../../../../../components/esp_event/include -I../../../../../../components/esp_phy/include -I../../../../../../components/esp_phy/esp32c6/include -I../../../../../../components/esp_netif/include -I../../../../../../components/nvs_flash/include -I../../../../../../components/spi_flash/include -I../../../../../../components/esp_partition/include -march=rv32imac_zicsr_zifencei    -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -nostartfiles -Og -fmacro-prefix-map=/home/mickey/Documents/late/misc/esp-idf/examples/bluetooth/nimble/ble_l2cap_coc/coc_blecent=. -fmacro-prefix-map=/home/mickey/Documents/late/misc/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu++20 -fno-exceptions -fno-rtti -MD -MT esp-idf/esp-nimble-cpp/CMakeFiles/__idf_esp-nimble-cpp.dir/src/NimBLEDevice.cpp.obj -MF esp-idf/esp-nimble-cpp/CMakeFiles/__idf_esp-nimble-cpp.dir/src/NimBLEDevice.cpp.obj.d -o esp-idf/esp-nimble-cpp/CMakeFiles/__idf_esp-nimble-cpp.dir/src/NimBLEDevice.cpp.obj -c ../components/esp-nimble-cpp/src/NimBLEDevice.cpp
../components/esp-nimble-cpp/src/NimBLEDevice.cpp:26:14: fatal error: esp_nimble_hci.h: No such file or directory
   26 | #    include "esp_nimble_hci.h"
      |              ^~~~~~~~~~~~~~~~~~
compilation terminated.

When I set the target to esp32c3 (or esp32s3),  it compiles fine. I therefore think that it's not a problem on my end, but rather a bug in ESP-IDF? This is blocking me... perhaps you know a workaround?
What is the actual behavior?
See above.
Steps to reproduce.

Checkout ESP-IDF at the 5.1 release branch
Unzip the esp-nimble-cpp in the components folder of (e.g.,) examples/bluetooth/nimble/ble_l2cap_coc/coc_blecent
idf.py set-target esp32c6
idf.py build
Observe the compile error.

Build or installation Logs.
See above.

More Information.
No response

Hi @mickeyl , i think this issue should be on esp-nimble-cpp repo side, not esp-idf.  The support should be added in that codebase ( may be correct CMakelist ).   Also, currently esp32c6 is not supported on that repo , i believe , as i see below error while trying out the steps you mentioned.
CMake Error at ../../../../../tools/cmake/component.cmake:323 (message):
Component esp-nimble-cpp only supports targets: esp32;esp32s3;esp32c3
Call Stack (most recent call first):
../../../../../tools/cmake/component.cmake:442 (__component_check_target)
components/esp-nimble-cpp/CMakeLists.txt:27 (idf_component_register)

@rahult-github Thanks for answering. I don't think it's a problem with esp-nimble-cpp. If you apply the following diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e23f111..508e933 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -25,6 +25,7 @@ idf_component_register(
     "esp32"
     "esp32s3"
     "esp32c3"
+    "esp32c6"
   INCLUDE_DIRS
     "src"
   SRCS
diff --git a/src/NimBLEDevice.cpp b/src/NimBLEDevice.cpp
index eda47ae..b466b38 100644
--- a/src/NimBLEDevice.cpp
+++ b/src/NimBLEDevice.cpp
@@ -85,8 +85,8 @@ std::list <NimBLEAddress>   NimBLEDevice::m_ignoreList;
 std::vector<NimBLEAddress>  NimBLEDevice::m_whiteList;
 uint8_t                     NimBLEDevice::m_own_addr_type = BLE_OWN_ADDR_PUBLIC;
 #ifdef ESP_PLATFORM
-uint16_t                    NimBLEDevice::m_scanDuplicateSize = CONFIG_BTDM_SCAN_DUPL_CACHE_SIZE;
-uint8_t                     NimBLEDevice::m_scanFilterMode = CONFIG_BTDM_SCAN_DUPL_TYPE;
+uint16_t                    NimBLEDevice::m_scanDuplicateSize = 0; //CONFIG_BTDM_SCAN_DUPL_CACHE_SIZE;
+uint8_t                     NimBLEDevice::m_scanFilterMode = 0; //CONFIG_BTDM_SCAN_DUPL_TYPE;
 #endif

to accomodate for the missing target and the dramatically reduced Bluetooth Modem options for the C6, you
will still see that it doesn't compile due to a missing header. I can "fix" this by patching ESP-IDF like that:
diff --git a/components/bt/CMakeLists.txt b/components/bt/CMakeLists.txt
index f04ef4191d..6afc9e7723 100644
--- a/components/bt/CMakeLists.txt
+++ b/components/bt/CMakeLists.txt
@@ -24,6 +24,7 @@ if(CONFIG_BT_ENABLED)
     elseif(CONFIG_IDF_TARGET_ESP32C6)
         list(APPEND srcs "controller/esp32c6/bt.c")
         list(APPEND include_dirs include/esp32c6/include)
+        list(APPEND include_dirs host/nimble/esp-hci/include)

     elseif(CONFIG_IDF_TARGET_ESP32H2)
         list(APPEND srcs "controller/esp32h2/bt.c")

but I'm not sure whether this is the right way. For some reason, the other targets are fine without the extra esp-hci include.

diff --git a/CMakeLists.txt b/CMakeLists.txt
index e23f111..508e933 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -25,6 +25,7 @@ idf_component_register(
     "esp32"
     "esp32s3"
     "esp32c3"
+    "esp32c6"
   INCLUDE_DIRS
     "src"
   SRCS
diff --git a/src/NimBLEDevice.cpp b/src/NimBLEDevice.cpp
index eda47ae..b466b38 100644
--- a/src/NimBLEDevice.cpp
+++ b/src/NimBLEDevice.cpp
@@ -85,8 +85,8 @@ std::list <NimBLEAddress>   NimBLEDevice::m_ignoreList;
 std::vector<NimBLEAddress>  NimBLEDevice::m_whiteList;
 uint8_t                     NimBLEDevice::m_own_addr_type = BLE_OWN_ADDR_PUBLIC;
 #ifdef ESP_PLATFORM
-uint16_t                    NimBLEDevice::m_scanDuplicateSize = CONFIG_BTDM_SCAN_DUPL_CACHE_SIZE;
-uint8_t                     NimBLEDevice::m_scanFilterMode = CONFIG_BTDM_SCAN_DUPL_TYPE;
+uint16_t                    NimBLEDevice::m_scanDuplicateSize = 0; //CONFIG_BTDM_SCAN_DUPL_CACHE_SIZE;
+uint8_t                     NimBLEDevice::m_scanFilterMode = 0; //CONFIG_BTDM_SCAN_DUPL_TYPE;
 #endif

So, the above files are NOT part of IDF , but part of the esp-nimble-cpp repo.  Hence, my comment, that these changes should be part of that repo and can be cloned into IDF correctly.

to accomodate for the missing target and the dramatically reduced Bluetooth Modem options for the C6, you will still see that it doesn't compile due to a missing header. I can "fix" this by patching ESP-IDF like that:
diff --git a/components/bt/CMakeLists.txt b/components/bt/CMakeLists.txt
index f04ef4191d..6afc9e7723 100644
--- a/components/bt/CMakeLists.txt
+++ b/components/bt/CMakeLists.txt
@@ -24,6 +24,7 @@ if(CONFIG_BT_ENABLED)
     elseif(CONFIG_IDF_TARGET_ESP32C6)
         list(APPEND srcs "controller/esp32c6/bt.c")
         list(APPEND include_dirs include/esp32c6/include)
+        list(APPEND include_dirs host/nimble/esp-hci/include)

     elseif(CONFIG_IDF_TARGET_ESP32H2)
         list(APPEND srcs "controller/esp32h2/bt.c")

but I'm not sure whether this is the right way.

No, esp32c6 doesn't use esp-hci part and hence IDF CMakelists don't include this for ESP32C6 target. So, if any compilation issue is observed , then i think, the porting is not done correctly.

Closing this issue. Feel free to reopen in case of any ESP-IDF related files issue.


Speed improvement in taxonomy auto-complete v1.1.22

Describe the bug
I think the auto suggest for taxonomy is borderline slow. Though for nearly 2.5 million rows it is still pretty decent.
To Reproduce
Input a taxon name having several versions with different authors, like: "Abacopteris lineata"

version 1.1.22

Additional context
A quick fix could be to only allow wildcard search from the end of the inputted keystrokes:
            self.tableName = 'taxonname'
            fields = {'fullname': f'LIKE lower("{keyStrokes}%")',`

I realize that the auto-suggest from anywhere in the string became a requirement, I still submit this as a fix. It is a quick roll back if there is dissatisfaction from the digitizer staff.
We should set index for the taxonname table to speed up queries.
This web page has some good suggestions: https://developer.android.com/topic/performance/sqlite-performance-best-practices

The fix suggested by @jlegind did not lead to noticeable improvement in performance.
I will attempt to install a module called FTS5 into the sqlitefile that has better prospects.
https://www.sqlite.org/fts5.html

Apparently, FTS5 is already part of sqlite out of the box.
I followed the instructions and created a virtual table referring to the original taxonname table and the performance is drastically improved:
SELECT * FROM taxonname WHERE fullname LIKE '%Draba%';          -- Result: 4435 rows returned in 592ms
SELECT * FROM taxonname_fts WHERE fullname MATCH 'Draba';       -- Result: 4294 rows returned in 10ms
SELECT * FROM taxonname WHERE id IN (
    SELECT id FROM taxonname_fts WHERE fullname MATCH 'Draba'); -- Result: 4294 rows returned in 38ms

There are differences in the number of rows returned, because FTS tokenizes individual words instead of partial entries. This means for the above case it will skip entries like "Xerodraba". Also, it will not return any entries with "Draba", when the search string is restricted to "Dra". We need to evaluate whether this is acceptable or not, and in the latter case, if there are any tweaks or alternatives we could apply.

The FTS  improvement looks fantastic. BTW, Do we have an index on the taxon fullname column?

@jlegind Yes, I already tried with index on that column, but with little result. The FTS option really does the trick, though results aren't identical.
I found that performance is better with the number of keystrokes triggering the query being 4 instead of the original 3.
However, I'd need @bhsi-snm  or @PipBrewer  to sanction this change if I am to proceed with it. Otherwise I'll revert to 3 again.

Never mind: I found that adding a limit of 200 to the query dramatically improves performance and 3 characters is fine.


Can Saiku   surpport  the function -"array join"

Qusetion:
Can Saiku   surpport  the function --"arrayJoin"  ?
(there are many values in a  member of a dimenssion )

s
arr

Hello
[1,2]

World
[3,4,5]

Goodbye
[ ]

When i use: <SQL dialect="clickhouse">arrayJoin(arr)</SQL> in my *.xml,
I got this: java.sql.SQLFeatureNotSupportedException

Not without something like a Mondrian UDF

do you make it?I also want to use clickhouse in saiku,but the saiku cant support clickhouse i think now


Unable to run RFuzz

Hi,
I am trying to run RFuzz at my end on Ubuntu 18.04 LTS version. I have gone through the README.md file, installed all the required dependencies.
Finally, I am trying to run :  make run.
I encountered an error which is shown below :

I analysed the file meson.build in the folder verilator and suspected that at line number 49, that verilator_src might be of type non-array object (I am not sure as I have never used meson before ! ) Based on the comment, which you have put up, I think it would be verilator_files[0] & verilator_files[1] instead on  verilator_src[0] and verilator_src[1].
Can you please help me with this issue ?

Thanks for trying out rfuzz.
In the output that you posted it says that your meson version is 0.29.0.
Could it be that you are running on Ubuntu 16.04?
The meson version provided with Ubuntu 18.04 should be 0.45.1.
See: https://packages.ubuntu.com/search?keywords=meson

I upgraded from Ubuntu 16.04 to 18.04 LTS from system. While upgrade, I kept certain package version intact for backward compatibility dependency for other tools. I will try it on a fresh installation of Ubuntu 18.04 and see if the issue persists or not.
Thanks for the prompt help!

Thanks for the prompt help!

No problem!
If you are concerned about your other tools, you could also setup a Ubuntu 18.04 LTS in VirtualBox, either manually or using vagrant and the provided Vagrantfile.


identifier "btn_*" is already declared in the present scope

Problem:
Buillding Menu core throws error for double declarations.
Log:
--- SNIP ---
Info (12021): Found 3 design units, including 3 entities, in source file /home/dev/Code/MiSTeX-devel/MiSTeX-boards/cores/Template/sys/math.sv
Info (12023): Found entity 1: sys_udiv File: /home/dev/Code/MiSTeX-devel/MiSTeX-boards/cores/Template/sys/math.sv Line: 3
Info (12023): Found entity 2: sys_umul File: /home/dev/Code/MiSTeX-devel/MiSTeX-boards/cores/Template/sys/math.sv Line: 46
Info (12023): Found entity 3: sys_umuldiv File: /home/dev/Code/MiSTeX-devel/MiSTeX-boards/cores/Template/sys/math.sv Line: 85
Error (10149): Verilog HDL Declaration error at sys_top.v(291): identifier "btn_r" is already declared in the present scope File: /home/dev/Code/MiSTeX-devel/MiSTeX-boards/cores/Template/sys/sys_top.v Line: 291
Error (10149): Verilog HDL Declaration error at sys_top.v(292): identifier "btn_o" is already declared in the present scope File: /home/dev/Code/MiSTeX-devel/MiSTeX-boards/cores/Template/sys/sys_top.v Line: 292
Error (10149): Verilog HDL Declaration error at sys_top.v(293): identifier "btn_u" is already declared in the present scope File: /home/dev/Code/MiSTeX-devel/MiSTeX-boards/cores/Template/sys/sys_top.v Line: 293
Error (10112): Ignored design unit "sys_top" at sys_top.v(22) due to previous errors File: /home/dev/Code/MiSTeX-devel/MiSTeX-boards/cores/Template/sys/sys_top.v Line: 22
Error (10112): Ignored design unit "sync_fix" at sys_top.v(1910) due to previous errors File: /home/dev/Code/MiSTeX-devel/MiSTeX-boards/cores/Template/sys/sys_top.v Line: 1910
Error (10112): Ignored design unit "csync" at sys_top.v(1942) due to previous errors File: /home/dev/Code/MiSTeX-devel/MiSTeX-boards/cores/Template/sys/sys_top.v Line: 1942
Info (12021): Found 0 design units, including 0 entities, in source file /home/dev/Code/MiSTeX-devel/MiSTeX-boards/cores/Template/sys/sys_top.v
Info (12021): Found 1 design units, including 1 entities, in source file /home/dev/Code/MiSTeX-devel/MiSTeX-boards/cores/Template/sys/scandoubler.v
Info (12023): Found entity 1: scandoubler File: /home/dev/Code/MiSTeX-devel/MiSTeX-boards/cores/Template/sys/scandoubler.v Line: 22
--- SNIP ---
Info (144001): Generated suppressed messages file /home/dev/Code/MiSTeX-devel/MiSTeX-boards/build/qmtech_ep4cgx150_mistex/Menu/Menu_MiSTeX.map.smsg
Error: Quartus Prime Analysis & Synthesis was unsuccessful. 6 errors, 5 warnings
Error: Peak virtual memory: 485 megabytes
Error: Processing ended: Fri Apr 12 09:07:57 2024
Error: Elapsed time: 00:00:07
Error: Total CPU time (on all processors): 00:00:17
Traceback (most recent call last):
File "/home/dev/Code/MiSTeX-devel/MiSTeX-boards/mistex_boards/qmtech_ep4cgx150_mistex.py", line 297, in
handle_main(main)
File "/home/dev/Code/MiSTeX-devel/MiSTeX-boards/mistex_boards/util.py", line 183, in handle_main
main(coredir, core)
File "/home/dev/Code/MiSTeX-devel/MiSTeX-boards/mistex_boards/qmtech_ep4cgx150_mistex.py", line 294, in main
builder.build(build_name = get_build_name(core))
File "/home/dev/Code/MiSTeX-devel/MiSTeX-boards/venv/lib/python3.10/site-packages/litex/soc/integration/builder.py", line 370, in build
vns = self.soc.build(build_dir=self.gateware_dir, **kwargs)
File "/home/dev/Code/MiSTeX-devel/MiSTeX-boards/venv/lib/python3.10/site-packages/litex/soc/integration/soc.py", line 1383, in build
return self.platform.build(self, *args, **kwargs)
File "/home/dev/Code/MiSTeX-devel/MiSTeX-boards/venv/lib/python3.10/site-packages/litex/build/altera/platform.py", line 45, in build
return self.toolchain.build(self, *args, **kwargs)
File "/home/dev/Code/MiSTeX-devel/MiSTeX-boards/venv/lib/python3.10/site-packages/litex/build/generic_toolchain.py", line 123, in build
self.run_script(script)
File "/home/dev/Code/MiSTeX-devel/MiSTeX-boards/venv/lib/python3.10/site-packages/litex/build/altera/quartus.py", line 216, in run_script
raise OSError("Error occured during Quartus's script execution.")
OSError: Error occured during Quartus's script execution.

OK, should be fixed now.

Please pull and rebuild.

It builds now. Thank you.


feature: Update :messages on the fly when newlines are added

Did you check the docs?

[X] I have read all the noice.nvim docs

Is your feature request related to a problem? Please describe.
Basically, commands that take a long time to complete freeze the cmdline until they are done and the ouptut get dumped only once the command is finished. A concrete use-case of this problem is when using vim-fugitive with the :Git push command. In the example I show below however, I use the simple bash command to illustrate what I mean, but the idea is the same: updating the messages buffer as new lines of output are given.
Describe the solution you'd like
I would like the way normal (neo)vim handles messages, where each line that gets outputted by the command gets added to the messages buffer so that we can notice the progress of the command, instead of waiting for it to be completed and having to parse through all the lines to see if it was a success or not.
Describe alternatives you've considered
The alternatives I have considered was to simply disabling the messages of noice, but I don't think it is optimal. I like the idea of having a buffer to get the output of a command as it is much easier to scroll through, to search, manipulate, etc. But the feature of seeing each line shown when it actually happens is pretty important to me, as I am dyslexic and reading a huge block of text that appears at once is not as easy for me as single lines spread over time.
Additional context
Here is an example with the command
sleep 1; echo 1; sleep 2; echo 2

As mentionned previously, I first noticed the 'issue' when performing the :Git push command, but the idea is the same and this command is more easily reproducable.
https://github.com/folke/noice.nvim/assets/30158492/1ed8b962-65bb-4b59-a2dc-15511239cbc6
In the video

I show the result of the command with the how noice works currently (notice the amount of time that passes between the moment I press '' and the output getting displayed)
I disable the messages functionality of noice
I repeat the command to show what normal neovim does with the output (the delay between the launch the command and the first line of output is greatly reduced as opposed to point 1.).

I hope this is not a duplicate of a pre-existing issue. I have tried to search for it but I struggled to find relevant keywords to describe the matter at hand. I apologise in advance if this subject was already brought and (maybe) solved.

That's unfortunately not possible due to how Neovim's ui_attach works

I understand, but would it then be possible to add a view that is the old neovim :messages instead of nui's split?

Not possible. It's all or nothing


Type not preserved correctly in object[]

You can't be sure what the type is inside of the object[] so you should be preserving the m d L f etc.
123123123d is a double
123123123m is a decimal
123123123L is a long
123123123 is an int
using System;
using Newtonsoft.Json;

public class Program
{
	public static SimpleType testViewModel = new SimpleType();
	public static void Main()
	{
		var res = JsonConvert.SerializeObject(testViewModel, Formatting.Indented);
		SimpleType simpleRight = JsonConvert.DeserializeObject<SimpleType>(res);
		Console.WriteLine(simpleRight.Simple[0].GetType());
		Console.WriteLine(simpleRight.Simple[1].GetType());
		Console.WriteLine(simpleRight.Simple[2].GetType());
		Console.WriteLine(simpleRight.Simple[3].GetType());
	}

	public class SimpleType
	{
		// Int64
		// Int32
		// Double
		// Decimal
		public object[] Simple = new object[4] { 123123123L, 123123123, 123123123d, 123123123m };
	}
}

System.Int64
System.Int64
System.Double
System.Double

FloatParseHandling = FloatParseHandling.Decimal
System.Int64
System.Int64
System.Decimal
System.Decimal

// long
// int
// decimal
object simple = new object[3] { 123123123L, 123123123, 123123123d };

After serializing and then deserializing this object you will say all of the values are longs

// long
// int
// decimal
object[] simple = new object[3] { 123123123L, 123123123, 123123123d };

After serializing and then deserializing this object you will say all of the values are longs

public class SimpleType
{
    // long
    // int
    // decimal
    object[] Simple { get; set; } = new object[3] { 123123123L, 123123123, 123123123d };
}

After serializing and then deserializing this object you will say all of the values are longs

using System;
using Newtonsoft.Json;

public class Program
{
	public static SimpleType testViewModel = new SimpleType();
	public static void Main()
	{
		testViewModel = new SimpleType();
		JsonSerializerSettings newSettings = new JsonSerializerSettings()
		{FloatParseHandling = FloatParseHandling.Decimal};
		var res = JsonConvert.SerializeObject(testViewModel, Formatting.Indented, newSettings);
		SimpleType simpleRight = JsonConvert.DeserializeObject<SimpleType>(res, newSettings);
		Console.WriteLine(simpleRight.Simple[0].GetType());
		Console.WriteLine(simpleRight.Simple[1].GetType());
		Console.WriteLine(simpleRight.Simple[2].GetType());
	}

	public class SimpleType
	{
		// long
		// int
		// decimal
		public object[] Simple = new object[3]{123123123L, 123123123, 123123123d};
	}
}

System.Int64
System.Int64
System.Decimal

using System;
using Newtonsoft.Json;

public class Program
{
	public static SimpleType testViewModel = new SimpleType();
	public static void Main()
	{
		testViewModel = new SimpleType();
		JsonSerializerSettings newSettings = new JsonSerializerSettings()
		{FloatParseHandling = FloatParseHandling.Decimal};
		var res = JsonConvert.SerializeObject(testViewModel, Formatting.Indented, newSettings);
		SimpleType simpleRight = JsonConvert.DeserializeObject<SimpleType>(res, newSettings);
		Console.WriteLine(simpleRight.Simple[0].GetType());
		Console.WriteLine(simpleRight.Simple[1].GetType());
		Console.WriteLine(simpleRight.Simple[2].GetType());
	}

	public class SimpleType
	{
		// long
		// int
		// double
		public object[] Simple = new object[3]{123123123L, 123123123, 123123123d};
	}
}

System.Int64 - Correct
System.Int64 - Wrong should be int
System.Decimal - Wrong should be double

using System;
using Newtonsoft.Json;

public class Program
{
	public static SimpleType testViewModel = new SimpleType();
	public static void Main()
	{
		testViewModel = new SimpleType();
		JsonSerializerSettings newSettings = new JsonSerializerSettings()
		{FloatParseHandling = FloatParseHandling.Decimal};
		var res = JsonConvert.SerializeObject(testViewModel, Formatting.Indented, newSettings);
		SimpleType simpleRight = JsonConvert.DeserializeObject<SimpleType>(res, newSettings);
		Console.WriteLine(simpleRight.Simple[0].GetType());
		Console.WriteLine(simpleRight.Simple[1].GetType());
		Console.WriteLine(simpleRight.Simple[2].GetType());
	}

	public class SimpleType
	{
		// long
		// int
		// double
		public object[] Simple = new object[3]{123123123L, 123123123, 123123123d};
	}
}

System.Int64 - Correct
System.Int64 - Wrong should be int
System.Decimal - Wrong should be double

If I change the settings back to default
var res = JsonConvert.SerializeObject(testViewModel, Formatting.Indented);

System.Int64
System.Int64 - wrong should be Int32
System.Double

using System;
using Newtonsoft.Json;

public class Program
{
	public static SimpleType testViewModel = new SimpleType();
	public static void Main()
	{
		testViewModel = new SimpleType();
		var res = JsonConvert.SerializeObject(testViewModel, Formatting.Indented);
		SimpleType simpleRight = JsonConvert.DeserializeObject<SimpleType>(res);
		Console.WriteLine(simpleRight.Simple[0].GetType());
		Console.WriteLine(simpleRight.Simple[1].GetType());
		Console.WriteLine(simpleRight.Simple[2].GetType());
		Console.WriteLine(simpleRight.Simple[3].GetType());
	}

	public class SimpleType
	{
		// long
		// int
		// double
		// decimal
		public object[] Simple = new object[4] { 123123123L, 123123123, 123123123d, 123123123m };
	}
}

System.Int64
System.Int64
System.Double
System.Double

FloatParseHandling = FloatParseHandling.Decimal
System.Int64
System.Int64
System.Decimal
System.Decimal

This will cause an invalid cast exception

using System;
using Newtonsoft.Json;

public class Program
{
	public static SimpleType testViewModel = new SimpleType();
	public static void Main()
	{
		var res = JsonConvert.SerializeObject(testViewModel, Formatting.Indented);
		SimpleType simpleRight = JsonConvert.DeserializeObject<SimpleType>(res);
		Console.WriteLine(simpleRight.Simple[0].GetType());
		Console.WriteLine(simpleRight.Simple[1].GetType());
		Console.WriteLine(simpleRight.Simple[2].GetType());
		Console.WriteLine(simpleRight.Simple[3].GetType());
	}

	public class SimpleType
	{
		// long
		// int
		// double
		// decimal
		public object[] Simple = new object[4] { 123123123L, 123123123, 123123123d, 123123123m };
	}
}

System.Int64
System.Int64
System.Double
System.Double

This will cause invalid cast exception

This will cause invalid cast exception when consumed after deserialization.

This can also cause a loss of precision.

While there is a serializer setting for enabling type metadata (TypeNameHandling), it unfortunately doesn't apply to numeric value types. That would leave you currently (whether you like it or not) with the only option to write your own JsonConverter for not-strongly typed collections (such as object[] or List<object>, for example) that serializes each item in such a collection in a way that allows the converter to identify and reconstruct the proper .NET value instance for each item during deserialization.
By the way, expanding the typename handling to also cover numeric types has been asked for in the past like here, but unfortunately it doesn't seem to have received any attention so far. :cry:

Are you trying to imply this isn't a serious flaw in the library.

Are you really going with "we don't support the most basic type in .NET"
I think you should take .NET off the name if you are serious.

paraphrasing:  we don't support object, which is the most basic type in .NET

I think you should take .NET off the name if you are serious.

paraphrasing:  we don't support object, which is the most basic type in .NET

I think you should stop calling it  Json.NET if you are serious.

This isn't just a bug.
Its a flaw.
You are destroying type information that previously existed.

This isn't just a bug.
Its a flaw.
You are destroying type information that previously existed and then pretending you just can't do it.

This isn't just a bug.
Its a flaw.
You are destroying type information that previously existed, There is no ambiguity except for the ambiguity you added.
You are not truly representing anything, you shouldn't even be calling them long decimal double or long the way you are representing them in the absence of type information is just simply incorrect.

This isn't just a bug.
Its a flaw.
You are destroying type information that previously existed, There is no ambiguity except for the ambiguity you added.
You are not truly representing anything, you shouldn't even be calling them long decimal double or long the way you are representing them in the absence of type information is just simply incorrect, this is exactly why f m d L exist.

 I am not the author of the library, nor otherwise associated with it. I just told you the current state of the library.
Perhaps take a walk and get some fresh air instead of being a primo arsehole and having a meltdown here in the Github issue tracker...
Also, JSON is a data format that is unrelated to .NET data types. The JSON syntax itself has no means to distinguish between different .NET data types for real numbers. Numeric values in JSON are either integer numbers or real numbers. No decimal, no float, no double, no Int32 or Int64. That's it. If you can't stomach that, stop using the JSON format and invent your own. Or bark at a tree. My gosh...

This isn't just a bug.
Its a flaw.
You are destroying type information that previously existed, There is no ambiguity except for the ambiguity you added.
You are not truly representing anything, you shouldn't even be calling them long decimal double or long the way you are representing them in the absence of type information is just simply incorrect, this is exactly why f m d L exist.

It's a limitation. JSON isn't .NET. They use different types. For example, .NET's number suffixes don't exist in JavaScript/JSON. 100m isn't a valid JSON number.
If you don't specify the type you want to deserialize to then the serializer has to do its best. If you don't like the result then there are many options, such as serializing numbers as strings, or writing a JSON converter, but serializers aren't magic. They can only do their best with the situation you give them.
This is expected behavior.

Its not a limitation, its part of the number and you are destroying it.

Its not a limitation, f, L d m are part of the number and you are destroying it,
You could very easily write it into the string and read it you just don't want to, You are deliberately not supporting the most basic type in .NET

Its not a limitation, f L d m are part of the number and you are destroying it,
You could very easily write it into the string and read it you just don't want to, You are deliberately not supporting the most basic type in .NET

I actually found this bug by writing my own serializer/deserializer and I found this bug trying to make a comparative test and thought I would point it out.

Don't you have any trees outside you can howl at? A bush would do as well...

Don't you have any trees outside you can howl at? A bush would do as well...

Real professional.

Calling the author of the library a pussy... get some help bro...

You are deliberately creating bad data.

Don't you have any trees outside you can howl at? A bush would do as well...
Real professional @JamesNK

Look, you seem to be a real smart guy. And a smart guy like you should have certainly noticed that the comment you resonded to was not from JamesNK...

I'm glad you aren't taking this seriously, it makes things easier.

You are guessing at best and at worst malicious.

I know, let it all out. All the things you don't like about the library, let it all out. And while we are at it, you can also relieve yourself of any childhood traumas you are carrying with you. I am here and listening...

I use the library every day I was just trying to help you, I will be moving on to a library with an actually supporter asap.

I used to use the library every day I was just trying to help you

I know, let it all out. All the things you don't like about the library, let it all out. And while we are at it, you can also relieve yourself of any childhood traumas you are carrying with you. I am here and listening...

Real professional @JamesNK

You know, This conversation proves malice and you can't avoid liability?

 This is hilarious... You reeaaaallllyyy think i am just a sockpuppet account of James Newton-King? Oh my, that's funny... i just can't... Sure, whatever conspiracy theory you like, boy. Go on, sue James Newton King for my posts.

Okay dude, have fun with that.

I think I'm over it now.

This is a great idea for all versions of the library and you are just a bad lazy developer.

This isn't acceptable.
If you aren't going to fix it you should throw an exception.

This isn't acceptable.
If you aren't going to fix it you should throw an exception.
@JamesNK

Also closing this as completed instead of not planned is deceptive.

You shouldn't be pretending you have a solution, you should be throwing an exception.


Allow t2.small EC2 instance to be picked in Flynn installer

We recently deployed a Flynn cluster on three t2.small EC2 instances using the Flynn installer. We’ve tested for a couple of months now and it’s been working pretty nice. I would like to give it a shot at allowing users to choose this type of instances, of course giving them a warning that they’re not recommended. I believe this is a good addition as it allowed us to test flynn for a lot less than we expected (50USD/month instead of 100USD/month).
Let me know what you think.

Our experience has been that the CPU throttling system in the t2 series of instances leads to all sorts of strange failures, and also has an impact on network performance that can break database replication and service discovery consensus.
Due to the support burden of diagnosing these issues, we will not be adding the t2 instance class to the installer. You are of course free to either modify the installer or use the SSH option, but we don't recommend it and will not provide support for Flynn running on this instance type.


Add health-check to all containers

Status

[x] Kong
[x] GoTrue
[ ] PostgREST
[ ] Supabase Realtime
[x] Supabase Storage
[ ] Supabase PostgresMeta

PostgREST and postgres-meta have endpoint for health-check.
But these containers don't have curl or wget.

PostgREST: http://localhost:3001/live
postgres-meta: http://localhost:8080/health

Health check is apparently a must for realtime to work at all https://github.com/supabase/supabase/issues/25841


on_delete should be a required parameter

IMO the CurrentUserField should not have on_delete=CASCADE as a default parameter. Instead it should align with Django (3.2) ForeignKey field implementation, where the parameter for on_delete is required.
The current behaviour might lead to unwanted deletion if the user is deleted.
Thank you for considering my request.

I concur.
Working on an app where  on_delete=models.PROTECT is the default option.

+1  for that.
Ready to add support for that new behavior.
We can add it with warning for transition for 3-6 months and then remove completely


Added Rudradeep Guha & fixed tab title in people pages

in your page, perhaps it's nice to have a little bio sketch, like I did My BSc here and my master that, etc. You may want to look at my page for an example.

Done. Hope it's fine now.

can you explain the purpose of commit "changed tab title when viewing people"  in more details?

Oh, it's just me nitpicking. When looking at your people page for instance, the tab shows "Jj_aucouturier". I just changed it so that it says "People - JJ Aucouturier" now. That being said, you can edit to your preference by editing this line {% assign title = "People" | append: " - " | append: page.name %}


Dell driver selection issue

shows 4 OptiPlex 7010 models - New models sff, tower and micro

I believe this is also related to https://github.com/MSEndpointMgr/ModernDriverManagement/issues/239


Bluetooth: Deprecate adv auto-resume

The host-based adv auto-resume function has both a problematic implementation and disagreement in the community around how it should behave. See the issue linked resolved below for details.
This patch makes the deprecation visible to the user. The user will be better served by a auto-resume tailored their applications use case, based on more primitive host API like conn_cb.recycled, which has obvious behavior that is unlikely to change.
Resolves: https://github.com/zephyrproject-rtos/zephyr/issues/72567

Last push fixes compliance check:

 EMBEDDED_FUNCTION_NAME: Prefer using '"%s...", __func__' to using 'bt_le_adv_start', this function's name, in a string

Added the DNM flag for now, until we have a consensus on how to proceed with #77775 since that may have an impact on this API.

@jhedberg isn't it kind of moot if the API in question is being removed?
We are determined to remove auto-resume.
We still have the deprecation period to iron out the kinks.

@jhedberg isn't it kind of moot if the API in question is being removed?
We are determined to remove auto-resume. We still have the deprecation period to iron out the kinks.

You're probably right. I just wanted to pull the handbrake a little, in case it would have emerged from the discussion in the other PR that we actually don't want to deprecate/remove this feature.


Starter configuration file cannot be created as instructed

Describe the bug
The help indicates that a start config file can be created by rosetta-cli configuration:create.
To Reproduce
$ ./rosetta-cli-0.7.7-windows-amd64 configuration:create
Error: accepts 1 arg(s), received 0
Usage:
rosetta-cli configuration:create [flags]
Flags:
-h, --help   help for configuration:create
Global Flags:
--block-profile string        Save the pprof block profile in the specified file
--configuration-file string   Configuration file that provides connection and test settings.
If you would like to generate a starter configuration file (populated
with the defaults), run rosetta-cli configuration:create.
                                Any fields not populated in the configuration file will be populated with
                                default values.
  --cpu-profile string          Save the pprof cpu profile in the specified file
  --mem-profile string          Save the pprof mem profile in the specified file

Command Failed: accepts 1 arg(s), received 0
walee@DESKTOP-E2FLCS7 MINGW64 /c/workspace-minima/git/rosetta/rosetta-cli (feature/rosetta-minima-integration)
$ ./rosetta-cli-0.7.7-windows-amd64 configuration:create
Expected behavior
generate a starter configuration file (populated   with the defaults)
Additional context

hello @WaleedRizk a file name should be passed in as well. The command will be like:
./rosetta-cli-0.7.7-windows-amd64 configuration:create config.json

Closing this as the above answer should work!


Failed to get version of ... when installing jsoncpp:x64-windows

Description
When I was installing jsoncpp:x64-windows, it shows:
$ vcpkg install jsoncpp
Computing installation plan...
The following packages will be built and installed:
    jsoncpp[core]:x86-windows -> 1.9.5
   * vcpkg-cmake[core]:x64-windows -> 2022-04-12
   * vcpkg-cmake-config[core]:x64-windows -> 2022-02-06
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...
-- Automatically settiing HTTP(S)_PROXY environment variables to <IP_ADDRESS>:7890
A suitable version of powershell-core was not found (required v7.2.1). Downloading portable powershell-core v7.2.1...
Extracting powershell-core...

Failed to get version of C:\vcpkg\vcpkg-master\downloads\tools\powershell-core-7.2.1-windows\pwsh.exe

And the installation stopped.
Environment

OS: Windows10 19043.1645
Compiler: None

To Reproduce
Steps to reproduce the behavior:

./vcpkg install jsoncpp:x64-windows
See error

Expected behavior
Show the 'failed to ...' message and installation stops.
Failure logs
None
Additional context
Tried PS and git cmd.

What's the result when you manually run following command?
C:\vcpkg\vcpkg-master\downloads\tools\powershell-core-7.2.1-windows\pwsh.exe --version
If it returns PowerShell 7.2.1, I think you could rerun the bootstrap-vcpkg.bat and then reinstall the port;
If it doesn't return PowerShell 7.2.1, please remove the download folder and reinstall the port.

Please make sure you have installed the English language pack from Visual Studio Installer.

I did as suggestion, and it returned
$ ./downloads/tools/powershell-core-7.2.1-windows/pwsh.exe --version
Failed to load the dll from [C:\vcpkg\vcpkg-master\downloads\tools\powershell-core-7.2.1-windows\hostfxr.dll], HRESULT: 0x800700C1
The library hostfxr.dll was found, but loading it from C:\vcpkg\vcpkg-master\downloads\tools\powershell-core-7.2.1-windows\hostfxr.dll failed
  - Installing .NET prerequisites might help resolve this problem.
     https://go.microsoft.com/fwlink/?linkid=798306

Reinstallation was tried as well, and the result was the same.
I'm trying to solve it as the lint suggest.

English pack has been used since before this error.

Bty, there is an encryption software installed on my PC, will it cause this bug?

I'n not sure if this issue related with the encryption software, but I think you could do as below:

Manually download the powershell-core-7.2.1 from https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/PowerShell-7.2.1-win-x64.msi
Install it into a new folder, e.g. C:\MyTest
Open a cmd and run "C:\MyTest\7\pwsh.exe" --version

If you still get the error, then this issue should have something to do with your local environment;
if no, then please delete the content in C:\vcpkg\vcpkg-master\downloads\tools\powershell-core-7.2.1-windows and reinstall mm into that folder.

Thanks for posting this issue. Please reopen this issue if this is still a problem for you.


Can't Auto Detect Videos to Download!

Hello there,
I am trying this for the first time coming from IDM I would like to say I hope that this becomes compatible for windows 7 as this does not work for windows universally. I had to use Vxkex to get this to run which after doing so it seems nice but the popup to download does not appear when you click a video to play. I tried on multiple websites & you should be able to get the download selected popup when you click play on a video.

@DeMoN100 Hi there

About the windows 7 that you mentioned, unfortunately I can't do something about that because this app is built using Compose Multiplatform framework so this app can work where ever that framework can.
About the video downloading: please see #9


Add more logging

As stated, add more and/or better logging.

Add the cmt context to the structs each of:

gauge
counters
untyped

use cmt_log_error to log errors
define the missing CMT_LOG_* values:

CMT_LOG_ERROR
CMT_LOG_WARN
CMT_LOG_TRACE
CMT_LOG_INFO
CMT_LOG_DEBUG

thanks. (manually merged)


Need static site

Follow Layout
make deployable by netlify
use the theme provided.
https://www.dropbox.com/scl/fo/vugkpooocswqpw9p5c5qv/h?dl=0&rlkey=uamemdf5g0b8laf25e4dyv1w4

message me on telegram for any questions.

Hey !
What's your username telegram ?

@honorableCon https://t.me/danielgouldman

Can the work be started now?


Good job implementing all the requested changes

good job implementing all the requested changes.

Thank you for your feedback.


dependency on six seems to be missing

after installing soundcloud by

pip install soundcloud

and creating a test script i get an error that six is missing.

:+1:

Yep, same here : +1:

Same here : :+1:
Installing six with : pip install six seems to solve the issue.

Yes installing six manually works but in my opinion the setup should take care of this dependency and install it automatically.

I also ran into the same issue but only when deploying to Heroku. Anyway, what's the latest on that one since there is a PR for it?


TODO list for improved second playtest

[ ] #498
[ ] #494
[ ] #495
[ ] #496
[ ] #497
[ ] #500
[ ] #517
[ ] #518
[ ] #519
[ ] #610
[ ] #625
[ ] #477
[ ] #593
[ ] #664
[ ] #667
[ ] #688

#735

#873

#926

Completed issues below:

#495
#519
#572
#974
#1260
#1200
#2179
#2237
#2328
#2434
Last words should not be usable to prevent xeno captures
Dead xenos should not be shown on the watch xenomorph menu
Blood dispensers should require no power
shoot > spit for xenos
#2436
#2389
#2439
#2367
IVs do not work for taking blood
Everyone's xeno hud overlay disappears if you pick up a facehugger
#2452
Surplus uniform vendors should have shotgun shell pouches
The two medical crates need to be suffixed for which one is filled
Disable miasma spawning
#2466
#2354
#2369
#2461
#2457
#2448


Add DataService tests.

Add tests for DataService
Update old tests

this does not looks like adding tests, but changing some stuff.. pls align content with pr description


Deleting App with public ports is impossible if NodePort service nonexistent

A panic occurs due to nil pointer dereference, the trouble lines are here:
https://github.com/supergiant/supergiant/blob/master/core/port.go#L81

This has been resolved.


feat: optimize load_n method

Feature Request
Describe the Feature Request
@Quentash Mentioned in a PR that loading n bytes from memory using load_n was more expensive than loading entire words and dividing them into bytes. This shouldn't be the case, and we should investigate why
Describe Preferred Solution
Related Code
Additional Context
If the feature request is approved, would you be willing to submit a PR?
(Help can be provided if you need assistance submitting a PR)

[ ] Yes
[ ] No

Closing this as the problem was not load_n directly but doing load_n -> pack in felts compared to load -> pack in felts


Cannot include different versions of the framework 'FBLPromises.framework'

I have this problem when using it with [BarcodeScanner.Mobile.XamarinForms] in Xamarin Form iOS Project. Please help me

I'm having the same issue and can't manage to solve this one, did you find out how to fix it ???????

Same issue with me too!

I was able to fix the build error by manually installing the latest from the following:

Xamarin.Firebase.iOS.Core
Xamarin.Firebase.iOS.CloudMessaging
Xamarin.Firebase.iOS.InstanceID

Hope this helps anyone.


Multiple application instances opening, freezing

Issue Type: Bug
Description
Multiple instances of VSCode open when launching. The duplicate instances seem to be frozen ("Application not responding" shown when right-clicking in the dock). macOS Activity Monitor shows 3 Code processes running. Attempting to quit any of them closes the original and its duplicates.
Previously, only a single duplicate instance was opening. Today it is 2 duplicates. I deleted and reinstalled VSCode, but it still happens.
Screenshots

VS Code version: Code 1.63.2 (Universal) (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:37:28.172Z)
OS version: Darwin x64 19.6.0
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz (8 x 2800)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
3, 3, 3

Memory (System)
16.00GB (0.54GB free)

Process Argv
--crash-reporter-id dc433d48-0208-4b80-9bdc-f5522283d8f6

Screen Reader
no

VM
0%

Extensions (19)

Extension
Author (truncated)
Version

vscode-svgo
ajh
0.1.0

cucumberautocomplete
ale
2.15.1

html-end-tag-labels
ant
0.8.0

vs-code-css-comments
ash
1.0.5

spellright
ban
3.0.60

markdown-preview-github-styles
bie
0.2.0

theme-clear
dan
2.0.4

vscode-eslint
dba
2.2.2

binary-plist
dni
0.8.0

vale-server
err
0.14.2

prettier-vscode
esb
9.0.0

change-string-case
max
1.1.2

vscode-typescript-tslint-plugin
ms-
1.3.3

vscode-react-native
msj
1.8.1

color-highlight
nau
2.5.0

text-power-tools
qcz
1.30.0

live-sass
rit
3.0.0

LiveServer
rit
5.6.1

markdown-preview-enhanced
shd
0.6.1

(4 theme extensions excluded)

I can confirm this with the latest insiders

Merging to https://github.com/microsoft/vscode/issues/138712


I want to add some solutions of hackerrank and codechef

Give the link of Problem you want to work on, after completing one you can work on another.

I have to add solutions of approximately 10 problems
their java solution are already present in your repo
i will just add C and C++ version of the solution
it will be messy if i provide link of all the problems and then work on it,
they are large in number

Join the Gitter channel- https://gitter.im/Data-Structure-and-Algorithms-Nivedita/community
You can't work on all the problems. Everyone will work on particular problem on particular language.


Change the way resources yaml file is being loaded

At the moment the resources file is being loaded into the operator during the startup: https://github.com/kedacore/keda-olm-operator/blob/cbd80d4af6e95d5f0ad36af6631d3a8a008c5e3e/controllers/keda/kedacontroller_controller.go#L76-L83
It would be better to use go embed feature introduced in Go 1.16: https://golangtutorial.dev/tips/embed-files-in-go/

Hi @zroubalik,
Can I work on this?

@husnialhamdani absolutely, please coordinate with @joelsmith, he is the main point of contact for this repo.

@husnialhamdani, that would be great, thanks! Let me know if you have any questions along the way


Plan for dealing with phonetic (or graphemic) context

I have come up with a plan for how to deal with phonetic/graphemic context.
For now I'll use the label "phonetic", but this is without loss of generality.
There's no reason to be limited by historical constraints etc., so this is a little radical, but also not super hard to implement.
It's within-word context that uses the entire within-word phone sequence and a neural net, to decide the symbol sequence to use.   [Note: as an extension there is no reason why we can't also add in the embedding of the written form of the word.] The symbols themselves can just be written as the phone's name plus some arbitrary postfix, e.g. "c ae t" -> "c8 ae3 t5" or something like that.  (In order to add words to the lexicon, you'd need access to this neural net plus some codebook entries, as I'll describe).
The basic idea is:

Using alignments of a trained system (preferably a relatively simple system like TDNN), obtain some kind of statistics for each phone position of each pronunciation of each word.  I'll describe some of the details below, of how we could do this.
Train a not-too-big neural net to predict those statistics given those phone sequences (of all the pronunciations in our lexicon).  This can be viewed as a kind of smoothing+backoff step.
Given a "budget" of how many symbols we are allowed to use, do some kind of k-means-like algorithm to allocate context-dependent phones.  (In general each phone will have a different number of context-dependent versions).
Use the neural net and the k-means centers to decide the context-dependent symbol sequence for each pronunciation in the lexicon.  The output of this stage is just a lexicon.txt (or lexiconp.txt) file, associated with a larger phone-set (phones.txt), and as far as our system is concerned it is still context-independent.

The statistics can probably be phone posterior statistics, i.e. outputs after softmax (we'd have to take log).  The "objective function" (maximized in things like k-means) would be the average log-likelihood, i.e. sum_i count_i log(p_i), where p_i = count_i / sum_j count_j.  [An alternative would be to take some kind of activations and use sum-squared loss, but I think what I described may be more robust, since it's related to the objective function.]
More detail:

In order to accumulate these statistics, I suggest the following.   First, assign a number to each line in lexicon.txt (or lexiconp.txt, but I'll call it lexicon.txt), i.e. to each pronuncation; and this can just be the line number itself.  Then assign a number to each phone instance in lexicon.txt, starting from the first line.  We'll write out these symbols when we convert lexicon.txt to an FST; the script that creates  L.fst can add these symbols.  Instead of "src dest ilabel olabel cost", we'll have a format like "src dest label aux_label1 aux_label2... cost".  We can just use "aux_labels2", "aux_labels3" and so on for the names of these by default when we read such things.

We can write a program that will do the alignment and accumulate these statistics and write them out.

Training a neural net to predict the statistics:  note, the objective function is the one I described above, which is an expected log-likelihood.  (we can negate that and call it a loss function).

After running the neural net to get "expected stats" for each position of each word in our lexicon, we run some kind of k-means-type algorithm.  Note, it's not exactly k-means as we are measuring this special objective, and also because there are multiple baskets where we have an overall budget.... anyway I can write this, I have done these kinds of things before.

is fairly straightforward... for each word we run the neural net and for each position we test whether its expected stats are more likely given the distributions from each of the k-means centers, and we pick the center that gives the best expected likelihood.  The output of this is a lexicon.txt and a phones.txt.

I would like to try to do this, though there are many details I still need to figure out for now.

Great!
On Mon, Mar 8, 2021 at 5:38 PM Haowen Qiu<EMAIL_ADDRESS>wrote:

I would like to try to do this, though there are many details I still need
to figure out for now.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/k2-fsa/snowfall/issues/120#issuecomment-792623221,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZFLOYQVUHVXSDCW7BEGXLTCSLKBANCNFSM4YZBEL6Q
.

For the algorithm in 3.:
A fairly easy way to do the clustering in the presence of a global constraint on num-clusters, would be to initialize each phone with k-means to a number of clusters greater than what we expect to end up with (based on some heuristic, e.g. allocate clusters to phones according to count^{0.33} and then double the number), and then progressively merge those clusters, always taking the one that (globally) gives the least total objective-function change.
In terms of data-structures... for each phone we could probably have a matrix of scores "objf-change-from-merging [a,b]", and when we merge a and b we could assign them to a, setting b's row/column to infinity and then recomputing a's row/column.  We'd also keep track of (for each phone) the minimum value in the matrix.. possibly doable with a heapq or, for reasonable configurations, we can just do torch.min or something like that (no need to spend too much energy to pre-optimize things).
We might have to write our own k-means code because this type of stats is a little different than the normal sumsq-difference thing.  The thing we're measuring is always "objf of this cluster after merging" vs. "sum of objf of both clusters, un-merged"... there isn't a concept of distance here as such.
I'm thinking that for this code, most of it will be moderately special purpose python code, e.g. we can assume the lexicon.txt (or lexiconp.txt) format and so on.  At this stage the main point is to get it working and not worry excessively about code style and so on.

Hi.
I always favored multiphone clusters (syllables, bpe, etc). Any objection against that so that single phone with context is preferred?

We can investigate those types of things later, for sure.
On Mon, Mar 8, 2021 at 6:47 PM Nickolay V. Shmyrev<EMAIL_ADDRESS>wrote:

Hi.
I always favored multiphone clusters (syllables, bpe, etc). Any objection
against that so that single phone with context is preferred?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/k2-fsa/snowfall/issues/120#issuecomment-792666984,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZFLO5CUM3C5CMVSHPEJTDTCSTKNANCNFSM4YZBEL6Q
.

What's the rationale behind the need to explicitly modelling the context? Can't we just let the neural net learn this things implicitely?

The neural net doesn't "know" what the context is, there is implicitly an independence assumption between frames.  So without having context in the phone set, the neural net is limited in what it can predict.

Oh, I was under the impression that LF-MMI doesn't assume independence between frames.

In a sense it doesn't, but the number of symbols does limit the amount of information that the acoustic model can transfer to the graph search.

The basic idea is:
1. Using alignments of a trained system (preferably a relatively simple system like TDNN), obtain some kind of statistics for each phone position of each pronunciation of each word.  I'll describe some of the details below, of how we could do this.

2. Train a not-too-big neural net to predict those statistics given those phone sequences (of all the pronunciations in our lexicon).  This can be viewed as a kind of smoothing+backoff step.

3. Given a "budget" of how many symbols we are allowed to use, do some kind of k-means-like algorithm to allocate context-dependent phones.  (In general each phone will have a different number of context-dependent versions).

4. Use the neural net and the k-means centers to decide the context-dependent symbol sequence for each pronunciation in the lexicon.  The output of this stage is just a lexicon.txt (or lexiconp.txt) file, associated with a larger phone-set (phones.txt), and as far as our system is concerned it is still context-independent.

@danpovey
I think if we change phones and lexicon base on training data (something like greedy learn lexicon in Kaldi), the generalization of the model decreases, however in training and in-domain test-set (perhaps) the result improves. How can we add new words to the lexicon? How can we produce phones for new words based on new phones and lexicon?
I think it'd better we change neutral network or change tree decisions, etc instead of change phones and lexicon base on training data-set.
[In some papers describe that grapheme-based model better than phone-based model due to grapheme train more different pronunciations so it robust to different pronunciations e.g. accents]
best regards

The idea was that the neural net allows it to generalize to unseen words.
Unfortunately I tried this and didn't get any improvement from it, at least
not with the settings I tried.
On Sun, Mar 28, 2021 at 1:39 PM rezame @.***> wrote:

The basic idea is:

Using alignments of a trained system (preferably a relatively simple system like TDNN), obtain some kind of statistics for each phone position of each pronunciation of each word.  I'll describe some of the details below, of how we could do this.

Train a not-too-big neural net to predict those statistics given those phone sequences (of all the pronunciations in our lexicon).  This can be viewed as a kind of smoothing+backoff step.

Given a "budget" of how many symbols we are allowed to use, do some kind of k-means-like algorithm to allocate context-dependent phones.  (In general each phone will have a different number of context-dependent versions).

Use the neural net and the k-means centers to decide the context-dependent symbol sequence for each pronunciation in the lexicon.  The output of this stage is just a lexicon.txt (or lexiconp.txt) file, associated with a larger phone-set (phones.txt), and as far as our system is concerned it is still context-independent.

@danpovey https://github.com/danpovey
I think if we change phones and lexicon base on training data (something
like greedy learn lexicon in Kaldi), the generalization of the model
decreases, however in training and in-domain test-set (perhaps) the result
improves. How can we add new words to the lexicon? How can we produce
phones for new words based on new phones and lexicon?
I think it'd better we change neutral network or change tree decisions,
etc instead of change phones and lexicon base on training data-set.
[In some papers describe that grapheme-based model better than phone-based
model due to grapheme train more different pronunciations so it robust to
different pronunciations e.g. accents]
best regards
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/k2-fsa/snowfall/issues/120#issuecomment-808850929,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZFLOZ7WGRVS4YNFFKXA4TTF26J3ANCNFSM4YZBEL6Q
.

In a sense it doesn't, but the number of symbols does limit the amount of information that the acoustic model can transfer to the graph search.

Interesting, I hadn't considered that angle.
One thing though is I've seen is that even simple monophone TDNNs can end up learning complex pronunciations: I had an issue in my transcript processing, which didn't remove metadata such as [applause] and [laughter], but converted them to regular words.
The AM ended up outputting the words "applause" and "laughter" on audio where people applaud or laugh.
I think in terms of accelerating the decoding, it's definitely interesting to make sure there's more more load in the neural net. Though the recent literature seems to be moving towards end to end approaches such as RNN-T.
What's your opinion on how this fits with k2?

It's possible to use k-2 with things like RNN-T (or at least a similar
flavor) as well, although pure RNN-T wouldn't see much benefit from k2.
I'm thinking about using lattices from a 1st-pass decoding and rescoring
the paths with models that have recurrence on the input like RNN-T.
On Wed, Apr 21, 2021 at 7:02 PM Rémi Francis @.***>
wrote:

In a sense it doesn't, but the number of symbols does limit the amount of
information that the acoustic model can transfer to the graph search.
Interesting, I hadn't considered that angle.
One thing though is I've seen is that even simple monophone TDNNs can end
up learning complex pronunciations: I had an issue in my transcript
processing, which didn't remove metadata such as [applause] and [laughter],
but converted them to regular words.
The AM ended up outputting the words "applause" and "laughter" on audio
where people applaud or laugh.
I think in terms of accelerating the decoding, it's definitely interesting
to make sure there's more more load in the neural net. Though the recent
literature seems to be moving towards end to end approaches such as RNN-T.
What's your opinion on how this fits with k2?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/k2-fsa/snowfall/issues/120#issuecomment-823973851,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZFLOYDCKA3EASBEX5I6BDTJ2WD3ANCNFSM4YZBEL6Q
.


Add storybook for ketcher-react and ketcher-polymer-editor

Storybook enables developers to document existing components, as well as create components independently and showcase them interactively in an isolated development environment, which is be very useful not only for us now, but also for all those developers who will come here later, to get them up to speed with our component base.
For this first iteration our goals are:

Install and configure Storybook.js (React) for ketcher-react and ketcher-polymer-editor
Add a test component for ketcher-react storybook.
Add a test component for ketcher-polymer-editor storybook.

#1693 - looks like a duplicate.
@KonstantinEpam23 - what kind of components do we expect in Storybook?
@Alex-Work-Account Could we list some of them and the use case for them to have a clear picture?


TlypeError: step() missing 1 required positional argument: 'epoch'

TlypeError: step() missing 1 required positional argument: 'epoch'代码运行到后面少个epoch参数，是根据实际编辑吗。

Thank you for your attention to our work. We have identified this issue and will fix it as soon as possible.


[Bug]: Create User API endpoint not fulfilling reliable

Preflight Checklist

[X] I could not find a solution in the documentation, the existing issues or discussions
[X] I have joined the ZITADEL chat

Environment
ZITADEL Cloud
Version
No response
Database
None
Database Version
No response
Describe the problem caused by this bug
In our tool we create user in Zitadel using Create a user (Human) API and after that we are reading user information using Search Users API searching by the same email user was created. We always wait for the response of first request before we trigger the next one.
The problem is that sometimes we do not get in second call user information and result array in response is empty. But when we check user in Zitadel console, after this creation logic is triggered, user is added correctly. Additional if we do the same Search Users call after some time we will get proper user information.
So it looks like creation of user was not really done when we get the response of a request.
To reproduce
Steps to reproduce the behavior:

Create User using Create a user (Human) API - https://zitadel.com/docs/apis/resources/user_service/user-service-add-human-user
Search for a user by the email he was created with using Zitadel Search Users API - https://zitadel.com/docs/apis/resources/mgmt/management-service-list-users

Screenshots
No response
Expected behavior
If a request to Create a user (Human) is successful, the corresponding action should be fulfilled, and upcoming request should operate on the new data
Operating System
No response
Relevant Configuration
No response
Additional Context
No response

This sounds like an eventual consistency problem with the users projection.
Let us look into this

@hifabienne Thanks for your feedback and the clarification on the situation.
We think it is very confusing for us "API-users" if some API's do work differently than others. How should we know on which API's we can rely on? And for how long we have to wait till it is guaranteed that the search by email does return all the users in the system with the email we were looking for?
Basically you are telling us, that we should not use the search endpoint as we can never be sure what we get back?


SIL: Fix witness visibility hack to handle non-serialized declarations.

We have a hack to handle "public" declarations in extensions to internal protcols that are
intended as default implementations for a public protocol that the internal protocol refines.
This hack failed to trigger for synthesized declarations with shared linkage, such as
automatically generated read coroutines, causing a visibility assertion failure where we would
try to refer to the non-serializable synthesized declaration from the witness thunk we would
normally consider serialized. Fixes rdar://problem/55846638.

@swift-ci Please test

Nice catch. A @_borrowed subscript, protocol extensions, protocol inheritance, and access control... what a combination. The sparse multi-dimensional matrix strikes again!


Added IndexOf and FindIndex extensions for generic IEnumerable<T>

C#'s enumerable classes are fairly inconsistent, for example if you use List<T>.AsReadOnly() it returns a ReadOnlyCollection<T> which is technically unordered. If you instead implicitly cast your list to IReadOnlyList<T> it allows indexing, but no longer implements IndexOf. Adding these extension methods just lends greater flexibility to working with enumerables, without having to convert to List<T> or Array to access certain functionality.
What is the current behaviour?
What is the new behaviour?
What issues does this resolve?
What PRs does this depend on?

None

Does this introduce a breaking change?

[ ] Yes
[X] No

Hmmm, I'm not sure about this. There's nothing about IEnumerable that guarantees consistent order.
I could see a backing collection changing in a refactor or a developer overlooking the assumptions that this extension method makes.
It would be safer if these extension methods were written for just IReadOnlyList<T>.


browser crash in chrome incognito window

i18n
.use(Backend)
.use(LanguageDetector)
.use(initReactI18next)
.init({
...
});
It seems chrome incognito window will keep loading constantly and make the browser crash.

had no issue with https://jsfiddle.net/jamuhl/ferfywyf/#tabs=js,result,html

had no issue with https://jsfiddle.net/jamuhl/ferfywyf/#tabs=js,result,html

Amazing..
It is my misunderstanding.
Thanks a lot.

If you like this module don’t forget to star this repo. Make a tweet, share the word or have a look at our https://locize.com to support the devs of this project -> there are many ways to help this project :pray:


fix weekly_tests

Removed design_dirs as it's reduntant
Changed synth to synth_options because it was causing weeklytests to fail

@jgoeders Do you know why the gmt_tools clone is failing? It says the host key verification is failing but I don't know why that would start happening now. It happened on my other pull request as well.

@yonnorc42 I had to change how we are brining in private submodules in order to support brining them in one by one.  Some changes needed to be made on the runner computers, but I've just been fixing the runners as the error comes up.  If you see another, just message me and I'll fix that machine.  ...they might all be fixed now.


chore(webpack): update webpack deps to 2.1.0-beta.22

Lets see how CI does on this.

LGTM

Thanks. any idea when new cli version will be released? Also, rebuild is really slow with webpack.8 version, which makes development experience really bad.

@asadsahi please submit support related questions or issues to a new github issue and not in PR comments.


AWS EC2 Image Builder support

My customer has standardized on EC2 Image Builder and would like to use that over Packer. I can provide a sample EC2 Image Builder Cloudformation YAML or CDK if it will help.

If there's a way to support Image Builder with a thin, low-maintenance wrapper/entrypoint, feel free to open a PR; but we currently intend to stick with Packer for the official builds.


Contributing Guidelines ?

How do I create decomoji?
I'd like to know about the guidelines for decomoji.

font name
width and height of an image
image file format

fix #28


🚧 Dev ➾ Add Contract Types Plugin to Taco-Shop

🔗 Epic|Feature Link
#1215
🚥 Definition of Done

[ ] 🎯 Planning and Design
[ ] 🏎 Dev Implementation (PR merged)
[ ] ✍ Release Notes Added
[ ] 🏆 Product Acceptance

✅ To Do
No response
⚖ Acceptance Criteria
✨ Functional:

[ ] dApp has contract types plugin pre-installed and generates types during setup script
[ ] dApp consumes generated types in calls to Taquito
[ ] Documentation is written to illustrate how this is used and how it benefits the dev
[ ] Helpful and informative code comments included to help developers at the touch point

📐 Non-Functional:

[ ] ...

🔭 Scope
🙅♂ Out of Scope:

...

🧰 Work Description
The quickstart scaffold is being deprecated to reduce the maintenance burden on the team. The main thing this scaffold illustrated was the use of the contract types plugin. We need to add this to the taco-shop scaffold in order to replace this demonstration
🦄 Sizing
2
Code of Conduct

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

Hey @claudebarde, is this something you would be interested in taking on to get some more experience with the contract-types plugin?

Hey @hu3man, sure, I will be doing some work this week on some other issues related to Taqueria, I will add this one, thanks!

Awesome, thanks @claudebarde !

Done


Feature: Support TLS connections to Crowdsec not signed by a public CA

When Crowdsec enables TLS Traefik cannot talk to him if the certificates are not signed by a public CA.
Following the documentation of Crowdsec on setting up TLS auth certificates are signed by an unknown authority
traefik.log
Nov 27 14:20:36 debian11.localdomain traefik[2621]: INFO: CrowdsecBouncerTraefikPlugin: 2022/11/27 14:20:36 error while fetching https://localhost:8080/v1/decisions/stream?startup=true: Get "https://localhost:8080/v1/decisions/stream?startup=true": x509: certificate signed by unknown authority
Nov 27 14:21:36 debian11.localdomain traefik[2621]: DEBUG: CrowdsecBouncerTraefikPlugin: 2022/11/27 14:21:36 handleStreamCache

We need to offer the option to trust the CA when connecting or to ignore self signed certificates

DEBUG: CrowdsecBouncerTraefikPlugin: 2022/11/28 12:39:56 ServeHTTP:handleNoStreamCache ip:<IP_ADDRESS> crowdsecQuery url:https://crowdsec:8080/v1/decisions?ip=<IP_ADDRESS>&banned=true Get "https://crowdsec:8080/v1/decisions?ip=<IP_ADDRESS>&banned=true": x509: certificate is not valid for any names, but wanted to match crowdsec

Work to do on generate certificates

Still some errors:
traefik       | time="2022-11-28T21:34:55Z" level=debug msg="Skipping unchanged configuration." providerName=docker
traefik       | DEBUG: CrowdsecBouncerTraefikPlugin: 2022/11/28 21:35:46 ServeHTTP ip:<IP_ADDRESS> isTrusted:false
traefik       | DEBUG: CrowdsecBouncerTraefikPlugin: 2022/11/28 21:35:46 ServeHTTP:getDecision ip:<IP_ADDRESS> cache:miss
crowdsec      | 2022/11/28 21:35:46 http: TLS handshake error from <IP_ADDRESS>:34758: tls: failed to verify client certificate: x509: certificate signed by unknown authority
traefik       | DEBUG: CrowdsecBouncerTraefikPlugin: 2022/11/28 21:35:46 ServeHTTP:handleNoStreamCache ip:<IP_ADDRESS> crowdsecQuery url:https://crowdsec:8080/v1/decisions?ip=<IP_ADDRESS>&banned=true Get "https://crowdsec:8080/v1/decisions?ip=<IP_ADDRESS>&banned=true": remote error: tls: bad certificate
traefik       | DEBUG: CrowdsecBouncerTraefikPlugin: 2022/11/28 21:35:54 ServeHTTP ip:<IP_ADDRESS> isTrusted:false
traefik       | DEBUG: CrowdsecBouncerTraefikPlugin: 2022/11/28 21:35:54 ServeHTTP:getDecision ip:<IP_ADDRESS> cache:miss
crowdsec      | 2022/11/28 21:35:54 http: TLS handshake error from <IP_ADDRESS>:34764: tls: failed to verify client certificate: x509: certificate signed by unknown authority
traefik       | DEBUG: CrowdsecBouncerTraefikPlugin: 2022/11/28 21:35:54 ServeHTTP:handleNoStreamCache ip:<IP_ADDRESS> crowdsecQuery url:https://crowdsec:8080/v1/decisions?ip=<IP_ADDRESS>&banned=true Get "https://crowdsec:8080/v1/decisions?ip=<IP_ADDRESS>&banned=true": remote error: tls: bad certificate

Errors are fixed

I had to turn off EnableAgent of the container and use preview version 1.4.3 in order to handle certs


Using golang elf package directly

Using golang libs directly to find library dependencies instead of calling objdump.

Codecov Report

Merging #250 into master will decrease coverage by 0.07%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #250      +/-   ##
==========================================
- Coverage   54.96%   54.88%   -0.08%
==========================================
  Files          38       38
  Lines        4152     4145       -7
==========================================
- Hits         2282     2275       -7
  Misses       1676     1676
  Partials      194      194

Impacted Files
Coverage Δ

monitor/linuxmonitor/linuxMonitor.go
58.94% <100%> (-2.82%)
:arrow_down:

Continue to review full report at Codecov.

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


Allow passing variables that will be expanded

Is there any way to pass variables that will be interpolated in the final output? E.g. I want to use a different prefix to serve my favicons in dev & prod. I'd like to be able to put something like <link rel="icon" type="image/png" href="$MEDIA_PREFIX/favicons/favicon-32x32.png" sizes="32x32"> in my template and have $MEDIA_PREFIX expanded to a value from config.
Is this possible, or could it be added please?

By the looks of it you would have to fork the template to achieve this. Instead of
  <% if (htmlWebpackPlugin.files.favicon) { %>
  <link rel="shortcut icon" href="<%= htmlWebpackPlugin.files.favicon%>">
  <% } %>

we would need something far more dynamic. Perhaps there should be support for a mapping like this within the plugin configuration:
{
  ...
  favicons: [
    {
      type: 'image/png',
      href: MEDIA_PREFIX + '/favicons/favicon-32x32.png',
      sizes: '32x32'
    },
    ...
  ]
}

Each of those objects would map to a link rel="icon". It's likely possible to pull this off with a bit of EJS.

@boosh Anything that will work in ejs/underscore template syntax is compatible with the<EMAIL_ADDRESS> @bebraw is correct above.  You could make this happen, but it'd probably be better in a fork for this specific purpose that you have in mind.
Closing.

Speaking of favicons, there's https://github.com/jantimon/favicons-webpack-plugin now.


MM-12552: Adds parameter to include archived channel search results.

Summary
Adds parameter required to retrieve archived channel search results.
Ticket Link
https://mattermost.atlassian.net/browse/MM-12552
Checklist

[ ] Added or updated unit tests (required for all new features)
[ ] All new/modified APIs include changes to mattermost-redux (please link)
[ ] Has UI changes
[ ] Includes text changes and localization file updates

Device Information
iPhone 6, iOS 12.0 (emulator)
Screenshots
n/a

@mkraft out of curiosity, was this never present before, or did it somehow get removed?

@grundleborg When we added this feature it included the param: https://github.com/mattermost/mattermost-mobile/commit/0d0dfb1057536f6d95f5ff0d4a8a181d3b143c34#diff-f643d4e42089485faca9782e5a8dc9d5R469. Then it looks like the next commit to this file removed it: https://github.com/mattermost/mattermost-mobile/commit/1ecb209712844d80dac118f6f5c656223cf6d6e1#diff-f643d4e42089485faca9782e5a8dc9d5.

Yeah it seems that I did not pay that close attention when reviewing the search paging that went in

@enahum This would have been very hard to catch because it changed from a boolean function parameter to a query string parameter.

@mkraft feel free to merge and cherry-pick


Update bundled JDK to 20+36

retest this please

@matriv can you take another look?  I had to remove test case that relied on Thread.suspend() which now throws an UnsupportedOperationException. I don't really see an easy way to replace that call with something else.


⚠ Beamable Event Players (Object) has degraded performance

In 417499f, Beamable Event Players (Object) (https://api.beamable.com/object/event-players/platform/docs) experienced degraded performance:

HTTP code: 503
Response time: 13254 ms

Resolved: Beamable Event Players (Object) performance has improved in 566c6a2 after 9 minutes.


JCenter is shutting down 1st May 2021, can the dependency move to another repository?

Moving to Maven Central is in progress

@ollie72 it doesn't change the fact that we're still working on this for all our open source projects right now, but if it helps reduce your stress, JCenter pushed the shutdown date out a year to Feb 1, 2022:
https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/

Related is that Shaky has a transitive dependency on Falcon that appears not to be using v2.2.0 which is the first version available in Maven Central. https://github.com/jraska/Falcon/issues/52


Wiki link broken

The project's wiki link is 404ing: http://wiki.ops4j.org/display/paxlogging/Pax+Logging as does http://wiki.ops4j.org/display/paxlogging/ and http://wiki.ops4j.org/display/
The index page at the root http://wiki.ops4j.org displays simply the CentOS-WebPanel.com default test page

I've updated links I found (in source code and GitHub project's About).


(feat): read_remote via read_dispatched

so you can see @ivirshup

Closing this because it is on my fork.


ModuleNotFoundError: No module named 'importlib.metadata'`

ModuleNotFoundError
We are using the main version:
- uses: guardsquare/appsweep-action@main

When running it, we get an error (from the Docker container log):
Traceback (most recent call last):
  File "/app/main.py", line 4, in <module>
    import requests
  File "/app/requests/__init__.py", line 43, in <module>
    import urllib3
  File "/app/urllib3/__init__.py", line 18, in <module>
    from .connectionpool import HTTPConnectionPool, HTTPSConnectionPool, connection_from_url
  File "/app/urllib3/connectionpool.py", line [15](https://.../apps/android/actions/runs/81647/job/314752#step:13:16), in <module>
    from ._request_methods import RequestMethods
  File "/app/urllib3/_request_methods.py", line 10, in <module>
    from .response import BaseHTTPResponse
  File "/app/urllib3/response.py", line 48, in <module>
    from .connection import BaseSSLError, HTTPConnection, HTTPException
  File "/app/urllib3/connection.py", line 24, in <module>
    from .http2 import probe as http2_probe
  File "/app/urllib3/http2/__init__.py", line 3, in <module>
    from importlib.metadata import version
ModuleNotFoundError: No module named 'importlib.metadata'

These errors started on 2024-10-01. It worked well, before (like 3 weeks ago).
Details
GitHub
We are using a self-hosted GitHub.
Action details
name: Release the Android app to stores
run-name: ${{ github.actor }} is running  the 🚀 release job for the 🦾 Android app
on:
    release:
      types: [ published ]
    workflow_dispatch:
jobs:
  release-actions:
    runs-on: [ self-hosted ]
    steps:
      - name: Upload to 👮 GuardSquare AppSweep
      - uses: guardsquare/appsweep-action@main
        with:
          appsweep_api_key: ${{ secrets.APPSWEEP_API_KEY }}
          input_file: app/build/outputs/apk/......-release.apk
          commit_hash: ${{ github.sha }}
          tags: ......

Output
Run guardsquare/appsweep-action@main
/usr/bin/docker run --name d058f882591f4bbe4508bcbb3ffba44314aa_e1d909 --label 72d058 --workdir /github/workspace --rm -e "commit_message" -e "tag_name" -e "INPUT_APPSWEEP_API_KEY" -e "INPUT_INPUT_FILE" -e "INPUT_COMMIT_HASH" -e "INPUT_TAGS" -e "INPUT_MAPPING_FILE" -e "INPUT_LIBRARY_FILE" -e "INPUT_URL" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/github-runner-apps-1/_temp/_github_home":"/github/home" -v "/github-runner-apps-1/_temp/_github_workflow":"/github/workflow" -v "/github-runner-apps-1/_temp/_runner_file_commands":"/github/file_commands" -v "/github-runner-apps-1/android/android":"/github/workspace" 72d058:f882591f4bbe4508bcbb3ffba44314aa
Traceback (most recent call last):
  File "/app/main.py", line 4, in <module>
    import requests
  File "/app/requests/__init__.py", line 43, in <module>
    import urllib3
  File "/app/urllib3/__init__.py", line 18, in <module>
    from .connectionpool import HTTPConnectionPool, HTTPSConnectionPool, connection_from_url
  File "/app/urllib3/connectionpool.py", line [15](https://srv-git-01-hh1.alinghi.tipp24.net/apps/android/actions/runs/81647/job/315734#step:13:16), in <module>
    from ._request_methods import RequestMethods
  File "/app/urllib3/_request_methods.py", line 10, in <module>
    from .response import BaseHTTPResponse
  File "/app/urllib3/response.py", line 48, in <module>
    from .connection import BaseSSLError, HTTPConnection, HTTPException
  File "/app/urllib3/connection.py", line 24, in <module>
    from .http2 import probe as http2_probe
  File "/app/urllib3/http2/__init__.py", line 3, in <module>
    from importlib.metadata import version
ModuleNotFoundError: No module named 'importlib.metadata'

Hey @simonox,
a fix for this is incoming shortly: https://github.com/Guardsquare/appsweep-action/pull/17
All the best,
Dennis

Hi @simonox,
We've just released a new version of AppSweep Github action. Could you please give it a try and let us know if everything works as expected?
Best,
Foad

Hey @simonox,
We're glad to hear you're using Guardsquare CLI. I'm writing to close this issue as we believe the reported problem has been addressed. We've thoroughly tested the solution and haven't encountered any further issues.
If you encounter any related problems or have any further questions, please don't hesitate to open a new issue. We're always here to assist you.
Thank you for your valuable feedback and for using AppSweep.
Best,
Foad


Is there a pretrained model ready?

Hi!  Thanks for providing this code.
I was planning to just test this on my own sentence pairs and see how well it works.  Do you happen to have a pretrained model to share as well?  That would be amazing.  Thanks!
Eric

Model weights for model trained on joined quora + coco 200kit enc:600 dec:600.
https://drive.google.com/file/d/1hg5OB5AudlMS5jlH4ycmVjOKhbQjYZCb/view?usp=sharing

Hi!  Thanks for providing that.  I'm trying to just generate a paraphrase on some dataset, like Quora test questions.
When I tried to use this model on the sample.py file, I got the following error.  Any tips on the quickest way to test your pretrained model?  Thanks!

(py36) dhcp-nyc-403:paraphrases-generator ericnguyen$ python sample.py --model-name quora_coco_200kit_600_600 --use-quora True
use mean False
QUORA: train: 134336, test: 14927
ALL: train: 134336, test: 14927
Found 27522(/29559) words with glove vectors
Vocab size : 27522
Traceback (most recent call last):
File "sample.py", line 80, in
paraphraser.load_state_dict(t.load('saved_models/trained_paraphraser_' + args.model_name, map_location='cpu'))
File "/anaconda/envs/py36/lib/python3.6/site-packages/torch/nn/modules/module.py", line 769, in load_state_dict
self.class.name, "\n\t".join(error_msgs)))
RuntimeError: Error(s) in loading state_dict for Paraphraser:
size mismatch for decoder.fc.weight: copying a param with shape torch.Size([25000, 600]) from checkpoint, the shape in current model is torch.Size([20000, 600]).
size mismatch for decoder.fc.bias: copying a param with shape torch.Size([25000]) from checkpoint, the shape in current model is torch.Size([20000]).

Seems to be vocab size mismatch,  you can probably fix it in /utils/batch_loader.py by setting vocab_size=25000 (or 20000).
There is an actual problem to use pretrained model, vocabulary matching is not saved as param and calculated at run time after each restart, and it depends on dataset used. If you use different dataset (or it's subset) you'll get vocab mismatch for the output stage (for the input stage probably too).


Disable Keyboard recording

option to disable keyboard recording altogether (in case someone is playing controller emu, to not get spammed with keyboard stuff on the recording)

Will be fixed in 0.5.0


Initial country selection looks like shit

Hi @Agreon I would like to work on this

It seems to be already resolved somehow, sorry 🤷


feat: Add facility to smithy-swift for testing generated Swift code

Describe the feature
There are Smithy-specific protocol tests and features which need to be code-generated and tested.  Currently all of the logic & configuration for these sorts of tests resides in this project (aws-sdk-swift).
As an example, Smithy waiters is a non-AWS specific Smithy feature.  Its implementation is 100% in the smithy-swift repo.  But tests for certain components, such as matchers generated from JMESPath expressions, have to be located in aws-sdk-swift because there is no current way to code-generate then test Swift code in smithy-swift.
Providing this test facility in smithy-swift would reduce the amount of coupling between the SDK and smithy-swift, and simplify development since only one project will be involved in building and testing a Smithy feature.  Having a feature in one project and its tests in another is a form of circular dependency that predictably complicates development.   It will also reduce complexity because each project will be focused on supporting only its own features.
Use Case
Build a Smithy feature which generates Swift code containing nontrivial logic.
Now you need facilities so that you can easily add high-quality tests that actually exercise your generated code.
Proposed Solution
Add a code generation Gradle task and a Swift test target that can be used to code-generate Swift, then to build & test it, respectively.
Move all tests that are currently in aws-sdk-swift but not specific to the AWS SDK for Swift over to the new facilities in the Smithy project.
Other Information
No response
Acknowledgements

[ ] I may be able to implement this feature request
[ ] This feature might incur a breaking change

We already have WeatherSDK which builds entirely within smithy-swift.  We should be able to follow the same pattern to set up our waiters tests and anything else that we want to generate then unit-test.

Moved to 2150