text:
Failed while install this repo

By using both .sh and by hand method, I failed in setup.py anyway. Could you be so kind to check which is the key point?
Compiling toolkit/utils/region.pyx because it changed.
[1/1] Cythonizing toolkit/utils/region.pyx
/home/spai/anaconda3/envs/pysot_self/lib/python3.7/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /home/spai/code/attack/pysot/toolkit/utils/region.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)

Error compiling Cython file:
------------------------------------------------------------
...

from libc.stdlib cimport malloc, free
from libc.stdio cimport sprintf
from libc.string cimport strlen

cimport c_region
        ^
------------------------------------------------------------

toolkit/utils/region.pyx:11:8: 'c_region.pxd' not found

Error compiling Cython file:
------------------------------------------------------------
...
    RECTANGEL
    POLYGON
    MASK

cdef class RegionBounds:
    cdef c_region.region_bounds* _c_region_bounds
         ^
------------------------------------------------------------

toolkit/utils/region.pyx:21:9: 'region_bounds' is not a type identifier

Error compiling Cython file:
------------------------------------------------------------
...
        self._c_region_bounds.bottom = bottom
        self._c_region_bounds.left = left
        self._c_region_bounds.right = right

cdef class Rectangle:
    cdef c_region.region_rectangle* _c_region_rectangle
         ^
------------------------------------------------------------

toolkit/utils/region.pyx:58:9: 'region_rectangle' is not a type identifier

Error compiling Cython file:
------------------------------------------------------------
...
                self._c_region_rectangle.y,
                self._c_region_rectangle.width,
                self._c_region_rectangle.height)

cdef class Polygon:
    cdef c_region.region_polygon* _c_region_polygon
         ^
------------------------------------------------------------

toolkit/utils/region.pyx:99:9: 'region_polygon' is not a type identifier

Error compiling Cython file:
------------------------------------------------------------
...
    else:
        pno_bounds = RegionBounds(-float("inf"), float("inf"),
                                  -float("inf"), float("inf"))
    cdef float only1 = 0
    cdef float only2 = 0
    cdef c_region.region_polygon* c_polygon1 = polygon1_._c_region_polygon
         ^
------------------------------------------------------------

toolkit/utils/region.pyx:182:9: 'region_polygon' is not a type identifier

Error compiling Cython file:
------------------------------------------------------------
...
        pno_bounds = RegionBounds(-float("inf"), float("inf"),
                                  -float("inf"), float("inf"))
    cdef float only1 = 0
    cdef float only2 = 0
    cdef c_region.region_polygon* c_polygon1 = polygon1_._c_region_polygon
    cdef c_region.region_polygon* c_polygon2 = polygon2_._c_region_polygon
         ^
------------------------------------------------------------

toolkit/utils/region.pyx:183:9: 'region_polygon' is not a type identifier

Error compiling Cython file:
------------------------------------------------------------
...
                                  -float("inf"), float("inf"))
    cdef float only1 = 0
    cdef float only2 = 0
    cdef c_region.region_polygon* c_polygon1 = polygon1_._c_region_polygon
    cdef c_region.region_polygon* c_polygon2 = polygon2_._c_region_polygon
    cdef c_region.region_bounds no_bounds = pno_bounds._c_region_bounds[0] # deference
         ^
------------------------------------------------------------

toolkit/utils/region.pyx:184:9: 'region_bounds' is not a type identifier

Error compiling Cython file:
------------------------------------------------------------
...

cdef class RegionBounds:
    cdef c_region.region_bounds* _c_region_bounds

    def __cinit__(self):
        self._c_region_bounds = <c_region.region_bounds*>malloc(
                                 ^
------------------------------------------------------------

toolkit/utils/region.pyx:24:33: 'region_bounds' is not a type identifier

Error compiling Cython file:
------------------------------------------------------------
...
cdef class RegionBounds:
    cdef c_region.region_bounds* _c_region_bounds

    def __cinit__(self):
        self._c_region_bounds = <c_region.region_bounds*>malloc(
                sizeof(c_region.region_bounds))
                                ^
------------------------------------------------------------

toolkit/utils/region.pyx:25:32: cimported module has no attribute 'region_bounds'

Error compiling Cython file:
------------------------------------------------------------
...

cdef class Rectangle:
    cdef c_region.region_rectangle* _c_region_rectangle

    def __cinit__(self):
        self._c_region_rectangle = <c_region.region_rectangle*>malloc(
                                    ^
------------------------------------------------------------

toolkit/utils/region.pyx:61:36: 'region_rectangle' is not a type identifier

Error compiling Cython file:
------------------------------------------------------------
...
cdef class Rectangle:
    cdef c_region.region_rectangle* _c_region_rectangle

    def __cinit__(self):
        self._c_region_rectangle = <c_region.region_rectangle*>malloc(
                sizeof(c_region.region_rectangle))
                                ^
------------------------------------------------------------

toolkit/utils/region.pyx:62:32: cimported module has no attribute 'region_rectangle'

Error compiling Cython file:
------------------------------------------------------------
...
        args:
            points: tuple of point
            points = ((1, 1), (10, 10))
        """
        num = len(points) // 2
        self._c_region_polygon = <c_region.region_polygon*>malloc(
                                  ^
------------------------------------------------------------

toolkit/utils/region.pyx:108:34: 'region_polygon' is not a type identifier

Error compiling Cython file:
------------------------------------------------------------
...
            points: tuple of point
            points = ((1, 1), (10, 10))
        """
        num = len(points) // 2
        self._c_region_polygon = <c_region.region_polygon*>malloc(
                sizeof(c_region.region_polygon))
                                ^
------------------------------------------------------------

toolkit/utils/region.pyx:109:32: cimported module has no attribute 'region_polygon'

Error compiling Cython file:
------------------------------------------------------------
...
                sizeof(c_region.region_polygon))
        if not self._c_region_polygon:
            self._c_region_polygon = NULL
            raise MemoryError()
        self._c_region_polygon.count = num
        self._c_region_polygon.x = <float*>malloc(sizeof(float) * num)
                                   ^
------------------------------------------------------------

toolkit/utils/region.pyx:114:35: Cannot convert 'float *' to Python object

Error compiling Cython file:
------------------------------------------------------------
...
            raise MemoryError()
        self._c_region_polygon.count = num
        self._c_region_polygon.x = <float*>malloc(sizeof(float) * num)
        if not self._c_region_polygon.x:
            raise MemoryError()
        self._c_region_polygon.y = <float*>malloc(sizeof(float) * num)
                                   ^
------------------------------------------------------------

toolkit/utils/region.pyx:117:35: Cannot convert 'float *' to Python object

Error compiling Cython file:
------------------------------------------------------------
...
            self._c_region_polygon.x[i] = points[i*2]
            self._c_region_polygon.y[i] = points[i*2+1]

    def __dealloc__(self):
        if self._c_region_polygon is not NULL:
            if self._c_region_polygon.x is not NULL:
                                        ^
------------------------------------------------------------

toolkit/utils/region.pyx:127:40: Invalid types for 'is_not' (Python object, void *)

Error compiling Cython file:
------------------------------------------------------------
...
            self._c_region_polygon.y[i] = points[i*2+1]

    def __dealloc__(self):
        if self._c_region_polygon is not NULL:
            if self._c_region_polygon.x is not NULL:
                free(self._c_region_polygon.x)
                                           ^
------------------------------------------------------------

toolkit/utils/region.pyx:128:43: Cannot convert Python object to 'void *'

Error compiling Cython file:
------------------------------------------------------------
...

    def __dealloc__(self):
        if self._c_region_polygon is not NULL:
            if self._c_region_polygon.x is not NULL:
                free(self._c_region_polygon.x)
                self._c_region_polygon.x = NULL
                                           ^
------------------------------------------------------------

toolkit/utils/region.pyx:129:43: Cannot convert 'void *' to Python object

Error compiling Cython file:
------------------------------------------------------------
...
    def __dealloc__(self):
        if self._c_region_polygon is not NULL:
            if self._c_region_polygon.x is not NULL:
                free(self._c_region_polygon.x)
                self._c_region_polygon.x = NULL
            if self._c_region_polygon.y is not NULL:
                                        ^
------------------------------------------------------------

toolkit/utils/region.pyx:130:40: Invalid types for 'is_not' (Python object, void *)

Error compiling Cython file:
------------------------------------------------------------
...
        if self._c_region_polygon is not NULL:
            if self._c_region_polygon.x is not NULL:
                free(self._c_region_polygon.x)
                self._c_region_polygon.x = NULL
            if self._c_region_polygon.y is not NULL:
                free(self._c_region_polygon.y)
                                           ^
------------------------------------------------------------

toolkit/utils/region.pyx:131:43: Cannot convert Python object to 'void *'

Error compiling Cython file:
------------------------------------------------------------
...
            if self._c_region_polygon.x is not NULL:
                free(self._c_region_polygon.x)
                self._c_region_polygon.x = NULL
            if self._c_region_polygon.y is not NULL:
                free(self._c_region_polygon.y)
                self._c_region_polygon.y = NULL
                                           ^
------------------------------------------------------------

toolkit/utils/region.pyx:132:43: Cannot convert 'void *' to Python object

Error compiling Cython file:
------------------------------------------------------------
...
    cdef float only1 = 0
    cdef float only2 = 0
    cdef c_region.region_polygon* c_polygon1 = polygon1_._c_region_polygon
    cdef c_region.region_polygon* c_polygon2 = polygon2_._c_region_polygon
    cdef c_region.region_bounds no_bounds = pno_bounds._c_region_bounds[0] # deference
    return c_region.compute_polygon_overlap(c_polygon1,
                   ^
------------------------------------------------------------

toolkit/utils/region.pyx:185:19: cimported module has no attribute 'compute_polygon_overlap'
Traceback (most recent call last):
  File "setup.py", line 21, in <module>
    ext_modules=cythonize(ext_modules)
  File "/home/spai/anaconda3/envs/pysot_self/lib/python3.7/site-packages/Cython/Build/Dependencies.py", line 1154, in cythonize
    cythonize_one(*args)
  File "/home/spai/anaconda3/envs/pysot_self/lib/python3.7/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
    raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: toolkit/utils/region.pyx

# packages in environment at /home/spai/anaconda3/envs/pysot_self:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
_openmp_mutex             5.1                       1_gnu    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
blas                      1.0                         mkl    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
brotlipy                  0.7.0           py37h27cfd23_1003    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
ca-certificates           2023.12.12           h06a4308_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
certifi                   2022.12.7        py37h06a4308_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
cffi                      1.15.1           py37h5eee18b_3    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
charset-normalizer        2.0.4              pyhd3eb1b0_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
colorama                  0.4.6                    pypi_0    pypi
cryptography              39.0.1           py37h9ce1e76_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
cuda90                    1.0                  h6433d27_0    pytorch
cudatoolkit               9.0                  h13b8566_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
cudnn                     7.6.5                 cuda9.0_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
cycler                    0.11.0                   pypi_0    pypi
cython                    3.0.8                    pypi_0    pypi
flit-core                 3.6.0              pyhd3eb1b0_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
fonttools                 4.38.0                   pypi_0    pypi
freetype                  2.12.1               h4a9f257_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
giflib                    5.2.1                h5eee18b_3    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
idna                      3.4              py37h06a4308_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
intel-openmp              2023.1.0         hdb19cb5_46306    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
jpeg                      9e                   h5eee18b_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
kiwisolver                1.4.5                    pypi_0    pypi
lcms2                     2.12                 h3be6417_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
ld_impl_linux-64          2.38                 h1181459_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
lerc                      3.0                  h295c915_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libblas                   3.9.0           1_h86c2bf4_netlib    https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
libcblas                  3.9.0           5_h92ddd45_netlib    https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
libdeflate                1.17                 h5eee18b_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libffi                    3.4.4                h6a678d5_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libgcc-ng                 11.2.0               h1234567_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libgfortran-ng            11.2.0               h00389a5_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libgfortran5              11.2.0               h1234567_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libgomp                   11.2.0               h1234567_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
liblapack                 3.9.0           5_h92ddd45_netlib    https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
libopenblas               0.3.21               h043d6bf_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libpng                    1.6.39               h5eee18b_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libstdcxx-ng              11.2.0               h1234567_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libtiff                   4.5.1                h6a678d5_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libwebp                   1.2.4                h11a3e52_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libwebp-base              1.2.4                h5eee18b_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
lz4-c                     1.9.4                h6a678d5_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
matplotlib                3.5.3                    pypi_0    pypi
mkl                       2018.0.3                      1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
nccl                      1.3.5                 cuda9.0_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
ncurses                   6.4                  h6a678d5_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
ninja                     1.10.2               h06a4308_5    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
ninja-base                1.10.2               hd09550d_5    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
numpy                     1.21.6           py37h976b520_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
opencv-python             4.9.0.80                 pypi_0    pypi
openssl                   1.1.1w               h7f8727e_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
packaging                 23.2                     pypi_0    pypi
pillow                    9.4.0            py37h6a678d5_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
pip                       23.3.2             pyhd8ed1ab_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
protobuf                  4.24.4                   pypi_0    pypi
pycparser                 2.21               pyhd3eb1b0_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
pyopenssl                 23.0.0           py37h06a4308_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
pyparsing                 3.1.1                    pypi_0    pypi
pysocks                   1.7.1                    py37_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
python                    3.7.16               h7a1cb2a_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
python-dateutil           2.8.2                    pypi_0    pypi
python_abi                3.7                     2_cp37m    https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
pytorch                   0.4.1            py37ha74772b_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
pyyaml                    6.0.1                    pypi_0    pypi
readline                  8.2                  h5eee18b_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
requests                  2.28.1           py37h06a4308_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
setuptools                69.0.3             pyhd8ed1ab_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
six                       1.16.0                   pypi_0    pypi
sqlite                    3.41.2               h5eee18b_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
tensorboardx              2.6.2.2                  pypi_0    pypi
tk                        8.6.12               h1ccaba5_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
torchvision               0.13.1          cpu_py37h164cc8f_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
tqdm                      4.66.1                   pypi_0    pypi
typing_extensions         4.4.0            py37h06a4308_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
urllib3                   1.26.14          py37h06a4308_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
wheel                     0.38.4           py37h06a4308_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
xz                        5.4.5                h5eee18b_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
yacs                      0.1.8                    pypi_0    pypi
zlib                      1.2.13               h5eee18b_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
zstd                      1.5.5                hc292b87_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main

using pip install Cython==0.29.21 instead, this repo use cython2. just go back to old version

Package           Version

certifi           2022.12.7
colorama          0.4.6
cycler            0.11.0
Cython            0.29.21
fonttools         4.38.0
kiwisolver        1.4.5
matplotlib        3.5.3
numpy             1.21.6
opencv-python     4.9.0.80
packaging         23.2
Pillow            9.5.0
pip               22.3.1
protobuf          4.24.4
pyparsing         3.1.1
python-dateutil   2.8.2
PyYAML            6.0.1
setuptools        65.6.3
six               1.16.0
tensorboardX      2.6.2.2
torch             1.13.1+cu116
tqdm              4.66.1
typing_extensions 4.7.1
wheel             0.38.4
wincertstore      0.2
yacs              0.1.8

using pip install Cython==0.29.21 instead, this repo use cython2. just go back to old version

Thanks a lot! It works for me. The installation is done.
But I face another issue here:
RuntimeError: CuDNN error: CUDNN_STATUS_SUCCESS

I double checked the version in conda env, and are sure about the version of cuda, torch and cudnn are fit. Any suggestion for that?

using pip install Cython==0.29.21 instead, this repo use cython2. just go back to old version

Thanks a lot! It works for me. The installation is done.
But I face another issue here:
RuntimeError: CuDNN error: CUDNN_STATUS_SUCCESS

I double checked the version in conda env, and are sure about the version of cuda, torch and cudnn are fit. Any suggestion for that?

Hello, I encountered the same problem, have you solved it?

I upgraded torch version and it worked. I used 1.10.1 instead.

repo: STVIR/pysot


text:
Fix pending job detection

The rpm-packaging job needs to wait if OBS is in unpublished state.

+1

thats a serious big hammer. publishing can take hours :/

And it's wrong. Sorry for the noise...

source: gharchive/pull-request

authors: aplanas dirkmueller toabctl

repo: SUSE-Cloud/automation

license_type: permissive

license_source: bigquery


text:
Rename fissile to quarks

All labels, annotations and other names containing "fissile" should be renamed to "quarks" as cfo uses quarks now instead of fissile

Done on https://github.com/SUSE/kubecf/pull/135.

source: gharchive/issue

repo: SUSE/kubecf

license_source: github-api


text:
User (UAA) Features

Console user.. not the cf user associated with an endpoint

Log out
View details about the logged in user

UAA info including 'groups'

Edit details about the logged in user

Given name
Family name

Change password

Top right drop down menu as before?

This issue was moved to cloudfoundry-incubator/stratos#1519

authors: nwmac richard-cox

repo: SUSE/stratos


text:
Add Wendi Luan's page and improve .gitignore

Change gitignore to remove unnecessary file.
Add my application sharing page

Your page is successfully merged, thanks for your contribution!

license: MIT


text:
Transcription is creating duplicate sentences

Transcribe is returning text with repeating sentences
Running with tiny.en model on cpu and int8 compute type:
[Segment(id=1, seek=240, start=0.0, end=2.4, text=' with times it. With times it. With times it. With times it. With times it. With
times it. With times it. With times it. With times it. With times it. With times it. With times it. With times it. With times it. With times
it. With times it. With times it. With times it. With times it. With times it. With times it. With times it. With times it. With times it. With
times it. With times it. With times it. With times it. With times it. With times it. With times it. With times it. With times it. With times
it. With times it. With times it. With times it. With times it. With times it. With times it. With times it. With times it. With times it. With
times it. With times it. With times it. With times it. With times it. With times it. With times it. With times it. With times it. With times
it. With times it. With times it. With times it', tokens=[50363, 351, 1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080,
1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080,
1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080,
1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080,
1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080,
1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080,
1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080,
1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080,
1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080,
1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340, 13, 2080, 1661, 340], temperature=1.0,
avg_logprob=-0.12661736170450846, compression_ratio=27.032258064516128, no_speech_prob=0.22830641269683838,
words=None)]

segments, _ = self.model.transcribe(file_path,
                                            vad_filter=True,
                                            vad_parameters=dict(min_silence_duration_ms=500))
print(segments)

This wasnt happening before upgrading to 1.0.0

I am also seeing this issue.  I used this code:
model = WhisperModel("small.en", compute_type="int8")
segments, info = model.transcribe("turnOnKitchenSink.wav")
for segment in segments:
    print("[%.2fs -> %.2fs] %s" % (segment.start, segment.end, segment.text))

and got this output:
[0.00s -> 29.20s]  Turn on kitchen sink. Turn on kitchen sink.

I get the same output if I don't specify compute_type.  The audio sample is: turnOnKitchenSink.zip

I cant point to a specific audio sample it was happening to, it was happening to any that I tried. I'm not sure if it was a problem on gpu, I was using cpu for my testing, but I reverted my code to 0.10.1 until there's a fix.

I see the same issue when i set a language. (medium and large-v3 model tested).
Happens on medium.en just as on other models if a language is set.
If i set language to autodetect, its fine. older version is fine too.

As update: It was introduced with this commit:
https://github.com/SYSTRAN/faster-whisper/commit/092067208b45e5eb935bfe8b0ac42b8341da9434
When i revert this one back, its fine again.

@Sharrnah , hello. Can you try again with this fix ?

I am also seeing this issue.

[0.00s -> 29.20s]  Turn on kitchen sink. Turn on kitchen sink.

I get the same output if I don't specify compute_type. The audio sample is: turnOnKitchenSink.zip

Looks good with PR #705:
[00:00.000 --> 00:02.220]  Turn on kitchen sink.

@Sharrnah , hello. Can you try again with this fix ?

Thanks. looks fine with the fix. :)

fully tested the fix, and works well.

authors: James-Shared-Studios Purfview Sharrnah greerviau stu247 trungkienbkhn

repo: SYSTRAN/faster-whisper


text:
🛑 HEMIS is down

In e1ddd33, HEMIS (149.54.12.140) was down:

HTTP code: 0
Response time: 0 ms

Resolved: HEMIS is back up in 408bb43 after 18 minutes.

repo: Saboor-Hakimi/upptime


text:
check for warnings during build

So far we have not checked for compile-time warnings, which is actually really useful. We no introduce a check for this, which is similar to the one used with the sac2c repo. If we detect any warnings (which we don't filter out), then we fail the build.

So warnings checking is working, lol.
The current warnings on both platforms are datatype related, on calls of abs, <, <=, >, and >=, stating that the given check is either always true or always false. Affected datatypes are all the unsigned ones...

Uhhh... this is a real headache.
So for abs() and neg(), the solution is straightforward. If we call abs() on a unsigned type, we just return the value. If we call neg on an unsigned number, we rightly expect a warning to be returned because this is user error.
For the relational primitives, there is no straightforward solution. GCC/Clang static analysers are a bit naive when check that a type is within bound for the relational operation on unsigned types, so the warnings are not indicative of a problem as such. To get rid of them, we either need to overhaul the primitives to also check type limits (which would satisfy the static analyser), or we need to disable this warning. I do not think it is a good idea to disable it globally, instead we should do this locally... encoding this into the code-generation scheme of sac2c is non-trivial though.
I do not know what a good solution to this is...

@hv15, could you clarify why would it be difficult to fix the >= 0 checks for unsigned types?  These do seem to be excessive for unsigned types, and it seems that your fixes to abs and friends resolve some of the issues.  What exactly is the problem with remaining warnings?

This needs to be checked after merge of #67 ...

I think this has been partially resolved through PR !67. Maybe, you can rebase and see whether this can be brought to a stage that we can merge in?

Agreed, I'll have a look at this later today.

@sbscholz your changes to sac2c, as well as the changes to stdlib (#67) have removed all warnings.

authors: ashinkarov hv15 sbscholz

repo: SacBase/Stdlib

license: ISC


text:
Regarding sentiment-controlled generation scripts

Hi @Sachin19,
I checked the sentiment related scripts you kindly pushed to the repository!
And there were a minor correction and a question regarding them.

I think in line 31 of your readme file, bash examples/training_constraint_models/train_sentiment_classifier.sh sst2 should be bash examples/training_constraint_models/train_sentiment_classifiers.sh sst2 with s at the end of the shell file name.

In the examples/training_constraint_models/train_sentiment_classifiers.sh file, in line 8, it's executing data/sentiment/create_sst_sentiment_data.py which I currently do not see in the data/sentiment directory. Could it be missing?
(I checked if the files currently in the directory could be just renamed and used, and it failed with following error.)

(mucoco2) ~/mucoco$ bash examples/training_constraint_models/train_sentiment_classifiers.sh sst2
download and preprocessing sst data
/home/hyeryungson/mucoco
[3310, 3610]
[428, 444]
[912, 909]
training sst2 classifier
Traceback (most recent call last):
  File "examples/training_constraint_models/train_classifier.py", line 31, in <module>
    train_paths.append(open(f"{base_path}/{sys.argv[3]}_{label}.{filetype}"))
FileNotFoundError: [Errno 2] No such file or directory: 'data/sentiment/sst2/train_0.jsonl'

Thanks! And I want to reiterate that I really enjoyed and appreciated your work. Look forward to exploring it further! :)

Hi Hayley, I apologize for such a long delay in my reply. The file was indeed missing (I forgot to push it). I have pushed it now. I hope it works! Please let me know if the issue persists.

Hi Sachin,
The problem Hayley raised is not addressed, train_0.jsonl is still missing. Could you update it? Besides, it seems that other files lack such as iate.414.3.terminology.tsv. I want to follow your work.
Thanks, looking forward to your update! :)

Hi,
Please look here: https://github.com/Sachin19/mucoco/blob/sampling2/examples/training_constraint_models/train_sentiment_classifiers.sh . the sst2 dataset is generated by the provided script.
And I have updated the iate files, thanks for pointing it out.
Hope it helps,
Sachin

authors: Sachin19 Yu-Fangxu hayleyson


text:
laravel crashes after sandbox=0

سلام
بعد از تغییر سندباکس کل پروژه لاراول ارور 500 میده

Hi, clear logs, make the error and post log here, Thanks!

authors: Saeed-Pooyanfar erfanghoreishi

repo: Saeed-Pooyanfar/zarinpal-laravel

license: mit


text:
docs: link to changelog

Summary of Changes

Add changelog to navigation of documentation

🦙 MegaLinter status: ✅ SUCCESS

Descriptor
Linter
Files
Fixed
Errors
Elapsed time

✅ MARKDOWN
markdown-link-check
1

0
0.26s

✅ REPOSITORY
git_diff
yes

no
0.03s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff
MegaLinter is graciously provided by

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

v0.3.0
GitHub release

Your semantic-release bot :package::rocket:

repo: Safe-DS/Stdlib


text:
[IBCDPE-428] - Adds SBG support to nf-synstage

This PR adds support for Seven Bridges URIs to nf-synstage, and updates the README file with information about how to use the new feature. At present, the SBG file staging works by taking URIs with the sbg://{id} format. The ID for each file is then passed to sbg_get in a separate channel while synapse ids are handled by the existing synapse_get process. The two channels are then brought back together (allowing for either channel to be null) before the update_input process is run. This workflow has been tested in an ec2 instance, and in tower on an example file in my CGC account, but has not yet been tested on files within the account that James set up (because I don't have access yet I could not retrieve file IDs to test with).

🚀

After removing the if-else logic for the channels to merge, I tested the workflow on tower with only synapse uris, only sbg uris and with both. all were successful.

repo: Sage-Bionetworks-Workflows/nf-synstage


text:
fix(accept/brackets): respect item.kind when moving cursor

Fixes #764

This PR adds an additional check before moving the cursor to the first brackets in front. It ensures that current item can be used with brackets. Currently, it only checks if item is either a Function or a Method.
https://github.com/Saghen/blink.cmp/blob/8a092ce8630a885ba8b3e60c85fd06a6930d3af1/lua/blink/cmp/completion/brackets/kind.lua#L31-L34
Previously, this check was performed only when brackets were going to be added. As a result, brackets wouldn't be added to items that were not Functions or Methods, but the cursor would still move to the brackets for any item.

Thanks!

authors: Saghen ruslanSorokin


text:
Doesn't work with FireMonkey

Hi, I have been using this script with Fire Monkey but I noticed it doesn't work anymore with it while it works with Violent Monkey and it works.
I opened an issue on FireMonkey repository too.
In order to debug the problem the author asked why the script doesn't work with Greasemonkey, can you help us?
Thanks a lot in advance!

can you try if with the latest version it works?

can you try if with the latest version it works?

Hi, thanks for checking back, sadly it still doesn't work, but I noticed the following errors that Firemonkey gives when opening the script editor:

I hope it can be useful.

This is due to the transformation from es6 to commonjs for compatibility. However, this is not a error. The mystery continues..


text:
🛑 Nostr Relay - wss://nostr.bitcoiner.social is down

In 90f1d48, Nostr Relay - wss://nostr.bitcoiner.social (https://nostr.bitcoiner.social) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nostr Relay - wss://nostr.bitcoiner.social is back up in 9df5ad4.

repo: Sakhalinfox/orangepilldevuptime


text:
Mac platform fixes

Using BasicHttpBinding instead of NetNamedPipeBinding
Using busy wait instead of process.WaitForExit

LGTM

authors: VoxelBoy veblush


text:
Update all custom settings getAll() methods to use UTIL_CustomSettingsFacade

Found about two dozen references to custom settings getAll() which could impact running tests in parallel.

@njjc does this issue represent incorporating all the fixes/changes made in HEDAP by @ceiroa in pull request https://github.com/SalesforceFoundation/HEDAP/pull/145
for example, I see the pull request includes a fix in the facade to set npe4__Reciprocal_Method__c to 'List Setting' not 'List Settings'.  I've made that one fix on my system, but I'm not sure if some of the other changes in this pull request also need to get in NPSP, like caching some of the settings.

I did that fix in the org that I'm working on this issue in, but if it makes it in one of your pull requests earlier then that's fine.

**lurch: add

Tracking W-009123

Included in beta release version 3.65 (Beta 1) and higher

Included in production release version 3.65

authors: LurchTheButler davidhabib mrbelvedere njjc

repo: SalesforceFoundation/Cumulus


text:
HTTPConnectionPool(host='127.0.0.1', port=5665): Max retries exceeded with url: /settings

Hi @Sam-Max
I'm trying to use JackTorr (together with Jacktook) and running into the following error using the default configuration:
HTTPConnectionPool(host='127.0.0.1', port=5665): Max retries exceeded with url: /settings (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xcea0a008>: Failed to establish a new connection: [Errno 111] Connection refused'))

Full log snippet:
2024-07-10 14:04:07.283 T:4345    error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'requests.exceptions.ConnectionError'>
                                                   Error Contents: HTTPConnectionPool(host='127.0.0.1', port=5665): Max retries exceeded with url: /settings (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xcea0a008>: Failed to establish a new connection: [Errno 111] Connection refused'))
                                                   Traceback (most recent call last):
                                                     File "/storage/.kodi/addons/script.module.urllib3/lib/urllib3/connection.py", line 203, in _new_conn
                                                       sock = connection.create_connection(
                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                     File "/storage/.kodi/addons/script.module.urllib3/lib/urllib3/util/connection.py", line 85, in create_connection
                                                       raise err
                                                     File "/storage/.kodi/addons/script.module.urllib3/lib/urllib3/util/connection.py", line 73, in create_connection
                                                       sock.connect(sa)
                                                   ConnectionRefusedError: [Errno 111] Connection refused

                                                   The above exception was the direct cause of the following exception:

                                                   Traceback (most recent call last):
                                                     File "/storage/.kodi/addons/script.module.urllib3/lib/urllib3/connectionpool.py", line 790, in urlopen
                                                       response = self._make_request(
                                                                  ^^^^^^^^^^^^^^^^^^^
                                                     File "/storage/.kodi/addons/script.module.urllib3/lib/urllib3/connectionpool.py", line 496, in _make_request
                                                       conn.request(
                                                     File "/storage/.kodi/addons/script.module.urllib3/lib/urllib3/connection.py", line 395, in request
                                                       self.endheaders()
                                                     File "/usr/lib/python3.11/http/client.py", line 1298, in endheaders
                                                     File "/usr/lib/python3.11/http/client.py", line 1058, in _send_output
                                                     File "/usr/lib/python3.11/http/client.py", line 996, in send
                                                     File "/storage/.kodi/addons/script.module.urllib3/lib/urllib3/connection.py", line 243, in connect
                                                       self.sock = self._new_conn()
                                                                   ^^^^^^^^^^^^^^^^
                                                     File "/storage/.kodi/addons/script.module.urllib3/lib/urllib3/connection.py", line 218, in _new_conn
                                                       raise NewConnectionError(
                                                   urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xcea0a008>: Failed to establish a new connection: [Errno 111] Connection refused

                                                   The above exception was the direct cause of the following exception:

                                                   Traceback (most recent call last):
                                                     File "/storage/.kodi/addons/script.module.requests/lib/requests/adapters.py", line 486, in send
                                                       resp = conn.urlopen(
                                                              ^^^^^^^^^^^^^
                                                     File "/storage/.kodi/addons/script.module.urllib3/lib/urllib3/connectionpool.py", line 844, in urlopen
                                                       retries = retries.increment(
                                                                 ^^^^^^^^^^^^^^^^^^
                                                     File "/storage/.kodi/addons/script.module.urllib3/lib/urllib3/util/retry.py", line 515, in increment
                                                       raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                   urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=5665): Max retries exceeded with url: /settings (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xcea0a008>: Failed to establish a new connection: [Errno 111] Connection refused'))

                                                   During handling of the above exception, another exception occurred:

                                                   Traceback (most recent call last):
                                                     File "/storage/.kodi/addons/plugin.video.jacktorr/service.py", line 9, in <module>
                                                       run()
                                                     File "/storage/.kodi/addons/plugin.video.jacktorr/lib/service.py", line 144, in run
                                                       DaemonMonitor().start()
                                                     File "/storage/.kodi/addons/plugin.video.jacktorr/lib/service.py", line 129, in start
                                                       self.onSettingsChanged()
                                                     File "/storage/.kodi/addons/plugin.video.jacktorr/lib/service.py", line 125, in onSettingsChanged
                                                       self._update_daemon_settings()
                                                     File "/storage/.kodi/addons/plugin.video.jacktorr/lib/service.py", line 101, in _update_daemon_settings
                                                       daemon_settings = self._get_daemon_settings()
                                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                     File "/storage/.kodi/addons/plugin.video.jacktorr/lib/service.py", line 79, in _get_daemon_settings
                                                       r = self._request(
                                                           ^^^^^^^^^^^^^^
                                                     File "/storage/.kodi/addons/plugin.video.jacktorr/lib/service.py", line 61, in _request
                                                       return request(
                                                              ^^^^^^^^
                                                     File "/storage/.kodi/addons/script.module.requests/lib/requests/api.py", line 59, in request
                                                       return session.request(method=method, url=url, **kwargs)
                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                     File "/storage/.kodi/addons/script.module.requests/lib/requests/sessions.py", line 589, in request
                                                       resp = self.send(prep, **send_kwargs)
                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                     File "/storage/.kodi/addons/script.module.requests/lib/requests/sessions.py", line 703, in send
                                                       r = adapter.send(request, **kwargs)
                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                     File "/storage/.kodi/addons/script.module.requests/lib/requests/adapters.py", line 519, in send
                                                       raise ConnectionError(e, request=request)
                                                   requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=5665): Max retries exceeded with url: /settings (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xcea0a008>: Failed to establish a new connection: [Errno 111] Connection refused'))
                                                   -->End of Python script error report<--

I'm completely new to JackTorr / TorrServer, so please excuse my possibly foolish question: Do I need to change the default configuration? If so, to what exactly?
I'm running Kodi 21.0 via CoreELEC 21.0 on a ODROID-N2-Plus.

Hi @Sam-Max
I'm trying to use JackTorr (together with Jacktook) and running into the following error using the default configuration:
HTTPConnectionPool(host='127.0.0.1', port=5665): Max retries exceeded with url: /settings (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xcea0a008>: Failed to establish a new connection: [Errno 111] Connection refused'))

Full log snippet:
I'm completely new to JackTorr / TorrServer, so please excuse my possibly foolish question: Do I need to change the default configuration? If so, to what exactly?
I'm running Kodi 21.0 via CoreELEC 21.0 on a ODROID-N2-Plus.

Sorry for the delay answer, Jacktorr has not inbuilt daemon to run the TorrServer service, you need to deploy TorrServer server on another pc, and configure Jacktorr with that server information.

Ok, I understand.
The README says

JackTorr is an torrent streaming engine for Kodi that implements TorrServer, which provides several features like an http API for streaming, memory and disk cache, API auth, etc

so that might be interpreted a bit more ample than actually is the case by other folks, too, I guess 😅
Anyways, thanks for the great Jacktook add-on! I'm now using it together with torrest. Any particular advantage of TorrServer+JackTorr over torrest?

Ok, I understand.
The README says

JackTorr is an torrent streaming engine for Kodi that implements TorrServer, which provides several features like an http API for streaming, memory and disk cache, API auth, etc

so that might be interpreted a bit more ample than actually is the case by other folks, too, I guess 😅
Anyways, thanks for the great Jacktook add-on! I'm now using it together with torrest. Any particular advantage of TorrServer+JackTorr over torrest?

Jacktorr+TorrServer has some advantages like you can configure basic auth in case you deploy on a remote server to protect remote access and you can also run torrents on RAM memory, not only on disk.

Hi, nice addon! Is it possible or will be possible to use this on the same device with a local torrserver install (on android for example)? Thanks for Jacktook and jacktorr!

authors: Sam-Max salim-b shak38


text:
replace chalk and log-symbols with ansi-colors

This PR replaces chalk and log-symbols with ansi-colors.
ansi-colors doesn't have any dependencies and includes the symbols that listr-update-renderer already uses.
ansi-colors also has notable performance improves when loading and executing compared to chalk. See the benchmarks for more information.
BTW... to run the example, I needed to update to listr@0.14 but I didn't make that change in the devDependencies.

Sorry, I'm not planning on switching to another library. Thanks.

authors: SamVerschueren doowb

repo: SamVerschueren/listr-update-renderer


text:
Fix : Making contact section visible on mobile screen

Content of contact section are hidden in home page

It can be seen on desktop screen as well but some content are only invisible

If you need this issue to solve could you please assign me or else let me know Can I start to work on this

Go Ahead!

authors: Basavarajakjbasuu codingniket yube01

repo: SamarthTech/Samarth-Website


text:
🛑 Media server is down

In 6a96b4e, Media server (https://watch.samasaur.com) was down:

HTTP code: 502
Response time: 3197 ms

ugh, looks like pacman went offline and brought down all the ghosts downstream of it

Resolved: Media server is back up in 88cc1d3 after 18 hours, 46 minutes.


text:
Severity option

Description
Move initialize part of Severity option's default value to argument parser.

Add default value of Severity option to argument parser

How has this been tested?

[X] Local tested

I'll update benchmark score after benchmark action of #311 is succeed.

repo: Samsung/CredSweeper


text:
Fixes to X3D LOD to support child objects

Added support for X3D's <LOD> (level of detail) node to enable child and sibling 3d meshes using <Transform> and <Group> nodes.
Fixes a bug identified by T.Flynn.
There is also a pull request of tests and documentation in the GVRf Tests repository at:
https://github.com/gearvrf/GearVRf-Tests/pull/132
GearVRf-DCO-1.0-Signed-off-by: Mitch Williams
m1.williams@partner.samsung.com

Investigating an issue from Tom.  Recommend not merging till I can resolve this LOD issue.

It definitely fixes a known, significant issue, so it would help if it's included in an upcoming release.  Tom's issue didn't arise from the code in this Pull Req.  Thus, I would recommend going into the next release.

Looks good to me. The tests pass with this change in. Planning to merge on Monday.

authors: liaxim mwitchwilliams

repo: Samsung/GearVRf


text:
Behaviours Panel is not reconstructing its state

Description

Open Design Editor
Select Element on Workspace
Add Behaviour -> Go To The Page => file.html
Close Design Editor
Reopen it
Select The same element
Open Behaviours panel

See that third dropdown menu has Choose File... placeholder instead of File value.

I've written some code and now it doesn't work properly only during the first opening. Now I need to investigate other purposes of this issue. I suppose it can be something with the element selection.

Now I am not sure what is responsible for this issue. I abandon it and switch to sth different.

authors: korneliakobiela lslachciak

repo: Samsung/TAU-Design-Editor


text:
svg_loader: preserveAspectRatio fix

The default value should be xMidYMid, now it is.
issue #1181

SVG samples are looks fine. But we don't have a test for else case (preserveAspect is false). I think, If there is no problem, you can do merge this. Could you please check?

the changes in the 'else' segment didn't change anything, since these lines:
            if (tvw > tvh) tvy -= (h - tvh) * 0.5f;
            else tvx -= (w - tvw) * 0.5f;

never have changed tvy or tvx values. if 'preserveAspect' is false, h = tvh and w = tvw
example to test the if segment:
<svg viewBox="-10 0 120 100" width="240" height="100">
   <path d="M -100 -100 h 300 v 300 h -300 z" fill="green" />
   <path d="M -100 -100 h 300 v 300 z" fill="blue" />
   <circle cx="50" cy="50" r="60" fill="red" />
</svg>

repo: Samsung/thorvg


text:
关于请求数据

需不需要像redux一样用到中间件

MobX 中没有 Redux 中的中间件概念
可以参考 编写异步Actions
希望对你有所帮助

我这边有个疑惑，在关于使用react的时,在did生命周期里打印store里面有个属性citylist,然后接着打印store.citylist得到的undefined为啥但是我放在render里面就可以

描述的太抽象了 不好定位问题
可以贴个在线demo之类的

repo: SangKa/mobx-docs-cn


text:
[BUG] All samplers work except for dpm++ on Mac

Model
Stable Diffusion (Realistic Vision 1.4)
Describe the bug
All samplers work except for dpm++. When dpm++ is selected, a few seconds after clicking the 'Dream' button I get this error in the app:

Something went wrong: Error: 500 Internal Server Error Internal Server Error <>The server encountered an internal error and was unable to complete vour reauest. Either the server is overloaded or there is an error in the application

I get this print in my shell:
127.0.0.1 - - [23/Apr/2023 23:37:13] "POST /inpaint HTTP/1.1" 200 - 2023-04-23 23:37:58.727 | INFO     | lama_cleaner.server:process:255 - Origin image shape: (1024, 1024, 3) 2023-04-23 23:37:58.727 | INFO     | lama_cleaner.server:process:257 - Resized image shape: (1024, 1024, 3) 2023-04-23 23:37:58.728 | INFO     | lama_cleaner.model.base:_scaled_pad_forward:276 - Resize image to do sd inpainting: (981, 570, 3) -> (981, 570, 3) 2023-04-23 23:37:58.728 | INFO     | lama_cleaner.model.base:_pad_forward:56 - final forward pad size: (984, 576, 3)   6%|█████▉                                                                                | 1/18 [00:02<00:46,  2.73s/it] 2023-04-23 23:38:02.061 | INFO     | lama_cleaner.server:process:273 - process time: 3333.6896896362305ms [2023-04-23 23:38:02,062] ERROR in app: Exception on /inpaint [POST] Traceback (most recent call last):   File "/Users/Alex/miniconda3/envs/pytorch_env/lib/python3.10/site-packages/flask/app.py", line 2447, in wsgi_app     response = self.full_dispatch_request()   File "/Users/Alex/miniconda3/envs/pytorch_env/lib/python3.10/site-packages/flask/app.py", line 1952, in full_dispatch_request     rv = self.handle_user_exception(e)   File "/Users/Alex/miniconda3/envs/pytorch_env/lib/python3.10/site-packages/flask_cors/extension.py", line 165, in wrapped_function     return cors_after_request(app.make_response(f(*args, **kwargs)))   File "/Users/Alex/miniconda3/envs/pytorch_env/lib/python3.10/site-packages/flask/app.py", line 1821, in handle_user_exception     reraise(exc_type, exc_value, tb)   File "/Users/Alex/miniconda3/envs/pytorch_env/lib/python3.10/site-packages/flask/_compat.py", line 39, in reraise     raise value   File "/Users/Alex/miniconda3/envs/pytorch_env/lib/python3.10/site-packages/flask/app.py", line 1950, in full_dispatch_request     rv = self.dispatch_request()   File "/Users/Alex/miniconda3/envs/pytorch_env/lib/python3.10/site-packages/flask/app.py", line 1936, in dispatch_request     return self.view_functions[rule.endpoint](**req.view_args)   File "/Users/Alex/miniconda3/envs/pytorch_env/lib/python3.10/site-packages/lama_cleaner/server.py", line 263, in process     res_np_img = model(image, mask, config)   File "/Users/Alex/miniconda3/envs/pytorch_env/lib/python3.10/site-packages/lama_cleaner/model_manager.py", line 60, in __call__     return self.model(image, mask, config)   File "/Users/Alex/miniconda3/envs/pytorch_env/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context     return func(*args, **kwargs)   File "/Users/Alex/miniconda3/envs/pytorch_env/lib/python3.10/site-packages/lama_cleaner/model/base.py", line 263, in __call__     crop_image = self._scaled_pad_forward(crop_img, crop_mask, config)   File "/Users/Alex/miniconda3/envs/pytorch_env/lib/python3.10/site-packages/lama_cleaner/model/base.py", line 279, in _scaled_pad_forward     inpaint_result = self._pad_forward(downsize_image, downsize_mask, config)   File "/Users/Alex/miniconda3/envs/pytorch_env/lib/python3.10/site-packages/lama_cleaner/model/base.py", line 58, in _pad_forward     result = self.forward(pad_image, pad_mask, config)   File "/Users/Alex/miniconda3/envs/pytorch_env/lib/python3.10/site-packages/lama_cleaner/model/sd.py", line 143, in forward     output = self.model(   File "/Users/Alex/miniconda3/envs/pytorch_env/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context     return func(*args, **kwargs)   File "/Users/Alex/miniconda3/envs/pytorch_env/lib/python3.10/site-packages/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_inpaint.py", line 865, in __call__     latents = self.scheduler.step(noise_pred, t, latents, **extra_step_kwargs).prev_sample   File "/Users/Alex/miniconda3/envs/pytorch_env/lib/python3.10/site-packages/diffusers/schedulers/scheduling_dpmsolver_multistep.py", line 475, in step     prev_sample = self.multistep_dpm_solver_second_order_update(   File "/Users/Alex/miniconda3/envs/pytorch_env/lib/python3.10/site-packages/diffusers/schedulers/scheduling_dpmsolver_multistep.py", line 367, in multistep_dpm_solver_second_order_update     return x_t UnboundLocalError: local variable 'x_t' referenced before assignment 127.0.0.1 - - [23/Apr/2023 23:38:02] "POST /inpaint HTTP/1.1" 500 - l__     latents = self.scheduler.step(noise_pred, t, latents, **extra_step_kwargs).prev_sample   File "/Users/Alex/miniconda3/envs/pytorch_env/lib/python3.10/site-packages/diffusers/schedulers/scheduling_dpmsolver_multistep.py", line 475, in step     prev_sample = self.multistep_dpm_solver_second_order_update(   File "/Users/Alex/miniconda3/envs/pytorch_env/lib/python3.10/site-packages/diffusers/schedulers/scheduling_dpmsolver_multistep.py", line 367, in multistep_dpm_solver_second_order_update     return x_t UnboundLocalError: local variable 'x_t' referenced before assignment 127.0.0.1 - - [23/Apr/2023 23:38:02] "POST /inpaint HTTP/1.1" 500 -
System Info
Software version used

lama-cleaner: 1.1.2
pytorch: 2.0.0

I'm using mps on Mac OS 13.3.1

Which version of diffusers are you using? I test with diffusers==0.14.0 and it works fine.

Hey, I'm on 0.14.0. I just gave it another go, and now it's working. I'm really not sure what has changed! I've rebooted recently, so perhaps that's it. Apologies.

authors: Sanster alexzadeh

repo: Sanster/lama-cleaner


text:
SARAALERT-1003: add advanced filter by relative date

Description
Jira Ticket: SARAALERT-1003
Add a relative date option to advanced filters.  Example case: users want to see all monitorees with Symptom Onset Date in the past X days
(Feature) Demo/Screenshots

Important Changes
Please list important files (meaning substantial or integral to the PR) along with a list of the general changes that should be highlighted for reviewers.
AdvancedFilter.js

Added new type relative for relative dates that supports filtering by today, tomorrow, yesterday and custom options that include in the past/next number days/weeks/months
Added a second date advanced filter (in addition to the hardcoded dates) to the following fields: LDE, enrolled, symptom onset and latest report

public_health_controller.rb

Necessary backend changes for supporting all relative date options

Testing
This fix was tested on the following browsers (submitter must check all those that apply):

[x] Chrome
[ ] Firefox
[ ] Safari
[ ] IE11

Please describe the tests needed to verify your changes. Provide instructions for reproducing these tests. List any relevant details for your test configuration.
NOTE: the past/next custom options should include the current day (today) in the filter

looks like this branch could use a rebase

looks like this branch could use a rebase

rebased

authors: sgober timwongj

repo: SaraAlert/SaraAlert


text:
Support Action Type

Press Enter key to confirm

supported in 0.0.4.
please run flutter pub upgrade.


text:
Bug in blog.html page

Description
The social media icons in blog.html page shall be same in terms of color and design on the index.html
I can style them and display them as same as in index.html
Screenshots
No response

@SauravMukherjee44 , Can you please assign this issue to me?

Go for it!
For support join our discord community: https://discord.com/servers/codein-community-831388874118660156


text:
Suggestions

Option to set a role that is not allowed to create a ticket.
Ability to set up multiple Panel to create a ticket, with the option to switch between the current method (Drop down) to single buttons.  And the text per panel should be customizable to.

Add an option to set Staffroles per category and use rolesWhoHaveAccessToTheTickets as default and if rolesWhoHaveAccess is set in here
{      "codeName": "other", // The name need to be in lowercase      "name": "Other", // The name that will be displayed in the ticket      "description": "Description of Category Other", // The description of the Ticket in Create Ticket Menu      "emoji": "", // The emoji of the type (can be blank)      "color": "", // Can be a hex color or blank to use the main color      "categoryId": "", // The category id where the tickets will be created      "customDescription": "", // The custom description of the ticket type (set to blank to use the default description)      "askReason": false // If the bot should ask the reason of the ticket    }

it will override rolesWhoHaveAccessToTheTickets

repo: Sayrix/Ticket-Bot


text:
Update airframe-log to 22.3.0

Updates org.wvlet.airframe:airframe-log from 22.1.0 to 22.3.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.wvlet.airframe", artifactId = "airframe-log" } ]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #371.

repo: ScalaConsultants/mesmer


text:
Update zio-config, zio-config-typesafe to 4.0.2

About this PR
📦 Updates

dev.zio:zio-config
dev.zio:zio-config-typesafe

from 3.0.7 to 4.0.2 ⚠
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.zio" }
}]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

Superseded by #212.


text:
File previews

Text or image previews can be displayed in the details panel. The information can go under the details panel or replace it if more space is required.

[ ] C# wrapper for Rust library (separate project?)
[ ] display text (should be copyable but not editable)

This can use the library developed for giving text previews of supported files.
https://github.com/jam1garner/smush-file

repo: ScanMountGoat/ArcExplorer


text:
Change DataStream.WriteTo(DataStream stream) to DataStream.Clone(DataStream stream)

Is your feature request related to a problem? Please describe.
WriteTo(Stream) is very confusing, because the original function is write the stream to a file, not a another stream.
Describe the solution you'd like
Change the name to Clone.

WriteTo(Stream) is actually writing the content of the DataStream into an existing Stream. It is not cloning because if that Stream had previous content, the bytes from DataStream will be appended. It's not creating either a new Stream. It's just another way to WriteTo, another overload.

repo: SceneGate/Yarhl


text:
SceneView 1.0 Release Date

Hi, do you have a timeline for the 1.0 release date? I am considering entering the ARCore Geospatial API Challenge, but wanted the TerrainAnchor support for the app I have.

Hi,
It's not totally ready yet. But we recently divided SceneView and ArSceneView versions so you can target the latest ARCore version (1.35 for now) by using the depencies from those released (SceneView 1.0.0 is also now available on maven central):
https://github.com/SceneView/sceneview-android/releases/tag/v0.9.1

v0.9.1 with ARCore 1.35 works well... I had no idea there was a 0.9.1 version.
Last problem is getting the #176 crash when onBackPress of an activity. Any fixes for that?

authors: ThomasGorisse ryust

repo: SceneView/sceneview-android


text:
chore(main): release 1.1.2

:robot: I have created a release beep boop
1.1.2 (2023-02-01)
Docs

contributor: contrib-readme-action has updated readme (03d6e4a)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/School-of-Website-Engineering/TinyWaste/releases/tag/v1.1.2 :sunflower:

repo: School-of-Website-Engineering/TinyWaste


text:
Command 'amf' not found

Having this error when I try to run the application.
I have followed the instructions for setting up on windows.
I downloaded WSL and python3.9, then ran ./install.sh and got the confirmation message at the end of the script.
I have the virtual environment set up and running when I run amf.
Did I miss something during the installation?

Hello,
Apologies for the late reply.
In Linux terminal, you need to type "./amf" to run the amf command. Otherwise, the terminal will look for system folders only, where amf is not present.
I hope this solves your issue.
Best wishes,
Edouard

I assume the issue is now solved. Feel free to reopen it if needed.

authors: EEvangelisti mattsiel

repo: SchornacklabSLCU/amfinder


text:
About the data

Hi,
It seems that there is no 'experiments/10x_evaluate_models.ipynb' in the repository.
I download the donor1 file from 10x genomics from 'https://www.10xgenomics.com/resources/datasets/cd-8-plus-t-cells-of-healthy-donor-1-1-standard-3-0-2'. Specifically, I downloaded the 'binarized matrix CSV'.
However, I found it records ~40000 items and after deleting those that have no 'TRB' sequence, there are only ~13000 items left. Then, I filter out the duplicates and at last I have only ~3600 items left. So, it seems to contradict to Figure 2 in the paper as I think there are more than 3600 points in this plot. (Besides, 'KLGGALQAK'-specific TCRs take up 50% of the data (~1800items), which clearly contradicts to figure 2)
Could you resolve my question?

Hi,
Thanks for your interest.
We moved all preprocessing, experiments files, evaluation, and figure code to a reproducibility repo (https://github.com/SchubertLab/mvTCR_reproducibility), so that the mvTCR repo only contains the code of the tool. I forgot to update the README. Thanks for letting us know about this mistake.
Concerning data sizes:
The reproducibility repo also contains notebooks on how we preprocessed this data. I also ran a quick test on the 'binarized matrix CSV' , where I obtained different results. Can you please provide me the code of your filtering steps?
In the quick test, I used the following:
´´´
read the data => 46,526 cells
df_binding = pd.read_csv('data/vdj_v1_hs_aggregated_donor1_binarized_matrix.csv')
filtering for cells with TRB => 45,192 cells
df_binding = df_binding[df_binding['cell_clono_cdr3_aa'].str.contains('TRB')]
filtering for cells with TRA => 39,822 cells
df_binding = df_binding[df_binding['cell_clono_cdr3_aa'].str.contains('TRA')]
´´´
Note, that this is not the code used in the paper (for simplicity reasons) since we apply further single-cell preprocessing steps. However, the amount with TRB heavily exceeds the number you stated. Can you please check / post this filtering step?
Thanks and best,
Felix

repo: SchubertLab/mvTCR


text:
pre-commit isort and black --check only for cirrus-ci

🚀 Pull Request
Description
This PR re-instates the pre-commit behaviour for the black and isort hooks, whereby they will automatically correct files in-place on git commit rather than performing a --check. This means that developers no longer require to explicitly install black or isort; this will all be managed by pre-commit.
Subsequently, the linting cirrus-ci task customises the pre-commit-config.yaml to ensure that black and isort only perform a --check, and will fail when a non-compliance is detected, as required.
Closes #4226

Consult Iris pull request check list

@trexfeathers Right, I'm done now, honest... I'm stepping away from the keyboard
:runner: :keyboard: :rofl:

Thanks guys 🤩

@trexfeathers Awesome, thanks :clinking_glasses:

authors: bjlittle rcomer

repo: SciTools/iris


text:
启动闪退

Checklist

[X] I have already read docs/Tips.md, but my question is not solved.
[X] My question was not mentioned by others, and it is not a duplicate question.

Description
每次首次偶尔打开软件底部进度条检测到会闪退，打开第三次后会不会闪退了
Starward Version
0.11.0
Windows Version
window 10 22h2 -190454046
Log
#当天闪退的第一次

[09:10:49.172] [INFO]
Welcome to Starward v0.11.0
System: Microsoft Windows NT 10.0.19045.0
Command Line: "C:\Program Files\Starward\app-0.11.0\Starward.dll"

[09:10:49.246] [INFO] Starward.Services.DatabaseService
Database path is 'C:\Users\Sheng\Documents\Starward'

[09:10:49.343] [INFO] Starward.Services.DatabaseService
Database version is 8, target version is 8.

[09:10:49.571] [INFO] Starward.Pages.MainPage
Last game region is hkrpg_cn

[09:10:49.603] [INFO] Starward.Pages.MainPage
Navigate to "LauncherPage" with param hkrpg_cn

[09:10:50.720] [INFO] Starward.Pages.LauncherPage
Game install path of hkrpg_cn: "C:\Program Files\Star Rail\Game"

[09:10:50.755] [INFO] Starward.Pages.LauncherPage
Acutal version and gamebiz of hkrpg_cn is "2.0.0", None.

#当天闪退的第二次

[09:10:54.949] [INFO]
Welcome to Starward v0.11.0
System: Microsoft Windows NT 10.0.19045.0
Command Line: "C:\Program Files\Starward\app-0.11.0\Starward.dll"

[09:10:54.989] [INFO] Starward.Services.DatabaseService
Database path is 'C:\Users\Sheng\Documents\Starward'

[09:10:55.021] [INFO] Starward.Services.DatabaseService
Database version is 8, target version is 8.

[09:10:55.105] [INFO] Starward.Pages.MainPage
Last game region is hkrpg_cn

[09:10:55.114] [INFO] Starward.Pages.MainPage
Navigate to "LauncherPage" with param hkrpg_cn

[09:10:55.966] [INFO] Starward.Pages.LauncherPage
Game install path of hkrpg_cn: "C:\Program Files\Star Rail\Game"

[09:10:55.998] [INFO] Starward.Pages.LauncherPage
Acutal version and gamebiz of hkrpg_cn is "2.0.0", None.

#当天闪退的第三次

[09:11:02.550] [INFO]
Welcome to Starward v0.11.0
System: Microsoft Windows NT 10.0.19045.0
Command Line: "C:\Program Files\Starward\app-0.11.0\Starward.dll"

[09:11:02.591] [INFO] Starward.Services.DatabaseService
Database path is 'C:\Users\Sheng\Documents\Starward'

[09:11:02.624] [INFO] Starward.Services.DatabaseService
Database version is 8, target version is 8.

[09:11:02.706] [INFO] Starward.Pages.MainPage
Last game region is hkrpg_cn

[09:11:02.715] [INFO] Starward.Pages.MainPage
Navigate to "LauncherPage" with param hkrpg_cn

[09:11:03.568] [INFO] Starward.Pages.LauncherPage
Game install path of hkrpg_cn: "C:\Program Files\Star Rail\Game"

[09:11:03.636] [INFO] Starward.Pages.LauncherPage
Acutal version and gamebiz of hkrpg_cn is "2.0.0", None.

[09:11:04.811] [INFO] Starward.Services.UpdateService
Start to check update (Preview: False, Arch: X64)

[09:11:05.299] [INFO] Starward.Services.UpdateService
Current version: "0.11.0", latest version: "0.11.0", ignore version: null

Additional Context
No response

新年好
谢谢你的反馈，这是一个偶发问题，原因未知，也不能稳定复现。我暂时没有很好的解决办法。

好的在 2024年2月18日，18:38，Scighost @.***> 写道：
新年好
谢谢你的反馈，这是一个偶发问题，原因未知，也不能稳定复现。我暂时没有很好的解决办法。
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

repo: Scighost/Starward


text:
Update powertoys.json for the tag change

I'm a dev lead in PowerToys. Proof in : https://github.com/microsoft/PowerToys/blob/main/COMMUNITY.md#powertoys-core-team

We wrongly released the 0.82.1 tag as "V0.82.1" instead of "v0.82.1". We've just corrected that. Downloads should now contain lowercase "v": https://github.com/microsoft/PowerToys/releases/tag/v0.82.1
This PR reflects that correction.
Relates to #13612

[x] I have read the Contributing Guide.

@aliesbelik , mentioning you since you've approved the previous update too

just came here to make a similar PR

authors: cbeck-wandrian jaimecbernardo

repo: ScoopInstaller/Extras

license: Unlicense


text:
Crosshairs - overlay should be part of the chartLayout

The overlay should be constructed by the chartLayout component. Also, it should just have a rectangular path.

Not relevant anymore, each tool now creates its own overlay.

authors: ColinEberhardt chrisprice


text:
Drag zoom affects first and second axes in different manners

Bug Report
Issue:
I am unsure whether this is a true bug report or a wrong use of the tools on my part, so if it is (not a bug), sorry in advance for the inconvenience.
When plotting quantities on the first and second (at least Y) axes, zooming in and out using the scroll or the drag zoom affects plottables with different AxisIndex in different fashions, resulting in relative size between such plottables being different.
I would have expected that the zoom would not affect relative sizes between plottables, but just the axis limits (if such limits are free of course).
Another remark, but this could take the form of a feature request, in addition/extension to the LockAxisLimits, it may be relevant to give the possibility to only lock one of the limits. This could be interesting in the case where power density or some bars are plotted and one wants to zoom to see small contributions, but not lose the fact that the lower limit has to remain 0.
See the screenshots below

Initial plot

Drag zoom

Result of zoom

Note that click the central mouse button returns to the correct initial plot
Reproducing: (What do others have to do to reproduce the bug?)
// a code sample may improve communication
namespace live_sandbox
{

    public static class Program
    {
        public static void Main()
        {
            // create a plot
            var plt = new ScottPlot.Plot();
            plt.AddSignal(ScottPlot.DataGen.Sin(51,5));
            plt.AddSignal(ScottPlot.DataGen.Sin(51, 5,0,0.5));
            plt.AddSignal(ScottPlot.DataGen.Sin(51, 5,0,0.25));
            plt.AddSignal(ScottPlot.DataGen.Sin(51, 5, 0, 0.125));

            var yaxis1plot = plt.AddScatterPoints(ScottPlot.DataGen.Sin(51), ScottPlot.DataGen.Cos(51));
            yaxis1plot.YAxisIndex = 1;
            plt.Add(yaxis1plot);

            // launch the plot in an interactive window
            var window = new ScottPlot.FormsPlotViewer(plt);
            window.ShowDialog();
        }
    }
}

System Details

ScottPlot Version: 4.1.29
Operating System: Windows 10
Application Type: WinForms
.NET Version: NET Framework 4.7.2

@swharden  While playing with the LockLimits / SetAxisLimits / SetOuterViewLimits settings, I think I achieved a reasonable behavior. I will just let this open for a day in case you think this is a true bug.

There is a problem in your code, you set yaxis1plot.YAxisIndex = 1; but you did not create a y-axis with index 1. It turns out that there is one created by ScottPlot which is why it didn't throw an error, but it doesn't have valid axis limits.
Now, even with that addressed, the problem still persists. I had a crack solving it but for whatever reason, I couldn't make the zoom look right on both sets of axes.

As an aside, it's a little bit weird that the user has to handle axisIndex, it seems like something that should be internal. It allows confusion and indexes to be accidentally reused, while also giving the user more work. Maybe an idea for a future release would be to automatically assign them.

There is a problem in your code, you set yaxis1plot.YAxisIndex = 1; but you did not create a y-axis with index 1. It turns out that there is one created by ScottPlot which is why it didn't throw an error, but it doesn't have valid axis limits. You can create a new axis with plt.AddAxis(Renderable.Edge.Left, axisIndex: someNumberGreaterThanOne);

@bclehmann Thanks for the tip, I mostly based my developments on the cookbook, and there seems to be no need to add the second axis explicitely, see https://scottplot.net/cookbook/4.1/category/multi-axis/#primary-axes. Or it may mean that the cookbook needs an update in that regard

As an aside, it's a little bit weird that the user has to handle axisIndex, it seems like something that should be internal. It allows confusion and indexes to be accidentally reused, while also giving the user more work. Maybe an idea for a future release would be to automatically assign them.

This may be work for a later update. As of now it does not seem to be possible to get all axes liked to a Plot only XAxis,XAxis2 and YAxis,YAxis2

As of now it does not seem to be possible to get all axes linked to a Plot only XAxis,XAxis2 and YAxis,YAxis2

The user is responsible for keeping track of any axes they create with plt.AddAxis, the function returns the created axis.

The user is responsible for keeping track of any axes they create with plt.AddAxis, the function returns the created axis.
I understand that, and it is probably for good reasons, but when dealing internally with events like DragTo there is currently no way of knowing on which axis the current draggable is. Every interaction of such type is assumed to happen on the (0,0) axis pair.

there is currently no way of knowing on which axis the current draggable is

I hadn't thought about that, but I think if you have access to the plottable you can use the xAxisIndex and yAxisIndex to find which axis it is on. If you somehow lose a reference to one of the axes that you've added you can access the internal list with plt.GetSettings().Axes, although that's unadvised because the Settings class is not guaranteed to be stable between releases.
I accept that's a little clunky, perhaps @swharden has an idea how that could be improved.

I hadn't thought about that, but I think if you have access to the plottable you can use the xAxisIndex and yAxisIndex to find which axis it is on.

With the current API, you can get the index, but you cannot retrieve the handle to the corresponding Axis. A method like a getParentX/YAxis() or a property pointing towards the correct axis would be helpful.

Ok, after looking at the code, it seems related to the fact that MouseZoomRect only accounts for the firs set of axes
https://github.com/ScottPlot/ScottPlot/blob/b1c93cbbaf9ee3744430647dbdd74b19a9da29aa/src/ScottPlot/Settings.cs#L487-L510

authors: BambOoxX bclehmann

repo: ScottPlot/ScottPlot


text:
Crash when resizing window due to System.InvalidOperationException

Issue: When resizing the window with a graph that contains, in my case, 5 dataloggers it crashes. It only seems to occur with upwards of 1500 data points on each datalogger, and only when the graph is live (being updated at about 50ms intervals).
That makes me think it could be due to how I am scaling the x axis manually with each data point. These lines are ran after each update:
 _numberOfDataPoints++;
WpfPlot.Plot.Axes.SetLimitsX(0, _numberOfDataPoints);
WpfPlot.Refresh();

Also ManageAxisLimits() is set to false for each datalogger.
Visual Studio seems to point to line 15 in Straight.cs with this excpetion: System.InvalidOperationException: 'Collection was modified; enumeration operation may not execute.'
ScottPlot Version: NuGet package version is 5.0.36

That error message comes from a loop over the points and it typically suggests that the collection was changed out from under it. It shouldn't be possible for that loop to modify its own input. That makes me wonder if you're doing something in a separate thread? Changing the data (or possibly the axes, though I'm unsure if LINQ is capable of detecting that issue) in a separate thread could cause this issue. It may just be that you only see this with 1500+ points because the race condition is so unlikely unless rendering takes a non-negligible amount of time.
And since you're on WPF, you don't actually need multithreading to cause this issue, since you don't control when WPF decides it needs to rerender due to (for example) mouse events, which can happen on a separate thread. I haven't touched much of the datalogger code, but I think you may want to look at this FAQ page on multihreaded stuff: https://scottplot.net/faq/async/ This essentially allows you to force renders to wait until you've modified everything you need to modify. @swharden may have more DataLogger-specific tips for you.

I do wonder if this could be made a little more robust. It might be prudent to introduce locks into DataLoggerSource to essentially make DataLogger threadsafe, though this may be difficult as it would need to also hold a lock on the plot axes (which are held by the plot class, not the plottable or the source class.
One option to make this race condition drastically less likely is to make this line copy into an array, so the critical section contains only the copy (which should be very quick) and not all the drawing code as well. https://github.com/ScottPlot/ScottPlot/blob/5ccb5e1fa6a1f90798a9e5bd43dd57d25977a87d/src/ScottPlot5/ScottPlot5/Plottables/DataLogger.cs#L123 This does kinda fit with how I think most of the library works, as most plottables are technically unsafe to modify on multithreaded GUI controls (i.e. most of them) without locks but the issue is also typically borderline negligible. That may be harder to achieve with dataloggers though, since they're explicitly designed to be updated often.
One of my niche wants for ScottPlot is to make everything threadsafe with no locks in user code at all. Unfortunately, I think Reader-Writer locks are still a little problematic in .NET (especially .NET Framework, which we still support), and we would absolutely want to ensure objects like axes can be read by many threads at once, since writing to them is much more rare than reading from them. And because it would change so much user code it would end up being a ScottPlot 6 (or 7 lol) sorta thing.

I'm amazed with how much information you were able to get from my description - you are absolutely right I am running a separate thread that polls for data and adds it to the datalogger objects.
I've implemented skipping render requests from https://scottplot.net/faq/async/ and it works flawlessly even at very quick intervals.
Thanks for the help


text:
Port Visualization - Patients in hospital with suspected Covid

Port http://vis.scrc.uk/scotland/overviews-ben/scotmap-hospsuspected.html into the new platform.

The main files are added it requires further debugging and modularization of the code to make it work.
Please see the branch - https://github.com/ScottishCovidResponse/rampvis-ui/tree/porting-scotmap-charts

authors: alfieabdulrahman saifulkhan

repo: ScottishCovidResponse/rampvis-ui


text:
Syntax Suggestions

I think we should use more standard syntax for list and variable declarations/definitions.
Instead of list: foo="item1", "item2", "item3", why not list foo = {"item1", "item2", "item3"}?
And which keywords should we use for scoping?
public/private, shared/unshared, global/local, var/let, all/self?
What function do \nscript and \prep serve?
Does ScratchLang support commenting? If so, how should that work?
Based on the shebang section, I'd assume that "//" is the token of choice.
If that's the case, then it should be explicitly mentioned somewhere in the README/documentation.

The things after the \prep line are what the compiler uses to define variables, broadcasts, and lists. the \nscript line tells the compiler that it is a new script (like a green flag or broadcast receive.)
I am thinking of changing it from a '' to a '#' to make it look like a C++ preprocessor definition or something.
for the lists, I have no idea why I made it without the curly braces.
And if I'm understanding your scoping question correctly, you use var: foo=thing in the \prep section to define a variable to be used in the .ss1 file. Variables that will be available for all sprites will be defined in the Stage, but sprite-exclusive variables will be defined in their respective .ss1 files.
and yes, comments are supported with "//"

repo: ScratchLang/ScratchLang


text:
Tokenizer Does not Ignore Closing Brace Token

Currently, lines like Move[] moves = board.GetLegalMoves(); are not correctly tokenized according to the readme of the challenge.
TokenCounter.cs defines that closing braces, brackets, and parentheses are to be ignored, as a pair is to be counted as one token. Following this, the line above should contain 8 tokens. However the tokenizer currently counts 9.
Here is how I have confirmed this:
When I run this MyBot.cs file
using ChessChallenge.API;

public class MyBot : IChessBot
{
    public Move Think(Board board, Timer timer)
    {
        Move[] moves = board.GetLegalMoves();

        int[] test;

        return moves[0];
    }
}

The tokenizer counts 35 tokens:
However, when I change the array declaration int[] test; to a variable declaration int test;
The number of tokens drops by 2:
This means that both the open and close braces are being counted when they should be counted as a pair.
From what I can tell looking at the source code I'm not sure why this is happening, so if anyone else is able to reproduce this issue, please let me know. I'm not sure if this is bad etiquette but I would love if @SebLague could take a look at this and see if he could reproduce it as well.
I am currently running dotnet 6.0.412 in case that matters.
I don't see this being a platform thing but just in case: I'm running on a apple silicon macbook on macos Sonoma beta

This is a fun token. So the open and close brackets are being counted correctly, i.e. [ is counted but ] is not, but C# has a token called OmittedArraySizeExpressionToken, which is a token to specify that the array size is omitted. I'm not sure if it's correct to ignore this token, since I think you could abuse this in a clever way. int[,] test; has the following tokens:
IntKeyword  int
OpenBracketToken  [
OmittedArraySizeExpressionToken
OmittedArraySizeExpressionToken
// ignored: CloseBracketToken
IdentifierToken  test

which, if OmittedArraySizeExpressionToken is not counted, means you could abuse different dimensionality of variables to compute/encode things without accruing excess tokens.

I'm using v1.1 and my curly braces and parenthesizes are being counted on a once-per-pair basis.

That would explain it, thank you very much. I've never heard of a token that represents the lack of something. Gonna go ahead and close this issue.

authors: QuinnCG Westly-Bouchard harrisi

repo: SebLague/Chess-Challenge


text:
When will the npm version of the package be updated?

Hi! When will the npm version of the package be updated? Can you do it?

me too ! i Need the new version with polylineicon in the package

same =)

Hi! Please add AgmPolylineIcon to the next update. Really need it.
Thank you!

Release the Kraken :-D

updated

authors: Baturski DemianSteelstone aleks-bond doom777 gowthamcolife jimmykane

repo: SebastianM/angular-google-maps


text:
Add parsing of yamllint output

Parse the yamllint output so Overcommit has per-line awareness of
changes to support problem_on_unmodified_line option.

Closing with appoval.


text:
IG: Add international standing order consent PATCH/GET case in the repo consent script to store the debtorAccount in the intent object.

Description
Patch and Get the debtor account object related with the intent internationalStandingOrderIntent for RCS backend.

Add implementation to support International payment Consent in the 60-internal-repo route :

[ ] Verify, and update the buildPatchRequest function  if needed
[ ] Verify, and update the convertIDMResponse function  if needed

Acceptance criteria

[ ] A international standing order Consent is patched in the IDM with the right data
[ ] The response of the GET International standing order consent is modeled in the right way

Hey team! Please add your planning poker estimate with Zenhub @frlaura-jianu @mariantiris


text:
Add predicate range for numerical and date values

It should be possible to define a range of value
for numeric values
<predicate name="x" type="numeric">
  <within-range>[120;200]</within-range>
</predicate>

for dateTime
<predicate name="x" type="dateTime">
  <within-range>[2005-01-01;2010-01-01]</within-range>
</predicate>

https://ci.appveyor.com/project/Seddryck/nbi/build/1.16.0-beta.32.build.29

repo: Seddryck/NBi


text:
Verses Field

This is going to be a complicated component.

[ ] Needs to provide UI as show above. MUI's Autocomplete could probably get us pretty close there. We probably won't provide any autocomplete options though given how customizable input can be
The current book will be given to field
[ ] Input syntax needs to be validated. Valid:

{chapter}
{chapter}-{chapter}
{chapter}:{verse}
{chapter}:{verse}-{verse}
{chapter}:{verse}-{chapter}:{verse}
Since only numbers, :, and - are valid input it would be good to use the FormattedTextField somehow

[ ] Input string needs to be parsed to an absolute verse range

absolute verse: verses are per chapter per book. To make it easier to keep track of we are flatting that 3-level tree into 1-level. So Genesis chapter 1 verse 1 is 0 as the starting point. Gen 1:2 is 1. Gen 2:1 is 31 since Gen chapter 1 has 31 verses. Exodus 1:1 starts after the sum of all the verses in Genesis. etc.
This makes it easy to represent:interface AbsoluteVerseRange {
  start: number;
  end: number;
}

A library could be found that has this data (number of chapters & verses per book/chapter). If not we can just define ourselves.
Parse logic follows:

{chapter} -> {chapter} verse 1 to {chapter} {last verse in chapter}
{chapter}-{chapter} -> {first chapter} verse 1 to {second chapter} {last verse in chapter}
{chapter}:{verse} -> {chapter} {verse} to {chapter} {verse} (single verse)
{chapter}:{verse}-{verse} -> {chapter} {first verse} to {chapter} {second verse}
{chapter}:{verse}-{chapter}:{verse} -> {first chapter} {first verse} to {second chapter} {second verse}

[ ] The input also needs to be validated. This is an extra step after being syntactically correct.

For example, given book Genesis, this input 1:32 is syntactically correct, but it's invalid since Genesis chapter 1 only has 31 verses.
For this reason it might be good to have an intermediate shape to split parsing logic and conversion to absolute verse range logic.  interface VerseRef {
    book: string;
    chapter: number;
    verse?: number;
  }
  interface RangeRef {
    start: VerseRef;
    end: VerseRef;
  }

[ ] An absolute verse range needs to be formatted to a string. This is just the inverse of the parsing logic. This will probably need to be used in other places in our UI so it should be separated from this field file.

@CarsonF, I've been looking at https://github.com/davewasmer/biblejs because it provides absolute verse numbers based on a reference string like "Exodus 2:4". Few issues: it's been archived, no TS, and no validation for references. You could do "Exodus 2:4000" and it wouldn't blink.
I'm not seeing a lot of other options that provide absolute verse numbers. We could copy over their book, chapter and verse mappings and implement our own validation logic.
I can keep digging around and see if there are any other alternatives.

That could be a good starting point for our own logic. I don't really expect anyone to do this in a way that we need. Also the validation isn't hard logic - the scripture mapping will add the same bundle size either way (library or our own src).

Can I take on the reference string ––> AVN (absolute verse number) and AVN ––> reference string logic? Should that be a separate ticket?

Sure. That intermediate shape will probably be helpful too.
First step is handling user input
interface ScriptureReference {
  book: string;
  chapter: number;
  verse?: number;
}
type Range<T> = { start: T, end: T };
type RawScriptureRange = Range<Nullable<ScriptureReference>>>;

// This should handle partial input as well which is why `start` and `end` are nullable.
function parseScriptureRange(str: string): RawScriptureRange

From there we need to validate what they've typed
type ScriptureRange = Range<Required<ScriptureReference>>>;
// This could throw an error we can show in UI or return the completed range
// errors like "Matthew only has 28 chapters"
function validateScriptureRange(range: RawScriptureRange): ScriptureRange;

At this point we'll know the range is valid so it can be safely converted to a verse range.
Also the opposite which will come from the API.
type VerseRange = Range<number>;
function scriptureToVerseRange(range: ScriptureRange): VerseRange;
function verseToScriptureRange(range: VerseRange): ScriptureRange;

From there we can format to a string
function formatScriptureRange(range: ScriptureRange): string;

Is the reason it needs to handle/check partial input because we want to send an error if someone tries to input "Exodus: 1:400"?

Really just to keep those pieces of logic separate / single responsibility. We'll probably use the validation fn in FF validators where the parsing will be more in the formatted text section. Trying to not assume anything about usage since we don't know exactly how it will work yet.

First step is handling user input

Step one is done, starting step two

From there we need to validate what they've typed

The code for parsing and formatting is in review. I can start working on the UI.

authors: CarsonF blakekrammes

repo: SeedCompany/cord-field


text:
Common bss support

Right now data that's in the common bss area doesn't get handled properly, if a common bss area is defined in slices.yml it will apply alignment, which only should apply to the entry.
The current workaround is to not define the common section in the yml, for whatever reason it gets linked correctly.

#31 already exists for this

authors: SeekyCt SwareJonge

repo: SeekyCt/ppcdis


text:
CoH server should report clearer messages

"Couldn't load Costume!!" and "Couldn't load Supergroup colors!!" are not clear enough.
Should provide a full path of missing files + maybe inform how to get those.

Added a pull request to address this (my first git pull EVAH! haha)
I appreciate any feedback.

Looks great, already merged :)

authors: broxen nemerle

repo: Segs/Segs


text:
Remove References to CoX from Legal.txt

https://github.com/Segs/Segs/blob/a1c48c633b4554d198a1e8e84db3a23ac39f0767/Projects/CoX/docs/Legal.txt#L1-L7
@miles200 noted that our legal docs need some updating. It sounds like you're working on this, so I'm assigning this to you Miles.
Per Discord:
Legal.txt should be updated to remove references to SEGS: CoX Project and replace them with  Super Entity Game Server or just SEGS.
Also we can remove restrictions on Public Servers

There's a second legal.txt here that can probably be merged with this one: https://github.com/Segs/Segs/blob/a1c48c633b4554d198a1e8e84db3a23ac39f0767/docs/Legal.txt#L1-L3


text:
Exposed contact_dialog methods to Lua

Added calls from C++ into lua for entity_interact and on_dialog_button
Lua script for entities would be entities.lua in the same folder as locations.lua and plaques.lua for the current zone
I couldn't get the QHash for contactLinkHash in Contact.h to work, so i'm sending the int from Lua instead of the string. Example (3 vs CONTACTLINK_BYE)

In discord you mentioned adding more to this PR. I'll wait until I hear from you to pull down and test.
Thanks @ZopharShinta you rock!

Just for documentation forward. I added the following functions with the latest commit.
Character.giveXp(client, int xp
Character.giveDebt(client, int debt)
Character.giveHp(client, float hp)
Character.giveEnd(client, float end)
Character.giveInf(client, int inf)
Character.giveInsp(client, string inspirationName)
Character.giveEnhancement(client, string enhancementName)

Done. I corrected the format and added more to Lua.
Added set_target call into Lua
Added sendFloatingDamage function to Lua

authors: ZopharShinta broxen


text:
[Icon] disabled and link

semantic-ui version : 2.2.13
https://jsfiddle.net/vnmgt6y9/3/
disabled is not synchronized with link.
my comment
https://jsfiddle.net/vnmgt6y9/4/

Fixed. See https://jsfiddle.net/akym370t/

authors: lubber-de ziaratban

repo: Semantic-Org/Semantic-UI


text:
Java: Add a query for MVEL injections

I'd like to add a query that looks for expression language injections with MVEL. Here is a list of main updates:

Added experimental/Security/CWE/CWE-094/MvelInjection.ql.
Added experimental/Security/CWE/CWE-094/MvelInjectionLib.qll.
Added a qhelp file with an example of vulnerable code.
Added tests and stubs for mvel2-2.4.7.

MVEL is a powerful expression language that allows, in particular, calling arbitrary methods. That may lead to arbitrary code execution. In past, there were several issues (not reported by myself) due to unsafe evaluation of MVEL expressions:

CVE-2014-3120: RCE in Elasticsearch, see also this blog post
CVE-2013-6468: RCE in Drools

Currently, the query doesn't find the CVEs above. To make it work, the query needs to be updated with additional taint propagation steps that take into account internal structure of Elasticsearch and Drools. This internal structure is not visible to users via public APIs. I didn't model this internal structure because I am not sure if the users can benefit from it.

At first, I thought that only static methods from the MVEL class are sinks. But then I realized that there are many more sinks. I've updated the query.

I also added a sink for MVELRuntime.execute() and simplified the test a bit.

Fixed similar issues that were found in #3291

GHSL scope and impact feedback: this is a high impact query that will find potential RCE vulnerabilities. We have verified this query has a low FP rate in its result set.

@aschackmull Thanks for the review! I've addressed your comments.

authors: anticomputer artem-smotrakov

repo: Semmle/ql