text:
[BUG] - AttributeError: 'BlazingContext' object has no attribute 'need_shutdown'

Describe the bug
After 25.10.19 I have not been able to get Blazingsql to work.
CODE:
python3.7
from blazingsql import BlazingContext
bc = BlazingContext()
...
Output:
WARNING: blazingsql-orchestrator was not automativally started, its probably already running
WARNING: blazingsql-engine was not automativally started, its probably already running
^CTraceback (most recent call last):
File "cs_dataprep.py", line 17, in
bc = BlazingContext()
File "/home/REMOVED/miniconda3/envs/blazing2/lib/python3.7/site-packages/pyblazing/apiv2/context.py", line 173, in init
internal_api.SetupOrchestratorConnection(orchestrator_host_ip, orchestrator_port)
File "/home/REMOVED/miniconda3/envs/blazing2/lib/python3.7/site-packages/pyblazing/api.py", line 904, in SetupOrchestratorConnection
client.connect(orchestrator_host_ip, orchestrator_port)
File "/home/REMOVED/miniconda3/envs/blazing2/lib/python3.7/site-packages/pyblazing/api.py", line 353, in connect
self.orchestrator_port, requestBuffer)
File "/home/REMOVED/miniconda3/envs/blazing2/lib/python3.7/site-packages/pyblazing/api.py", line 311, in send_request
return client.send(requestBuffer, expect_response)
File "/home/REMOVED/miniconda3/envs/blazing2/lib/python3.7/site-packages/blazingdb/protocol/init.py", line 69, in send
length = struct.unpack('I', self.connection.socket.recv(4))[0]
KeyboardInterrupt
Exception ignored in: <function BlazingContext.del at 0x7fccc269bbf8>
Traceback (most recent call last):
File "/home/REMOVED/miniconda3/envs/blazing2/lib/python3.7/site-packages/pyblazing/apiv2/context.py", line 212, in del
if self.need_shutdown:
AttributeError: 'BlazingContext' object has no attribute 'need_shutdown'
Environment overview (please complete the following information)

Environment location: Bare-metal
Method of cuDF install: conda

Environment details
Click here to see environment details
 **git***
 Not inside a git repository

 ***OS Information***
 DISTRIB_ID=Ubuntu
 DISTRIB_RELEASE=18.04
 DISTRIB_CODENAME=bionic
 DISTRIB_DESCRIPTION="Ubuntu 18.04.3 LTS"
 NAME="Ubuntu"
 VERSION="18.04.3 LTS (Bionic Beaver)"
 ID=ubuntu
 ID_LIKE=debian
 PRETTY_NAME="Ubuntu 18.04.3 LTS"
 VERSION_ID="18.04"
 HOME_URL="https://www.ubuntu.com/"
 SUPPORT_URL="https://help.ubuntu.com/"
 BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
 PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
 VERSION_CODENAME=bionic
 UBUNTU_CODENAME=bionic
 Linux REMOVED-ub 4.15.0-66-generic #75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

 ***GPU Information***
 Mon Oct 28 10:13:09 2019
 +-----------------------------------------------------------------------------+
 | NVIDIA-SMI 430.26       Driver Version: 430.26       CUDA Version: 10.2     |
 |-------------------------------+----------------------+----------------------+
 | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
 | Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
 |===============================+======================+======================|
 |   0  GeForce RTX 2080    Off  | 00000000:01:00.0  On |                  N/A |
 | 24%   30C    P8    12W / 215W |    692MiB /  7979MiB |     10%      Default |
 +-------------------------------+----------------------+----------------------+

 +-----------------------------------------------------------------------------+
 | Processes:                                                       GPU Memory |
 |  GPU       PID   Type   Process name                             Usage      |
 |=============================================================================|
 |    0      1192      G   /usr/lib/xorg/Xorg                            28MiB |
 |    0      1227      G   /usr/bin/gnome-shell                          57MiB |
 |    0      1497      G   /usr/lib/xorg/Xorg                           195MiB |
 |    0      1630      G   /usr/bin/gnome-shell                         147MiB |
 |    0      2642      G   /snap/pycharm-community/155/jbr/bin/java       8MiB |
 |    0     15504      C   blazingsql-engine                            249MiB |
 +-----------------------------------------------------------------------------+

 ***CPU***
 Architecture:        x86_64
 CPU op-mode(s):      32-bit, 64-bit
 Byte Order:          Little Endian
 CPU(s):              8
 On-line CPU(s) list: 0-7
 Thread(s) per core:  1
 Core(s) per socket:  8
 Socket(s):           1
 NUMA node(s):        1
 Vendor ID:           GenuineIntel
 CPU family:          6
 Model:               158
 Model name:          Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
 Stepping:            12
 CPU MHz:             4615.365
 CPU max MHz:         4900,0000
 CPU min MHz:         800,0000
 BogoMIPS:            7200.00
 Virtualization:      VT-x
 L1d cache:           32K
 L1i cache:           32K
 L2 cache:            256K
 L3 cache:            12288K
 NUMA node0 CPU(s):   0-7
 Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d arch_capabilities

 ***CMake***
 /home/REMOVED/miniconda3/envs/blazing2/bin/cmake
 cmake version 3.15.4

 CMake suite maintained and supported by Kitware (kitware.com/cmake).

 ***g++***
 /usr/bin/g++
 g++ (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
 Copyright (C) 2017 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 ***nvcc***

 ***Python***
 /home/REMOVED/miniconda3/envs/blazing2/bin/python
 Python 3.7.3

 ***Environment Variables***
 PATH                            : /home/REMOVED/miniconda3/envs/blazing2/bin:/home/REMOVED/miniconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/REMOVED/.local/bin:/home/REMOVED/.local/bin
 LD_LIBRARY_PATH                 :
 NUMBAPRO_NVVM                   :
 NUMBAPRO_LIBDEVICE              :
 CONDA_PREFIX                    : /home/REMOVED/miniconda3/envs/blazing2
 PYTHON_PATH                     :

 ***conda packages***
 /home/REMOVED/miniconda3/condabin/conda
 # packages in environment at /home/REMOVED/miniconda3/envs/blazing2:
 #
 # Name                    Version                   Build  Channel
 _libgcc_mutex             0.1                        main
 alsa-lib                  1.1.5             h516909a_1001    conda-forge
 arrow-cpp                 0.14.1           py37h5ac5442_4    conda-forge
 blazingsql-calcite        0.4.5                         0    blazingsql
 blazingsql-communication  0.4.5                cuda10.0_0    blazingsql/label/cuda10.0
 blazingsql-io             0.4.4                         0    blazingsql
 blazingsql-orchestrator   0.4.5                         0    blazingsql
 blazingsql-protocol       0.4.5                    py37_0    blazingsql
 blazingsql-python         0.4.5           cuda10.0_py37_0    blazingsql/label/cuda10.0
 blazingsql-ral            0.4.5                cuda10.0_0    blazingsql/label/cuda10.0
 blazingsql-toolchain      0.4.5                         0    blazingsql
 bokeh                     1.3.4                    py37_0    conda-forge
 boost                     1.70.0           py37h9de70de_1    conda-forge
 boost-cpp                 1.70.0               h8e57a91_2    conda-forge
 brotli                    1.0.7             he1b5a44_1000    conda-forge
 bzip2                     1.0.8                h516909a_1    conda-forge
 c-ares                    1.15.0            h516909a_1001    conda-forge
 ca-certificates           2019.9.11            hecc5488_0    conda-forge
 certifi                   2019.9.11                py37_0    conda-forge
 chardet                   3.0.4                    pypi_0    pypi
 click                     7.0                        py_0    conda-forge
 cloudpickle               1.2.2                      py_0    conda-forge
 cmake                     3.15.4               hf94ab9c_0    conda-forge
 cppzmq                    4.4.1                hc9558a2_0    conda-forge
 cudatoolkit               10.0.130                      0
 cudf                      0.10.0                   py37_0    rapidsai
 curl                      7.65.3               hf8cf82a_0    conda-forge
 cython                    0.29.13          py37he1b5a44_0    conda-forge
 cytoolz                   0.10.0           py37h516909a_0    conda-forge
 dask                      2.6.0                      py_0    conda-forge
 dask-core                 2.6.0                      py_0    conda-forge
 dask-cudf                 0.10.0                   py37_0    rapidsai
 distributed               2.6.0                      py_0    conda-forge
 dlpack                    0.2                  he1b5a44_1    conda-forge
 double-conversion         3.1.5                he1b5a44_1    conda-forge
 expat                     2.2.5             he1b5a44_1004    conda-forge
 fastavro                  0.22.5           py37h516909a_0    conda-forge
 flatbuffers               1.11                     pypi_0    pypi
 fontconfig                2.13.1            h86ecdb6_1001    conda-forge
 freetype                  2.10.0               he983fc9_1    conda-forge
 fsspec                    0.5.2                      py_0    conda-forge
 geoip2                    2.9.0                    pypi_0    pypi
 gettext                   0.19.8.1          hc5be6a0_1002    conda-forge
 gflags                    2.2.2             he1b5a44_1001    conda-forge
 giflib                    5.1.7                h516909a_1    conda-forge
 glog                      0.4.0                he1b5a44_1    conda-forge
 gmock                     1.10.0                        0    conda-forge
 grpc-cpp                  1.23.0               h18db393_0    conda-forge
 gtest                     1.10.0               hc9558a2_0    conda-forge
 heapdict                  1.0.1                      py_0    conda-forge
 icu                       64.2                 he1b5a44_1    conda-forge
 idna                      2.8                      pypi_0    pypi
 jinja2                    2.10.3                     py_0    conda-forge
 jpeg                      9c                h14c3975_1001    conda-forge
 krb5                      1.16.3            h05b26f9_1001    conda-forge
 lcms2                     2.9                  h2e4bb80_0    conda-forge
 libblas                   3.8.0               14_openblas    conda-forge
 libcblas                  3.8.0               14_openblas    conda-forge
 libcudf                   0.10.0               cuda10.0_0    rapidsai
 libcurl                   7.65.3               hda55be3_0    conda-forge
 libedit                   3.1.20181209         hc058e9b_0
 libevent                  2.1.10               h72c5cf5_0    conda-forge
 libffi                    3.2.1                hd88cf55_4
 libgcc-ng                 9.1.0                hdf63c60_0
 libgcrypt                 1.8.4             hf484d3e_1000    conda-forge
 libgfortran-ng            7.3.0                hdf63c60_2    conda-forge
 libgpg-error              1.36                 he1b5a44_0    conda-forge
 libgsasl                  1.8.0             h19a2143_1004    conda-forge
 libhdfs3                  2.3               h311b756_1006    conda-forge
 libiconv                  1.15              h516909a_1005    conda-forge
 liblapack                 3.8.0               14_openblas    conda-forge
 libllvm8                  8.0.1                hc9558a2_0    conda-forge
 libntlm                   1.4               h14c3975_1002    conda-forge
 libnvstrings              0.10.0               cuda10.0_0    rapidsai
 libopenblas               0.3.7                h6e990d7_2    conda-forge
 libpng                    1.6.37               hed695b0_0    conda-forge
 libprotobuf               3.8.0                h8b12597_0    conda-forge
 librmm                    0.10.0               cuda10.0_0    rapidsai
 libsodium                 1.0.17               h516909a_0    conda-forge
 libssh2                   1.8.2                h22169c7_2    conda-forge
 libstdcxx-ng              9.1.0                hdf63c60_0
 libtiff                   4.0.10            h57b8799_1003    conda-forge
 libuuid                   2.32.1            h14c3975_1000    conda-forge
 libuv                     1.33.1               h516909a_0    conda-forge
 libxcb                    1.13              h14c3975_1002    conda-forge
 libxml2                   2.9.9                hee79883_5    conda-forge
 llvmlite                  0.30.0           py37h8b12597_0    conda-forge
 locket                    0.2.0                      py_2    conda-forge
 lz4-c                     1.8.3             he1b5a44_1001    conda-forge
 markupsafe                1.1.1            py37h14c3975_0    conda-forge
 maven                     3.6.0                         0    conda-forge
 maxminddb                 1.5.1                    pypi_0    pypi
 msgpack-python            0.6.2            py37hc9558a2_0    conda-forge
 ncurses                   6.1                  he6710b0_1
 numba                     0.46.0           py37hb3f55d8_0    conda-forge
 numpy                     1.17.3           py37h95a1406_0    conda-forge
 nvstrings                 0.10.0                   py37_0    rapidsai
 olefile                   0.46                       py_0    conda-forge
 openjdk                   11.0.1            h46a85a0_1017    conda-forge
 openssl                   1.1.1c               h516909a_0    conda-forge
 packaging                 19.2                       py_0    conda-forge
 pandas                    0.24.2           py37hb3f55d8_0    conda-forge
 parquet-cpp               1.5.1                         2    conda-forge
 partd                     1.0.0                      py_0    conda-forge
 pillow                    6.2.1            py37h6b7be26_0    conda-forge
 pip                       19.3.1                   py37_0
 psutil                    5.6.3            py37h516909a_0    conda-forge
 pthread-stubs             0.4               h14c3975_1001    conda-forge
 pyarrow                   0.14.1           py37h8b68381_2    conda-forge
 pyparsing                 2.4.2                      py_0    conda-forge
 python                    3.7.3                h5b0a415_0    conda-forge
 python-dateutil           2.8.0                      py_0    conda-forge
 pytz                      2019.3                     py_0    conda-forge
 pyyaml                    5.1.2            py37h516909a_0    conda-forge
 rapidjson                 1.1.0             he1b5a44_1002    conda-forge
 re2                       2019.09.01           he1b5a44_0    conda-forge
 readline                  7.0                  h7b6447c_5
 requests                  2.22.0                   pypi_0    pypi
 rhash                     1.3.6             h14c3975_1001    conda-forge
 rmm                       0.10.0                   py37_0    rapidsai
 setuptools                41.4.0                   py37_0
 six                       1.12.0                py37_1000    conda-forge
 snappy                    1.1.7             he1b5a44_1002    conda-forge
 sortedcontainers          2.1.0                      py_0    conda-forge
 sqlite                    3.30.1               h7b6447c_0
 tblib                     1.4.0                      py_0    conda-forge
 thrift-cpp                0.12.0            hf3afdfd_1004    conda-forge
 tk                        8.6.9             hed695b0_1003    conda-forge
 toolz                     0.10.0                     py_0    conda-forge
 tornado                   6.0.3            py37h516909a_0    conda-forge
 uriparser                 0.9.3                he1b5a44_1    conda-forge
 urllib3                   1.25.6                   pypi_0    pypi
 wheel                     0.33.6                   py37_0
 xorg-fixesproto           5.0               h14c3975_1002    conda-forge
 xorg-inputproto           2.3.2             h14c3975_1002    conda-forge
 xorg-kbproto              1.0.7             h14c3975_1002    conda-forge
 xorg-libx11               1.6.9                h516909a_0    conda-forge
 xorg-libxau               1.0.9                h14c3975_0    conda-forge
 xorg-libxdmcp             1.1.3                h516909a_0    conda-forge
 xorg-libxext              1.3.4                h516909a_0    conda-forge
 xorg-libxfixes            5.0.3             h516909a_1004    conda-forge
 xorg-libxi                1.7.10               h516909a_0    conda-forge
 xorg-libxrender           0.9.10            h516909a_1002    conda-forge
 xorg-libxtst              1.2.3             h14c3975_1002    conda-forge
 xorg-recordproto          1.14.2            h14c3975_1002    conda-forge
 xorg-renderproto          0.11.1            h14c3975_1002    conda-forge
 xorg-xextproto            7.3.0             h14c3975_1002    conda-forge
 xorg-xproto               7.0.31            h14c3975_1007    conda-forge
 xz                        5.2.4                h14c3975_4
 yaml                      0.1.7             h14c3975_1001    conda-forge
 zeromq                    4.3.2                he1b5a44_2    conda-forge
 zict                      1.0.0                      py_0    conda-forge
 zlib                      1.2.11               h7b6447c_3
 zstd                      1.4.0                h3b9ef0a_0    conda-forge

Additional context
Add any other context about the problem here.

This sometimes fixes the issue
$ ps -a | grep -i "blazin"
3213 tty2     00:32:00 blazingsql-orch
3214 tty2     00:00:00 blazingsql-engi
15504 tty2     00:00:00 blazingsql-engi
15985 pts/2    00:00:00 blazingsql-engi
$ kill 15985

I am guessing calcite is left dangling. We are working on fixing the cases that cause this issue. For now you could also do the following:
netstat -tulpn | grep 8890
Then kill the PID you see there

Update:
I can run a script and it works flawlessly. When I try to rerun the script it fails.
netstat -tulpn | grep 8890 returns blank.
If I wait for some time before I rerun the script it works.
This was not an issue in the last version of blazing.
Output:
`WARNING: blazingsql-orchestrator was not automativally started, its probably already running
Traceback (most recent call last):
File "/media/REMOVED/Data/anaconda3/envs/blazing_test/lib/python3.7/site-packages/blazingdb/protocol/init.py", line 59, in init
connection.socket_.connect(connection.address())
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "cs_dataprep.py", line 17, in
bc = BlazingContext()
File "/media/REMOVED/Data/anaconda3/envs/blazing_test/lib/python3.7/site-packages/pyblazing/apiv2/context.py", line 173, in init
internal_api.SetupOrchestratorConnection(orchestrator_host_ip, orchestrator_port)
File "/media/REMOVED/Data/anaconda3/envs/blazing_test/lib/python3.7/site-packages/pyblazing/api.py", line 904, in SetupOrchestratorConnection
client.connect(orchestrator_host_ip, orchestrator_port)
File "/media/REMOVED/Data/anaconda3/envs/blazing_test/lib/python3.7/site-packages/pyblazing/api.py", line 353, in connect
self._orchestrator_port, requestBuffer)
File "/media/REMOVED/Data/anaconda3/envs/blazing_test/lib/python3.7/site-packages/pyblazing/api.py", line 310, in _send_request
client = blazingdb.protocol.Client(connection)
File "/media/REMOVED/Data/anaconda3/envs/blazing_test/lib/python3.7/site-packages/blazingdb/protocol/init.py", line 61, in init
raise RuntimeError("Communication error: connection to " + str(connection.address()) + " was lost")
RuntimeError: Communication error: connection to ('localhost', 8889) was lost
Exception ignored in: <function BlazingContext.del at 0x7f797ac62510>
Traceback (most recent call last):
File "/media/REMOVED/Data/anaconda3/envs/blazing_test/lib/python3.7/site-packages/pyblazing/apiv2/context.py", line 212, in del
if self.need_shutdown:
AttributeError: 'BlazingContext' object has no attribute 'need_shutdown'`

Ok I think I know what is happening. The processes are not shutting down properly. So the BlazingContext goes out of scope then the services can't restart. We are looking into this. Is it possible to use something like a jupyter notebook to keep the context in scope?

I am only suggesting this as a very temporary work aroudn we should have this resolved tomorrow.

I'll survive with jupyter until it's fixed. =)

@williamBlazing made some fixes for this one, @SinsBre could you please try again? ;)

Hi @SinsBre this issue was fixed with the latest improvements by @williamBlazing !

Hi @SinsBre this issue was fixed with the latest improvements by @williamBlazing !

I'll test today, sorry for late response.

authors: SinsBre aucahuasi felipeblazing

repo: BlazingDB/pyBlazing


text:
Basic Catalog Configuration

Created project for Catalog service
Added sample json in Common for configurations

This is just a creation of json and empty project.
Later on this should be changed, tested with connected database.
But we need #2 to be merged into dev for that purpose, to have established entities both on DB and server-side.
I propose to use Dapper to obtain values from DB. Dapper is already added as a dependency for Catalog project.

I removed everything related to the idea of storing configurations in the config.json file inside the Common project.
While working on #10 I've realized that it won't work out, as it will bound us to the specific place of the config.json file, instead of giving flexibility to the solution.
I still think that we need to store such things as connection strings in configuration-specific files, but we need to make it work the other way.

source: gharchive/pull-request

repo: Bledhard/GreenShop

license: MIT

license_type: permissive

license_source: github-api


text:
Updated russian translation

Contribution Type: Impovement
Primary Area: Russian translation
Description of change: Updated russian translation

Hey @corpsee - Please could you fix the conflicts that have cropped up since you opened this PR?

Done)

authors: corpsee dancryer

license_source: bigquery


text:
SerpentParser missing

some serpent-related files / libs are missing in the repo
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:22: error: cannot find symbol
public class SerpentToAssemblyCompiler extends SerpentBaseVisitor<String> {
                                               ^
  symbol: class SerpentBaseVisitor
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:31: error: package SerpentParser does not exist
    public String visitParse(@NotNull SerpentParser.ParseContext ctx) {
                                                   ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:49: error: package SerpentParser does not exist
    public String visitParse_init_code_block(@NotNull SerpentParser.Parse_init_code_blockContext ctx) {
                                                                   ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:82: error: package SerpentParser does not exist
    public String visitIf_elif_else_stmt(@NotNull SerpentParser.If_elif_else_stmtContext ctx) {
                                                               ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:145: error: package SerpentParser does not exist
    public String visitWhile_stmt(@NotNull SerpentParser.While_stmtContext ctx) {
                                                        ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:164: error: package SerpentParser does not exist
    public String visitBlock(@NotNull SerpentParser.BlockContext ctx) {
                                                   ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:170: error: package SerpentParser does not exist
    public String visitCondition(@NotNull SerpentParser.ConditionContext ctx) {
                                                       ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:175: error: package SerpentParser does not exist
    public String visitGet_var(@NotNull SerpentParser.Get_varContext ctx) {
                                                     ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:188: error: package SerpentParser does not exist
    public String visitAssign(@NotNull SerpentParser.AssignContext ctx) {
                                                    ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:218: error: package SerpentParser does not exist
    public String visitContract_storage_load(@NotNull SerpentParser.Contract_storage_loadContext ctx) {
                                                                   ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:226: error: package SerpentParser does not exist
    public String visitContract_storage_assign(@NotNull SerpentParser.Contract_storage_assignContext ctx) {
                                                                     ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:235: error: package SerpentParser does not exist
    public String visitInt_val(@NotNull SerpentParser.Int_valContext ctx) {
                                                     ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:268: error: package SerpentParser does not exist
    public String visitArr_def(@NotNull SerpentParser.Arr_defContext ctx) {
                                                     ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:285: error: package SerpentParser does not exist
    public String visitArray_assign(@NotNull SerpentParser.Array_assignContext ctx) {
                                                          ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:306: error: package SerpentParser does not exist
    public String visitArray_retreive(@NotNull SerpentParser.Array_retreiveContext ctx) {
                                                            ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:325: error: package SerpentParser does not exist
    public String visitMul_expr(@NotNull SerpentParser.Mul_exprContext ctx) {
                                                      ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:350: error: package SerpentParser does not exist
    public String visitAdd_expr(@NotNull SerpentParser.Add_exprContext ctx) {
                                                      ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:368: error: package SerpentParser does not exist
    public String visitRel_exp(@NotNull SerpentParser.Rel_expContext ctx) {
                                                     ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:390: error: package SerpentParser does not exist
    public String visitEq_exp(@NotNull SerpentParser.Eq_expContext ctx) {
                                                    ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:408: error: package SerpentParser does not exist
    public String visitAnd_exp(@NotNull SerpentParser.And_expContext ctx) {
                                                     ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:424: error: package SerpentParser does not exist
    public String visitEx_or_exp(@NotNull SerpentParser.Ex_or_expContext ctx) {
                                                       ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:440: error: package SerpentParser does not exist
    public String visitIn_or_exp(@NotNull SerpentParser.In_or_expContext ctx) {
                                                       ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:456: error: package SerpentParser does not exist
    public String visitLog_and_exp(@NotNull SerpentParser.Log_and_expContext ctx) {
                                                         ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:474: error: package SerpentParser does not exist
    public String visitLog_or_exp(@NotNull SerpentParser.Log_or_expContext ctx) {
                                                        ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:492: error: package SerpentParser does not exist
    public String visitMsg_sender(@NotNull SerpentParser.Msg_senderContext ctx) {
                                                        ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:497: error: package SerpentParser does not exist
    public String visitMsg_datasize(@NotNull SerpentParser.Msg_datasizeContext ctx) {
                                                          ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:502: error: package SerpentParser does not exist
    public String visitMsg_value(@NotNull SerpentParser.Msg_valueContext ctx) {
                                                       ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:507: error: package SerpentParser does not exist
    public String visitContract_balance(@NotNull SerpentParser.Contract_balanceContext ctx) {
                                                              ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:512: error: package SerpentParser does not exist
    public String visitContract_address(@NotNull SerpentParser.Contract_addressContext ctx) {
                                                              ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:517: error: package SerpentParser does not exist
    public String visitTx_origin(@NotNull SerpentParser.Tx_originContext ctx) {
                                                       ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:522: error: package SerpentParser does not exist
    public String visitBlock_timestamp(@NotNull SerpentParser.Block_timestampContext ctx) {
                                                             ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:527: error: package SerpentParser does not exist
    public String visitBlock_number(@NotNull SerpentParser.Block_numberContext ctx) {
                                                          ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:532: error: package SerpentParser does not exist
    public String visitTx_gas(@NotNull SerpentParser.Tx_gasContext ctx) {
                                                    ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:537: error: package SerpentParser does not exist
    public String visitBlock_difficulty(@NotNull SerpentParser.Block_difficultyContext ctx) {
                                                              ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:542: error: package SerpentParser does not exist
    public String visitBlock_coinbase(@NotNull SerpentParser.Block_coinbaseContext ctx) {
                                                            ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:547: error: package SerpentParser does not exist
    public String visitTx_gasprice(@NotNull SerpentParser.Tx_gaspriceContext ctx) {
                                                         ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:552: error: package SerpentParser does not exist
    public String visitBlock_prevhash(@NotNull SerpentParser.Block_prevhashContext ctx) {
                                                            ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:557: error: package SerpentParser does not exist
    public String visitBlock_gaslimit(@NotNull SerpentParser.Block_gaslimitContext ctx) {
                                                            ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:562: error: package SerpentParser does not exist
    public String visitRet_func_1(@NotNull SerpentParser.Ret_func_1Context ctx) {
                                                        ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:570: error: package SerpentParser does not exist
    public String visitRet_func_2(@NotNull SerpentParser.Ret_func_2Context ctx) {
                                                        ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:579: error: package SerpentParser does not exist
    public String visitSuicide_func(@NotNull SerpentParser.Suicide_funcContext ctx) {
                                                          ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:587: error: package SerpentParser does not exist
    public String visitStop_func(@NotNull SerpentParser.Stop_funcContext ctx) {
                                                       ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:592: error: package SerpentParser does not exist
    public String visitMsg_data(@NotNull SerpentParser.Msg_dataContext ctx) {
                                                      ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:599: error: package SerpentParser does not exist
    public String visitMsg_func(@NotNull SerpentParser.Msg_funcContext ctx, String varName) {
                                                      ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:641: error: package SerpentParser does not exist
    public String visitSend_func(@NotNull SerpentParser.Send_funcContext ctx) {
                                                       ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:652: error: package SerpentParser does not exist
    public String visitCreate_func(@NotNull SerpentParser.Create_funcContext ctx) {
                                                         ^
/home/ligi/git/3rd/ethereumj-android/ethereumj-core/src/main/java/org/ethereum/serpent/SerpentToAssemblyCompiler.java:662: error: package SerpentParser does not exist
    public String visitAsm(@NotNull SerpentParser.AsmContext ctx) {

this is the error output of a simple ./gradlew clean build

Please try to run "./gradlew antlr4" first. It will create the missing files needed by serpent.

source: gharchive/issue

authors: adrian-tiberius ligi

repo: BlockchainSociety/ethereumj-android

license: mit


text:
crash with jaopca

when i turn on the json function the game crashes here is my crash log:https://gist.github.com/TheNimbleNinja/94c8bba95d3c57019b3b0fb9174ebe76

The error seems to be occurring in their code, it does not appear that creatio's code is being called in the stack trace.
It appears you are using an old version of Ex Nihilo Creatio, and a new version of JAOPCA. Version 2.2.8.94 of JAOPCA contains a commit message "Update to latest Ex Nihilo Creatio". Could you please update your Ex Nihilo Creatio version and test it. If the issue persists and is still not crashing on Ex Nihilo's code, I would recommend reporting it to JAOPCA

authors: SirLyle TheNimbleNinja

repo: BloodyMods/ExNihiloCreatio


text:
🛑 hosted-PalmettoGBA is down

In d407f99, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in f00873c.


text:
🛑 hosted-PalmettoGBA is down

In d925713, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in 3ea09e5.


text:
🛑 hosted-PalmettoGBA is down

In 3002117, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in be37f60.


text:
🛑 hosted-PalmettoGBA is down

In e14ac04, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in 41134e2.


text:
🛑 hosted-PalmettoGBA is down

In 82c0a60, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in 01cb42f after 9 minutes.


text:
🛑 hosted-PalmettoGBA is down

In 9fe1ea3, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in 7374ad6 after 9 minutes.


text:
🛑 hosted-PalmettoGBA is down

In 1fd7125, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in aa9dc1b after 10 minutes.


text:
endComposition method is decreasing the compositionCount onError

While working on a bug where one of our viewModel's composition complete was not being called, I came to know that there was a javascript error was occurring (which I  am still trying to find) and that error triggered the onError of composition.js which in turn triggered the endComposition method. Where we are doing minus one on compositionCount variable. And by some how compositionCount value got into negative ,which was preventing the compositionCompleteCallbacks to execute.
I was thinking that it would be better we have a check that if compositionCount is already 0, don't decrements the value and leave it as 0.  I was thinking to make this change to the file and use in our project, but we are not allowed to make the changes to third party libraries.
So, I am suggesting this change to be made in the library. If not can you please share the reasoning to not implement this check.
Thanks
` function onError(context, error, element) {
try {
if (context.onError) {
try {
context.onError(error, element);
} catch (e) {
system.error(e);
}
} else {
system.error(error);
}
} finally {
endComposition(context, element, true);
}
}
function endComposition(context, element, error) {

// this should check that compositionCount should not go to negative.
compositionCount--;
    if(compositionCount === 0) {
        var callBacks = compositionCompleteCallbacks;
        compositionCompleteCallbacks = [];

        if (!error) {
            setTimeout(function () {
                var i = callBacks.length;

                while (i--) {
                    try {
                        callBacks[i]();
                    } catch (e) {
                        onError(context, e, element);
                    }
                }
            }, 1);
        }
    }

    cleanUp(context);
}

`

Closing since Durandal has been superseded by Aurelia just shy of four years ago.

authors: EisenbergEffect usmanaridian

repo: BlueSpire/Durandal


text:
Create Blog “2022-01-05t07-48-35-027z-contoh-testing-blog”

Automatically generated by Netlify CMS

👷 Deploy Preview for ibnuraffi processing.
🔨 Explore the source changes: d7fc6cf1cc4fdc0b4ce3b8a0215e9474e7a3075e
🔍 Inspect the deploy log: https://app.netlify.com/sites/ibnuraffi/deploys/61d54db55ba4a5000733a0d5

repo: BnewVanZuarez/Nuxtjs-Boilerplate


text:
Can't build version 0.7.0 with conan

Installing linear_algebra with conan fails with the following error:
$ conan install -r linear_algebra linear_algebra/0.7.0@public-conan/testing --build=missing
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=20
compiler.libcxx=libstdc++11
compiler.version=10.2
os=Linux
os_build=Linux
[options]
[build_requires]
[env]

linear_algebra/0.7.0@public-conan/testing: WARN: Package is corrupted, removing folder: /home/rbrugo/.conan/data/linear_algebra/0.7.0/public-conan/testing/package/ce08cfd0c0f8c5c13a09c972c6737a498d5c23fb
Installing package: linear_algebra/0.7.0@public-conan/testing
Requirements
    linear_algebra/0.7.0@public-conan/testing from 'linear_algebra' - Cache
Packages
    linear_algebra/0.7.0@public-conan/testing:ce08cfd0c0f8c5c13a09c972c6737a498d5c23fb - Build

Installing (downloading, building) binaries...
linear_algebra/0.7.0@public-conan/testing: WARN: Build folder is dirty, removing it: /home/rbrugo/.conan/data/linear_algebra/0.7.0/public-conan/testing/build/ce08cfd0c0f8c5c13a09c972c6737a498d5c23fb
linear_algebra/0.7.0@public-conan/testing: Copying sources to build folder
linear_algebra/0.7.0@public-conan/testing: Building your package in /home/rbrugo/.conan/data/linear_algebra/0.7.0/public-conan/testing/build/ce08cfd0c0f8c5c13a09c972c6737a498d5c23fb
linear_algebra/0.7.0@public-conan/testing: Generator cmake created conanbuildinfo.cmake
linear_algebra/0.7.0@public-conan/testing: Calling build()
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Conan: called by CMake conan helper
-- Conan: called inside local cache
-- Conan: Adjusting output directories
-- Conan: Using cmake global configuration
-- Conan: Adjusting default RPATHs Conan policies
-- Conan: Adjusting language standard
-- Conan setting CPP STANDARD: 20 WITH EXTENSIONS OFF
-- Conan: Compiler GCC>=5, checking major version 10.2
-- Conan: Checking correct version: 10.2
-- Conan: C++ stdlib: libstdc++11
Scanning dependencies of target mdspan-populate
[ 11%] Creating directories for 'mdspan-populate'
[ 22%] Performing download step (git clone) for 'mdspan-populate'
Cloning into 'mdspan-src'...
fatal: invalid reference: master
CMake Error at mdspan-subbuild/mdspan-populate-prefix/tmp/mdspan-populate-gitclone.cmake:40 (message):
  Failed to checkout tag: 'master'

make[2]: *** [CMakeFiles/mdspan-populate.dir/build.make:111: mdspan-populate-prefix/src/mdspan-populate-stamp/mdspan-populate-download] Error 1
make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/mdspan-populate.dir/all] Error 2
make: *** [Makefile:103: all] Error 2

CMake Error at /usr/share/cmake-3.18/Modules/FetchContent.cmake:987 (message):
  Build step for mdspan failed: 2
Call Stack (most recent call first):
  /usr/share/cmake-3.18/Modules/FetchContent.cmake:1082:EVAL:2 (__FetchContent_directPopulate)
  /usr/share/cmake-3.18/Modules/FetchContent.cmake:1082 (cmake_language)
  /usr/share/cmake-3.18/Modules/FetchContent.cmake:1125 (FetchContent_Populate)
  CMakeLists.txt:35 (FetchContent_MakeAvailable)

-- Configuring incomplete, errors occurred!
See also "/home/rbrugo/.conan/data/linear_algebra/0.7.0/public-conan/testing/build/ce08cfd0c0f8c5c13a09c972c6737a498d5c23fb/CMakeFiles/CMakeOutput.log".
linear_algebra/0.7.0@public-conan/testing:
linear_algebra/0.7.0@public-conan/testing: ERROR: Package 'ce08cfd0c0f8c5c13a09c972c6737a498d5c23fb' build failed
linear_algebra/0.7.0@public-conan/testing: WARN: Build folder /home/rbrugo/.conan/data/linear_algebra/0.7.0/public-conan/testing/build/ce08cfd0c0f8c5c13a09c972c6737a498d5c23fb
ERROR: linear_algebra/0.7.0@public-conan/testing: Error in build() method, line 48
	self.cmake.build()
while calling 'cmake', line 38
	self._cmake.configure()
	ConanException: Error 1 while executing cd '/home/rbrugo/.conan/data/linear_algebra/0.7.0/public-conan/testing/build/ce08cfd0c0f8c5c13a09c972c6737a498d5c23fb' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_CMAKE_CXX_STANDARD="20" -DCONAN_CMAKE_CXX_EXTENSIONS="OFF" -DCONAN_STD_CXX_FLAG="-std=c++2a" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="10.2" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DCMAKE_INSTALL_PREFIX="/home/rbrugo/.conan/data/linear_algebra/0.7.0/public-conan/testing/package/ce08cfd0c0f8c5c13a09c972c6737a498d5c23fb" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DLA_BUILD_PACKAGE="True" -DLA_ENABLE_TESTS="False" -Wno-dev '/home/rbrugo/.conan/data/linear_algebra/0.7.0/public-conan/testing/build/ce08cfd0c0f8c5c13a09c972c6737a498d5c23fb'

Try updating the branch you've checked out (presumably master) with a git pull.   The mdspan project changed the name of its primary branch from "master" to "stable" a few months ago.
We adjusted this project for this change with this commit: https://github.com/BobSteagall/wg21/commit/e19ba8f0823b361517659b59f8781806ea79f320

I can see that version 0.7.1 has this change, but it seems that version 0.7.0 does not. Editing the CMakeLists.txt exported from conan solves the problem

Are you working in the "r7" branch?

I'm not sure, I'm just launching
conan install -r linear_algebra linear_algebra/0.7.0@public-conan/testing --build=missing

from my terminal

Hi, thanks for reporting this issue. I've released new linear_algebra/0.7.0@public-conan/testing and linear_algebra/0.7.0@public-conan/stable packages to address this.  I'll close this issue for now.  Please reopen or file a new issue if you run into any further problems.

authors: BobSteagall Twon rbrugo

license: NCSA


text:
specific output

instead of only having an SVG file as output it would be great to define a specific output like png or etc.
this feature can be added to CLI as well :)

That would be a nice thing to have I think.

I have written a small bash script for linux to do this job by using an external tool, I will share it later today, yet it would be great better if we entegrated it with the main tool.

From: Maximilian Berkmann notifications@github.com
Sent: 30 May 2020 14:06
To: Bogdan-Lyashenko/js-code-to-svg-flowchart js-code-to-svg-flowchart@noreply.github.com
Cc: Abdurrahman Rajab rajab-2@windowslive.com; Author author@noreply.github.com
Subject: Re: [Bogdan-Lyashenko/js-code-to-svg-flowchart] specific output (#55)
That would be a nice thing to have I think.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Bogdan-Lyashenko/js-code-to-svg-flowchart/issues/55#issuecomment-636315354, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AELNMKKA6NGCLJHYOKEI7LTRUDSFDANCNFSM4NOSEWZA.


text:
Doesn't work well with html-webpack-plugin

If I use your default example with html-webpack-plugin (you can use code on https://github.com/sheerun/webpack-split), then only vendor script is included..
This plugin seems to work well with common chunks plugin.
Also see: https://github.com/ampedandwired/html-webpack-plugin/issues/127

Adding css-loader to the ignore option fixed this.
    new SplitByPathPlugin(
      [{ name: 'vendor', path: __dirname + '/node_modules' }],
      { ignore: [__dirname + '/node_modules/css-loader'] }
    ),

I've also added style-loader to the ignore list.
ignore: [
  __dirname + '/node_modules/css-loader',
  __dirname + '/node_modules/style-loader',
  /\.css/
]

@GreenGremlin, to a certain extent , it works.

Is this issue still occurs? After PR #17 everything seems to work perfect with html-webpack-plugin. Please re-open this issue if you still have problems.

authors: BohdanTkachenko GreenGremlin e-cloud sheerun

repo: BohdanTkachenko/webpack-split-by-path


text:
🛑 Supervision BRS (legacy route) is down

In 8dfdd44, Supervision BRS (legacy route) ($SUPERVISION_BRS_LEGACY_URL) was down:

HTTP code: 525
Response time: 250 ms

Resolved: Supervision BRS (legacy route) is back up in eb7c716 after 5 minutes.

repo: BorneRecharge/uptime


text:
Stream Data ReceiveProgress

Hello!
How to get stream data on ReceiveProgress ? Or we have to impliment it ?
Thank you

Hi gitNemo,
You do not have to implement it, but ReceiveProgress was meant for updating UIs with the progress of large send/receive operations (such as updating progress bars).
To receive the data, you should look at the DataArrival event.  Take a look at the demo application to see how that was implemented.

So I will send data by chunk to simulate a streaming of an mp3 file. Because DataArrival fire when Full data are received.
Thank you again.

Yes, when a file is sent (when not in Legacy mode), it is recognized upon receiving as such and saves the incoming byte stream to a temporary file raising the ReceiveProgress event at every chunk split.  Then when the file is completely received it should raise the DataArrival event and you should have access to the incoming file details, including the path to the temporary file.

authors: Borvik gitNemo


text:
Bring Back Boston Mayor page

Link to it from Mayor central

[x] Restore Container
[x] Make sure winner is declared
[x] Separate PR for linking to from navigation, Dashboard, and Mayor Central

https://github.com/BostonGlobe/elections-2017/pull/66 for go live


text:
Add react query

I think as the project grows more and more data fetching will be an issue, i would like to implement react query here.

yes this is something that has to be added, and currently i'm shifting the backend to use cookies to manage authentication, right now we are doing it not in a standard way . We are passing tokens in query params with user info, will implement this, by the weekend


text:
🛑 holea is down

In 1114a68, holea (https://holea.botslovers.com) was down:

HTTP code: 404
Response time: 445 ms

Resolved: holea is back up in 970f3f9 after 9 minutes.

repo: Botslovers-SL/uptime


text:
🛑 Spell is down

In 4745fbd, Spell (https://spell.botslovers.com/spell/spells) was down:

HTTP code: 502
Response time: 307 ms

Resolved: Spell is back up in a1a3713 after 9 minutes.


text:
🛑 alfares is down

In 11a5949, alfares (https://alfares.botslovers.com) was down:

HTTP code: 503
Response time: 336 ms

Resolved: alfares is back up in b5072bd after 18 minutes.


text:
🛑 lasrozas is down

In ca3e783, lasrozas (https://lasrozas.botslovers.com) was down:

HTTP code: 503
Response time: 312 ms

Resolved: lasrozas is back up in bef0e00.


text:
Implement language switching functionality

Readers should be able to switch between languages when reading a section of the book. The language switcher should determine which languages are available for a given section and present these options to the reader. The reader's latest choice should be remembered and considered the default.

Grabbing this to knock out a quick POC.

repo: Bradfield/algos


text:
Fix RTL language support

possibly it is running left to right at the moment? need to verify this report from humboldt forum and if so, fix.

done


text:
Add issue and PR templates

We can use tedana's basic structure for simplicity's sake, but templates will make contributing easier.

Sounds good!

authors: eurunuela tsalo

repo: Brainhack-Donostia/ica-aroma-org


text:
🛑 Blackangusbelgium is down

In 6361d03, Blackangusbelgium (https://blackangusbelgium.be/) was down:

HTTP code: 500
Response time: 3435 ms

Resolved: Blackangusbelgium is back up in 61e194c.


text:
🛑 Drank jowile is down

In 26987d6, Drank jowile (https://drank.jowile.be) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Drank jowile is back up in edb86b2 after 13 minutes.


text:
Fix key usage

@aaustin @derrickstaten @qinweigong @Sarkar
Rather than letting BNCServerInterface choose a key, it should be provided with one for each request.
This means adding key to all the methods (yay, more injection).
Prior to this change, when trying to use test mode, the server interface would never have actually sent the test key.
Not entirely confident that the Preference helper is doing this right, but that's going to be another change.
Also removed some unused methods from the BranchServerInterface.
Consolidated param prep within BNCServerInterface into a single method.

Looks good :+1:

authors: aaustin shortstuffsushi

repo: BranchMetrics/Branch-iOS-SDK


text:
invalidate NSURLSession to avoid memory leaks

@aaustin

:+1:

authors: aaustin derrickstaten


text:
dismiss modal before presenting another modal

@aaustin

Tested this change with my Heynay / branch integration and it worked great. Doesn't crash anymore when you open a branch link while a branch-presented modal is active. Nice fix.

:+1:

authors: aaustin derrickstaten williamnoto


text:
Ben/csv

Purpose
Access the available profile on the server or locally using the InputData class.
What the code is doing
Implement a get_profile_version in the InputData class that returns the profile version for the specified field (demand, hydro, solar or wind).
Testing
>>> from powersimdata.input.input_data import InputData
>>> info = {"base_demand": "vJan2021", "grid_model": "usa_tamu"}
>>> id = InputData()
>>> version = id.get_profile_version(info, "demand")
>>> version
['vJan2021']

Where to look
in the powersimdata.input.input_data module.
Note
This function will be used in the powersimdata.scenario.create module to fetch the available profile version when the user builds a scenario. This is currently achieved by the CSV class. I did not touch the powersimdata.scenario.create module in this PR since we will refactor the Create and _Builder class in a next PR and any effort to remove the CSV instance and used the get_profile_version of the InputData class in place will most likely not be helpful for the new design.
Time estimate
5 min

Did you want the target to be the model branch? Looks like some changes here that were already reviewed and merged into that

Did you want the target to be the model branch? Looks like some changes here that were already reviewed and merged into that

Good catch. Thanks

authors: jon-hagg rouille

repo: Breakthrough-Energy/PowerSimData


text:
chore: update dockerignore

Purpose
Update path to reflect changes to zenodo download.
What the code is doing
Add wildcard to excluded paths
Testing
Ran a docker build and observed the size of the build context
Time estimate
10 sec

You got the 700th!

authors: jenhagg rouille


text:
qt-darwin Causing Issues on Windows

Hi there!
When running the install script for qt-darwin, which is a dependency of brig, it errors due to being unable to extract the files using tar. I believe this could be remedied by making qt-darwin an optional dependency to only install on MacOS systems. Here is the npm output:
$ npm install brig

> qt-darwin@0.0.4 install D:\Matthew\Documents\Projects\QtTest\node_modules\qt-darwin
> tar -zxf library.node && rm -fr library.node

tar: Frameworks/Qt3DCore.framework/Qt3DCore: Cannot create symlink to ‘Versions/Current/Qt3DCore’: No such file or directory
tar: Frameworks/Qt3DCore.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/Qt3DQuick.framework/Qt3DQuick: Cannot create symlink to ‘Versions/Current/Qt3DQuick’: No such file or directory
tar: Frameworks/Qt3DQuick.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtBluetooth.framework/QtBluetooth: Cannot create symlink to ‘Versions/Current/QtBluetooth’: No such file or directory
tar: Frameworks/QtBluetooth.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtCharts.framework/QtCharts: Cannot create symlink to ‘Versions/Current/QtCharts’: No such file or directory
tar: Frameworks/QtCharts.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtConcurrent.framework/QtConcurrent: Cannot create symlink to ‘Versions/Current/QtConcurrent’: No such file or directory
tar: Frameworks/QtConcurrent.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtCore.framework/QtCore: Cannot create symlink to ‘Versions/Current/QtCore’: No such file or directory
tar: Frameworks/QtCore.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtDataVisualization.framework/QtDataVisualization: Cannot create symlink to ‘Versions/Current/QtDataVisualization’: No such file or directory
tar: Frameworks/QtDataVisualization.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtGui.framework/QtGui: Cannot create symlink to ‘Versions/Current/QtGui’: No such file or directory
tar: Frameworks/QtGui.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtMultimedia.framework/QtMultimedia: Cannot create symlink to ‘Versions/Current/QtMultimedia’: No such file or directory
tar: Frameworks/QtMultimedia.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtMultimediaQuick_p.framework/QtMultimediaQuick_p: Cannot create symlink to ‘Versions/Current/QtMultimediaQuick_p’: No such file or directory
tar: Frameworks/QtMultimediaQuick_p.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtMultimediaWidgets.framework/QtMultimediaWidgets: Cannot create symlink to ‘Versions/Current/QtMultimediaWidgets’: No such file or directory
tar: Frameworks/QtMultimediaWidgets.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtNetwork.framework/QtNetwork: Cannot create symlink to ‘Versions/Current/QtNetwork’: No such file or directory
tar: Frameworks/QtNetwork.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtOpenGL.framework/QtOpenGL: Cannot create symlink to ‘Versions/Current/QtOpenGL’: No such file or directory
tar: Frameworks/QtOpenGL.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtPositioning.framework/QtPositioning: Cannot create symlink to ‘Versions/Current/QtPositioning’: No such file or directory
tar: Frameworks/QtPositioning.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtPrintSupport.framework/QtPrintSupport: Cannot create symlink to ‘Versions/Current/QtPrintSupport’: No such file or directory
tar: Frameworks/QtPrintSupport.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtQml.framework/QtQml: Cannot create symlink to ‘Versions/Current/QtQml’: No such file or directory
tar: Frameworks/QtQml.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtQuick.framework/QtQuick: Cannot create symlink to ‘Versions/Current/QtQuick’: No such file or directory
tar: Frameworks/QtQuick.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtQuickControls2.framework/QtQuickControls2: Cannot create symlink to ‘Versions/Current/QtQuickControls2’: No such file or directory
tar: Frameworks/QtQuickControls2.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtQuickParticles.framework/QtQuickParticles: Cannot create symlink to ‘Versions/Current/QtQuickParticles’: No such file or directory
tar: Frameworks/QtQuickParticles.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtQuickTemplates2.framework/QtQuickTemplates2: Cannot create symlink to ‘Versions/Current/QtQuickTemplates2’: No such file or directory
tar: Frameworks/QtQuickTemplates2.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtSensors.framework/QtSensors: Cannot create symlink to ‘Versions/Current/QtSensors’: No such file or directory
tar: Frameworks/QtSensors.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtSql.framework/QtSql: Cannot create symlink to ‘Versions/Current/QtSql’: No such file or directory
tar: Frameworks/QtSql.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtWebChannel.framework/QtWebChannel: Cannot create symlink to ‘Versions/Current/QtWebChannel’: No such file or directory
tar: Frameworks/QtWebChannel.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtWebEngine.framework/QtWebEngine: Cannot create symlink to ‘Versions/Current/QtWebEngine’: No such file or directory
tar: Frameworks/QtWebEngine.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtWebEngineCore.framework/Helpers: Cannot create symlink to ‘Versions/Current/Helpers’: No such file or directory
tar: Frameworks/QtWebEngineCore.framework/Libraries: Cannot create symlink to ‘Versions/Current/Libraries’: No such file or directory
tar: Frameworks/QtWebEngineCore.framework/QtWebEngineCore: Cannot create symlink to ‘Versions/Current/QtWebEngineCore’: No such file or directory
tar: Frameworks/QtWebEngineCore.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtWebSockets.framework/QtWebSockets: Cannot create symlink to ‘Versions/Current/QtWebSockets’: No such file or directory
tar: Frameworks/QtWebSockets.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtWebView.framework/QtWebView: Cannot create symlink to ‘Versions/Current/QtWebView’: No such file or directory
tar: Frameworks/QtWebView.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtWidgets.framework/QtWidgets: Cannot create symlink to ‘Versions/Current/QtWidgets’: No such file or directory
tar: Frameworks/QtWidgets.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtXmlPatterns.framework/QtXmlPatterns: Cannot create symlink to ‘Versions/Current/QtXmlPatterns’: No such file or directory
tar: Frameworks/QtXmlPatterns.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Exiting with failure status due to previous errors

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! qt-darwin@0.0.4 install: `tar -zxf library.node && rm -fr library.node`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the qt-darwin@0.0.4 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Matthew\AppData\Roaming\npm-cache\_logs\2017-10-02T03_43_05_587Z-debug.log

qt-darwin module should be installed only for Mac OS:
https://github.com/BrigJS/brig/blob/master/setup.js
I think it has problem because there is incorrect dependencies settings in package.json
Let me check it.

By some reason qt-darwin is being downloaded on GNU/Linux too...

authors: Kakadu cfsghost devmattrick

repo: BrigJS/brig


text:
tag-list - use gap instead of margins for separation

This PR updates d2l-tag-list to use the gap CSS property (applies to both flex and grid layouts) instead of margins.  This avoids having an extra margin around any of the outside boundaries of the tag-list, which is important for "interactive" mode since the whole tag list will be surrounded by a focusable container.
To give an idea of what this is... with margins:

With gap:

Lots of visual-diff changes - all expected due to no extra margin.

repo: BrightspaceUI/core


text:
Allow pipx installation

Hi Bryan,
great project!
I've done some small changes to allow the installation via pipx.
I also set the verbosity to info, because otherwise there is lots of spam in the log.
Furthermore I modified the readme accordingly and added the argparser module for simply switching back to debug messages on command line.
Best regards,
Marc

Looks good to me, thanks!


text:
Home Page added

🎯 Title and Issue Number
Closes #8
🗒 Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have gone through rules of when PR will get merged.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have created a helpful and easy-to-understand README.md.
[x] I have followed the proper file structure.
[x] I have gone through the repository guidelines.

Thank you for contributing! ❤
Don't forget to show some support by ⭐ the repository!

Hello @Nayanika1402, thank you for your pull request! We will review it shortly. 😇❣
Your contributions help us grow and improve our project. Please make sure you have read and followed our CONTRIBUTING GUIDELINES.
Your efforts are appreciated, and we value your participation in our community. Don't forget to ⭐ our repository!
Happy coding!✨

Hey @Nayanika1402, I wanted to inform you that we've decided to close your pull request.🙇
If you have any questions or need assistance, please don't hesitate to reach out to us on Discord.
Thank you for your understanding!❣
Happy coding! ✨ We hope to see you again soon!❣

@Nayanika1402 dev a push kor


text:
Closes #83

🎯 Title and Issue Number

Closes #83

🗒 Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have gone through rules of when PR will get merged.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have created a helpful and easy-to-understand README.md.
[x] I have followed the proper file structure.
[x] I have gone through the repository guidelines.

Thank you for contributing! ❤
Don't forget to show some support by ⭐ the repository!

Hello @shuvadeepmondal, thank you for your pull request! We will review it shortly. 😇❣
Your contributions help us grow and improve our project. Please make sure you have read and followed our CONTRIBUTING GUIDELINES.
Your efforts are appreciated, and we value your participation in our community. Don't forget to ⭐ our repository!
Happy coding!✨

Hey @shuvadeepmondal! We're excited to let you know that your pull request has been merged into the APIverse🚀🎁
Your commitment, effort, and expertise have greatly influenced our project, and we're incredibly thankful for your contributions.😇
Your code is now part of our expanding ecosystem, assisting developers worldwide in creating exceptional APIs.❣🔥
Happy Coding! ✨ We look forward to seeing you again soon!❣

authors: Puskar-Roy shuvadeepmondal


text:
DRAFT angular: AngularContext support

In order to support Angular we need to add the missing feature in Angular which is <AngularContext>. Which will allow us to hook into the injector hierarchy for <App> with either ReflectInjector or StaticInjector
// `injector` is optional
<AngularContext injector={this.injector}>
  <App>
</AngularContext>

any code within <App> will work correctly without any refactors needed since at the end of the day we're looking for a key walking up the injector context.
Mitosis can compile the code correctly and it will be up to the dev to either create the injector context correctly or we can let them generate the NgModule/AngularContext
We can also rename this to <AngularInjector> and useInjector and alias it to useContext. We will support useInjector if an react app is getting the ng injector if react is rendered in an angular app

we need to change methods based on which angular version they're using. In angular 14 we can use inject which will make the code simple

Adoption usually takes a while, it seems safe to target Angular 14 and up as that will likely no longer be the latest version when Mitosis has a big enough user base for there to be lots of demand for “not the latest Angular” support

authors: PatrickJS kylecordes

repo: BuilderIO/mitosis


text:
Rename RenderOption url to href

Make option to be a string.

Done!

repo: BuilderIO/qwik


text:
[🐞] Serializing a naked object, than wrapping it in store and serializing the store can confuse Qwik reactivity

Which component is affected?
Qwik Runtime
Describe the bug
Reactivity breaks if I loop over a reactive array using .map(function item () {}) syntax, but works if I use .map((item) => {}).
Reproduction
https://github.com/samijaber/reactivity-bug-repro/tree/arrow-fn-repro
Steps to reproduce

install
run dev
click button

System Info
System:
    OS: macOS 12.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 644.36 MB / 32.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 18.13.0 - ~/.asdf/installs/nodejs/18.13.0/bin/node
    Yarn: 1.22.19 - ~/.asdf/installs/nodejs/18.13.0/bin/yarn
    npm: 8.19.3 - ~/.asdf/plugins/nodejs/shims/npm
    Watchman: 2023.05.08.00 - /opt/homebrew/bin/watchman
  Browsers:
    Brave Browser: 116.1.57.47
    Chrome: 116.0.5845.96
    Firefox: 109.0.1
    Safari: 15.2
  npmPackages:
    @builder.io/qwik: ^1.2.8 => 1.2.8
    @builder.io/qwik-city: ^1.2.8 => 1.2.8
    undici: 5.22.1 => 5.22.1
    vite: 4.4.7 => 4.4.7

Additional Information
No response

Understanding what is going on:
https://github.com/samijaber/reactivity-bug-repro/blob/simple-repro/src/routes/index.tsx#L4-L15
export default component$(() => {
  const CONTENT = [
    {
      testName: "ORIGINAL",
    },
  ];
  return (

      <ContentComponent blocks={CONTENT} />

  );
});

First we declare CONTENT which is a naked object and we pass it to <ContentComponent> which forces the object to be serialized because it is part of the component props. The serialization process adds the object to the serialization map, effectively given the object an ID.
https://github.com/samijaber/reactivity-bug-repro/blob/simple-repro/src/sdk-src/content.tsx#L4-L34
export const ContentComponent = component$<{
  blocks: { testName: string }[];
}>((props) => {
  const state = useStore(props.blocks); // BROKEN
  // const state = useStore(clone(props.blocks)); // WORKS

  return (
    <EnableEditor
      // LOOK HERE!!!
      // COMMENT THIS `unused` PROP OUT TO SEE THE CODE WORK.
      // unused={'anything'} // WORKS
      // unused={props.blocks} // BROKEN
      // unused={props.blocks[0]} // BROKEN
      // unused={props.blocks[0].testName} // BROKEN
      contentState={state[0]} // broken
    >

BLOCKS (outside loop): {state[0]?.testName}

      {state.map((block, idx) => (

          BLOCKS (inside loop): {block.testName}

      ))}
    </EnableEditor>
  );
});

Inside the <ContentComponent>, the CONTENT is now wrapped into a Store, which wraps the naked object in a proxy to add reactivity. The reactive version is used to read testName property, which we expect to be reactive.
Everything above works as expected. Now for the issue:
Let's uncomment  the unused property binding on <EnableEditor/>
<EnableEditor
      unused={props.blocks[0].testName} // BROKEN
      contentState={state[0]} // broken
    >

By referring to the naked object, we have now confused Qwik which now thinks that all references are now naked and it fails to set up reactivity for the JSX. When looking into the qwik/json you can see that reactivity did not get set up.

Simpler reproduction: https://stackblitz.com/edit/qwik-starter-8z5tkp
import { component$, useStore } from '@builder.io/qwik';

export default component$(() => {
  const store = useStore([
    {
      count: 1,
    },
  ]);
  return (
    <>
      <button onClick$={() => store[0].count++}>+1</button>

count: {store[0].count}

      {store.map((v, idx) => (

Count: {v.count}

      ))}
      {store.map(function (v, idx) {
        return
Count: {v.count}
;
      })}
    </>
  );
});

            store.map((v, idx) =>/*#__PURE__*/ _jsxQ("div", null, null, [
                "Count: ",
                _wrapSignal(v, "count") //  <==== Correctly wraps signal
            ], 1, idx, {
                fileName: "routes/index.tsx",
                lineNumber: 15,
                columnNumber: 9
            })),
            store.map(function (v, idx) {
                return /*#__PURE__*/ _jsxQ("div", null, null, [
                    "Count: ",
                    v.count  //  <==== FAILS to wraps signal
                ], 3, ":" + idx, {
                    fileName: "routes/index.tsx",
                    lineNumber: 18,
                    columnNumber: 16
                });
            })

authors: mhevery samijaber


text:
「评论」友情链接

页面：https://wendycyy.work/friends/

啦啦啦


text:
Review past year of patch notes and update counters

Ubisoft has almost certainly added/removed counters for existing operators over the past year. It may be a good idea to review the patch notes from the previous year (Y4S1 - Y5S2) and check the graph for correctness.

I would say that any op that has a hard breach chage should be a soft counter to any operator that mainly hold their position, mozie(maybe, he can use his drones), Mira (maybe a medium), echo, and maestro because if they are on their drones and somone puts a hard breach charge down they are vulrnerable.

Also, for the counters that are for Tachanka that are related to him holding positions should be removed do to the fact that he now can move around

Kali should also be a mira hard or medium counter because if you get the kali charge in the right spot you can disable the mira

You should also add an "operator" for the diffuser because you could have operators like mozzie and valk be hard counters to that because they could put a camera on a drone
Another thing you should add would be gadgets (not ones specifc to operators but like stuns and stuff like that) so you could have frags are counters to deployable sields and stuff like that
(I can also help with the counters and stuff if you need more help feel free to contact me on here or discord Geekwired#0001)

authors: BurkusCat alexjshepler


text:
Include complete example in documentation

It would be great if there were a complete example that shows how to generate the "old" and "new" files that get passed to cargo benchcmp old new.
I feel like a dummy because none of
$ cargo bench > old
$ cargo bench > new
$ cargo benchcmp old new

nor
$ cargo bench &> old
$ cargo bench &> new
$ cargo benchcmp old new

nor
$ cargo benchcmp ./target/release/bench-12345 ./target/release/bench-67890

are working for me. (Obviously, in a non-toy example, I'd make changes between generating old and new benchmark results).
They all spit back:
Invalid arguments.

Usage:
    cargo benchcmp [options] <old> <new>
    cargo benchcmp [options] <old> <new> <file>
    cargo benchcmp -h | --help
    cargo benchcmp --version

What am I doing wrong here? I'd be happy to submit a PR updating the docs with a complete example once I can figure out how to run cargo benchcmp properly.

Your first example should work:
$ cargo bench > old
$ cargo bench > new
$ cargo benchcmp old new

Indeed, this works just fine for me on current master. Is there anything else I might be missing to reproduce your problem?
(To your broader point, yes, we should have a more complete example in the README.)

Here is everything I'm doing to reproduce. I'm using a local cargo benchcmp that has the prettytable update in #16. Any ideas?
fitzgen@nfitzgerald-22150 :: (master *) :: ~/src/hydra
    $ cargo bench > old
    Finished release [optimized] target(s) in 0.0 secs
     Running target/release/bench-f9747807159bcfdb
     Running target/release/deps/hydra-2f1061b3ba48e5e5

fitzgen@nfitzgerald-22150 :: (master *) :: ~/src/hydra
    $ cargo bench > new
    Finished release [optimized] target(s) in 0.0 secs
     Running target/release/bench-f9747807159bcfdb
     Running target/release/deps/hydra-2f1061b3ba48e5e5

fitzgen@nfitzgerald-22150 :: (master *) :: ~/src/hydra
    $ cat old

running 3 tests
test benches::trace_ring_buffer_in_mutex       ... bench:          51 ns/iter (+/- 16)
test benches::trace_ring_buffer_large_capacity ... bench:          12 ns/iter (+/- 1)
test benches::trace_ring_buffer_small_capacity ... bench:          20 ns/iter (+/- 4)

test result: ok. 0 passed; 0 failed; 0 ignored; 3 measured

running 4 tests
test trace_ring_buffer::tests::trace_entry_has_right_size ... ignored
test trace_ring_buffer::tests::trace_ring_buffer_no_roll_over ... ignored
test trace_ring_buffer::tests::trace_ring_buffer_with_roll_over ... ignored
test trace_ring_buffer::tests::trace_ring_buffer_with_roll_over_and_does_not_divide_evenly ... ignored

test result: ok. 0 passed; 0 failed; 4 ignored; 0 measured

fitzgen@nfitzgerald-22150 :: (master *) :: ~/src/hydra
    $ cat new

running 3 tests
test benches::trace_ring_buffer_in_mutex       ... bench:          52 ns/iter (+/- 3)
test benches::trace_ring_buffer_large_capacity ... bench:          14 ns/iter (+/- 1)
test benches::trace_ring_buffer_small_capacity ... bench:          19 ns/iter (+/- 3)

test result: ok. 0 passed; 0 failed; 0 ignored; 3 measured

running 4 tests
test trace_ring_buffer::tests::trace_entry_has_right_size ... ignored
test trace_ring_buffer::tests::trace_ring_buffer_no_roll_over ... ignored
test trace_ring_buffer::tests::trace_ring_buffer_with_roll_over ... ignored
test trace_ring_buffer::tests::trace_ring_buffer_with_roll_over_and_does_not_divide_evenly ... ignored

test result: ok. 0 passed; 0 failed; 4 ignored; 0 measured

fitzgen@nfitzgerald-22150 :: (master *) :: ~/src/hydra
    $ ../cargo-benchcmp/target/debug/cargo-benchcmp old new
Invalid arguments.

Usage:
    cargo benchcmp [options] <old> <new>
    cargo benchcmp [options] <old> <new> <file>
    cargo benchcmp -h | --help
    cargo benchcmp --version

You need to actually use cargo benchcmp, not cargo-benchcmp.
Yes, this is annoying and yes this should be in the README. It looks like this is Docopt's fault, and the error message is awful. :-(

And to use cargo benchcmp, that requires cargo-benchcmp to be in your PATH. Blech.

Yay?
fitzgen@nfitzgerald-22150 :: (master *) :: ~/src/hydra
    $ cp ../cargo-benchcmp/target/debug/cargo-benchcmp ~/.cargo/bin/cargo-benchcmp
../cargo-benchcmp/target/debug/cargo-benchcmp -> /Users/fitzgen/.cargo/bin/cargo-benchcmp

fitzgen@nfitzgerald-22150 :: (master *) :: ~/src/hydra
    $ cargo benchcmp old new
 name                                       old ns/iter  new ns/iter  diff ns/iter  diff %
 benches::trace_ring_buffer_in_mutex        51           52                      1   1.96%
 benches::trace_ring_buffer_large_capacity  12           14                      2  16.67%
 benches::trace_ring_buffer_small_capacity  20           19                     -1  -5.00%

It looks like this is Docopt's fault

Ah because when run as cargo benchcmp you get two args and when run as cargo-benchcmp you get one? Would it be possible to detect which situation we're in before passing args to docopt and then do the Right Thing after that?

@fitzgen I'd wholeheartedly support that, yes. :-)

authors: BurntSushi fitzgen

repo: BurntSushi/cargo-benchcmp

license: Unlicense


text:
Export to CSV

Newb question. How would i export play data to a csv after writing a query? This table is huge so I am having trouble connecting to it with third party apps like power query. Think i need to drill it down a bit.
Any help is appreciated

Take whatever data you want to export it and write it to a file using Python's standard library csv module.
If you want more help, please provide more details, such as the code you've written. Please tell us what you've tried and how it didn't work.

repo: BurntSushi/nfldb


text:
memchr2_iter and memchr3_iter do not properly advance slice position

Hi @BurntSushi I'm the author of Artichoke Ruby. We met on Twitter.
Playground: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=7f18fe26ae4413e95f1e350d77f86b28
The iter_next! macro hard codes how much to advance the haystack position by.
https://github.com/BurntSushi/rust-memchr/blob/1ec5ecce03c220c762dd9a8b08f7a3d95522b765/src/iter.rs#L17
This means that memchr*_iter functions on more than one byte incorrectly scan. For example, this code outputs 2 when it should output 1:
extern crate memchr; // 2.2.1

fn main() {
    let haystack = b"abcdefghijklmnopqrstuvwxyz";
    println!("{}", memchr::memchr2_iter(b'a', b'b', haystack.as_ref()).count());
}

This is tickled in this particular example by another bug where memchr2 reports a match if the haystack starts with the second byte:
extern crate memchr; // 2.2.1

fn main() {
    let haystack = b"abcdefghijklmnopqrstuvwxyz";
    println!("{}", memchr::memchr2_iter(b'a', b'b', haystack.as_ref()).count());
    println!("{:?}", memchr::memchr2(b'a', b'b', haystack.as_ref()));
    println!("{:?}", memchr::memchr2(b'a', b'b', &haystack[1..]));
}

output:
2
Some(0)
Some(0)

Hmmm, sorry, but all of your examples are working as intended and are correct. The memchr2 and memchr3 functions provide all matches for any of the given needles. The needles are not concatenated and treated like a substring.
It looks like the docs could be clearer and include examples.

oh that was unclear. I should be able to implement substring matching with regular memchr I think! Thanks for helping me to understand.

Yay it works! Thanks for pointing me in the right direction.
[17:34] [~/dev/artichoke/artichoke]
▶ time ./target/release/artichoke -e 's = "abcdefg" * 1024' -e '100_000.times { raise if s.scan("abcdef").length != 1024 }'

real	0m5.017s
user	0m4.961s
sys	0m0.035s
[17:34] [~/dev/artichoke/artichoke]
▶ time ruby -e 's = "abcdefg" * 1024' -e '100_000.times { raise if s.scan("abcdef").length != 1024 }'

real	0m12.892s
user	0m12.754s
sys	0m0.057s

I should be able to implement substring matching

Out of curiosity, why not just use bstr's substring search, since it sounds like you are already depending on bstr?

bstr depends on twoway I think. I implemented String#scan with twoway and it was 4x slower (even with the sse4.2 vectorized impl) than using memchr to find the first byte and doing an equality check on the trailing bytes in the pattern.
String#scan requires collecting the position of all matches in the haystack.
With twoway:
▶ time ./target/release/artichoke -e 'LEN = 1024' -e 's = "abcdefghijklmnopqrstuvwxyz" * LEN' -e '100_000.times { raise if s.scan("abcdefghijklmnop").length != LEN }'

real	0m25.609s
user	0m21.374s
sys	0m0.148s

with memchr:
▶ time ./target/release/artichoke -e 'LEN = 1024' -e 's = "abcdefghijklmnopqrstuvwxyz" * LEN' -e '100_000.times { raise if s.scan("abcdefghijklmnop").length != LEN }'

real	0m6.545s
user	0m6.472s
sys	0m0.040s

bstr's twoway implementation uses memchr. Have you tried it?
Also, using a single benchmark to decide which substring search algorithm you use is probably not wise, especially one with fairly contrived input.

@BurntSushi I saw twoway and assumed you meant the twoway crate. It did not occur to me that bstr would have its own, separate twoway implementation.
https://github.com/artichoke/artichoke/pull/316 swaps out my handrolled search for bstr's. The code change was surprisingly small and avoids allocating a vec of every match position.
Thanks for helping me through this. The code is better, faster, and has more consistent runtime guarantees. I use a great many of your crates and am grateful for your work. 🙏 🚀

authors: BurntSushi lopopolo

repo: BurntSushi/rust-memchr


text:
WindowsFormsHost Keyboard shortcut issue

Toggle isEnabled to fix issue with WindowsFormsHosts taking keyboard input from inactive tabs

Fixes #63

Thank you.

authors: ButchersBoy svantreeck

repo: ButchersBoy/Dragablz


text:
Cou game/vac bans

I don't use the vac bypass on cou for many reasons but
In the passed week 2 of my accs got game than a day or 2 later got vacced.
This could be my cheat (heavly modified osiris) or cou injector.
I will continue testing.

I don't use the vac bypass on cou for many reasons but In the passed week 2 of my accs got game than a day or 2 later got vacced.
This could be my cheat (heavly modified osiris) or cou injector.
I will continue testing.

Hey fanat1cc, If the injection is detected, you should get a direct VAC ban (as I know). So I don't think it's the injection. I think it is most likely due to the modified Osiris, but feel free to share what your tests showed.

-No answer

I forgot to post a answer, however I can say for sure that cou is still safe and that it was infact that my cheat had detected features Enabled

Thank you for the subsequent answer. That's good to know! So I know that everything still works great.

repo: ByMynix/CouInjector


text:
removing trunk CI badge for now

Description
removing trunk CI badge for now since it shows failing but it is actually not failing. Need to figure this out later
Changes
Screenshots
Before

After

Tests
Known Issues
Notes
trello ticket for this
Checklist

[ ] My name is on the list of contributors (CONTRIBUTORS.md) in the pull request source branch.
[ ] I have updated the documentation to reflect my changes.

based on prior findings from @InnocentBug this PR would not be very helpful because the badge will point to the default branch (main) and get its status from there. Once there is a new release, then the badge would be fixed.
Closing this PR for now

repo: C-Accel-CRIPT/Python-SDK


text:
RPKI Prefix Origin Validation Support

The configure script checks whether the shared library is available or not and supports the option —without-rpki

The bgpreader accepts another parameter (H) which allows to set all necessary RPKI options:
 - Validation in historical or live mode
 - Whether all ROAs of all collectors are combined or not
<ssh_enabled> - Whether to connect to a RTR server via SSH
[<ssh_user>,<ssh_hostkey_path>,<ssh_privkey_path>]?, - User, HK, PK
<project_1>,<collector_1> - Project and collector name of collector #1
[,<project_n>,<collector_n>]* - More projects and collectors separated with comma

Creates the configuration for the validation process and sets it for every BGP elem

During the output process the current BGP elem will be validated and the corresponding validation result will be printed as well

Also, I have not compile or run the code yet. If needed, I can do a more detailed run through of the code.

That would be great, I would appreciate it very much. It would be good to know whether the installation process, configuration and the execution is suitable for you.

Ping @digizeph

authors: alistairking salsh

repo: CAIDA/libbgpstream


text:
🛑 RadCord Bot is down

In 4c63e8e, RadCord Bot (https://radcord.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RadCord Bot is back up in 62d57d8 after 19 minutes.