text:
Support use of external/system Catch2 installation

I am building cudnn-frontend v1.1.0 in a restricted environment that is unable to use the FetchContent mechanism. I already have an existing build of Catch2 that should be consumed in its stead.
Elaborating the upper part of samples/CMakeLists.txt as follows will make this possible:
find_package(Catch2 QUIET)

if(NOT Catch2_FOUND)
    Include(FetchContent)

    # Fetch and build catch2
    FetchContent_Declare(
      Catch2
      GIT_REPOSITORY https://github.com/catchorg/Catch2.git
      GIT_TAG        v3.3.2
    )
    FetchContent_MakeAvailable(Catch2)
endif()

(I would submit this as a PR, but I see that PRs are not being accepted.)
I am then able to specify -DCatch2_ROOT=/path/to/catch2-install to CMake, and the samples build makes use of the existing library without issue.

Hi @iskunk ,
Thanks for reporting this.
Sure, we can add this to our upcoming release.  Thanks for the contribution.
Aside, we are also planning to open our FE repository to accept smaller PR such as these in near future.
Will keep this issue open till the release is made.
Thanks,
Anerudhan obo cudnn team.

authors: Anerudhan iskunk

repo: NVIDIA/cudnn-frontend


text:
Getting Metric not enabled on DCP metric

Hello,
I installed the help chart for the DCGM metrics in kubernetes, and I wanted to use the DCP metrics since we have MIG running on several A100s in our cluster.
However, we received the following error:
time="2023-02-21T17:32:09Z" level=warning msg="Skipping line 5 ('DCGM_FI_PROF_GR_ENGINE_ACTIVE'): metric not enabled" time="2023-02-21T17:32:09Z" level=warning msg="Skipping line 6 ('DCGM_FI_PROF_PIPE_TENSOR_ACTIVE'): metric not enabled"
from the dcgm pod log.
Any help in solving this would be greatly appreciated!  My "default-counters.csv" file that I use is shown below:
# FormatTEST
# If line starts with a '#' it is considered a comment
# DCGM FIELD, Prometheus metric type, help message

# Clocks
#DCGM_FI_DEV_SM_CLOCK,  gauge, SM clock frequency (in MHz).
#DCGM_FI_DEV_MEM_CLOCK, gauge, Memory clock frequency (in MHz).

# Temperature
#DCGM_FI_DEV_MEMORY_TEMP, gauge, Memory temperature (in C).
#DCGM_FI_DEV_GPU_TEMP,    gauge, GPU temperature (in C).

# Power
#DCGM_FI_DEV_POWER_USAGE,              gauge, Power draw (in W).
#DCGM_FI_DEV_TOTAL_ENERGY_CONSUMPTION, counter, Total energy consumption since boot (in mJ).

# PCIE
#DCGM_FI_DEV_PCIE_TX_THROUGHPUT,  counter, Total number of bytes transmitted through PCIe TX (in KB) via NVML.
#DCGM_FI_DEV_PCIE_RX_THROUGHPUT,  counter, Total number of bytes received through PCIe RX (in KB) via NVML.
#DCGM_FI_DEV_PCIE_REPLAY_COUNTER, counter, Total number of PCIe retries.

# Utilization (the sample period varies depending on the product)
#DCGM_FI_DEV_GPU_UTIL,      gauge, GPU utilization (in %).
#DCGM_FI_DEV_MEM_COPY_UTIL, gauge, Memory utilization (in %).
#DCGM_FI_DEV_ENC_UTIL,      gauge, Encoder utilization (in %).
#DCGM_FI_DEV_DEC_UTIL ,     gauge, Decoder utilization (in %).

# Errors and violations
# DCGM_FI_DEV_XID_ERRORS,            gauge,   Value of the last XID error encountered.
# DCGM_FI_DEV_POWER_VIOLATION,       counter, Throttling duration due to power constraints (in us).
# DCGM_FI_DEV_THERMAL_VIOLATION,     counter, Throttling duration due to thermal constraints (in us).
# DCGM_FI_DEV_SYNC_BOOST_VIOLATION,  counter, Throttling duration due to sync-boost constraints (in us).
# DCGM_FI_DEV_BOARD_LIMIT_VIOLATION, counter, Throttling duration due to board limit constraints (in us).
# DCGM_FI_DEV_LOW_UTIL_VIOLATION,    counter, Throttling duration due to low utilization (in us).
# DCGM_FI_DEV_RELIABILITY_VIOLATION, counter, Throttling duration due to reliability constraints (in us).

# Memory usage
DCGM_FI_DEV_FB_FREE, gauge, Framebuffer memory free (in MiB).
DCGM_FI_DEV_FB_USED, gauge, Framebuffer memory used (in MiB).

# ECC
# DCGM_FI_DEV_ECC_SBE_VOL_TOTAL, counter, Total number of single-bit volatile ECC errors.
# DCGM_FI_DEV_ECC_DBE_VOL_TOTAL, counter, Total number of double-bit volatile ECC errors.
# DCGM_FI_DEV_ECC_SBE_AGG_TOTAL, counter, Total number of single-bit persistent ECC errors.
# DCGM_FI_DEV_ECC_DBE_AGG_TOTAL, counter, Total number of double-bit persistent ECC errors.

# Retired pages
# DCGM_FI_DEV_RETIRED_SBE,     counter, Total number of retired pages due to single-bit errors.
# DCGM_FI_DEV_RETIRED_DBE,     counter, Total number of retired pages due to double-bit errors.
# DCGM_FI_DEV_RETIRED_PENDING, counter, Total number of pages pending retirement.

# NVLink
# DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_COUNT_TOTAL, counter, Total number of NVLink flow-control CRC errors.
# DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_COUNT_TOTAL, counter, Total number of NVLink data CRC errors.
# DCGM_FI_DEV_NVLINK_REPLAY_ERROR_COUNT_TOTAL,   counter, Total number of NVLink retries.
# DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_COUNT_TOTAL, counter, Total number of NVLink recovery errors.
# DCGM_FI_DEV_NVLINK_BANDWIDTH_TOTAL,            counter, Total number of NVLink bandwidth counters for all lanes

# VGPU License status
#DCGM_FI_DEV_VGPU_LICENSE_STATUS, gauge, vGPU License status

# Remapped rows
#DCGM_FI_DEV_UNCORRECTABLE_REMAPPED_ROWS, counter, Number of remapped rows for uncorrectable errors
#DCGM_FI_DEV_CORRECTABLE_REMAPPED_ROWS,   counter, Number of remapped rows for correctable errors
#DCGM_FI_DEV_ROW_REMAP_FAILURE,           gauge,   Whether remapping of rows has failed

# Static configuration information. These appear as labels on the other metrics
DCGM_FI_DRIVER_VERSION,        label, Driver Version
# DCGM_FI_NVML_VERSION,          label, NVML Version
# DCGM_FI_DEV_BRAND,             label, Device Brand
# DCGM_FI_DEV_SERIAL,            label, Device Serial Number
# DCGM_FI_DEV_OEM_INFOROM_VER,   label, OEM inforom version
# DCGM_FI_DEV_ECC_INFOROM_VER,   label, ECC inforom version
# DCGM_FI_DEV_POWER_INFOROM_VER, label, Power management object inforom version
# DCGM_FI_DEV_INFOROM_IMAGE_VER, label, Inforom image version
# DCGM_FI_DEV_VBIOS_VERSION,     label, VBIOS version of the device

DCGM_FI_PROF_GR_ENGINE_ACTIVE,   gauge, Ratio of time the graphics engine is active (in %).
DCGM_FI_PROF_PIPE_TENSOR_ACTIVE, gauge, Ratio of cycles the tensor (HMMA) pipe is active (in %).

@avickars,
Could you provide more details about your environment?

Is the dcgm-exporter run in a container?
What are the command-line arguments?
Is it possible to run a standalone nv-hostengine with debug logs and configure the dcgm-exporter to connect to it?

source: gharchive/issue

authors: avickars nikkon-dev

repo: NVIDIA/dcgm-exporter

license_type: permissive

license_source: github-api


text:
Successfully built but fail when testing

Hi,
I am able to build and install the package using deb package without any errors. However when I run testing, it failed with sanity check (please see bellow). To check if the CUDA Toolkit is functional, I run some samples test in CUDA package and they work perfectly. Are there any suggests for my case? Appreciate a lot for your help!
Below is output when I have the tests run after installing the package:
quanmai@rhea:~/tools/gdrcopy$ sanity
Running suite(s): Sanity
Assertion "(gdr_pin_buffer(g, d_ptr, size, 0, 0, &mh)) == (0)" failed at sanity.cpp:187
CUDA error: CUDA_ERROR_INVALID_DEVICE
Assertion "CUDA_SUCCESS == result" failed at sanity.cpp:214
Assertion "(gdr_pin_buffer(g, d_A, A_size, 0, 0, &A_mh)) == (0)" failed at sanity.cpp:279
Assertion "(gdr_pin_buffer(pt->g, pt->d_buf, pt->size, 0, 0, &pt->mh)) == (0)" failed at sanity.cpp:1512
Assertion "(gdr_pin_buffer(g, d_ptr, size, 0, 0, &mh)) == (0)" failed at sanity.cpp:362
Assertion "(gdr_pin_buffer(g, d_ptr, size, 0, 0, &mh)) == (0)" failed at sanity.cpp:473
Assertion "(gdr_pin_buffer(g, d_ptr, size, 0, 0, &mh)) == (0)" failed at sanity.cpp:548
Assertion "(gdr_pin_buffer(g, d_ptr, size, 0, 0, &mh[i])) == (0)" failed at sanity.cpp:632
Assertion "(gdr_pin_buffer(g, d_ptr, size, 0, 0, &mh)) == (0)" failed at sanity.cpp:772
Assertion "(read(read_fd, &cont, sizeof(int))) == (sizeof(int))" failed at sanity.cpp:733
Assertion "(gdr_pin_buffer(g, d_ptr, size, 0, 0, &mh)) == (0)" failed at sanity.cpp:880
Assertion "(gdr_pin_buffer(g, d_ptr, size, 0, 0, &mh)) == (0)" failed at sanity.cpp:1019
Assertion "(gdr_pin_buffer(g, d_ptr, size, 0, 0, &mh)) == (0)" failed at sanity.cpp:1131
Assertion "(gdr_pin_buffer(g, d_ptr, size, 0, 0, &mh)) == (0)" failed at sanity.cpp:1131
Assertion "(gdr_pin_buffer(g, d_ptr, size, 0, 0, &mh)) == (0)" failed at sanity.cpp:1379
CUDA error: CUDA_ERROR_INVALID_DEVICE
Assertion "CUDA_SUCCESS == result" failed at sanity.cpp:1479
Assertion "(read(read_fd, &d_A, sizeof(CUdeviceptr))) == (sizeof(CUdeviceptr))" failed at sanity.cpp:1458
6%: Checks: 15, Failures: 14, Errors: 0
sanity.cpp:196:F:Basic:basic:0: Failed
sanity.cpp:230:F:Basic:basic_with_tokens:0: Failed
sanity.cpp:330:F:Basic:basic_unaligned_mapping:0: Failed
sanity.cpp:1604:F:Basic:basic_child_thread_pins_buffer:0: Failed
sanity.cpp:430:F:Data Validation:data_validation:0: Failed
sanity.cpp:505:F:Invalidation:invalidation_access_after_gdr_close:0: Failed
sanity.cpp:584:F:Invalidation:invalidation_access_after_cumemfree:0: Failed
sanity.cpp:672:F:Invalidation:invalidation_two_mappings:0: Failed
sanity.cpp:833:F:Invalidation:invalidation_fork_access_after_cumemfree:0: Failed
sanity.cpp:978:F:Invalidation:invalidation_fork_after_gdr_map:0: Failed
sanity.cpp:1050:F:Invalidation:invalidation_fork_child_gdr_map_parent:0: Failed
sanity.cpp:1178:F:Invalidation:invalidation_fork_map_and_free:0: Failed
sanity.cpp:1402:F:Invalidation:invalidation_unix_sock_shared_fd_gdr_map:0: Failed
sanity.cpp:1495:F:Invalidation:invalidation_fork_child_gdr_pin_parent_with_tokens:0: Failed
quanmai@rhea:~/tools/gdrcopy$ copybw
GPU id:0; name: TITAN X (Pascal); Bus id: 0000:17:00
GPU id:1; name: Quadro P400; Bus id: 0000:b3:00
selecting device 0
testing size: 131072
rounded size: 131072
device ptr: 7fa892400000
closing gdrdrv
quanmai@rhea:~/tools/gdrcopy$ copylat
GPU id:0; name: TITAN X (Pascal); Bus id: 0000:17:00
GPU id:1; name: Quadro P400; Bus id: 0000:b3:00
selecting device 0
device ptr: 0x7f440e400000
allocated size: 16777216
closing gdrdrv

Hi @quan-maithanh,
The GPU you used does not support GPUDirect RDMA. Please see https://github.com/NVIDIA/gdrcopy#requirements.

Hi @quan-maithanh,
The GPU you used does not support GPUDirect RDMA. Please see https://github.com/NVIDIA/gdrcopy#requirements.

Hi @pakmarkthub
Thanks for your reply, appreciate it a lot!
I did think that my TITAN X GPU has GPUDirect RDMA support as  its architecture (Pascal) is in the support list?

Hi @pakmarkthub
Thanks for your reply, appreciate it a lot!
I did think that my TITAN X GPU has GPUDirect RDMA support as  its architecture (Pascal) is in the support list?

You need to run it with a Quadro or Tesla class GPU. Can you try running it with your Quadro P400? You can set export CUDA_VISIBLE_DEVICES=1 and then rerun the test.

You need to run it with a Quadro or Tesla class GPU. Can you try running it with your Quadro P400? You can set export CUDA_VISIBLE_DEVICES=1 and then rerun the test.

Yes, the test works perfectly with the Quadro one, but with the GTX it is unfortunately not supported yet. Thanks for your help! I am going to close this topic in a couple of hours.

Yes, the test works perfectly with the Quadro one, but with the GTX it is unfortunately not supported yet. Thanks for your help! I am going to close this topic in a couple of hours.

authors: pakmarkthub quan-maithanh

repo: NVIDIA/gdrcopy

license: mit

license_source: bigquery


text:
Add simlayerkv

Add SimlayerKV as proposed in this issue #19
Regarding the compression rate, I wanted to highlight how the original implementation chose thresholds dynamically based on the model type.
here is how the original implementation  handled it
 if 'llama3' in out_path:
            threshold = 0.9
        elif 'llama2' in out_path:
            threshold = 0.65
        elif 'mistral' in out_path:
            threshold = 0.8
        elif 'qwen' in out_path:
            threshold = 0.85

I’ve also added a notebook demonstrating how to generate outputs using SimLayerKV. All tests have passed successfully.
Let me know if there’s anything else you’d like refined or if additional details are needed!

Hi @dame-cell, thanks a lot for your work ! Could you please merge your branch with main ? I will read the paper and review your work. I already added a few minor comments.

After quickly reading the paper, I think your current implementation does not implement SimLayerKV. Here is my understanding of the paper.
SimLayerKV dynamically identify what it calls "lazy layers". For lazy layers, it prunes the KV cache using the StreamingLLM strategy, i.e. keep only first and last tokens. For non-lazy layers, the full KV cache it kept.
To identify lazy layers, a procedure similar to SnapKV is used: compute the average attention weights for the last 32 tokens. Then average these attention weights on the first tokens and the 1024 recent token. The layer is lazy if this average exceeds a threshold, which is model dependent.
Your current implementation is the following:
        scores = torch.zeros(bsz, num_heads, seq_len, device=device, dtype=dtype)

        if is_lazy_layer:
            # if layer is lazy , only keep the initial and recent tokens and the rest is set to 0
            scores[:, :, : self.initial_tokens] = 1.0
            scores[:, :, -self.recent_tokens :] = 1.0
        else:
            scores[:, :, :] = 1.0

        return scores

What will happen with this:

If the layer is not lazy, scores are 1. Thus for a given compression ratio, the top-k values (torch.topk in the forward hook of the BasePress) will be somehow random (torch.ones(10).topk(3) returns 8,  6, 7 for instance)
if the layer is lazy, then depending on the lenght of the prompt initial and recent tokens will be kept indeed, but then random tokens will be pruned

This method would require to use a custom Cache (maybe similar to HybridCache in Gemma ?). The compression ratio is also ill-defined for this press but it's an issue with kvpress currently that maybe focuses to much on this (we are thinking about a refacto, see #21).
SimLayerKV also looks similar to the DuoAttention paper which is doing this at the head level (would required specific attention kernel as proposed in #7).

Hi @dame-cell, prior to the refacto I mentioned (see #21), I'd like to investigate the best way to integrate SimLayerKVPress. Let me investigate it based on your contributions. I might open another PR if the code is very different.

@dame-cell I will close this PR as I believe the code I shared in #28 is closer to what is proposed in the original paper. Please tell me if you disagree

source: gharchive/pull-request

authors: SimJeg dame-cell

repo: NVIDIA/kvpress


text:
[submodule-sync] bot-submodule-sync-branch-22.12 to branch-22.12 [skip ci] [bot]

submodule-sync to create a PR keeping thirdparty/cudf up-to-date.
HEAD commit SHA: 25ad9f4926ea793b94ea17f91a2e602b85ec1911, cudf commit SHA: https://github.com/rapidsai/cudf/commit/06031670a3bf3a6a715721cb208ea6ea619cab04
This PR will be auto-merged if test passed. If failed, it will remain open until test pass or manually fix.

HEAD commit SHA: 25ad9f4926ea793b94ea17f91a2e602b85ec1911, CUDF commit SHA: https://github.com/rapidsai/cudf/commit/06031670a3bf3a6a715721cb208ea6ea619cab04
Test passed: True

SUCCESS - auto-merge

repo: NVIDIA/spark-rapids-jni


text:
Use ErrorClass to Throw AnalysisException  [databricks]

In Spark 4.0.0 the constructor of AnalysisException that takes a String parameter has been protected. To incorporate this change, we are introducing a shim class that will throw the respective errorClass
contributes to #9259

@jlowe I think I have addressed all your concerns

I have addressed all your concerns I think PTAL.
The only thing that you may have questions about is that I have introduced the RapidsAnalysisException which will be thrown even in older versions of Spark instead of Raw AnalysisException

build

I have addressed your comments I think.

Renamed the method in TrampolineUtil.throwAnalysisException() to TrampolineUtil.throwRapidsAnalysisException
Throwing the ErrorMsg.PARTITION_DYN_STA_ORDER.getMsg in dynamicPartitionParentError instead of the errorClass
Removed the RapidsErrorUtilsFor340PlusShims

build

repo: NVIDIA/spark-rapids


text:
Move easy unshimmed classes to sql-plugin-api

Contributes to #11208

build


text:
Implement optimized AQE support so that exchanges run on GPU where possible

This PR implements optimized AQE support for Spark 3.0.1 and 3.1.0, where shuffle and broadcast exchanges stay on the GPU where supported.

build

build

build

This PR also closes https://github.com/NVIDIA/spark-rapids/issues/492

build

@tgravescs I think I've address all feedback so far. Please take another look when you can.

Thanks @abellina I think I addressed all your feedback now.

build

Most recent commit runs Python TPCH tests with AQE on and off and this closes Closes https://github.com/NVIDIA/spark-rapids/issues/275

build

build

build

I’m not seeing anything big stand out, just a couple of nits above. Thanks @andygrove

build

build

build

@tgravescs @abellina I believe all issues are addressed. I have also enabled integration tests for TPC-H Q2 with AQE now that the GpuFilter fix has been merged.

build

build

authors: abellina andygrove


text:
After steps from README.md for getting audio: ModuleNotFoundError: No module named 'librosa'

$ python3 inference.py -f <(ls mel_spectrograms/*.pt) -w waveglow_old.pt -o . --is_fp16 -s 0.6
Traceback (most recent call last):
  File "inference.py", line 30, in <module>
    from mel2samp import files_to_list, MAX_WAV_VALUE
  File "/home/vitaly_zdanevich/waveglow/mel2samp.py", line 38, in <module>
    from tacotron2.layers import TacotronSTFT
  File "/home/vitaly_zdanevich/waveglow/tacotron2/layers.py", line 2, in <module>
    from librosa.filters import mel as librosa_mel_fn
ModuleNotFoundError: No module named 'librosa'

I tried to install it with the same result:
$ pip3 install librosa
Requirement already satisfied: librosa in /home/vitaly_zdanevich/.local/lib/python3.5/site-packages
Requirement already satisfied: decorator>=3.0.0 in /usr/local/lib/python3.5/dist-packages (from librosa)
Requirement already satisfied: numpy>=1.8.0 in /home/vitaly_zdanevich/.local/lib/python3.5/site-packages (from librosa)
Requirement already satisfied: joblib>=0.7.0 in /usr/local/lib/python3.5/dist-packages (from librosa)
Requirement already satisfied: scikit-learn!=0.19.0,>=0.14.0 in /usr/local/lib/python3.5/site-packages (from librosa)
Requirement already satisfied: six>=1.3 in /usr/local/lib/python3.5/dist-packages (from librosa)
Requirement already satisfied: resampy>=0.2.0 in /home/vitaly_zdanevich/.local/lib/python3.5/site-packages (from librosa)
Requirement already satisfied: audioread>=2.0.0 in /home/vitaly_zdanevich/.local/lib/python3.5/site-packages (from librosa)
Requirement already satisfied: scipy>=0.14.0 in /home/vitaly_zdanevich/.local/lib/python3.5/site-packages (from librosa)
Requirement already satisfied: intel-scipy in /usr/local/lib/python3.5/dist-packages (from scikit-learn!=0.19.0,>=0.14.0->librosa)
Requirement already satisfied: pydaal in /usr/local/lib/python3.5/dist-packages (from scikit-learn!=0.19.0,>=0.14.0->librosa)
Requirement already satisfied: numba>=0.32 in /home/vitaly_zdanevich/.local/lib/python3.5/site-packages (from resampy>=0.2.0->librosa)
Requirement already satisfied: intel-numpy in /usr/local/lib/python3.5/dist-packages (from intel-scipy->scikit-learn!=0.19.0,>=0.14.0->librosa)
Requirement already satisfied: tbb4py==2019.* in /usr/local/lib/python3.5/dist-packages (from pydaal->scikit-learn!=0.19.0,>=0.14.0->librosa)
Requirement already satisfied: daal==2019.* in /usr/local/lib/python3.5/dist-packages (from pydaal->scikit-learn!=0.19.0,>=0.14.0->librosa)
Requirement already satisfied: llvmlite>=0.29.0 in /home/vitaly_zdanevich/.local/lib/python3.5/site-packages (from numba>=0.32->resampy>=0.2.0->librosa)
Requirement already satisfied: mkl-fft in /usr/local/lib/python3.5/dist-packages (from intel-numpy->intel-scipy->scikit-learn!=0.19.0,>=0.14.0->librosa)
Requirement already satisfied: mkl-random in /usr/local/lib/python3.5/dist-packages (from intel-numpy->intel-scipy->scikit-learn!=0.19.0,>=0.14.0->librosa)
Requirement already satisfied: mkl in /usr/local/lib/python3.5/dist-packages (from intel-numpy->intel-scipy->scikit-learn!=0.19.0,>=0.14.0->librosa)
Requirement already satisfied: icc-rt in /usr/local/lib/python3.5/dist-packages (from intel-numpy->intel-scipy->scikit-learn!=0.19.0,>=0.14.0->librosa)
Requirement already satisfied: tbb==2019.* in /usr/local/lib/python3.5/dist-packages (from tbb4py==2019.*->pydaal->scikit-learn!=0.19.0,>=0.14.0->librosa)
Requirement already satisfied: intel-openmp in /usr/local/lib/python3.5/dist-packages (from mkl->intel-numpy->intel-scipy->scikit-learn!=0.19.0,>=0.14.0->librosa)

This is probably related to your setup, not the repo.

authors: rafaelvalle vitaly-zdanevich

repo: NVIDIA/waveglow


text:
Initial faq

Add a faq.html page for frequently asked questions. Just 2 initial questions in it so far, but more could be added. It's not yet linked from anywhere, but could easily be linked from the experiment page.

I'm good with the current state of this PR, and I'm moving it to ready for review. We could merge it whenever.

repo: NVlabs/FPSLatencyDemo

license: MIT


text:
identify client based on census_variable

currently we assume that census_variable are from the same source (main table, profile, subject, decennial & etc), however it's not true.
in the download function, we would need to

identify the clients needed to request all variables
make requests using each clients
merge the dataframes into one unified output

refactor target:
def download(self, geoquery: list, client, v: Variable)

or
def download_variable(self, geoquery: list, client, v: Variable)

self.client_options = {
            "D": self.c.acs5dp,
            "S": self.c.acs5st,
            "P": self.c.sf1,
            "B": self.c.acs5,
        }

def source_dict(census_vars):
         sources = {'D':[],'S':[],'P':[],'B':[],}
         for v in census_vars:
               result[v[0]].append(v)
         return sources

def download(self, geoquery: list, v: Variable) -> pd.DataFrame:
        """
        this function works in conjunction with download_variable,
        and is only created to facilitate multiprocessing
        """
        # Create Variables
        E_variables, M_variables = self.create_census_variables(v)

       sources = source_dict(E_variables + M_variables)
       dfs = []

       for source, var_list in sources.items():
              client = self.client_options.get(source, self.c.acs5)
              dfs.append(
                    pd.DataFrame(
                           client.get(
                                 ("NAME", ",".join(var_list)), geoquery, year=self.year
                            )
                     )
              )

        df = pd.concat(dfs)

        # If E is an outlier, then set M as Nan
        for i in v.census_variable:
            df.loc[df[f"{i}E"].isin(self.outliers), f"{i}M"] = np.nan

        # Replace all outliers as Nan
        df = df.replace(self.outliers, np.nan)
        return df

authors: SPTKL mgraber

repo: NYCPlanning/db-factfinder


text:
Release v0.25.11

Updates

Updates the Logo component to include new variants for BPL, Clever, LPA, MLN, QPL, Schomburg, SimplyE and Treasures.
Updates font size to "12px" and top margin to "4px" for HelperErrorText component.
Updates font size to "14px" for TextInput component.
Adds an aria-label attribute to the Notification component to use with its aside HTML landmark element. Added an "Accessibility" section in the Notification Storybook page to note that this component should not be used within a header or footer HTML landmark element.
Updates the Notification component to handle link color inside the content area, better styling for centering and the dismissible variation, and updated background color for the "Announcement" and "Warning" types.
Updates a log message in the Icon component to be more descriptive.
Updates the mobile styles for the image in the StructuredContent component.
Updates the prop type for the "Definition" List type so DOM elements can be passed in the definition.

Fixes

Updates the bottom margin of the Select in the SearchBar so that the helper text has standard gap between the main form components and itself.
Updates how TabList and TabPanels are returned in the Tabs component so no false log messages are consoled.
Updates List component styling for inline.

Tugboat has finished building the preview for this pull request!
Link:

https://pr886-ypmaxps1pywdkmfri2jfxtybon2eikvj.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/6221058701c6d20b85f095eb

repo: NYPL/nypl-design-system


text:
DSD-949 - Heading add noSpace prop

Fixes JIRA ticket DSD-949
This PR does the following:

add a noSpace prop to the Heading component where if set, it sets margin-bottom to 0

How has this been tested?

Accessibility concerns or updates

Checklist:

[ ] I have updated the Storybook documentation accordingly.
[ ] I have added relevant accessibility documentation for this pull request.
[ ] All new and existing tests passed.

Front End Review:

[ ] View the example in Storybook

The usage of passing noSpace to the useStyleConfig function is the right approach. As it currently stands, passing this variable to that function does nothing because it's not set up in heading.ts.
You'll find that in heading.ts, the function is declared as
const Heading = {
  baseStyle: {
    // This is to help target custom anchor elements
    // passed as children to the Heading component.
    a: baseLinkStyles,
  },

This needs to be updated as
const Heading = {
  baseStyle: ({ noSpacing }) =>{
    // This is to help target custom anchor elements
    // passed as children to the Heading component.
    a: baseLinkStyles,
  },

and then you can add the mb conditional logic. This is so that we can keep the logic for styles in the them file rather than in the component file.
One minor nitpick is to use marginBottom instead of mb because not everyone might be use to the Chakra-style shorthand. I prefer the clarity over the brevity.

What seemed to work was removing "marginBottom" from the "margins" object on the top in order for it to be recognized in baseStyle function

This is good to go but the merge conflicts should be fixed.

Tugboat has finished building the preview for this pull request!
Link:

https://pr988-o1drzhobwiiuqaft8ukh0y6ekdlszrwi.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/62749b502e91387b1710f523

Tugboat has finished building the preview for this pull request!
Link:

https://pr988-o1drzhobwiiuqaft8ukh0y6ekdlszrwi.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/62749b502e91387b1710f523

Tugboat has finished building the preview for this pull request!
Link:

https://pr988-o1drzhobwiiuqaft8ukh0y6ekdlszrwi.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/62749b502e91387b1710f523

authors: EdwinGuzman knezmilos


text:
Enhance /deaths, /levels and /timeline timeout by caching call to get member

Bot searches all entries to get first 100/200 visible entries for the user that executed the command.
Every entry would then execute a call into get_member, and this would take some time, which in turn could make the bot timeout while waiting.
By introducing the cache, the same members will not be searched repeatedly and the performance is increased a lot.

PR modified to also add caching to /levels and /timeline, which suffered from the same bottleneck.

Just wanted to add that, other than those minor details, this is a very good solution.

Perfect, thanks!

repo: NabDev/NabBot


text:
Font size should probably scale with UI Scale

It might not make sense to scale the font 1:1 with scale as 300% scale would be a massive size 42 but perhaps at 50-75% of scale? The text is comically small at scales >200% and comically large for scales <80% that it completely obscures the image/icon behind the text.
I believe Alt1 requires a whole number so maybe something like replacing the hardcoded 14 with Math.floor(14 * (scaleFactor * .6))

75% of scaleFactor seems like an appropriate amount across all ranges  using ceil() instead of floor() particularly so that the font  is 1px larger for scale ranging between 50-100% where 1px is a lot more drastic of a difference than at 100%+ scale where 1px difference isn't as noticeable.
Math.ceil(14 * (gaugeData.scaleFactor * 0.75))

repo: NadyaNayme/job-gauges


text:
🛑 Damien is down

In de13eb6, Damien (https://damien-doussaud.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Damien is back up in b93e487 after 8 minutes.

repo: Namide/upptime


text:
[bug] Breaks server discovery

Started to get reports that people can't reach my Jellyfin instance and after some investigating it looks like this server causes the web client to lose track of where the server is.
When users go to the domain for the instance they are greeted with
No servers have been found using the automatic server discovery

[Add server]

Users can click the button and type the same base URL as they're visiting in to access the server again but this isn't intuitive or intended behavior. After digging around in my Nginx config and getting nowhere I tried disabling the last plugin I installed (this one) and everything instantly went back to normal.

Hey, thanks for reporting this issue.
Could you tell me on which clients this error appeared on? (Firefox, Chrome, Windows Client, ...)

I've been getting this as well, it was happening to me on Firefox but I didn't test other browsers

Actually I'm not sure if this is an issue with 10.9.10 or with this plugin, I found the same issue in the main Jellyfin repo here: https://github.com/jellyfin/jellyfin/issues/12523

Actually I'm not sure if this is an issue with 10.9.10 or with this plugin, I found the same issue in the main Jellyfin repo here: jellyfin/jellyfin#12523

I was the one who opened jellyfin/jellyfin#12523, and can confirm the issue was caused by the plugin, not Jellyfin 10.9.10 itself. Would love to see this resolved however, as I quite like the plugin!
On a somewhat unrelated note - are there any plans to integrate the plugin into Jellyfin itself? As the functionality you provide is great :)

@Namo2 I encountered this issue on all browsers I tested (Firefox & Edge on both Windows and macOS, Safari & Chrome on macOS). There is some more information including browser console logs provided by another user in the issue mentioned above

That this error occurs on 10.9.10 is great information. I will try to fix it this weekend.
Since the JMP version is not needed anymore I canceled my plans to integrate it to jellyfin but who knows what the future will bring. The possibility is still there of course but my focus will be on the bugs which are currently still open

Since the JMP version is not needed anymore I canceled my plans to integrate it to jellyfin but who knows what the future will bring. The possibility is still there of course but my focus will be on the bugs which are currently still open

Jellyfin Media Player (desktop app?) I'd love to see it for jellyfin-web anyways - I'm expecting some of the features of the web client to be implemented in the native apps too (e.g. trickplay preview, skipping segments in the future). Sorry for the thread unrelated to this issue - thanks for giving us this plugin, in any case! <3

Since the JMP version is not needed anymore I canceled my plans to integrate it to jellyfin but who knows what the future will bring. The possibility is still there of course but my focus will be on the bugs which are currently still open

Jellyfin Media Player (desktop app?) I'd love to see it for jellyfin-web anyways - I'm expecting some of the features of the web client to be implemented in the native apps too (e.g. trickplay preview, skipping segments in the future). Sorry for the thread unrelated to this issue - thanks for giving us this plugin, in any case! <3

Hey the issue should be fixed now. Feel free to try it out and tell me if it works.
Btw fyi, the trickplay preview is in the nativ desktop client


text:
Error while trying to download from bookmarked members (/bookmark_new_illust.php)

Prerequisites

[X] Did you read FAQ section?
[X] Did you test with the latest releases or commit ?

Description
When I try to download new illusts from bookmarked members (option 8) I get the following output:
Processing New Illust from bookmark
Page #1
Source URL: https://www.pixiv.net/bookmark_new_illust.php?p=1
Error at process_new_illust_from_bookmark(): (<class 'AttributeError'>, AttributeError("'NoneType' object has no attribute 'findAll'"), <traceback object at 0x1D168800>)
Traceback (most recent call last):
  File "PixivUtil2.py", line 1604, in main
    np_is_valid, op_is_valid, selection = main_loop(ewd, op_is_valid, selection, np_is_valid, args)
  File "PixivUtil2.py", line 1320, in main_loop
    menu_download_new_illust_from_bookmark(op_is_valid, args)
  File "PixivUtil2.py", line 921, in menu_download_new_illust_from_bookmark
    process_new_illust_from_bookmark(page_num, end_page_num, r18)
  File "PixivUtil2.py", line 419, in process_new_illust_from_bookmark
    pb = PixivNewIllustBookmark(parsed_page)
  File "l:\PixivUtil2Python\PixivBookmark.py", line 102, in __init__
    self.__ParseNewIllustBookmark(page)
  File "l:\PixivUtil2Python\PixivBookmark.py", line 120, in __ParseNewIllustBookmark
    result = page.find(attrs={'class': '_image-items autopagerize_page_element'}).findAll('a')
AttributeError: 'NoneType' object has no attribute 'findAll'
press enter to exit.

Downloading by member_id and image_id seem to be working fine however.

can you upload the html page from the given url in the logging? it should try to find js-mount-point-latest-following in script tag.

Strangely, after changing my password & updating the cookie string back to the old cookie format used by pixiv, everything started working normally again.

authors: Nandaka jacobpewit


text:
[Tasks 1540, 1541] Add Snapshots and basic rendering tests

Add basic tests, snapshots for noFeedbackBoardsView, editableText, and actionItemDisplay components
Add test:watch command to allow faster test validation
Add initial testing documentation to CONTRIBUTING.MD`

@msa2984, Have no idea why, but the files I changed aren't recognizing the "mocks" file change, which is why this PR created today, instead of yesterday, so I added them directly to file. Wondering if you'd have better luck diagnosing/if you even see the issue when referencing the mocks.

➕ ➕ ➕ for updating the CONTRIBUTING doc to add testing info!
Some notes for posterity before I merge this into the bigger PR:

I swapped your tests over to Enzyme, this way we can remove the React-Test-Renderer dependency and all tests use the same framework.
I re-generated the snapshots. It seems like the snapshots using Enzyme vs React-Test-Renderer are slightly different, however from comparing them they are both correct, just a slightly different way of rendering.
I moved the shared mock calls into a setupTests.tsx file, this seems to be a much cleaner way of initializing the SDK + API mocks which are used by all of the more complex components.
I added a reference to enzyme-to-json, as this seems like the recommended serializer for snapshot testing with enzyme.

@msa2984, Have no idea why, but the files I changed aren't recognizing the "mocks" file change, which is why this PR created today, instead of yesterday, so I added them directly to file. Wondering if you'd have better luck diagnosing/if you even see the issue when referencing the mocks.

I'm wondering if you were seeing an issue similar to what I was seeing - occasionally when I would add a new mock to that folder and reference it in my test, I would get various "Could not reference X of undefined" errors. Usually restarting VS Code would resolve the issue though, so I always figured that it was just a weird file detection error. Moving the shared API + SDK mocks into the setupTests.tsx seems to have resolved the failures I was seeing with your tests when I first checked out the branch.


text:
🛑 Staff Desk BINUS SCHOOL Serpong is down

In 0957dc8, Staff Desk BINUS SCHOOL Serpong (https://serpong.binus-school.net/staffdesk/LoginBinusian.aspx) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Staff Desk BINUS SCHOOL Serpong is back up in 1bec183 after 14 minutes.

repo: NatanaelGeraldoS/BINUSWeb


text:
Suggestions from Discord

Keeping these in one place:
nitrofenix: i'd base it on banks but maybe with half the amount of slots per tier
trunksbomb: 8 buckets/16/64/256/1024/1000000

Tiers/capacities from the old mod (for reference/discussion only):
1: 3 tanks of 4000 mB each
2: 6 tanks of 16000 mB each
3: 9 tanks of 64000 mB each
4: 12 tanks of 256000 mB each
5: 15 tanks of 1024000 mB each
6: 18 tanks of 4096000 mB each
7: 27 tanks of 247483647 mB each

Huh, would you look at that - I was pretty spot on for capacity :)
Additional suggestions:

Lockable slots
Automatic pickup of fluids when standing in them? Probably not a good idea
use the tank itself as the bucket (no dedicated bucket item like entangled buckets)
shift + click air to change modes, shift + scroll while in "build" mode to change which liquid you're selecting
definitely a "void" mode to void excess fluids
maybe a sponge mode, or a mode that functions like a hose pulley from Create so you can target one block of fluid and have it suck up other blocks in the same body of water
shift+click bucket of fluid in inventory while Tank GUI is open automatically inserts the fluid from that bucket, like Modern Industrialization machines

Done so far:

tank 1-7 and dock
can interact with buckets/similar in gui including shift click
can interact with pipes in world using dock
can lock slots

authors: Natanaelel nitrofenix trunksbomb

repo: Natanaelel/TankStorage


text:
Point to custom Sqlite3 for paid extension support

Is it possible to make nativescript-sqite use a custom bundled Sqlite3 instead of the default system one?
We have a requirement to enable database encryption from the app (by using PRAGMA key = 'pwd'). For this to work we need to use a custom sqlite3.c file that has the SEE plugin.
Initially we thought the paid nativescript-sqlite supports encryption but it turns out it can only decrypt?

This plugin supports both encryption and decryption.
You can already use PRAGMA key='...'

PRAGMA key ='somekey' to set encryption on a non encrypted database does not work. If a database is already encrypted, I could decrypt with options:key and then add a new key with PRAGMA rekey = '';

Yes, you have to create a new database with encryption (which you can do with a create database command or ship a encrypted db).  You are correct it won't encrypt a un-encrypted database, however you can work around by just create a new database and copy all data from the old database and then delete the old un-encrypted version.
However, for security; if you are wanting to have encrypted db's it is better to start with a encrypted database rather than a unencrypted database.

Thanks for confirming.
What you are saying, is indeed one of my options: Ship an encrypted database with the app to begin with --> decrypt with your plugin --> rekey as needed.
I would have to explore the other approach you suggested aka create a new encrypted database and then copy over stuff from the old unencrypted one. Although, I don't want to put all this script in the app code. So most likely I won't go with this option. Still its good to know that your plugin can create a new db with encryption turned on.
Finally, just out of continued curiosity, is it possible to make use of a custom sqlite3 library in your plugin? The module.modulemap under platform/ios seems to specify the library. I was wondering if I could do something there to pick up my custom sqlite3.c?

Well, we could build you a custom version with your sqlite3.c file; it is basically just building a new aar (on android) and framework on ios to be linked in and using them as the native part.   The rest of the code base (like the JS) would work with no other changes; so it is really just creating new native libraries using he SEE version of sqlite instead of SqlCipher.

Got it. Thats exactly what I was looking for. Infact, we have got around this use case by using open source SqlCipher to initially encrypt the database during the build phase and then use your paid plugin to decrypt and rekey as needed. So I am good now. Its still good to know that you can package a custom sqlite version, if needed. Thank you!

authors: NathanaelA kaustavlahiri

repo: NathanaelA/nativescript-sqlite


text:
Update getAppResourcesPath() to use the new configs

@NathanaelA we need to update these for 7.0 to read from the new config file. I think we should probably create a new CLI command that the gradle script can invoke and read the output - because the configs are no longer simple json files. As a quick fix, we could read the value with some regex (though that'd be easy to break in the configs - since it's js/ts).
The current implementation could be kept as a fallback.
https://github.com/NativeScript/android-runtime/blob/b10b6d625807f0d65dfebe2649cc37cfb124dd6e/test-app/gradle-helpers/paths.gradle#L19-L37
https://github.com/NativeScript/android-runtime/blob/f71130432d1fed102776bb8372906aadda82d3fe/test-app/app/build.gradle#L137-L157

@rigor789 - How about the CLI create the nsconfig.json file if the nsconfig.js file version of it exists; then no other tooling needs to change at this point, and it is then fully backwards compatible with older runtimes.   Frequently we have people try using older runtimes to see when a issue has occurred; so breaking the CLI's compatibility should actually be fixed first...

The goal and we are 99% there is to get rid of redundant configs, package.jsons, special keys etc.
What I think we can/should do to keep older runtimes working, while not forcing an nsconfig.json on newer runtimes is to only generate the nsconfig.json when the runtime version is less than 7.0.0 and for 7 and above, we can add the new logic for reading the config value through the CLI.

repo: NativeScript/android-runtime


text:
sample code to implement NativeScript Class in TypeScript with self delegate

From @xmlking on February 7, 2017 18:3
I am new to NativeScript,  looking for sample code to implement NativeScript Class in TypeScript with self delegate?
here are more details :
http://stackoverflow.com/questions/41991160/how-to-implement-nativescript-class-in-typescript-with-self-delegate
want to simplify my code my eliminating additional delegate class by directly implementing delegate methods in the main class that supposed to have a delegate.
Thanks
Copied from original issue: NativeScript/NativeScript#3603

@xmlking As the doc says:

There should be no TypeScript constructor, because it will not be executed. Instead override one of the init methods.

You can override a base init method and place your delegate setting logic there:
public init() {
    var self = this.super.init();
    if (self) {
        self.delegate = self;
    }
    return self;
}

@ivanbuhov thanks for you input.
my basic issue is I cannot inject Angular Service that extends NSObject
with following case I am getting runtime error, either with JS constructor() or init() methods :
file:///app/tns_modules/@angular/compiler/bundles/compiler.umd.js:18632:28:
JS ERROR Error: Invalid provider for the NgModule 'MicrosoftBandModule' - only instances of
Provider and Type are allowed, got: [?MicrosoftBandService?]

import {Injectable} from '@angular/core';
@Injectable()
export class MicrosoftBandService  extends NSObject implements ConnectionDelegate {
 public static ObjCProtocols = [ConnectionDelegate];
...
}

without extends NSObject  the angular service will be registered properly.  but  native delegates has to always extend NSObject.
Need to research how to register angular service provider that extend    NSObject

I tried following method, but this time I am getting undefined error :(
CONSOLE ERROR file:///app/tns_modules/tns-core-modules/trace/trace.js:160:30: ns-renderer:
Error in :0:0 caused by: undefined is not an object (evaluating 'this.msband.connection$.subscribe')

export const MicrosoftBandToken = new OpaqueToken('MicrosoftBandToken');

@Injectable()
export class MicrosoftBandService  extends NSObject implements ConnectionDelegate {
    public static ObjCProtocols = [ConnectionDelegate];

    static new(): MicrosoftBandService {
        let self = <MicrosoftBandService>super.new()
        self.mbk = MicrosoftBand.alloc().init();
        if (self) {
            self.mbk.connectDelegate = self;
        }
        return self;
    }
...
}

import { MicrosoftBandToken, MicrosoftBandService } from './src/app/services/microsoftband.service.ios';
export class MicrosoftBandModule {

  static forRoot(): ModuleWithProviders {
    return {
      ngModule: MicrosoftBandModule,
      providers: [
        {provide: MicrosoftBandToken, useValue: MicrosoftBandService.new()},
      ]

    };
  }
}

import {MicrosoftBandToken, MicrosoftBandService} from '@xmlking/nativescript-ngx-microsoftband';

@Component({
    selector: 'app',
    templateUrl: "app.component.html"
})
export class AppComponent implements OnInit, OnDestroy {
    constructor(private zone: NgZone, @Inject(MicrosoftBandToken) private msband: MicrosoftBandService) {

    }

...
}

@xmlking It seems that an angular service can't derive from native object. Try not to register your MicrosoftBandService as angular service just to verify that the original problem - implementing NativeScript Class in TypeScript with self delegate is solved. Then you can create a separate class for your angular service.

authors: NickIliev ivanbuhov xmlking

repo: NativeScript/ios-runtime


text:
fix: Cannot reattach ActivatedRouteSnapshot created from a different …

…route

PR Checklist

[x] The PR title follows our guidelines: https://github.com/NativeScript/NativeScript/blob/master/CONTRIBUTING.md#commit-messages.
[x] There is an issue for the bug/feature this PR is for. To avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it.
[x] You have signed the CLA.
[ ] All existing tests are passing: https://github.com/NativeScript/nativescript-angular/blob/master/DevelopmentWorkflow.md#running-the-tests
[ ] Tests for the changes are included.

What is the current behavior?
Navigating between sibling routes may sometimes mess with the cache due to it using the key of a parent route, instead of the complete route.
What is the new behavior?
This now uses the correct key from the farthest children of the route
PARTIALLY Fixes #1993. (this issue has 2 problems on it: 1 is the one fixed in this PR, the other is that route guard/resolvers don't work on back navigation and may break navigation for a PRO)

Please don't merge this yet, as it seems it might not fully solve the issue

@edusperoni @NathanaelA
When debugging this issue in the use case Root => A => B, then back to A it looks like all keys to store/retrieve are generated correctly (also without this fix), but the error is still thrown.
The expression that causes the error to be thrown (curr.value.routeConfig !== result.value.routeConfig in https://github.com/angular/angular/blob/3817e5f1dfeb9de26fa2ea4068a37565f435214f/packages/router/src/create_router_state.ts#L52) will actually show equal properties and values when inspecting, but are not the same object reference. This only occurs with lazy loaded modules (if changed to "regular" route configs it works).
Perhaps the solution direction for this part of the issue is to either use a "deepEqual" instead of reference equality or to somehow make sure that the routeConfig reference stays the same for lazy loaded modules.
Hope this helps, cheers.

authors: edusperoni jcarolus

repo: NativeScript/nativescript-angular


text:
ZoneAwareError on with angular and iOS simulator

I am using the plugin in a location.provider.ts whose saveUserLocation method (see code below) is called from my "home" page. Everything works find on Android and a real iOS device, however on the iOS simulator it most of the times gives me this error below and sometimes it just gives me the expected result (the location object).
{"line":994,"column":38,"sourceURL":"file:///app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js","originalStack":"ZoneAwareError@file:///app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js:994:38\nfile:///app/tns_modules/nativescript-geolocation/geolocation.js:160:41\ninvoke@file:///app/tns_modules/tns-core-modules/timer/timer.js:54:53\nonInvoke@file:///app/tns_modules/@angular/core/bundles/core.umd.js:4787:39\nrunGuarded@file:///app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js:138:53\ntick@file:///app/tns_modules/tns-core-modules/timer/timer.js:19:26\nUIApplicationMain@[native code]\nstart@file:///app/tns_modules/tns-core-modules/application/application.js:258:26\nbootstrapApp@file:///app/tns_modules/nativescript-angular/platform-common.js:86:28\nbootstrapModule@file:///app/tns_modules/nativescript-angular/platform-common.js:72:26\nanonymous@file:///app/main.j

Any idea as to what may cause this? I don't care too much if this happens only on the simulator, I am a little worried it might also happen on a real device even though I have not seen it yet.
Thanks!
Which platform(s) does your issue occur on?

iOS simulator v10

Please, provide the following version numbers that your issue occurs with:
$ tns info
✔ Getting NativeScript components versions information...
⚠ Update available for component nativescript. Your current version is 4.1.0 and the latest available version is 4.1.1.
⚠ Update available for component tns-core-modules. Your current version is 3.4.1 and the latest available version is 4.1.0.
⚠ Update available for component tns-android. Your current version is 3.4.2 and the latest available version is 4.1.3.
⚠ Update available for component tns-ios. Your current version is 3.4.1 and the latest available version is 4.1.1.

{
  "description": "MyApp",
  "license": "SEE LICENSE IN <your-license-filename>",
  "readme": "NativeScript Application",
  "repository": "<fill-your-repository-here>",
  "nativescript": {
    "id": "com.abhayastudios.testapp",
    "tns-ios": {
      "version": "3.4.1"
    },
    "tns-android": {
      "version": "3.4.2"
    }
  },
  "dependencies": {
    "@angular/animations": "~5.2.0",
    "@angular/common": "~5.2.0",
    "@angular/compiler": "~5.2.0",
    "@angular/core": "~5.2.0",
    "@angular/forms": "~5.2.0",
    "@angular/http": "~5.2.0",
    "@angular/platform-browser": "~5.2.0",
    "@angular/platform-browser-dynamic": "~5.2.0",
    "@angular/router": "~5.2.0",
    "@teammaestro/nativescript-svg": "^1.0.1",
    "moment": "^2.18.1",
    "nativescript-angular": "~5.2.0",
    "nativescript-bitmap-factory": "^1.7.1",
    "nativescript-feedback": "^1.1.2",
    "nativescript-geolocation": "^4.2.6",
    "nativescript-gradient": "^2.0.1",
    "nativescript-image-swipe": "^2.1.0",
    "nativescript-imagepicker": "^5.0.0",
    "nativescript-iqkeyboardmanager": "^1.2.0",
    "nativescript-ngx-slides": "^1.0.0",
    "nativescript-platform-css": "^1.6.5",
    "nativescript-plugin-firebase": "^5.3.1",
    "nativescript-social-share": "^1.5.0",
    "nativescript-theme-core": "~1.0.4",
    "nativescript-ui-listview": "^3.5.0",
    "nativescript-webview-interface": "^1.4.1",
    "reflect-metadata": "~0.1.8",
    "rxjs": "~5.5.2",
    "tns-core-modules": "~3.4.1",
    "zone.js": "^0.8.16"
  },
  "devDependencies": {
    "babel-traverse": "6.26.0",
    "babel-types": "6.26.0",
    "babylon": "6.18.0",
    "lazy": "1.0.11",
    "nativescript-dev-typescript": "~0.6.0",
    "typescript": "~2.6.2"
  }

Is there any code involved?
This the relevant part of my location.provider.ts:
/*
     First obtain permissions to use location services if needed, then try to obtain user's location
  */
  public saveUserLocation() {
    return new Promise((resolve, reject) => {

      geolocation.isEnabled().then((isEnabled:boolean) => {

        /* already have location permissions */

        if (isEnabled) {
          this.getCurrentLocation().then((location) => {
            resolve(location);
          }, (error) => {
            reject(error);
          });

        } else {

          /* first request location permissions */

          geolocation.enableLocationRequest().then(() => {

            /* granted location permissions, now get location */

            this.getCurrentLocation().then((location) => {
              resolve(location);
            }, (error) => {
              reject(error);
            });
          }, (error) => {
            console.error(`Failed to obtain location permissions: ${JSON.stringify(error)}`);
            reject(error);
          });
        }
      })
    });
  }

  /*
    Try to obtain user's location, assumes permissions are handled and save to user session if successful

    Returns promise containing location
  */
  private getCurrentLocation() {
    return new Promise((resolve, reject) => {
      geolocation.getCurrentLocation({
        desiredAccuracy: Accuracy.any,
        iosAllowsBackgroundLocationUpdates: false,
        maximumAge: 5000, // in milliseconds
        timeout: 5000, // in milliseconds
      })
      .then((location) => {
        resolve(location);
      }, (error) => {
        console.error(`Failed to obtain user location: ${JSON.stringify(error)}`);
        reject(error);
      });
    });
  }

I think the error means a timeout was exceeded while searching for a location (i.e. no GPS lock was obtained on the device). In your case the simulator did not return a location. You should be able to handle this in your code by increasing the timeout or prompting the user to retry when a GPS lock is available. You can also play with the iOS simulator settings and enable location from the Debug menu.

@lini thanks for your reply. I have one of the Apple locations set in the simulator (which every now and then is obtained properly). Even increasing the timeout to 30k ms still results in the error above sometimes.

I tried using the demo app from this repository and the debug location feature of the simulator. I clicked Enable Location then Start Monitoring and the updates on screen were consistent with the selected debug location:

Can you try the demo app and see if there is a problem there for you?

@lini I have same problem. I changed locations like you, but still not working.

@lini
Using the demo app I get the error below on the iOS simulator (with location set) when tapping once the Get Current Location button triggering the getCurrentLocation method. Yet at the same time the Start Monitoring button which triggers the watchLocation method displays locations just fine!
app/main-page.js:57:20: Error: Timeout while searching for location!

After changing the promise reject callback to log (error.message || error) instead of the entire object, indeed I get the same timeout message as with the demo app.
Still, somehow there seems to be an issue with the getCurrentLocation on the iOS simulator. I will try to upgrade to the latest Xcode and see it the issue is solved.

Still happening after upgrading to latest Xcode (now 9.4.1). Anyway, as long as this happens only on the simulator, it is not that important to me.

This is still an issue, did you guys figure it out yet?

repo: NativeScript/nativescript-geolocation


text:
Hard-coded keyboard shortcuts in help text

The keyboard shortcuts in the help text are hard-coded. This duplicates the information provided elsewhere in the code, making it possible for the help text and the application to get out of sync.

#102 means that nearly all shortcuts are now documented in menus. Most of the text in Help, About is out of date. Suggest we remove Help, About and consider proper help pages in the future, if the need arises.

repo: NaturalHistoryMuseum/inselect


text:
natural.DiceCoefficient does not compute the Dice coefficient

Your algorithm count all bigram duplicates, whereas the Dice coefficient only count distinct bigrams.
Please have a look at Talisman, NLTK or the algorithms in many languages in https://en.wikibooks.org/wiki/Algorithm_Implementation/Strings/Dice's_coefficient for a proper implementation.
As an example, when comparing two Wikipedia articles with a Dice coefficient of 0.76, your algorithm outputs 0.42 (The two articles are the raw wikitext of https://en.wikipedia.org/wiki/French_Revolution and https://en.wikipedia.org/wiki/Influence_of_the_French_Revolution, you have to click on the Edit tab to get the wikitext).

Thanks for your feedback. I created a new version of the Dice coefficient module based on the algorithms site you mentioned. I added support for strings of length 1 and made it case insensitive. Like in the original version.

authors: Hugo-ter-Doest vibl

repo: NaturalNode/natural


text:
IPV6

Does this CDN allow for ipv6?

IPv6 is on ToDo on booth branches, so no.
But should be possible to add.


text:
Now you can set LLVM_CONFIG when you run build.sh

As the title says.
What I needed was something like this to work: LLVM_CONFIG=/usr/bin/llvm-config-14 ./build.sh

hooray

authors: FeepingCreature dejlek

repo: Neat-Lang/neat


text:
Add Heroku Deploy button

Docs: https://devcenter.heroku.com/articles/heroku-button#creating-the-app-json-file

@AndrewDryga I need public annon.api deployment.


text:
New persist

man... diff was too aggresive. json.go is a completely new file, jsonold.go is the old json.go, and if you want to read the code in a more sane way, you should just view it as a standalone file.
Still writing more comprehensive tests, but I wanted to see how the checksum parser worked on Windows. I'm wondering if a different approach to newlines will screw up my byte-parsing.

This PR is intended to address the file corruption error that has been occasionally wiping out users files after a hard shutdown. This new method has more safety around it, and notably does not use os.Rename at all to preserve safety.

repo: NebulousLabs/Sia


text:
🛑 Becpl Angular UI is down

In 7ae33e4, Becpl Angular UI ($BECPL_ANGULAR_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Becpl Angular UI is back up in def27be after 16 minutes.

repo: NehalDamania/becpl-uptime


text:
🛑 Becpl Angular UI is down

In d8c0759, Becpl Angular UI ($BECPL_ANGULAR_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Becpl Angular UI is back up in 1eaf144 after 17 minutes.


text:
Create License

yaiy creating my pull request hmmmm

nice

repo: Neiware/ssproyecto


text:
Strong consistency support for ets

"Strong consistency only support the leveldb backend currently."
Do you have a plan to support ets backend in some future?

Hi,
Right now it does not make any sense, since the strong consistency backend (riak_ensemble) goes to disk for the tree.

authors: kalta liveforeverx

repo: Nekso/nkbase


text:
Task: Update readme with new emoji's that have been added.

Some emoji's were fixed and some were added. Update the readme with the ones that were added from #44

@VagishVela it looks like the readme was updated as part of that PR already https://github.com/Neo11/ChitChat/pull/44/files -- Am I missing something?

@donofriov Whoops my bad.

authors: VagishVela donofriov


text:
Can't open multiple Neogit tabs in a window

Description
I want to open multiple Neogit tabs (https://neovim.io/doc/user/tabpage.html) in 1 Neovim window but every time I run the command :tab Neogit cwd=<git dir>, the new git directory is opened in the current tab. Therefore, I can run only 1 instance of Neogit in 1 window.
Neovim version
NVIM v0.9.4
Build type: Release
LuaJIT 2.1.0-beta3
Operating system and version
macOS 13.6.4
Steps to reproduce

On terminal run nvim
On nvim run :Neogit cwd=<git-dir-1>
On nvim run :tab Neogit cwd=<git-dir-2>

Expected behavior
There should be 2 Neogit tabs pointing to respective git directories.
Actual behavior
On nvim run :Neogit cwd=<git-dir-1>:

The current tab shows Neogit instance pointing to git-dir-1

On nvim run :tab Neogit cwd=<git-dir-2>:

A new blank second tab is opened
The first tab now points to git-dir-2
No tab points to git-dir-1

Minimal config
-- NOTE: See the end of this file if you are reporting an issue, etc. Ignore all the "scary" functions up top, those are
-- used for setup and other operations.
local M = {}

local base_root_path = vim.fn.fnamemodify(debug.getinfo(1, "S").source:sub(2), ":p:h") .. "/.min"
function M.root(path)
  return base_root_path .. "/" .. (path or "")
end

function M.load_plugin(plugin_name, plugin_url)
  local package_root = M.root("plugins/")
  local install_destination = package_root .. plugin_name
  vim.opt.runtimepath:append(install_destination)

  if not vim.loop.fs_stat(package_root) then
    vim.fn.mkdir(package_root, "p")
  end

  if not vim.loop.fs_stat(install_destination) then
    print(string.format("> Downloading plugin '%s' to '%s'", plugin_name, install_destination))
    vim.fn.system({
      "git",
      "clone",
      "--depth=1",
      plugin_url,
      install_destination,
    })
    if vim.v.shell_error > 0 then
      error(string.format("> Failed to clone plugin: '%s' in '%s'!", plugin_name, install_destination),
        vim.log.levels.ERROR)
    end
  end
end

---@alias PluginName string The plugin name, will be used as part of the git clone destination
---@alias PluginUrl string The git url at which a plugin is located, can be a path. See https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols for details
---@alias MinPlugins table<PluginName, PluginUrl>

---Do the initial setup. Downloads plugins, ensures the minimal init does not pollute the filesystem by keeping
---everything self contained to the CWD of the minimal init file. Run prior to running tests, reproducing issues, etc.
---@param plugins? table<PluginName, PluginUrl>
function M.setup(plugins)
  vim.opt.packpath = {}                      -- Empty the package path so we use only the plugins specified
  vim.opt.runtimepath:append(M.root(".min")) -- Ensure the runtime detects the root min dir

  -- Install required plugins
  if plugins ~= nil then
    for plugin_name, plugin_url in pairs(plugins) do
      M.load_plugin(plugin_name, plugin_url)
    end
  end

  vim.env.XDG_CONFIG_HOME = M.root("xdg/config")
  vim.env.XDG_DATA_HOME = M.root("xdg/data")
  vim.env.XDG_STATE_HOME = M.root("xdg/state")
  vim.env.XDG_CACHE_HOME = M.root("xdg/cache")

  -- NOTE: Cleanup the xdg cache on exit so new runs of the minimal init doesn't share any previous state, e.g. shada
  vim.api.nvim_create_autocmd("VimLeave", {
    callback = function()
      vim.fn.system({
        "rm",
        "-r",
        "-f",
        M.root("xdg")
      })
    end
  })
end

-- NOTE: If you have additional plugins you need to install to reproduce your issue, include them in the plugins
-- table within the setup call below.
M.setup({
  plenary = "https://github.com/nvim-lua/plenary.nvim.git",
  telescope = "https://github.com/nvim-telescope/telescope.nvim",
  diffview = "https://github.com/sindrets/diffview.nvim",
  neogit = "https://github.com/NeogitOrg/neogit"
})
-- WARN: Do all plugin setup, test runs, reproductions, etc. AFTER calling setup with a list of plugins!
-- Basically, do all that stuff AFTER this line.
require("neogit").setup({}) -- For instance, setup Neogit

Not a bug - that's how it works on master. However, I've improved the experience a lot on the nightly branch, which will be released with nvim 0.10. Better CWD handling, that sort of thing. Try it out :)

@CKolkey did try that myself, i have kind=tab, seems like if you already have an opened neogit status in a tab, if you call Neogit cwd=... again the neogit tab is not focused (but if you manually go to the tab it seems the state is updated). Tried on nightly with .setup() call.
Is there a way allowing us to have multiple tabs opened for git status each for unique cwd ? I have a similar use case as the OP, where i might have multiple files from multiple working directories opened in the current nvim window. So instead of updaing the current neogit tab status if it exists, it will open a new tab for the cwd, if a tab for that cwd exists, then it can be focused and updated (working similarly to what is intended atm) - could be an opt in. Not sure how it would work with kind=split, but this could be only applicable for kind=tab wdyt ?

It's going to require a bit of doing.. I use vim.uv.getcwd() all over to find the correct status buffer instance and repository object. I'm beginning to think that relying on that was a mistake in the first place as it's effectively a global variable. It's no issue to run git against a specific directory with the -C flag, but what I need to do is start passing the CWD into pretty much every constructor function, so it can either be consumed (run a git command) or passed on to a buffer that would consume it.
Not a huge change, I think, but a bit tedious. However, it would mean that tabs/splits/whatever could point to a project directory and all coexist.

authors: CKolkey EarthyOrange asmodeus812

repo: NeogitOrg/neogit


text:
Error "Neogit has not been setup!"

Description
After adding the plugin to Lazy and using the :Neogit command, it gives the error: "Neogit has not been setup!"
P.S.
I'm new to neovim
Neovim version
NVIM v0.9.1
Build type: Release
LuaJIT 2.1.0-beta3
Operating system and version
macOs 13.1 (Ventura)  m1
Steps to reproduce

add the code to lua/plugins/neogit.lua:
`
return {
{
"NeogitOrg/neogit",
dependencies = {
"nvim-lua/plenary.nvim", -- required
"sindrets/diffview.nvim", -- optional - Diff integration
-- Only one of these is needed, not both.
"nvim-telescope/telescope.nvim", -- optional
--    "ibhagwan/fzf-lua",              -- optional
},
cmd = "Neogit",
config = true,
},
}
`

Go to a new terminal window

Open a project

Run the command :Neogit

Expected behavior
No response
Actual behavior
The error "Neogit has not been setup!" is displayed.
Minimal config
-- NOTE: See the end of this file if you are reporting an issue, etc. Ignore all the "scary" functions up top, those are
-- used for setup and other operations.
local M = {}

local base_root_path = vim.fn.fnamemodify(debug.getinfo(1, "S").source:sub(2), ":p:h") .. "/.min"
function M.root(path)
  return base_root_path .. "/" .. (path or "")
end

function M.load_plugin(plugin_name, plugin_url)
  local package_root = M.root("plugins/")
  local install_destination = package_root .. plugin_name
  vim.opt.runtimepath:append(install_destination)

  if not vim.loop.fs_stat(package_root) then
    vim.fn.mkdir(package_root, "p")
  end

  if not vim.loop.fs_stat(install_destination) then
    print(string.format("> Downloading plugin '%s' to '%s'", plugin_name, install_destination))
    vim.fn.system({
      "git",
      "clone",
      "--depth=1",
      plugin_url,
      install_destination,
    })
    if vim.v.shell_error > 0 then
      error(string.format("> Failed to clone plugin: '%s' in '%s'!", plugin_name, install_destination),
        vim.log.levels.ERROR)
    end
  end
end

---@alias PluginName string The plugin name, will be used as part of the git clone destination
---@alias PluginUrl string The git url at which a plugin is located, can be a path. See https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols for details
---@alias MinPlugins table<PluginName, PluginUrl>

---Do the initial setup. Downloads plugins, ensures the minimal init does not pollute the filesystem by keeping
---everything self contained to the CWD of the minimal init file. Run prior to running tests, reproducing issues, etc.
---@param plugins? table<PluginName, PluginUrl>
function M.setup(plugins)
  vim.opt.packpath = {}                      -- Empty the package path so we use only the plugins specified
  vim.opt.runtimepath:append(M.root(".min")) -- Ensure the runtime detects the root min dir

  -- Install required plugins
  if plugins ~= nil then
    for plugin_name, plugin_url in pairs(plugins) do
      M.load_plugin(plugin_name, plugin_url)
    end
  end

  vim.env.XDG_CONFIG_HOME = M.root("xdg/config")
  vim.env.XDG_DATA_HOME = M.root("xdg/data")
  vim.env.XDG_STATE_HOME = M.root("xdg/state")
  vim.env.XDG_CACHE_HOME = M.root("xdg/cache")

  -- NOTE: Cleanup the xdg cache on exit so new runs of the minimal init doesn't share any previous state, e.g. shada
  vim.api.nvim_create_autocmd("VimLeave", {
    callback = function()
      vim.fn.system({
        "rm",
        "-r",
        "-f",
        M.root("xdg")
      })
    end
  })
end

-- NOTE: If you have additional plugins you need to install to reproduce your issue, include them in the plugins
-- table within the setup call below.
M.setup({
  plenary = "https://github.com/nvim-lua/plenary.nvim.git",
  telescope = "https://github.com/nvim-telescope/telescope.nvim",
  diffview = "https://github.com/sindrets/diffview.nvim",
  neogit = "https://github.com/NeogitOrg/neogit"
})
-- WARN: Do all plugin setup, test runs, reproductions, etc. AFTER calling setup with a list of plugins!
-- Basically, do all that stuff AFTER this line.
require("neogit").setup({}) -- For instance, setup Neogit

I believe you want opts = {} instead of config = true :)

I managed to remove this error by updating neovim to the latest version :-)

authors: CKolkey astrelinvl


text:
Quantization dequanitze flag

Hi, while looking at the quantization function I found that there is a dequantize flag.
But as I think, the network should be forwarded to the dequantized value.
What's the purpose of the dequantize flag?
In other words, what's the difference between dequantized and non-dequantized cases?
Thank you.

I'm not sure what you mean by "the network should be forwarded to the dequantized value", but in any case, this is a utility function called from many places:
In some cases we want to just get the effect of quantization but still let the model run with float tensors (aka "fake-quantization"). This is common in quantization-aware training scenarios. In these cases we'll set dequantize=True.
In other cases we want to quantize a tensor and keep working on the quantized values. This happens in post-training quantization.

That's what I exactly wanted to know.
Thank you so much

repo: NervanaSystems/distiller


text:
[MLIR] Concat

Adds support for Concat to MLIR compiler/lowerer.
All but two tests in CPU.concat* are passing. The two that are failing are triggering this check in compiled_kernel.cpp: https://github.com/NervanaSystems/ngraph/blob/3f6cda4c22636fb5c0b7d2038eb4676712504671/src/ngraph/op/experimental/compiled_kernel.cpp#L78
I think this failure is unrelated to this PR, other than the fact that this PR exposes these tests to the MLIR/compiled_kernel machinery.
Example dump thru affine dialect:
[ RUN      ] CPU.concat_5d
*** nGraph Dialect Dump: ***

func @main(%arg0: !ng.tensor<2x3x3x3x2xf32>, %arg1: !ng.tensor<2x3x2x3x2xf32>, %arg2: !ng.tensor<2x3x4x3x2xf32>) -> !ng.tensor<2x3x9x3x2xf32> {
  %0 = "ng.concat"(%arg2, %arg0, %arg1) {concatenation_axis = 2 : i64} : (!ng.tensor<2x3x4x3x2xf32>, !ng.tensor<2x3x3x3x2xf32>, !ng.tensor<2x3x2x3x2xf32>) -> !ng.tensor<2x3x9x3x2xf32>
  "ng.return"(%0) : (!ng.tensor<2x3x9x3x2xf32>) -> ()
}

*** Affine Dialect Dump: ***
#map0 = () -> (0)
#map1 = () -> (2)
#map2 = () -> (3)
#map3 = () -> (4)
#map4 = (d0) -> (d0 + 4)
#map5 = (d0) -> (d0 + 7)

func @main(%arg0: memref<2x3x3x3x2xf32>, %arg1: memref<2x3x2x3x2xf32>, %arg2: memref<2x3x4x3x2xf32>, %arg3: memref<2x3x9x3x2xf32>, %arg4: index) {
  affine.for %i0 = 0 to 2 {
    affine.for %i1 = 0 to 3 {
      affine.for %i2 = 0 to 4 {
        affine.for %i3 = 0 to 3 {
          affine.for %i4 = 0 to 2 {
            %0 = load %arg2[%i0, %i1, %i2, %i3, %i4] : memref<2x3x4x3x2xf32>
            store %0, %arg3[%i0, %i1, %i2, %i3, %i4] : memref<2x3x9x3x2xf32>
          }
        }
      }
    }
  }
  affine.for %i5 = 0 to 2 {
    affine.for %i6 = 0 to 3 {
      affine.for %i7 = 0 to 3 {
        %1 = affine.apply #map4(%i7)
        affine.for %i8 = 0 to 3 {
          affine.for %i9 = 0 to 2 {
            %2 = load %arg0[%i5, %i6, %i7, %i8, %i9] : memref<2x3x3x3x2xf32>
            store %2, %arg3[%i5, %i6, %1, %i8, %i9] : memref<2x3x9x3x2xf32>
          }
        }
      }
    }
  }
  affine.for %i10 = 0 to 2 {
    affine.for %i11 = 0 to 3 {
      affine.for %i12 = 0 to 2 {
        %3 = affine.apply #map5(%i12)
        affine.for %i13 = 0 to 3 {
          affine.for %i14 = 0 to 2 {
            %4 = load %arg1[%i10, %i11, %i12, %i13, %i14] : memref<2x3x2x3x2xf32>
            store %4, %arg3[%i10, %i11, %3, %i13, %i14] : memref<2x3x9x3x2xf32>
          }
        }
      }
    }
  }
  return
}

You can remove the compiled_kernel assert. It is left-over from previous purpose of that node. Nodes obviously don't need to be of same type/shape.

@dcaballe Regarding tests:
$ NGRAPH_MLIR=1 test/unit-test --gtest_filter='CPU.*concat*'
Note: Google Test filter = CPU.*concat*
[==========] Running 16 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 16 tests from CPU
[ RUN      ] CPU.concat_matrix_colwise
[       OK ] CPU.concat_matrix_colwise (12 ms)
[ RUN      ] CPU.concat_matrix_rowwise
[       OK ] CPU.concat_matrix_rowwise (9 ms)
[ RUN      ] CPU.concat_matrix_int64
[       OK ] CPU.concat_matrix_int64 (8 ms)
[ RUN      ] CPU.concat_vector
[       OK ] CPU.concat_vector (6 ms)
[ RUN      ] CPU.concat_4d_tensor
[       OK ] CPU.concat_4d_tensor (9 ms)
[ RUN      ] CPU.concat_2d_tensor
[       OK ] CPU.concat_2d_tensor (7 ms)
[ RUN      ] CPU.concat_in_place_2d_tensor
[       OK ] CPU.concat_in_place_2d_tensor (9 ms)
[ RUN      ] CPU.concat_in_place_propagate_2d_tensor
/localdisk/amprocte/Work/ngraph/build/test/backend_test_CPU.cpp:1031: Failure
Value of: test::all_close_f( (vector<float>{3, 7, 2}), read_vector<float>(result), MIN_FLOAT_TOLERANCE_BITS)
  Actual: false (7 is not close to 2 at index 1
2 is not close to 0 at index 2
diff count: 2 out of 3
passing criteria - mismatch allowed  @ mantissa bit: 24 or later (0 tolerance bits)
0 value(s) below min_signal: 0
tightest match   - mismatch occurred @ mantissa bit: 24 or next bit (3 vs 3 at [0])
loosest match    - mismatch occurred @ mantissa bit: 0 or next bit (2 vs 0 at [2])
median match     - mismatch occurred @ mantissa bit: 0 or next bit
)
Expected: true
[  FAILED  ] CPU.concat_in_place_propagate_2d_tensor (9 ms)
[ RUN      ] CPU.concat_5d
[       OK ] CPU.concat_5d (53 ms)
[ RUN      ] CPU.concat_zero_length_1d_last
[       OK ] CPU.concat_zero_length_1d_last (5 ms)
[ RUN      ] CPU.concat_zero_length_1d_middle
[       OK ] CPU.concat_zero_length_1d_middle (5 ms)
[ RUN      ] CPU.concat_zero_zero
[       OK ] CPU.concat_zero_zero (1 ms)
[ RUN      ] CPU.concat_zero_length_4d_middle
[       OK ] CPU.concat_zero_length_4d_middle (9 ms)
[ RUN      ] CPU.backwards_concat_vector
[       OK ] CPU.backwards_concat_vector (8 ms)
[ RUN      ] CPU.backwards_concat_axis_0
[       OK ] CPU.backwards_concat_axis_0 (11 ms)
[ RUN      ] CPU.backwards_concat_axis_1
[       OK ] CPU.backwards_concat_axis_1 (134 ms)
[----------] 16 tests from CPU (295 ms total)

[----------] Global test environment tear-down
[==========] 16 tests from 1 test case ran. (296 ms total)
[  PASSED  ] 15 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] CPU.concat_in_place_propagate_2d_tensor

 1 FAILED TEST
17:33:02.208622: [MAIN] Tests finished: Time: 297 ms Exit code: 1

With NGRAPH_MLIR_DUMP_ALL=1, all the above are dumping reasonable-looking affine code.
The failed test is probably due to the issue we've been discussing on Slack.

@dcaballe @nmostafa I think comments are addressed at this point. Let me know.

authors: aprocter nmostafa

repo: NervanaSystems/ngraph


text:
Revisit counter dash to underscore replacement logic

As raised by jfong on Discord
This logic happens here
Replacement of dash to underscore happens automatically when you don't use the rename  => marker, and yes, that behavior is used extensively in zapi templates. Perhaps the idea is if you rename, you get the final call to decide on the name (even if it's wrong). That may be questionable 🙂
As noted Prometheus does not permit dashes - in labels.

ONTAP REST documentation states:

However, REST converts hyphens - in CLI parameter names to underscores _ in the REST API JSON response body.

We have investigated on this issue and below is the summary:
--> Prometheus would not supporting the hyphen (-) in metric/label names and erroring out, Whereas InfluxDB can support the hyphen(-).
--> Harvest's behaviour would be if we have the rename marker => in the template, then Harvest will honour that display
name as-is. If we don't have the rename marker => in template, then Harvest will try to help and generate display name accordingly.
The solution which we all are agreed on is, if the rename marker => exist in template, Then Harvest should not intervene and honour the display name as-is.

authors: Hardikl cgrinds

repo: NetApp/harvest


text:
Need help

Now my screen rotated on my laptop

My Toshiba laptop his rotated the screen upside down by its self

repo: NetDocuments/ad-join-cookbook


text:
WIN环境下，执行pomelo add/restart等操作都会报错 是什么问题呢？？？

我在mac和linux服务器上 pomelo init 一个新的工程之后跑起来。操作pomelo add 去添加一个connector服务器 ，此时会提示 Successfully add server。查看列表之后添加成功。
换win环境下 同样的POMELO 以及 Node版本条件下，执行同样的操作 pomelo add 报错【
{ message: 'Port occupied already, check your server to add.',
stack: 'Error: Port occupied already, check your server to add.\n    at H:\win\TestPomeloDemo\game-server\node_modules\pomelo\lib\modules\console.js:360:32\n    at Object.utils.invokeCallback (H:\win\TestPomeloDemo\game-server\node_modules\pomelo\lib\util\utils.js:21:14)\n    at H:\win\TestPomeloDemo\game-server\node_modules\pomelo\lib\modules\console.js:300:13\n    at ChildProcess.exithandler (child_process.js:209:5)\n    at emitTwo (events.js:100:13)\n    at ChildProcess.emit (events.js:185:7)\n    at maybeClose (internalild_process.js:850:16)\n    at Socket. (internalild_process.js:323:11)\n    at emitOne (events.js:90:13)\n    at Socket.emit (events.js:182:7)' }
】
但是我查看过端口我读是用的没有使用过的。
有碰到这种情况的老铁么？？

因为 只支持 linux环境。
let checkPort = function (server: ServerInfo, cb: MasterCallback) {
    if (!server.port && !server.clientPort) {
        utils.invokeCallback(cb, 'leisure');
        return;
    }
    let p = server.port || server.clientPort;
    let host = server.host;
    let cmd = 'netstat -tln | grep ';
    if (!utils.isLocal(host)) {
        cmd = 'ssh ' + host + ' ' + cmd;
    }
    exec(cmd + p, function (err, stdout, stderr) {
        if (stdout || stderr) {
            utils.invokeCallback(cb, 'busy');
        } else {
            p = server.clientPort;
            exec(cmd + p, function (err, stdout, stderr) {
                if (stdout || stderr) {
                    utils.invokeCallback(cb, 'busy');
                } else {
                    utils.invokeCallback(cb, 'leisure');
                }
            });
        }
    });
};

看这一行     let cmd = 'netstat -tln | grep ';

修改一下这个
var cmd = os.type() === 'Windows_NT' ? netstat -ano | %windir%\\system32\\find.exe "${p}" : netstat -tln | grep ${p};

我在用 @node-pinus

这个pomelo简直就是坑套这坑，这个问题可以暴力解决。
找到pomelo模块：/node_modules/pomelo/lib/modules/console.js
找到 runServer 方法：
var runServer = function(app, server, cb) {
checkPort(server, function(status) {
if(status === 'busy') {
utils.invokeCallback(cb, new Error('Port occupied already, check your server to add.'));
} else {
starter.run(app, server, function(err) {
if(err) {
utils.invokeCallback(cb, new Error(err), null);
return;
}
});
process.nextTick(function() {
utils.invokeCallback(cb, null, { status: "ok" });
});
}
});
};
checkPort在window下面有问题的，直接把checkPort去掉，check个屁啊罗里吧嗦的，暴力解决
var runServer = function(app, server, cb) {
starter.run(app, server, function(err) {
if(err) {
utils.invokeCallback(cb, new Error(err), null);
return;
}
});
process.nextTick(function() {
utils.invokeCallback(cb, null, { status: "ok" });
});
};

修改一下这个
var cmd = os.type() === 'Windows_NT' ? `netstat -ano | %windir%\\system32\\find.exe "${p}"` : `netstat -tln | grep ${p}`;
我也不知道项目组的人是懒还是怎么的,反正没人管了

find 老是报find：参数格式不正确，我该findstr就正常了

authors: Alisheng flamefox npcode whtiehack zhongG

repo: NetEase/pomelo


text:
演示项目出现的问题

你好，caddy、沙盒、本项目这些都准备好了，但是运行起来有几个问题，页面也和本github宣传的不同，麻烦指导一下。

对了，还有个问题是，如何让项目发布的页面用于RN？有详细的教程吗？

开源版本目前只提供了一个组件库的接入示例 https://github.com/NetEase/tango-components，没有提供完整的组件库，内部的组件库节藕工作工作量比较大，我们会在合适的时机将组件库部分合并到开源代码中。

对了，还有个问题是，如何让项目发布的页面用于RN？有详细的教程吗？

RN 部分涉及到 Native 的相关能力，此部分不在开源范围

开源版本目前只提供了一个组件库的接入示例，没有提供完整的组件库，内部的组件库节藕工作工作量比较大，我们会在合适的时机将组件库部分合并到开源代码中。

是的，开源版本好多功能好像没有，希望提供一个完整的，希望是：操作完平台，H5端、mobile端同时可以看到效果的。

对了，还有个问题是，如何让项目发布的页面用于RN？有详细的教程吗？

RN 部分涉及到 Native 的相关能力，此部分不在开源范围

开源出来的能力暂时不能支持生成RN页面吗？

开源版本目前只提供了一个组件库的接入示例，没有提供完整的组件库，内部的组件库节藕工作工作量比较大，我们会在合适的时机将组件库部分合并到开源代码中。

是的，开源版本好多功能好像没有，希望提供一个完整的，希望是：操作完平台，H5端、mobile端同时可以看到效果的。

💪 正在推进中，涉及的工作比较多，计划会陆续开源出来

authors: FKLam Thea1211 wwsun

repo: NetEase/tango


text:
Question regarding maximumSize and coreSize

I have set the maximum size of thread pool to be 10 and the core size as 2. The requests are getting queued(if more than 2 requests are made) instead of creating a new thread on the threadpool.
As far as my knowledge, the thread pool must support 10 threads to the maximum and then queue the subsequent requests. If the number of requests is less, and the other 8 threads on the threadpool are not assigned any tasks,then they must wait for utmost 1 minute to get destroyed (But the thread pool will still contain 2 daemon threads even if no requests are made). But this is not happening in my case. Kindly advise if my understanding is right!

Can you retry with 1.5.9 (just released)?  If the issue still exists, I can dig in.

@mattrjacobs  Still this issue is persisting. I tried using 1.5.9. Kindly suggest.

Can you inspect the configuration of the running system to see what values are being used?  You can use the Hystrix configuration stream or do something manual by inspecting Hystrix objects and logging values out.

Hi @mattrjacobs,
Thanks for your help all the way,its working fine with latest version. I forgot to reconfigure after updating the hystrix jar to 1.5.9. Closing this issue 👍

@mohamedanees : I have the same problem with dynamic hystrix thread pool settings, not working expected. I am using hystrix 1.5.12 (maximumSize=100, coreSize=60 and allowMaximumSizeToDivergeFromCoreSize=true). Can you let me know what is that you forgot to reconfigure to fix the issue???

@karteeksaragad - I'm facing similar issue with 1.5.12. Did it work for you?

@mattrjacobs

authors: karteeksaragad mattrjacobs mohamedanees prakhar241

repo: Netflix/Hystrix


text:
HystrixSampleSseServlet & nio exceptions

Faced with randomly but regularly exceptions in logs happened for HystrixSampleSseServlet
spring.boot 2.1.2.RELEASE and hystrix 1.5.18
java.nio.BufferOverflowException
	at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:363)
	at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:342)
	at sun.nio.ch.IOUtil.write(IOUtil.java:60)
	at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471)
	at org.apache.tomcat.util.net.NioChannel.write(NioChannel.java:134)
	at org.apache.tomcat.util.net.NioBlockingSelector.write(NioBlockingSelector.java:101)
	at org.apache.tomcat.util.net.NioSelectorPool.write(NioSelectorPool.java:144)
	at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.doWrite(NioEndpoint.java:1225)
	at org.apache.tomcat.util.net.SocketWrapperBase.doWrite(SocketWrapperBase.java:743)
	at org.apache.tomcat.util.net.SocketWrapperBase.flushBlocking(SocketWrapperBase.java:696)
	at org.apache.tomcat.util.net.SocketWrapperBase.flush(SocketWrapperBase.java:686)
	at org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.flush(Http11OutputBuffer.java:553)
	at org.apache.coyote.http11.filters.ChunkedOutputFilter.flush(ChunkedOutputFilter.java:157)
	at org.apache.coyote.http11.Http11OutputBuffer.flush(Http11OutputBuffer.java:216)
	at org.apache.coyote.http11.Http11Processor.flush(Http11Processor.java:1149)
	at org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:394)
	at org.apache.coyote.Response.action(Response.java:209)
	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:294)
	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:261)
	at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:94)
	at com.netflix.hystrix.contrib.sample.stream.HystrixSampleSseServlet.handleRequest(HystrixSampleSseServlet.java:168)
	at com.netflix.hystrix.contrib.sample.stream.HystrixSampleSseServlet.doGet(HystrixSampleSseServlet.java:74)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1417)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)

	java.nio.InvalidMarkException
		at java.nio.Buffer.reset(Buffer.java:306)
		at org.apache.catalina.connector.OutputBuffer.toReadMode(OutputBuffer.java:831)
		at org.apache.catalina.connector.OutputBuffer.transfer(OutputBuffer.java:805)
		at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:508)
		at org.apache.catalina.connector.CoyoteWriter.write(CoyoteWriter.java:170)
		at org.apache.catalina.connector.CoyoteWriter.write(CoyoteWriter.java:180)
		at org.apache.catalina.connector.CoyoteWriter.print(CoyoteWriter.java:238)
		at com.netflix.hystrix.contrib.sample.stream.HystrixSampleSseServlet.handleRequest(HystrixSampleSseServlet.java:163)
		at com.netflix.hystrix.contrib.sample.stream.HystrixSampleSseServlet.doGet(HystrixSampleSseServlet.java:74)
		at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
		at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
		at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
		at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
		at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
		at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
		at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
		at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
		at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
		at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
		at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
		at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
		at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
		at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)
		at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1417)
		at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
		at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
		at java.lang.Thread.run(Thread.java:748)

		java.lang.IllegalArgumentException
			at java.nio.Buffer.position(Buffer.java:244)
			at sun.nio.cs.UTF_8.updatePositions(UTF_8.java:77)
			at sun.nio.cs.UTF_8.access$200(UTF_8.java:57)
			at sun.nio.cs.UTF_8$Encoder.encodeArrayLoop(UTF_8.java:636)
			at sun.nio.cs.UTF_8$Encoder.encodeLoop(UTF_8.java:691)
			at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:579)
			at org.apache.tomcat.util.buf.C2BConverter.convert(C2BConverter.java:169)
			at org.apache.catalina.connector.OutputBuffer.realWriteChars(OutputBuffer.java:450)
			at org.apache.catalina.connector.OutputBuffer.flushCharBuffer(OutputBuffer.java:820)
			at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:307)
			at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:284)
			at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:94)
			at com.netflix.hystrix.contrib.sample.stream.HystrixSampleSseServlet.handleRequest(HystrixSampleSseServlet.java:168)
			at com.netflix.hystrix.contrib.sample.stream.HystrixSampleSseServlet.doGet(HystrixSampleSseServlet.java:74)
			at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
			at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
			at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:157)
			at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:174)
			at org.springframework.cloud.netflix.endpoint.ServletWrappingEndpoint.handle(ServletWrappingEndpoint.java:76)
			at sun.reflect.GeneratedMethodAccessor459.invoke(Unknown Source)
			at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
			at java.lang.reflect.Method.invoke(Method.java:498)
			at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
			at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
			at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
			at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
			at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
			at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
			at org.springframework.boot.actuate.autoconfigure.EndpointWebMvcChildContextConfiguration$CompositeHandlerAdapter.handle(EndpointWebMvcChildContextConfiguration.java:286)
			at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
			at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
			at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
			at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
			at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
			at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
			at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
			at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
			at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
			at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
			at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
			at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
			at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
			at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
			at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
			at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
			at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
			at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
			at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
			at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1457)
			at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
			at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
			at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
			at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
			at java.lang.Thread.run(Thread.java:748)

		java.lang.IllegalArgumentException: Negative capacity: -105
			at java.nio.Buffer.<init>(Buffer.java:199)
			at java.nio.CharBuffer.<init>(CharBuffer.java:281)
			at java.nio.HeapCharBuffer.<init>(HeapCharBuffer.java:86)
			at java.nio.HeapCharBuffer.slice(HeapCharBuffer.java:103)
			at org.apache.catalina.connector.OutputBuffer.flushCharBuffer(OutputBuffer.java:763)
			at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:284)
			at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:261)
			at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:94)
			at org.apache.catalina.connector.CoyoteWriter.checkError(CoyoteWriter.java:119)
			at com.netflix.hystrix.contrib.sample.stream.HystrixSampleSseServlet.handleRequest(HystrixSampleSseServlet.java:165)
			at com.netflix.hystrix.contrib.sample.stream.HystrixSampleSseServlet.doGet(HystrixSampleSseServlet.java:74)
			at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
			at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
			at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
			at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
			at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
			at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
			at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
			at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
			at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
			at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
			at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
			at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
			at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
			at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)
			at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1417)
			at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
			at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
			at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
			at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
			at java.lang.Thread.run(Thread.java:748)

me too

We're getting this but without boot, just a regular spring-web app using hystrix-core 1.5.18.

I am facing the same issue. The exception is thrown while the "/actuator/hystrix.stream" endpoint is called.
Please, give a feedback if you found the cause.

Does this patch fix it? https://github.com/Netflix/Hystrix/pull/1757#issuecomment-520303929


text:
Only lookup if the request cache is enabled once per command invocation

This helps performance and eliminates chance that start/end of command see this value differently

NetflixOSS » Hystrix » Hystrix-pull-requests #169 SUCCESS
This pull request looks good


text:
Upgrade tests to use JMockit 1.19, which is compatible with newer ver…

…sions of Java; also fix CassandraAdminTest failure caused as regression in 49865ab. Addresses the comment in issue #415

NetflixOSS » Priam » Priam-pull-requests #25 SUCCESS
This pull request looks good

Priam-pull-requests #187 SUCCESS
This pull request looks good

repo: Netflix/Priam


text:
fix: avoid crash when navigation keys used with an empty console

using navigation keys (up, down) with an empty console results in a panic with out-of-band error.

@mtb0x1 Thanks for this fix. I ran into the same problem.

repo: Netflix/bpftop


text:
go client: No Domain when polliing for task

When using go client with an empty string domain, it's creating below GET call, which I think Conductor server does not like. Removing domain=& from the call works for polling. Is this is a known bug?
2020/11/02 14:19:23 Sending [ GET ] request to Server ( http://localhost:8080/api/tasks/poll/get_model?workerid=C02&domain=& ):
2020/11/02 14:19:23 Body:
2020/11/02 14:19:23
2020/11/02 14:19:24 Received response from Server ( http://localhost:8080/api ):
2020/11/02 14:19:24 Status:  204 No Content
2020/11/02 14:19:24 Response:
2020/11/02 14:19:24

Go client
github.com/netflix/conductor/client/go v0.0.0-20201029170655-6bce3912d3ce

@djcass44 Could you please help with this potential issue in the go client? Thank you.

@apanicker-nflx I've implemented a possible fix in #1976, are you able to take a look?

authors: apanicker-nflx djcass44 rmohta

repo: Netflix/conductor