Want to use a new domain using Caddy

Hello There,
I have already configured Bitwarden using this Github repo.
Now My client wants to use a new domain on that server for another application.
Can you please guide me how put that domain name along with Bitwarden domain and ssl enables also.
Reverse proxy want to use

If your client is doing this in GCloud's free tier, I don't think it will handle many other services running. If they are using it in a different environment, I suggest you look at caddy/Caddyfile - you can have multiple domains defined there, so you could add another domain that then proxies it to a different container that's running. That's outside the scope of this project, so you're on your own for implementing it. Caddy has great documentation, and you would probably have to add services to the docker-config.yml. Good luck.


[speech_recognition] run_and_time error: can't open input file `/tmp/tmp_GBQNr.wav': WAVE: RIFF header not found

speech_recognition workload
step1.
I have built up the docker image and launch the docker instance:
cd pytorch
cd docker
sh build-docker.sh
sh run-dev.sh

step2.
And modifying the run-dev.sh:
#!/bin/bash
nvidia-docker run \
-v /home/linlf/project/linlf/mlperf/reference/speech_recognition:/speech_recognition:rw \
-v /etc/passwd:/etc/passwd:ro \
-it --rm --user $(id -u) ds2-cuda9cudnn7:gpu

step3.
Launch the docker instance:
sh run-dev.sh
.......
Removing intermediate container 450a04f6173f
 ---> 86101cb30a55
Step 16/18 : RUN ls ctcdecode/third_party
 ---> Running in 1512a8bc9a65
ThreadPool
boost_1_63_0.tar.gz
kenlm
openfst-1.6.7.tar.gz
utf8
Removing intermediate container 1512a8bc9a65
 ---> c482d12d74b2
Step 17/18 : RUN cd ctcdecode; pip install .
 ---> Running in c9349e7fe2e2
Processing /tmp/ctcdecode
Requirement already satisfied: cffi>=1.0.0 in /usr/local/lib/python2.7/dist-packages (from ctcdecode==0.3) (1.11.5)
Requirement already satisfied: pycparser in /usr/local/lib/python2.7/dist-packages (from cffi>=1.0.0->ctcdecode==0.3) (2.18)
Building wheels for collected packages: ctcdecode
  Running setup.py bdist_wheel for ctcdecode: started
  Running setup.py bdist_wheel for ctcdecode: still running...
  Running setup.py bdist_wheel for ctcdecode: finished with status 'done'
  Stored in directory: /tmp/pip-ephem-wheel-cache-dMi3ud/wheels/30/4f/54/e41e2d0b75f971a3f8daad6bb79bf61fef10d0e95c5b28a93d
Successfully built ctcdecode
Installing collected packages: ctcdecode
Successfully installed ctcdecode-0.3
Removing intermediate container c9349e7fe2e2
 ---> e3048146fa23
Step 18/18 : ENV SHELL /bin/bash
 ---> Running in dae62270553e
Removing intermediate container dae62270553e
 ---> 3d2838335713
Successfully built 3d2838335713
Successfully tagged ds2-cuda9cudnn7:gpu

step4.
Next I ready to execute the run_and_time.sh, however it throws an error:
root@5316ed702b45:/speech_recognition/pytorch# time sh run_and_time.sh | tee speech_ds2.out
=======================================================
***acc                       = 23.0
***continue_from             =
***save_folder               = models/
***start_epoch               = -1
***checkpoint                = False
***seed                      = 1
***model_path                = models/deepspeech_t1.pth.tar
=======================================================
Directory already exists.
DataParallel(
  (module): DeepSpeech(
    (conv): Sequential(
      (0): Conv2d(1, 32, kernel_size=(41, 11), stride=(2, 2))
      (1): BatchNorm2d(32, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True)
      (2): Hardtanh(min_val=0, max_val=20, inplace)
      (3): Conv2d(32, 32, kernel_size=(21, 11), stride=(2, 1))
      (4): BatchNorm2d(32, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True)
      (5): Hardtanh(min_val=0, max_val=20, inplace)
    )
    (rnns): Sequential(
      (0): BatchRNN(
        (rnn): GRU(672, 800, bidirectional=True)
      )
      (1): BatchRNN(
        (batch_norm): SequenceWise (
        BatchNorm1d(800, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True))
        (rnn): GRU(800, 800, bidirectional=True)
      )
      (2): BatchRNN(
        (batch_norm): SequenceWise (
        BatchNorm1d(800, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True))
        (rnn): GRU(800, 800, bidirectional=True)
      )
      (3): BatchRNN(
        (batch_norm): SequenceWise (
        BatchNorm1d(800, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True))
        (rnn): GRU(800, 800, bidirectional=True)
      )
      (4): BatchRNN(
        (batch_norm): SequenceWise (
        BatchNorm1d(800, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True))
        (rnn): GRU(800, 800, bidirectional=True)
      )
    )
    (fc): Sequential(
      (0): SequenceWise (
      Sequential(
        (0): BatchNorm1d(800, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True)
        (1): Linear(in_features=800, out_features=29, bias=False)
      ))
    )
    (inference_log_softmax): InferenceBatchLogSoftmax()
  )
)
Number of parameters: 38115968
formats: can't open input file `/tmp/tmp_GBQNr.wav': WAVE: RIFF header not found
ERROR: Unexpected segmentation fault encountered in worker.
Traceback (most recent call last):
  File "train.py", line 289, in <module>
    main()
  File "train.py", line 176, in main
    for i, (data) in enumerate(train_loader, start=start_iter):
  File "/usr/local/lib/python2.7/dist-packages/torch/utils/data/dataloader.py", line 280, in __next__
    idx, batch = self._get_batch()
  File "/usr/local/lib/python2.7/dist-packages/torch/utils/data/dataloader.py", line 259, in _get_batch
    return self.data_queue.get()
  File "/usr/lib/python2.7/multiprocessing/queues.py", line 378, in get
    return recv()
  File "/usr/local/lib/python2.7/dist-packages/torch/multiprocessing/queue.py", line 21, in recv
    buf = self.recv_bytes()
  File "/usr/local/lib/python2.7/dist-packages/torch/utils/data/dataloader.py", line 178, in handler
    _error_if_any_worker_fails()
RuntimeError: DataLoader worker (pid 81) is killed by signal: Segmentation fault.

real	0m20.221s
user	0m5.148s
sys	0m7.076s

What's error mean?

Can you share information about the system you're using to run this?

linux system:
Ubuntu 16.04.  x86_64.
memory: 12GB.
GPU: 4 x K80, 4 x 12GB.

@bitfort  And how to fix this problem?

@bitfort

:) Sorry for the delay. I believe the issue will be with the K80s. Let me loop in the original authors of this code to better explain.

Our best guess so far:
From the looks of issue 47 it seems like it may be related to the newer GPU's or perhaps something else has changed in the environment. The other thing to consider is that with multiple GPUs (as it seems to be the case) you may need to increase the number of workers in the data-loader (line 114 and 116). We should at least have num_works >= number of GPUs.

@bitfort  Thanks. I have increased the number of workers by:
    train_loader = AudioDataLoader(train_dataset, batch_size=params.batch_size,
                                   num_workers=8)
    test_loader = AudioDataLoader(test_dataset, batch_size=params.batch_size,
                                  num_workers=8)

It also throws the same error:
...
Number of parameters: 38115968
formats: can't open input file `/tmp/tmpHt7_3h.wav': WAVE: RIFF header not found
ERROR: Unexpected segmentation fault encountered in worker.
formats: can't open input file `/tmp/tmpaFx1o8.wav': WAVE: RIFF header not found
ERROR: Unexpected segmentation fault encountered in worker.
formats: can't open input file `/tmp/tmpx0Q_XX.wav': WAVE: RIFF header not found
formats: can't open input file `/tmp/tmpJ1aIlw.wav': WAVE: RIFF header not found
formats: can't open input file `/tmp/tmp_luiCf.wav': WAVE: RIFF header not found
ERROR: Unexpected segmentation fault encountered in worker.
formats: can't open input file `/tmp/tmpW1Sshg.wav': WAVE: RIFF header not found
ERROR: Unexpected segmentation fault encountered in worker.
ERROR: Unexpected segmentation fault encountered in worker.
ERROR: Unexpected segmentation fault encountered in worker.
formats: can't open input file `/tmp/tmpgS0dTi.wav': WAVE: RIFF header not found
ERROR: Unexpected segmentation fault encountered in worker.
formats: can't open input file `/tmp/tmpxmkZ1_.wav': WAVE: RIFF header not found
ERROR: Unexpected segmentation fault encountered in worker.
Traceback (most recent call last):
  File "train.py", line 289, in <module>
    main()
  File "train.py", line 176, in main
    for i, (data) in enumerate(train_loader, start=start_iter):
  File "/usr/local/lib/python2.7/dist-packages/torch/utils/data/dataloader.py", line 280, in __next__
    idx, batch = self._get_batch()
  File "/usr/local/lib/python2.7/dist-packages/torch/utils/data/dataloader.py", line 259, in _get_batch
    return self.data_queue.get()
  File "/usr/lib/python2.7/multiprocessing/queues.py", line 378, in get
    return recv()
  File "/usr/local/lib/python2.7/dist-packages/torch/multiprocessing/queue.py", line 21, in recv
    buf = self.recv_bytes()
  File "/usr/local/lib/python2.7/dist-packages/torch/utils/data/dataloader.py", line 178, in handler
    _error_if_any_worker_fails()
RuntimeError: DataLoader worker (pid 165) is killed by signal: Segmentation fault.

real	0m18.156s
user	0m5.596s
sys	0m9.084s

I was also facing this error and it is caused by the train.py code being unable to find the .wav files that it is reading from the .csv files which are generated after running the download script.
Opening the .csv files and modifying it to contain the absolute path to the .wav files makes it work.


[BOSK-92] Package installation fixes

Basic package preparation has been made to simplify installation.
Changes:

pyproject.toml has been added;
version in setup.py has been updated;
jax version has been updated (in both installation guide and requirements.txt);
New (python >= 3.10) type hints syntax usage has been eliminated to match python >= 3.9 requirement.

Wrong base branch!


ATOMIC_USIZE_INIT deprecated in rust 1.34

With #![deny(warnings)] my build fails 😢
We (Fedora Rust SIG) would appreciate if you would not use deny warnings in code, but rather use it from CI (-D warnings).
As for the bug, either use #[allow(deprecated)] if you want to keep compatibility with Rust < 1.24 or use AtomicUsize::new if you want to raise your MSRV to 1.24.

My bad, I should have checked GIT master, it's already fixed.


How execute ingest task in internal network

Without internet, how can execute ingest task?
The error message as below:
`[2022-07-19 11:01:30,433] DEBUG    {acryl.executor.dispatcher.default_dispatcher:56} - Started thread <Thread(Thread-10, started<PHONE_NUMBER>49792)> for 388988b3-ae07-44a3-a9ae-365912198871
[2022-07-19 11:01:30,443] DEBUG    {acryl.executor.execution.default_executor:119} - Task for 388988b3-ae07-44a3-a9ae-365912198871 created
2022-07-19 11:01:30.443675 [exec_id=388988b3-ae07-44a3-a9ae-365912198871] INFO: Starting execution for task with name=RUN_INGEST
Looking in indexes: https://pypi.mirrors.ustc.edu.cn/simple/
Requirement already satisfied: pip in /tmp/datahub/ingest/venv-388988b3-ae07-44a3-a9ae-365912198871/lib/python3.9/site-packages (21.2.4)
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f294111bcd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/pip/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f294111bc70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/pip/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f294111bd00>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/pip/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f294111b940>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/pip/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f29411267c0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/pip/
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f29410dda30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/wheel/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f29410ddc10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/wheel/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f29410dddc0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/wheel/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f29410ddf70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/wheel/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f29410e5160>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/wheel/
ERROR: Could not find a version that satisfies the requirement wheel (from versions: none)
ERROR: No matching distribution found for wheel
Looking in indexes: https://pypi.mirrors.ustc.edu.cn/simple/
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f307ee582e0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/acryl-datahub/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f307ee584f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/acryl-datahub/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f307ee586a0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/acryl-datahub/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f307ee41760>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/acryl-datahub/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f307ee417f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/acryl-datahub/
ERROR: Could not find a version that satisfies the requirement acryl-datahub[datahub-rest,mysql]==0.8.41 (from versions: none)
ERROR: No matching distribution found for acryl-datahub[datahub-rest,mysql]==0.8.41
/tmp/datahub/ingest/venv-388988b3-ae07-44a3-a9ae-365912198871/bin/python3: No module named datahub
2022-07-19 11:01:55.852720 [exec_id=388988b3-ae07-44a3-a9ae-365912198871] INFO: stdout=Looking in indexes: https://pypi.mirrors.ustc.edu.cn/simple/
Requirement already satisfied: pip in /tmp/datahub/ingest/venv-388988b3-ae07-44a3-a9ae-365912198871/lib/python3.9/site-packages (21.2.4)
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f294111bcd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/pip/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f294111bc70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/pip/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f294111bd00>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/pip/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f294111b940>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/pip/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f29411267c0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/pip/
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f29410dda30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/wheel/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f29410ddc10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/wheel/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f29410dddc0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/wheel/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f29410ddf70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/wheel/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f29410e5160>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/wheel/
ERROR: Could not find a version that satisfies the requirement wheel (from versions: none)
ERROR: No matching distribution found for wheel
Looking in indexes: https://pypi.mirrors.ustc.edu.cn/simple/
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f307ee582e0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/acryl-datahub/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f307ee584f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/acryl-datahub/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f307ee586a0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/acryl-datahub/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f307ee41760>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/acryl-datahub/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f307ee417f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/acryl-datahub/
ERROR: Could not find a version that satisfies the requirement acryl-datahub[datahub-rest,mysql]==0.8.41 (from versions: none)
ERROR: No matching distribution found for acryl-datahub[datahub-rest,mysql]==0.8.41
/tmp/datahub/ingest/venv-388988b3-ae07-44a3-a9ae-365912198871/bin/python3: No module named datahub
2022-07-19 11:01:55.852805 [exec_id=388988b3-ae07-44a3-a9ae-365912198871] INFO: Failed to execute 'datahub ingest'
2022-07-19 11:01:55.853057 [exec_id=388988b3-ae07-44a3-a9ae-365912198871] INFO: Caught exception EXECUTING task_id=388988b3-ae07-44a3-a9ae-365912198871, name=RUN_INGEST, stacktrace=Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/acryl/executor/execution/default_executor.py", line 121, in execute_task
self.event_loop.run_until_complete(task_future)
File "/usr/local/lib/python3.9/site-packages/nest_asyncio.py", line 89, in run_until_complete
return f.result()
File "/usr/local/lib/python3.9/asyncio/futures.py", line 201, in result
raise self._exception
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 256, in __step
result = coro.send(None)
File "/usr/local/lib/python3.9/site-packages/acryl/executor/execution/sub_process_ingestion_task.py", line 115, in execute
raise TaskError("Failed to execute 'datahub ingest'")
acryl.executor.execution.task.TaskError: Failed to execute 'datahub ingest'
`

RUN_INGEST - {'errors': [],
 'exec_id': '9fa92d59-e62f-435d-aa74-74d4056d431f',
 'infos': ['2022-07-20 06:04:52.426969 [exec_id=9fa92d59-e62f-435d-aa74-74d4056d431f] INFO: Starting execution for task with name=RUN_INGEST',
           '2022-07-20 06:05:19.361553 [exec_id=9fa92d59-e62f-435d-aa74-74d4056d431f] INFO: stdout=Requirement already satisfied: pip in '
           '/tmp/datahub/ingest/venv-9fa92d59-e62f-435d-aa74-74d4056d431f/lib/python3.9/site-packages (21.2.4)\n'
           'WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by '
           "'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/pip/\n"
           'WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by '
           "'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/pip/\n"
           'WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by '
           "'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/pip/\n"
           'WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by '
           "'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/pip/\n"
           'WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by '
           "'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/pip/\n"
           'WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by '
           "'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/wheel/\n"
           'WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by '
           "'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/wheel/\n"
           'WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by '
           "'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/wheel/\n"
           'WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by '
           "'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/wheel/\n"
           'WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by '
           "'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/wheel/\n"
           'ERROR: Could not find a version that satisfies the requirement wheel (from versions: none)\n'
           'ERROR: No matching distribution found for wheel\n'
           'WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by '
           "'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/acryl-datahub/\n"
           'WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by '
           "'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/acryl-datahub/\n"
           'WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by '
           "'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/acryl-datahub/\n"
           'WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by '
           "'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/acryl-datahub/\n"
           'WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by '
           "'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/acryl-datahub/\n"
           'ERROR: Could not find a version that satisfies the requirement acryl-datahub[datahub-rest,mysql]==0.8.41 (from versions: none)\n'
           'ERROR: No matching distribution found for acryl-datahub[datahub-rest,mysql]==0.8.41\n'
           '/tmp/datahub/ingest/venv-9fa92d59-e62f-435d-aa74-74d4056d431f/bin/python3: No module named datahub\n',
           "2022-07-20 06:05:19.361622 [exec_id=9fa92d59-e62f-435d-aa74-74d4056d431f] INFO: Failed to execute 'datahub ingest'",
           '2022-07-20 06:05:19.361934 [exec_id=9fa92d59-e62f-435d-aa74-74d4056d431f] INFO: Caught exception EXECUTING '
           'task_id=9fa92d59-e62f-435d-aa74-74d4056d431f, name=RUN_INGEST, stacktrace=Traceback (most recent call last):\n'
           '  File "/usr/local/lib/python3.9/site-packages/acryl/executor/execution/default_executor.py", line 121, in execute_task\n'
           '    self.event_loop.run_until_complete(task_future)\n'
           '  File "/usr/local/lib/python3.9/site-packages/nest_asyncio.py", line 89, in run_until_complete\n'
           '    return f.result()\n'
           '  File "/usr/local/lib/python3.9/asyncio/futures.py", line 201, in result\n'
           '    raise self._exception\n'
           '  File "/usr/local/lib/python3.9/asyncio/tasks.py", line 256, in __step\n'
           '    result = coro.send(None)\n'
           '  File "/usr/local/lib/python3.9/site-packages/acryl/executor/execution/sub_process_ingestion_task.py", line 115, in execute\n'
           '    raise TaskError("Failed to execute \'datahub ingest\'")\n'
           "acryl.executor.execution.task.TaskError: Failed to execute 'datahub ingest'\n"]}
Execution finished with errors.


Unnecessary pointer leading to compiler warning on GCC

When compiling FreeRTOS_IP.c I get the following warning:
FreeRTOS_IP.c:1949:66: warning: taking address of packed member of 'struct xUDP_HEADER' may result in an unaligned pointer value [-Waddress-of-packed-member]
also for lines: 2547, 2563 and 2580.
Here is the offending code:
 pxProtPack = ipCAST_PTR_TO_TYPE_PTR( ProtocolPacket_t, &( pxNetworkBuffer->pucEthernetBuffer[ uxHeaderLength - ipSIZE_OF_IPv4_HEADER ] ) );
                            pusChecksum = ( const uint16_t * ) ( &( pxProtPack->xUDPPacket.xUDPHeader.usChecksum ) );

                            if( *pusChecksum == ( uint16_t ) 0U )
                            {
                                #if ( ipconfigHAS_PRINTF != 0 )
                                    {
...

It may be a problem problem for 32-bit aligned memory.
Here is the struct being pointed in to:
struct xUDP_HEADER
    {
        uint16_t usSourcePort;      /**< The source port                      0 + 2 = 2 */
        uint16_t usDestinationPort; /**< The destination port                 2 + 2 = 4 */
        uint16_t usLength;          /**< The size of the whole UDP packet     4 + 2 = 6 */
        uint16_t usChecksum;        /**< The checksum of the whole UDP Packet 6 + 2 = 8 */
    }

I don't see why it is necessary to make a pointer to the value just to dereference it - instead of just accessing it directly?

Hello @tajen, thanks for bringing this to our attention. On a quick look, it seems that you are right. We are not using this for any other reason than to check its value.
Let me do some digging and figure out what is the best way to handle this.

This local declaration of pusChecksum can be avoided easily.
The use of pusChecksum in the function usGenerateProtocolChecksum is quite essential to the code.
As you probably know: when a uint16_t is declared in a packed struct, it may well be located at a non-aligned address, and dereferencing pusChecksum may lead to an exception.
However, by design, we know that all 2-byte and 4-byte struct members are aligned correctly.
In fact, there is one exception, which is ARPHeader_t::ucSenderProtocolAddress, which is declared as an array of bytes:
uint8_t ucSenderProtocolAddress[ 4 ]; /**< Network address of sender */

I am not sure what to do about the use of pusChecksum in the function usGenerateProtocolChecksum(). Let's give it another thought. I'm afraid it needs a lot of extra coding to avoid that compiler warning. Any idea?

Hello @tajen, as Hein correctly points out, it seems that only the first occurrence that you mention should be removed and we can replace that directly with the structure.
All other occurrences are quite essential. They cannot be easily removed/replaced. I agree with Hein on the point that we should provide more thought to this before hacking away at the code. Any suggestions are welcome :)

I see you point.
To be honest, I only checked the first occurance. And it was in the the LTS version, so the line numbers are not correct for the main branch. I appologize for that.
I will see if I can come up with a usable solution.

Hello @tajen, no need for apologies! :)
Since there is no straightforward way to get around this particular warning, and since I do not think that we can categorize this as a bug, I do not see value for other customers in keeping this issue open.
I shall close this issue - you're welcome to reopen this issue or another one in the future - whatever suits your needs. Thanks again for bringing this to our attention.
For the first instance, you're welcome to create a PR. If not, then we can create the PR on your behalf. What do you think?


[WIP] Ensure cursor is visible after showing panels

Fixes #8068.
So this is an interesting one.
We want to ensure the cursor is visible after we show a panel. The tricky bit is that we have to do this after the text editor’s been laid out to include the new panel.
@atom/core I’d love to get some thoughts on how we can accomplish this in a way that doesn't make me sad inside.

@joshaber I have an idea. What if we detected the fact that we weren't visible when the autoscroll request occurs and stored it away, then autoscrolled when we became visible. Would that make you less sad?

@nathansobo Good call :metal:

Closing this for now. Testing it has proven to be more complicated than I want right now.


Fix #60 Move make build artifacts to ./bin/

This adds an $(INSTALL_PREFIX) Makefile variable that is used by all of our binaries.

This change is

Same done as a part of #59 ... :)


Centralize where paths are discovered

Alterantive to #886.
@ghyatzo I started to look into it, and then got carried away ;) I think this should be correct, but I'm also a bit nervous as any error in any of this would really be bad... If you could take a careful look if this all looks right to you that would be amazing.
The general idea now is that juliaupselfexecfolder is the folder where the juliaup binary is located and juliaupselfexec is the path to the juliaup binary itself. And all paths should be canonical.
There is one thing I don't fully understand, I'll leave a comment at that location.

Nice to have this alternative!
I took a look, it all seems good, and actually clears up a lot of the code, which is nice.
I didn't want to touch the various features flags, or signatures, but happy that you did it, it feels better to have a single storage.
first a minor comment: probably still having the logic to get the exec path in a separate function can be beneficial for maintainability.
On another note, I am really uneasy about the get_bin_dir() function and the JULIAUP_BIN_DIR environmental variable.
I commented about it exensively in my PR.
That function get_bin_dir really feels out of place, and the JULIAUP_BIN_DIR is only used there as far as I can tell.
I would also really know what you think about the proposal of just instead using JULIAUP_DEPOT_PATH as the real "authority" and everything else can follow from that. (check the comment in #886)!

Any news regarding this? or comments in #886?


add pod selector on cassandra statefulsets

What this PR does / why we need it: Use updated K8S StatefulSet spec, so that cassandra can be installed on K8S > 1.9. See https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-selector
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:

I built a cluster on AWS using kops recently, and this PR fixes the issue for me.
cd /home/evans/github.com/helm/charts
git fetch origin pull/7285/head:7285
git checkout 7285
helm install /home/evans/github.com/helm/charts/incubator/cassandra

@viglesiasce @seanknox please review this PR

The duplicate PR https://github.com/helm/charts/pull/7348 (exactly the same fix + cassandra version upgrade) seems to be closer to getting merged so I suggest no more resources be spent on this one.

@maeb Do you really think someone can 'contribute' to this repo by watching PRs and add version tag to original PR, because that one seems to be closer to getting merged? If so, who's gonna spend their time and effort on here? At least, I won't.

@code0x9 I'm just interested in getting the fix for this issue merged ASAP cause I rely on it in production. I already commented in the other issue that it was a duplicate of this one - intending that one to be abandoned. When members of the Helm Project then proceeds with reviewing the other PR what am I supposed to do. Just trying to minimize double effort.

@code0x9 I prefer this PR because it fixes the issue and NOTHING else. That was the problem with the commit causing the issue in the first place; "small refactoring, oh well I'll just bump the API version while I'm at it".

@code0x9 There seems to be a conflict in incubator/cassandra/Chart.yaml? 😊

Some news??

Bump.
This issue has been outstanding for almost a month now... 😞 It just needs the chart version bumped since it's been waiting.

I just checked that it also works with helm install --set podLabels.foo=bar.
@code0x9 Could you assign an OWNER to get the ball rolling? Posting /assign @foxish as per the bots recommendation will probably help surface this.
/lgtm

/meow

This is a very nice job and Cassandra chart doesn't work now, when is it going to be merged?

Yea, I tested these changes out on a k8s cluster running the latest k8s release. Seems to be working well.
Just need to get this PR merged.

/assign @davidkarlsen


add purge api

first part of https://github.com/dapr/python-sdk/issues/711
after this I think we could now create a new release of this repo so we can get this new features into the dapr python-sdk

fyi @cgillum

@cgillum would you look into creating a new release of the library so we can update the dapr python sdk?

@famarting I'll look into this, but I'm not sure how long it will take. There have been some major policy changes related to how we publish packages, and some process onboarding work might be required.


"Add" button unresponsive in Inventory Example

Describe the bug
When running the Inventory example, the Add button sometime becomes unresponsive after the "Add" modal sheet is dismissed. Not sure when or what triggers it because it doesn't happen all the time.
To Reproduce
Run the example, open the "Add" modal, save an item and tap "Add" again. Repeat.
Expected behavior
The "Add" button to work all the time.
Environment

swiftui-navigation version 0.1.0
Xcode 13.1
Swift 5.5
OS: iOS 15 Simulator

@mbuchetics Thanks for the report! When you say "unresponsive" do you mean it stops working forever? Finally got around to looking into this today but haven't been able to reproduce this, even after saving many, many items 😅

@stephencelis Thanks for looking into it. I attached a video with touch indicators, so you should be able to see when I am tapping on the button. As you can see in the video, it will start working again once I open & close another sheet.
https://user-images.githubusercontent.com/211709/143057676-918d988d-06ab-4983-8304-10cbe13c3690.mov

Just tried it with Xcode 13.2 beta and I have the same issue there. But if I scroll the view, the buttons becomes responsive again. I also tried it on an iPhone 12 running iOS 13.1 and it works without any problems. So I guess it's just some simulator glitch.


drop uuid dependency

also updated example to the latest supported embedding

@machinescream could you publish a new version on pub?


script to refresh tinygo with latest actor sdk

Signed-off-by: stevelr<EMAIL_ADDRESS>

superceded by PR #74 74


speed improvement in remove_polygons

Removal of an item from a list at an arbitrary index in python is an O(N) operation. Repeatedly doing this over a list can be very costly, as is done in the current remove_polygons() function. This MR instead filters the existing list into a new list via a list comprehension, which is much faster in scenarios where there are many polygons to remove.

Looks good, thanks!

thanks @heitzmann! looking forward to the next release with this patch. i see orders of magnitude speed improvement in development

hi @heitzmann , would it be possible to get a new release with this patch?

Sure!

thanks Lucas! -- obrigado


refactor: better layout for vault struct

Signed-off-by: Gregory Hill<EMAIL_ADDRESS>

Are you confident this isn't breaking the (de)serialization?

Closing for now, since we aren't likely to merge this any time soon


Adds support to restrict plots to a case study

resolves se-passau/VaRA#403

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- varats/plots/plots.py  2

See the complete overview on Codacy

hmm, this is not related to the change
do you have wrongly named results in your result folder?

A right. Yes I do. That's why a recent pull request of mine solved a similar issue by skipping files that don't match the regex

tmux-tmux-da359269cb_92c5e562-40fc-46a0-ac0f-4ad9613a3ed1.yaml
project-binary-commithash-UUID.yaml
if the binary is not their, you did not update all your old file names

Hmm, now it generates a graph, but it doesn't contain anything:
vara-gen-graph -r results/gzip/ -p gzip -c paper_configs/small_gzip/cm.txt.cmap interaction_plot

do you have results?

The yaml file is 34MB as usual

this plot tracks changes over time, you have to supply more than one file

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- varats/plots/plots.py  2

See the complete overview on Codacy

All right, I was holding it wrong. :)
Seems to work now! :)


resolver extensions

one hack around did methods like this has been "resolver middleware", or... modifying a did document to contain values other than what the method author intended (for example adding service endpoints or @context or other json values to an existing did document.
It is possible to make did:jwk look like a did web by exploiting the ability to encode arbitrary JSON in the encoded JWK.
For example:
const jwk = {
    kid,
    '@context': options.didDocument['@context'],
    service: options.didDocument.service,
    ...publicKeyJwk,
  };
  const did = `did:jwk:${base64url.encode(JSON.stringify(jwk))}`;

This will then yield a did document that contains nested data which can be pulled up the correct level by "post resolution middleware"....
example:
{
      "keys": [
        {
          "id": "did:key:z6MkpFJxUgQgYKK68fmokaCWwpRYoWdG3LzZR6dLFXvdJvAT#z6MkpFJxUgQgYKK68fmokaCWwpRYoWdG3LzZR6dLFXvdJvAT",
          "controller": "did:key:z6MkpFJxUgQgYKK68fmokaCWwpRYoWdG3LzZR6dLFXvdJvAT",
          "type": "JsonWebKey2020",
          "publicKeyJwk": {
            "kty": "OKP",
            "crv": "Ed25519",
            "x": "kYUxJdxcqoKbfJKjTPEmbifNrDBvuQuoGynhwmr4BSA"
          },
          "privateKeyJwk": {
            "kty": "OKP",
            "crv": "Ed25519",
            "x": "kYUxJdxcqoKbfJKjTPEmbifNrDBvuQuoGynhwmr4BSA",
            "d": "TmG8GRjqakeuMwczG-d5gZahqOfP5Lbo98ml82AX2Sk"
          }
        }
      ],
      "didDocument": {
      // note that a resolver could inject this value
        "@context": [
          "https://www.w3.org/ns/did/v1",
          "https://w3id.org/security/suites/jws-2020/v1"
        ],
        "id": "did:jwk:eyJraWQiOiJrZXktMCIsIkBjb250ZXh0IjpbImh0dHBzOi8vd3d3LnczLm9yZy9ucy9kaWQvdjEiLCJodHRwczovL3czaWQub3JnL3NlY3VyaXR5L3N1aXRlcy9qd3MtMjAyMC92MSJdLCJzZXJ2aWNlIjpbeyJpZCI6IiNhZ2VudCIsInNlcnZpY2VFbmRwb2ludCI6Imh0dHBzOi8vYXBpLmV4YW1wbGUuY29tIn1dLCJrdHkiOiJPS1AiLCJjcnYiOiJFZDI1NTE5IiwieCI6ImtZVXhKZHhjcW9LYmZKS2pUUEVtYmlmTnJEQnZ1UXVvR3luaHdtcjRCU0EifQ",
        "verificationMethod": [
          {
            "id": "did:jwk:eyJraWQiOiJrZXktMCIsIkBjb250ZXh0IjpbImh0dHBzOi8vd3d3LnczLm9yZy9ucy9kaWQvdjEiLCJodHRwczovL3czaWQub3JnL3NlY3VyaXR5L3N1aXRlcy9qd3MtMjAyMC92MSJdLCJzZXJ2aWNlIjpbeyJpZCI6IiNhZ2VudCIsInNlcnZpY2VFbmRwb2ludCI6Imh0dHBzOi8vYXBpLmV4YW1wbGUuY29tIn1dLCJrdHkiOiJPS1AiLCJjcnYiOiJFZDI1NTE5IiwieCI6ImtZVXhKZHhjcW9LYmZKS2pUUEVtYmlmTnJEQnZ1UXVvR3luaHdtcjRCU0EifQ",
            "type": "JsonWebKey2020",
            "controller": "did:jwk:eyJraWQiOiJrZXktMCIsIkBjb250ZXh0IjpbImh0dHBzOi8vd3d3LnczLm9yZy9ucy9kaWQvdjEiLCJodHRwczovL3czaWQub3JnL3NlY3VyaXR5L3N1aXRlcy9qd3MtMjAyMC92MSJdLCJzZXJ2aWNlIjpbeyJpZCI6IiNhZ2VudCIsInNlcnZpY2VFbmRwb2ludCI6Imh0dHBzOi8vYXBpLmV4YW1wbGUuY29tIn1dLCJrdHkiOiJPS1AiLCJjcnYiOiJFZDI1NTE5IiwieCI6ImtZVXhKZHhjcW9LYmZKS2pUUEVtYmlmTnJEQnZ1UXVvR3luaHdtcjRCU0EifQ",
            "publicKeyJwk": {
              "kid": "key-0",
              // note that a resolver could remove this value
              "@context": [
                "https://www.w3.org/ns/did/v1",
                "https://w3id.org/security/suites/jws-2020/v1"
              ],
              // note that a resolver could remove this value
              "service": [
                {
                  "id": "#agent",
                  "serviceEndpoint": "https://api.example.com"
                }
              ],
              "kty": "OKP",
              "crv": "Ed25519",
              "x": "kYUxJdxcqoKbfJKjTPEmbifNrDBvuQuoGynhwmr4BSA"
            }
          }
        ],
        "authentication": [
          "did:jwk:eyJraWQiOiJrZXktMCIsIkBjb250ZXh0IjpbImh0dHBzOi8vd3d3LnczLm9yZy9ucy9kaWQvdjEiLCJodHRwczovL3czaWQub3JnL3NlY3VyaXR5L3N1aXRlcy9qd3MtMjAyMC92MSJdLCJzZXJ2aWNlIjpbeyJpZCI6IiNhZ2VudCIsInNlcnZpY2VFbmRwb2ludCI6Imh0dHBzOi8vYXBpLmV4YW1wbGUuY29tIn1dLCJrdHkiOiJPS1AiLCJjcnYiOiJFZDI1NTE5IiwieCI6ImtZVXhKZHhjcW9LYmZKS2pUUEVtYmlmTnJEQnZ1UXVvR3luaHdtcjRCU0EifQ"
        ],
        "capabilityInvocation": [
          "did:jwk:eyJraWQiOiJrZXktMCIsIkBjb250ZXh0IjpbImh0dHBzOi8vd3d3LnczLm9yZy9ucy9kaWQvdjEiLCJodHRwczovL3czaWQub3JnL3NlY3VyaXR5L3N1aXRlcy9qd3MtMjAyMC92MSJdLCJzZXJ2aWNlIjpbeyJpZCI6IiNhZ2VudCIsInNlcnZpY2VFbmRwb2ludCI6Imh0dHBzOi8vYXBpLmV4YW1wbGUuY29tIn1dLCJrdHkiOiJPS1AiLCJjcnYiOiJFZDI1NTE5IiwieCI6ImtZVXhKZHhjcW9LYmZKS2pUUEVtYmlmTnJEQnZ1UXVvR3luaHdtcjRCU0EifQ"
        ],
        "capabilityDelegation": [
          "did:jwk:eyJraWQiOiJrZXktMCIsIkBjb250ZXh0IjpbImh0dHBzOi8vd3d3LnczLm9yZy9ucy9kaWQvdjEiLCJodHRwczovL3czaWQub3JnL3NlY3VyaXR5L3N1aXRlcy9qd3MtMjAyMC92MSJdLCJzZXJ2aWNlIjpbeyJpZCI6IiNhZ2VudCIsInNlcnZpY2VFbmRwb2ludCI6Imh0dHBzOi8vYXBpLmV4YW1wbGUuY29tIn1dLCJrdHkiOiJPS1AiLCJjcnYiOiJFZDI1NTE5IiwieCI6ImtZVXhKZHhjcW9LYmZKS2pUUEVtYmlmTnJEQnZ1UXVvR3luaHdtcjRCU0EifQ"
        ],
        "keyAgreement": [
          "did:jwk:eyJraWQiOiJrZXktMCIsIkBjb250ZXh0IjpbImh0dHBzOi8vd3d3LnczLm9yZy9ucy9kaWQvdjEiLCJodHRwczovL3czaWQub3JnL3NlY3VyaXR5L3N1aXRlcy9qd3MtMjAyMC92MSJdLCJzZXJ2aWNlIjpbeyJpZCI6IiNhZ2VudCIsInNlcnZpY2VFbmRwb2ludCI6Imh0dHBzOi8vYXBpLmV4YW1wbGUuY29tIn1dLCJrdHkiOiJPS1AiLCJjcnYiOiJFZDI1NTE5IiwieCI6ImtZVXhKZHhjcW9LYmZKS2pUUEVtYmlmTnJEQnZ1UXVvR3luaHdtcjRCU0EifQ"
        ],
        // note that a resolver could inject this value
        "service": [
          {
            "id": "did:jwk:eyJraWQiOiJrZXktMCIsIkBjb250ZXh0IjpbImh0dHBzOi8vd3d3LnczLm9yZy9ucy9kaWQvdjEiLCJodHRwczovL3czaWQub3JnL3NlY3VyaXR5L3N1aXRlcy9qd3MtMjAyMC92MSJdLCJzZXJ2aWNlIjpbeyJpZCI6IiNhZ2VudCIsInNlcnZpY2VFbmRwb2ludCI6Imh0dHBzOi8vYXBpLmV4YW1wbGUuY29tIn1dLCJrdHkiOiJPS1AiLCJjcnYiOiJFZDI1NTE5IiwieCI6ImtZVXhKZHhjcW9LYmZKS2pUUEVtYmlmTnJEQnZ1UXVvR3luaHdtcjRCU0EifQ#agent",
            "serviceEndpoint": "https://api.example.com"
          }
        ]
      }
    }

Such middleware seems very necessary to allow for did:jwk to interop with did methods that support JSON-LD or that use DIDComm.

What you're describing is definitely interesting, but I would consider that a different method.
If I were to go this way I might consider it being a did:jwt method so that it is also protected and can be updated by using canonicalId to the contained JWK thumbprint.  I could even imagine supporting rotation by embedding a JWS attesting to the next key (though it would balloon in size quickly).

The current spec text does not forbid stuffing JSON in the JWK, should it be:

forbidden?
allowed?
recommended?
required?

Prime examples of things we expect to see in a JWK which would show up in a did document:
kid, use, alg.
given adding JSON to the JWK is the main extension point, I think more guidance on this is required to prevent folks from putting database queries or results in the JWK.

Completely agree, I'll work on some language with specific guidance.


orjson inserts random character causing Syntax error in html when converting app layout to json

App name
dash-manufacture-spc-dashboard
Description of bug
Attempting to run the dash-manufacture-spc-dashboard example results in a Loading... page. Console shows syntax error in JSON.

It is due to how the Dash.layout is dumped to json string, but unclear if it is just an issue with orjson or how layout structure is passed to orjson. Likely this is an orjson issue and can be closed/submitted to orjson as an issue, but I don't yet know what about the Layout structure is causing problems. It appears to only happen in the one place pictured below in a single html.Div but nowhere else.
How to replicate the bug
clone the .git for dash-sample-apps and install requirements per README.md
run the dash-manufacture-spc-dashboard
relevant versions/environment:
Miniconda3/CPython 3.9.5
Windows 10
Chrome: 108.0.5359.125
dash==2.7.1 (core & html components are 2.0.0)
orjson==3.8.4
plotly==5.11.0
Other notes
running using default json engine (default is "orjson")

the '(' character in the image (it appears to be random) needs to be ',' for valid json.
"fixed" by modifying plotly.io._json.py to have to_json_plotly use the "json" engine by default rather than "orjson"

running setting the engine to use "json" by default

Sounds like this: orjson issue #331

orjson released 3.8.5 on 1/10/2023 which fixed the issue


uncompatible packages for install scMetabolism

ERROR: dependencies ‘AUCell’, ‘GSEABase’, ‘GSVA’ are not available for package ‘scMetabolism’
What's version of these packages are compatible with 'scMetabolism'

Same issue for me, looks like there is an incompatibility with different R versions. It would be great if the developers specify which R version they used, and what packages versions as well.

Thank you Zixuan. would you please give the versions of the installed packages? thanks!

Same issue for me as well, any news on this respect?
Thank you very much.


Use of gpt-3.5-turbo-0301 hardcoded?

Is the use of "gpt-3.5-turbo-0301" hardcoded in the script? I see in the response / usage stats that it's using that -0301 beta model. Will I need to change the code, once that specific version is not supported any more? (thx for the script, works great btw in my slack env)

HI @Christolito, thanks for writing in. When OpenAI unlocks other models in the future, indeed users may want to switch to a newer model. To support the use case, enabling developers to pass the model name as an env variable could be a great feature addition.

@Christolito @seratch
Hi, thanks for nice repo.
May I work on this issue?

@akmhmgc Thanks! but what model are you going to enable right now? I think gpt-3.5-turbo is the latest one as of today, so we don't need to work on this task until a newer one comes up to us in the future.

we don't need to work on this task until a newer one comes up to us in the future.

Yeah, absolutely right...so, I wait until new one comes up :) 👍


[notifications] Notification received about own action

Describe the bug
I received a notification about my own action
Steps to reproduce
Steps to reproduce the behavior:

Create space
Disable space

Expected behavior
I don't get a notification.
Actual behavior
I get a notification "{username} deactivated space {spacename}
Interestingly, I don't get a notification when activating the space.
Setup
https://ocis.ocis-wopi.latest.owncloud.works

Just wondering, should the user get a notification if the user shares a space or resource with a group of which he is a member?
Actual: he gets notification

Also: When I delete a space, I also get a notification about my own action.

Just wondering, should the user get a notification if the user shares a space or resource with a group of which he is a member?
Actual: he gets notification

From my point of view, the user performing an action should not get any notification about the particular action. From my understanding, the purpose of notifications is to notify the user about actions he is a passive participant of.

I agree, no need to bother POs. Here is the fix: https://github.com/owncloud/ocis/pull/5873
Note: For SpaceEnabled events currently no notification is send.

@ScharfViktor in tests/e2e/cucumber/features/smoke/notifications.ocis.feature:15 it is tested that a user receives a notification for his own event. Should I set it as expected failure?
https://drone.owncloud.com/owncloud/ocis/20572/66/10

I change e2e test for that

I'll fix it in same PR.

Closed as completed https://github.com/owncloud/ocis/pull/5873


Dotnet/csharp

BankOCR kata

@plzombie Good job! But...
While you've done it too fast, try to add some extras (pull the latest commit on this branch):

Implement a function which can read multiline input with some separator (e.g. '/n')

Add tests for multiline input

Try to implement recursive algorithm (minimum for one use-case)
something which simply can be represented in pseudocode like:
scan(input) -> parse + scan(parseNext)

It's optional task. Try it out if you want!


Task list not visible in template

Tasks that are added to a template are not visible in the Tasks tab in the template unless a Project is created from the template.

Thanks for reporting this issue @R00GLE . It is now fixed after commit https://github.com/reconmap/rest-api/commit/26100e06f2de44c2fb42b1a09d0c4a241e8ac9b1


Guard for undefined keypath

Fix for #1721
The keypath was undifined at this point, causing an uncatched exception/error.
...please note that I don't really know what I'm doing here. I just notice it works that way.

It's failing in the Mapping class, so let's try to put the guard clause there, not in the unregister method:
map ( keypath ) {
    if( typeof this.keypath === undefined ) { return this.localKey; }
    return keypath.replace( this.localKey, this.keypath );
}


I cannot install iqsharp.

I am using visual studio code (python) and have the necessary .NET installed (3.0) and I have installed the Quantum tool but when i get to the next line: dotnet iqsharp install, I obtain the following error:
Traceback (most recent call last):
File "c:\users\michael m harmse\appdata\local\programs\python\python37\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "c:\users\michael m harmse\appdata\local\programs\python\python37\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\Michael M Harmse\AppData\Local\Programs\Python\Python37\Scripts\jupyter.exe_main.py", line 7, in
File "c:\users\michael m harmse\appdata\local\programs\python\python37\lib\site-packages\jupyter_core\command.py", line 247, in main
command = _jupyter_abspath(subcommand)
File "c:\users\michael m harmse\appdata\local\programs\python\python37\lib\site-packages\jupyter_core\command.py", line 134, in _jupyter_abspath
'Jupyter command {} not found.'.format(jupyter_subcommand)
Exception: Jupyter command jupyter-kernelspec not found.

It looks like there's something wrong with your Jupyter setup that's causing jupyter kernelspec to not be available. That command is used by the IQ# installer to register itself as a kernel, similar to how IPython and other Jupyter kernels register themselves. To try and diagnose the problem, how did you install Jupyter? Thanks for the help!

As per offline discussion with @anpaz-msft, it sounds like this might be related to #63. That bug in turn is related to the upstream work at microsoft/jupyter-core#39, which should hopefully be included in released packages shortly.

This appears to be a duplicate of #112; at least the error message is the same. I'll close this as a duplicate for now. @MDHarmse15, if you are still having this problem, could you try the resolution described in that issue?

Duplicate of #112


1.0.4-SNAPSHOT

FIXED:

Now utilizing Paper Downloads API V2 as V1 was deprecated in Nov 2020.

Maven plugin now works again!

Thanks for the update. New version should be online in 1-2 days.


Progress on issue #1395

Codecov Report

Merging #1509 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1509   +/-   ##
=======================================
  Coverage   87.67%   87.67%
=======================================
  Files          24       24
  Lines        1063     1063
  Branches       96       96
=======================================
  Hits          932      932
  Misses        129      129
  Partials        2        2

Continue to review full report at Codecov.

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

Thanks for doing this @ahmetoguzlu!
It doesn't look like your changes came through in this Pull Request though, do you want to try again? Let us know if you're confused and a contributor will try to help out 🙃

@ahmetoguzlu I'm going to close this but feel free to reopen if it includes changes. And don't hesitate to reach out if you need assistance 👍


Utilize Environmental Variable DEPLOY_PLATFORM

Hey there, thanks for this. What would be the chances you guys could set the environmental variable of DEPLOY_PLATFORM=wedeploy? This just helps us, the Rocket.Chat team, to visualize how people deploy their instance so we can provide support when needed.

Sure @graywolf336!

Thanks @zenorocha!


Remove Convert C++ node

replace with direct source code implementation.
remove unneeded getSwizzledVariable()

This looks like an excellent proposal, thanks @ld-kerley!

Looks great! Nice cleanup.


Automate DR from Type Strategist

The DR from Type Strategist should be fairly automatable, though users will be required to specify the type it is taken for by renaming their entry of Type Strategist to
Type Strategist (Electric)
or whatever their chosen type is in the parentheses, so the code can parse a consistent format.

Implemented in commit: https://github.com/caffyn/PTUMoveMaster/commit/be25df9269ad7f343d9554661f681be5d667f64f


Reorderable List Attribute breaks rendering with Property-Drawered properties

While getting rid some old (Apr 21 2019) version of NaughtyAttributes I used in my Gameplay Ingredients package, I stumbled upon a break in the behavior of Reorderable List Attributes.
Reproduced with 2020.1.13f1 / current 2.0.7 (cloned your project to have a boilerplate project that's vanilla)
Seems that Reorderable List property drawer sends incorrect Rect to custom property drawers
In this image : Range Float is broken in the Reorderable List (no Field) but SomeClass uses default PropertyField correctly

In this Image I created a Custom Property Drawer for SomeClass fields:

This PropertyField Custom property drawer is just a pass-through for a propertyfield :
using UnityEditor;

[CustomPropertyDrawer(typeof(SomeClass))]
public class SomeClassPropertyDrawer : PropertyDrawer
{
    public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
    {
        EditorGUI.PropertyField(position, property);
    }
}

While debugging, seems that the Rect being sent has incorrect size (position seems correct but could be confirmed):

I enclosed a repro-case unitypackage, not sure if it's related to your drawer. Seems that old ReorderableList code did not repro this problem ( at least the one I use in my gameplay-ingredients package which is antique :) )
NaughtyAttributes-ReorderableListReproCase.zip

Figured out the issue! :) (At least to be confirmed)
Seems that ReorderableListPropertyDrawer:60 was:
EditorGUI.PropertyField(new Rect(r.x, r.y, r.width, 0), element, true);
now works with:
EditorGUI.PropertyField(new Rect(r.x, r.y, r.width, EditorGUIUtility.singleLineHeight), element, true);

Hey, thanks. I will merge the pull request :)

Thank you ❤

Hello! Could you merge this PR please? (Also, if you have time, could you push an updated version to OpenUPM with this fix?)

@peeweek Hey. Sorry for the delay dude, I will try to merge it in the upcoming weekend. I'm pretty busy these couple of months. I also have some other issues that I want to address and make a new release.

I merged the pull request into the v2 branch: f188911da9bd764d6538d3efdfea4f35bc518265


Template plugin should not support platforms by default

Right now flutter create -t plugin creates a plugin that supports both Android and iOS.
https://github.com/flutter/flutter/pull/48258 proposes to make the template plugin support macOS as well. This increases the odds of plugin authors leaving their pubspec specifying that they support all these platforms while not really having meaningful implementation for all.
I think we should instead require the user to explicitly specify the platforms they want to support when creating a plugin. We should also make it easy to add new platforms to an existing plugin.

#48258 proposes to make the template plugin support macOS as well

Just to clarify here, that was a mistake in the PR, not a proposal.

Right now flutter create -t plugin creates a plugin that supports both Android and iOS.

Well, if you have enable-macos-desktop on for your Flutter installation, then it will create a plugin that supports Android, iOS, and macOS. That's true already, unrelated to the mistake in the PR above.

I believe this was done in https://github.com/flutter/flutter/pull/59507.


Release on npm?

I had problems (in an other project) with git dependencies not working correctly with npm lock files. It would also guaranty availability of the package, even it the case of you deleting or renaming the github repository.
We should be able to keep the "@types/sketch" name (is this actually even necessary? yeap it is) by using it as an alias:
"dependencies": {
  "@types/sketch": "npm<EMAIL_ADDRESS>}

No plan about this, I've no idea about how to publish npm packages.
I wrote the definitions only for https://github.com/qjebbs/sketch-meaxure, just publish it here to see if it helps to anyone.
If it can be done with small scripts or GitHub Action, PR is welcome.

No plan about this, I've no idea about how to publish npm packages.
I wrote the definitions only for https://github.com/qjebbs/sketch-meaxure, just publish it here to see if it helps to anyone.
If it can be done with small scripts or GitHub Action, PR is welcome.

just had that error in my current project. everything just works if you're working alone on a project that uses npm git deps. but fails if someone else executes npm install, which seem to ignore locked git deps, so that they end up using an old version of that dependency, despite the lock file saying that they need to use a newer one.

just had that error in my current project. everything just works if you're working alone on a project that uses npm git deps. but fails if someone else executes npm install, which seem to ignore locked git deps, so that they end up using an old version of that dependency, despite the lock file saying that they need to use a newer one.

Without npm package, you can a make a copy of specific version:
https://github.com/qjebbs/sketch-meaxure/blob/c238374ec122438d968ef59ab17902eff3b2f04d/tsconfig.json#L12-L15

Without npm package, you can a make a copy of specific version:
https://github.com/qjebbs/sketch-meaxure/blob/c238374ec122438d968ef59ab17902eff3b2f04d/tsconfig.json#L12-L15

Without npm package, you can a make a copy of specific version:
https://github.com/qjebbs/sketch-meaxure/blob/c238374ec122438d968ef59ab17902eff3b2f04d/tsconfig.json#L12-L15

Im not sure what you mean by that. are you referring to vendoring?

Without npm package, you can a make a copy of specific version:
https://github.com/qjebbs/sketch-meaxure/blob/c238374ec122438d968ef59ab17902eff3b2f04d/tsconfig.json#L12-L15

Im not sure what you mean by that. are you referring to vendoring?

good to hear

good to hear


✨ Add CAPI API version upgrade test

What this PR does / why we need it: Add CAPI API version upgrade test (not K8s version). Not sure yet if this will work or not.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

@mboersma


JWE support

Hi,
I would like to add support for encrypted JWT tokens (JWE). Having looked through the code base, I am not quite sure where to start. Would an new TokenStore be the way to go or is a TokenConverter more appropriate? Other suggestions?
Cheers, Jon

Hi, it is supported. I had a similar issue with JWS, because the line
https://github.com/spring-projects/spring-security-oauth/blob/7bfe08d8f95b2fec035de484068f7907851b27d0/spring-security-jwt/src/main/java/org/springframework/security/jwt/JwtHelper.java#L244
Only checks type JWT - which is what the standard says it should be!
Always JWT. NetIQ Access Manager in my case, replaces the type with JWS and the process fails.
A temporary solution would be to fix this:
Solution:
	HeaderParameters(Map<String, String> map) {
		String alg = map.get("alg"), typ = map.get("typ");

		// here we go
		if (typ != null && !Arrays.asList("JWT", "JWS", "JWE").contains(type)) {
			throw new IllegalArgumentException("typ is not JWT, JWS or JWE");
		}
		map.remove("alg");
		map.remove("typ");
		this.map = map;
		if (alg == null) {
			throw new IllegalArgumentException("alg is required");
		}
		this.alg = alg;
	}

But in my opinion the Auth Server implementation is wrong :/
Any ideas to this?


Enable automatic merging of dependabot PRs

It's a time-consuming process to go through and approve + merge all the dependabot PRs every day, and we are relying solely on the CI checks to make the decision to merge. We can save ourselves time by enabling automatic merging.
https://dependabot.com/docs/config-file/#automerged_updates has some information on configuration.

Good idea. If I'm reading this right, this will only auto merge after a PR is approved (which saves one click). For the remaining click, I wonder if our bot can auto approve dependency PRs if tests passed.

Good idea. If I'm reading this right, this will only auto merge after a PR is approved (which saves one click). For the remaining click, I wonder if our bot can auto approve dependency PRs if tests passed.

I wonder if our bot can auto approve dependency PRs if tests passed

Yes, this can be configured with the Fabric bot we're using in the schemas repo.

I wonder if our bot can auto approve dependency PRs if tests passed

Yes, this can be configured with the Fabric bot we're using in the schemas repo.

This is done


Unable to successfully run generate_component_schemas.py

Description
While attempting to address this PR comment https://github.com/EVerest/libocpp/pull/746/files#r1719052885 we were trying to run the generate_component_schemas.py. Based on the README.md a modified version of the dm_component_vars.csv is used. The version of the modified CSV is not checked into source control therefore trying to run the generator does not succeed.
Likewise, there are dependencies that are required to run the generate_component_schemas.py that are not called out in the README.md or captured in a requirements.txt.
Request
Check in the modified version of dm_component_vars.csv
Add a comment or requirements.txt for the needed dependencies.

Description
While attempting to address this PR comment https://github.com/EVerest/libocpp/pull/746/files#r1719052885 we were trying to run the generate_component_schemas.py. Based on the README.md a modified version of the dm_component_vars.csv is used. The version of the modified CSV is not checked into source control therefore trying to run the generator does not succeed.
Likewise, there are dependencies that are required to run the generate_component_schemas.py that are not called out in the README.md or captured in a requirements.txt.
Request
Check in the modified version of dm_component_vars.csv Add a comment or requirements.txt for the needed dependencies.

Hi @couryrr-afs,
We started with an unmodified version of the dm_component_vars.csv and then changed it because we were missing some properties in there. We can't push it because the license doesn't allow modifications. We used it mainly for the initial generation of the schemas and ctrlr_component_variables and the config.json files but decided to modfiy those manually in the future. We will therefore drop the generation scripts for v201 soon.


bug(linter): some text in js file cause panic (byte index 8 is not a char boundary)

a js file contains line console.error('\x1B[41;37mpackage.json文件没有改动，禁止提交package-lock.json \x1B[0m');, the file is utf-8 and has ANSI escape sequences and zh-cn characters.
when execute the oxlint command:
oxlint -D all

it panic with message:
thread '<unnamed>' panicked at crates/oxc_linter/src/rules/unicorn/escape_case.rs:67:45:
byte index 55 is not a char boundary; it is inside '交' (bytes 54..57) of `'\x1B[41;37mpackage.json文件没有改动，禁止提交package-lock.json \x1B[0m'`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

oxlint version is 0.0.20

run with RUST_BACKTRACE =full outputs:
thread '<unnamed>' panicked at crates/oxc_linter/src/rules/unicorn/escape_case.rs:67:45:
byte index 55 is not a char boundary; it is inside '交' (bytes 54..57) of `'\x1B[41;37mpackage.json文件没有改动，禁止提交package-lock.json \x1B[0m'`
stack backtrace:
   0:        0x1005e447c - __mh_execute_header
   1:        0x10037dfec - __mh_execute_header
   2:        0x1005c3650 - __mh_execute_header
   3:        0x1005e7ce8 - __mh_execute_header
   4:        0x1005e7910 - __mh_execute_header
   5:        0x1005e87d8 - __mh_execute_header
   6:        0x1005e8370 - __mh_execute_header
   7:        0x1005e82dc - __mh_execute_header
   8:        0x1005e82d0 - __mh_execute_header
   9:        0x10064432c - __mh_execute_header
  10:        0x10038344c - __mh_execute_header
  11:        0x1006447e4 - __mh_execute_header
  12:        0x1004469ac - __mh_execute_header
  13:        0x100485618 - __mh_execute_header
  14:        0x100464948 - __mh_execute_header
  15:        0x10046104c - __mh_execute_header
  16:        0x100461240 - __mh_execute_header
  17:        0x10045eeac - __mh_execute_header
  18:        0x100461240 - __mh_execute_header
  19:        0x10045eeac - __mh_execute_header
  20:        0x100461240 - __mh_execute_header
  21:        0x10045eeac - __mh_execute_header
  22:        0x100461240 - __mh_execute_header
  23:        0x10045eeac - __mh_execute_header
  24:        0x1003df664 - __mh_execute_header
  25:        0x100658744 - __mh_execute_header
  26:        0x1005153ec - __mh_execute_header
  27:        0x1005150e4 - __mh_execute_header
  28:        0x1005e9a6c - __mh_execute_header
  29:        0x185f65034 - __pthread_joiner_wake

Marking as good first issue for anyone who wants to write this using proper Rust iterators, probably with let mut chars = s.chars(), .len_utf8(), peekable and friends.
https://github.com/oxc-project/oxc/blob/d719af473c5ccf18d0b9177d97e081451ea40041/crates/oxc_linter/src/rules/unicorn/escape_case.rs#L55-L63

cc original author @RiESAEX and 🦶 🔫 killer @camc314 .

I should use index in bytes instead of in char, just calculate it in another variable.
but I don't know how to do this in a easy with iterator.


We have no developer API documentation

Cause
We have a slowly growing programming interface for the prototype kit. This is documented from a user perspective at https://prototype-kit.service.gov.uk, but we don't have anything in the way of more traditional API documentation collecting together all the different methods and configuration options.
Consequence
For developers of the kit it's hard to know what we do and don't support already when planning implementation of new features. For people trying to write code that integrates with the kit (such as plugin developers) it is hard to know what they can do with the kit.
Impact of debt
Medium
Cost to pay down
High

this would also make it easier to onboard the new devs

Things that I would consider being in scope for this: anything exported by govuk-prototype-kit including routes API, filters API, etc. The JSON format we expect for plugins in govuk-prototype-kit-config.json, also which options we allow in app/config.json. Maybe also the blocks we have in layouts?
Some things to consider include automated doc generation from JSDoc, JSON schema for configuration files for automated checking tools, that sort of thing.

Some existing (but out of date) developer docs: https://docs.google.com/document/d/1DMu3MVB4iz3QI_xi93Ynw6-esLts-t-o9dY5zpevwLs/edit#heading=h.g0dcse92dyh7

We're improving the situation somewhat in PR #1877, not sure if I feel this is entirely done yet though. I think it would be nice to have a wider coverage of JSDoc comments. However, that is probably a long-term goal.


[0.8]: observer callbacks changed parameter ordering

0.5: disabledChanged: function(oldValue, newValue) {
0.8: disabledChanged: function(newValue, oldValue) {
It's a very subtle change and easy to miss...adds "one more thing to do" when porting 0.5 code :(
Was there a reason to change the ordering?

Since the order in attributeChangedCallback is oldValue, newValue, it would
seem that the 0.5 order was more consistent, and so more memorable.  So
that's a reason to NOT change the ordering and leave it as it is in 0.5.
On Thu, Apr 2, 2015 at 1:58 PM, Eric Bidelman<EMAIL_ADDRESS>wrote:

0.5: disabledChanged: function(oldValue, newValue) {
0.8: disabledChanged: function(newValue, oldValue) {
It's a very subtle change and easy to miss...adds "one more thing to do"
when porting 0.5 code :(
Was there a reason to change the ordering?
—
Reply to this email directly or view it on GitHub
https://github.com/Polymer/polymer/issues/1363.

+1 also good point.

FWIW, newValue as the first argument is much more convenient for use with one-arg functions.

I haven't seen many people use Changed handlers as callbacks. 90% of the time you just use this.disabled to get the latest value.

Would prefer all official elements going forward to use:
fooChanged: function(foo) {
}

style.
But the lack of parallelism wrt attributeChangedCallback is a bit of a wrinkle.

Why do you prefer to use the parameter instead of this.foo?

It's more compact and less stateful.

if it is implicit that this.foo is always foo when the observer callback occurs, then isn't foo just more state?  Doesn't 0.8 require explicit observer properties configuration which may heighten how stative it is?
<script>
    FooChanges = {
        properties: {
            foo:{
                type:String,
                value:"orderMatters!",
                observer:"fooChanged"
            }
        },
        fooChanged:function(){
            this._biasTowardsTheNew(this.foo);
        },
        _biasTowardsTheNew:function(foo){
           console.log("Communicating about how to communicate change is difficult");
        }

    }
</script>

Perhaps exposing an additional configuration parameter when annotating a property observer might be useful to appease single arg new bias 0.8 and existing 0.5 styles. A default can be decided over a thumb wrestling match.

I think Scott's point was that if the order is new, old, then you can use a single-argument observer, too. That is, in your example, observer could simple point to _biasTowardsTheNew directly.

@arthurevans thank you for emphasizing this and have no argument for those who have that preference. I was addressing the parameter foo being more stateless and compact than this.foo in the context of a polymer element with a properties object and explicit observer configuration. It seems like it adds more to the mix to me. I am definitely PRO single argument observer but seems to be more of a preference when setting up your observations.

A function that does not include this is truly stateless. In general, an observer that uses an argument name rather than a specific property can be used to observe different properties.

TYVM! I absolutely agree with stateless function definition and ease of reuse! Just reiterating, the polymer/behavior declaration has no additional state after the observer callback using this assuming no state is added in the implementation compared to the argument approach. Different element  properties of the same name seem possible using the this approach and not sure if that would be the frequent case.
Additional decoupling in a behavior or in an element instance may occur after the properties are specifically mapped to an observer. A single property observer when attached to n properties of the same element instance fires n times when one of them is changed with no way to differentiate. I believe this does require some delegation in the implementation already to have reuse.


scala 3.4.3

Thanks. Can you just replace 3.4.2 instead?

Not sure what is going on with the build.

It only fails on:

scalaVersion: 2.4.3
javaTag: [eclipse-temurin-alpine-21.0.2_13, eclipse-temurin-jammy-21.0.2_13 ]`

Let me have a look and see if i can find out what's the cause.

It seems the issue is straightforward: our internal Renovate bot detected new versions of Scala (3.4.3 and 3.5.0), but these versions haven't been released yet :)
Would you prefer to keep this PR open until 3.4.3 is officially released?

Yes, we can keep it open. Strange that the other builds succeed with invalid archives 🤔

Yes we can keep it open if the release is around the corner.

thanks @rparree


xr_linear.h XrQuaternionf_Multiply(r, a, b) returns product of b * a not a * b.

Looking at the signs of the cross terms they reflect commuted order of multiplication.
As there doesn't appear to be either unit test, or documentation it's not clear if this is intended and simply undocumented.
Also, as this function is called from several other locations within the header, it's not clear as to their correctness.

@rpavlik -- this git blames to you.  Not sure about ownership.


Logger middleware

What's done

Custom logger middleware
redux-logger package removed
With this PR, all direct dependents of redux has been removed
Now leaves us with the possibility of directly using rxjs for Stores

Note: NOT a breaking change. Behaviour is still same like before.
Preview

Coverage remained the same at 100.0% when pulling 69a33f56af2db23b3cda36849b85c6f8ed70bd0c on logger-middleware into 798ac5eb13e2392e15a2eea9cc03d5d8e5048720 on master.

Coverage remained the same at 100.0% when pulling 6a02d8d4c49bf8da43e22fbbc5017c26812342c0 on logger-middleware into c52976491c4fff262a5c3e2fe9030eb88352ab51 on master.


Windows Installation Instructions

Would it be possible to get some instructions on how to use this on windows? I get some errors when using pip install.

I am closing this as bluepy only works on Linux at the moment


Misc doc changes

Besides other documentation changes, this commit ensures the generated
HTML doc for HexDocs.pm will become the source of truth for this Elixir
library and leverage on latest features of ExDoc.

@mpiercy827 Any updates on this?


add local subtitle button

Describe your suggested feature
The beta version (r-6145) is pretty good. But sometimes it crashes. I think it will be fixed in the upcoming stable version.🥰
Most of the website don’t allow us to watch dubbed anime with subtitle so please add an option to add local subtitle from our mobile storage.
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extensions repository.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I will fill out all of the requested information in this form.

Add in #1206


Add prelim M365 model

i thought gonna do the org?

wow the diffs are so insightful!

This is why I include screenshots lol


[BUG]-ZoomRoom Selfview FB incorrect

Was this bug identified in a specific build version?
1.9.8-beta-1796
Describe the bug
In testing ZoomRoom, it was noticed that sometimes the selfview PIP would turn on, and the feedback was incorrectly reporting that the PIP was off.
To Reproduce
Steps to reproduce the behavior:

In a call, select the 'Speaker' view from any other view.

or -

In a call and 'Speaker' view selected, with selfview off, engage the selfview pip position toggle.

Either of these actions seemed to engage selfview, but the feedback failed to turn to on.

@hunterwbrock Out of curiosity, I'd like to know if you try the 1.10.0 version released this morning if the issue persists.  There were major updates made to ZoomRoom in that branch that may possibly correct this bug.


Box shadow doesn't have flexible features.

I love flutter. I have been using it for a year. I'm working on a client project. And the demand is We need Box-shadow for only 3 sides. How can I achieve this? If it would have been like BoxShadow.only as in the case of EdgeInsted.only, that would be much better. So that as a Developer, I can't say "No" to my Client. And that's what Flutter is For. I don't know where to suggest this. So I'm reporting here.

I have a similar case, but only want on 2 sides, opposite each other. So the offset wouldn't work..

@mohith7548 @albrnick I added padding property in PR https://github.com/flutter/flutter/pull/28948

I don't think this is a box shadow anymore.  It's certainly an interesting effect, and it shares characteristics with a box shadow, but a shadow implies a light source.  What kind of light source would create a shadow only on two opposing sides?  Is it that we have multiple light sources in this case?  How do we handle it on a platform where shadows are composited so that the camera can actually be moved and the lightsource be tinkered with?
I think it would make sense to make some kind of new BoxDecoration that is like a BoxShadow but customizable in this way - but I dont' think we should be updating BoxShadow for this.

Oh, interesting. I guess I never thought about the name, and what it implied.  Though, but default, I would think if it were from a light source, you should only have 2 sides at any on time?  (And not the default 4?)
But yeah, certainly a different name is fine. I'm just looking for the capability of selecting where the shadow shows up.. :)

As a (horrible) hack, I created a small rectangular strip of same color and positioned it on the Shadow edge of main Container to hide it. Worked well for me. But of course I agree, the capability of selecting where the shadow shows up would be a great addition.

While it may not make much sense from a "what a shadow actually is/is meant to be" perspective, coming from web design you'll have use cases for all of these things (and, they are fairly easy to make in CSS). So having the same features in Flutter would be truly awesome.
Besides, I'm fine with having a separate BoxShadow for it, as long as there's a way and it's documented somewhere.

There's a issue with BoxShadow where no shadow is displaying in the right and left side of a triangle drawn with a Container.

As you can see in the image, the shadow just extends to the top and bottom corner. There should be an option that allows us to set shadow to all borders or specific borders; something like .all() .only() .symetric() .fromLTRB()


[RTC-23] Ice Endpoint demands in :prepared playback state

It seems that during testing of our WebRTC implementation in production environment, a obscure race condition was discovered, as described in RTC-23.
[:ice] Error handling action {:demand, {Membrane.Pad, :input, 1}} returned by callback Membrane.ICE.Endpoint.handle_other

I think we received :handshake_finished after transitioning to state :prepared. I don't think the fact we received this message is a problem, but we shouldn't send demands as a result, therefore, I have added a playback_state == :playing check in maybe_send_demands_actions. I don't think any changes are required as a result of this one.

As explained in RTC-23, we will not be fixing this issue for now


Crashes on Android 12

As stated in the title, the app does not open on Android 12

The app also can not open on Android 11,. It shutdown quickly when you open it.


feat(): Dartanalyzer!

What remains to clear Issue #37:

facades implementation (we don't need any right now)
moving the files to a pub-compatible directory structure.
running dartanalyzer
running unit tests in Dart.

Now the code is formatted (and validated). Just not dartanalyzed.
The rest of the typescript code has been improved to be Dart compatible.

@jelbourn Ready to review. I'm going to branch off this for the next PR.

LGTM aside from minor comments


是否有计划支持electron？

Description
希望支持electron
Suggested solution
希望支持electron
Alternative
No response
Additional context
No response
Validations

[X] Read the FAQ.
[X] Read the Contributing Guidelines.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] The provided reproduction is a minimal reproducible example of the bug.

electron 就是一个浏览器，可以自己引入，不用专门支持。


Object API Test

Verify with tests, that the Object API works with CID v1.  Related to https://github.com/ipfs/interface-ipfs-core/issues/397

Also https://github.com/ipfs/js-ipfs/issues/2084


Airflow Deployment on K8s Cluster

Problem Statement
Setup Airflow on a Kubernetes Cluster
Success Criteria

Update the Airflow docker custom image to latest version.
Setting up Kubernetes Executor
Ability to load DAGs from the common-dags repo. Github CI/CD to be setup to update the dags whenever code is pushed to specific branches.
Design a way to upgrade Airflow without loss of DAG state.
Scaling up and down the executor based on jobs. You can use sample jobs for this.
Ability to load Hashicorp Vault Credentials in the DAGs.
Deploy Hashicorp Vault as part of the installation. [Good to have]
Setting up two instances - dev and production. [Good to have]

Links

The docker image for Airflow to be used
DAGs
Hashicorp Vault Airflow Config

Scaling up and down the executor based on jobs. You can use sample jobs for this.
For this one what metric do you want to use. Does default CPU/Memory based scaling works?

Hey Chakshu, I will setup HPA and will do some load testing for this

Hey @ChakshuGautam could you give me access to this -> https://github.com/Samagra-Development/airflow

Added


Feat use constant space

Addition of a Fun and a number is now
f+Fun(c,ConstantSpace())
instead of
f+Fun(c,space(f))
This supports say
x=Fun()
sqrt(1+x^2)+5
by creating a SumSpace

This is cool. By the way, I think you meant
x=Fun()
sqrt(1-x^2)+5

and of course this works now too!
log(1+x) + sqrt(1-x^2)


Use an open source website!

There is a repo in my GitHub of a website that is already up and running called https://ispgo.net ! It could help the project keep it's open source quality!

Hello!
I think the website I use works well for now.
Also I just checked and both website don't show the same status.
http://cmmcd.com/PokemonGo/: Unstable!
https://ispgo.net: Good ping 1
The server were clearly having problems when I checked so I'll keep the other website for now. But thanks for your suggestion!

@Lacsap- do you know the URL this guys are pinging? I need to know it so I can create an API!

No idea, send an email to<EMAIL_ADDRESS>he might tell you :)

Tried to contact cmmcd and had no response, but, I could improve my system and now I can get a better system view: https://ispgo.net/api/
It is not a fully functional API, but it returns the JSON used by our system to get the system status!


There is a lack of documentation regarding the usage of ChanneldCharacter and ChanneldMovementComponent.

The documentation does not mention the usage of ChanneldCharacter and ChanneldMovementComponent. As a result, if a user is unaware of this, they may encounter a crash when testing the spatial data view. This can be confusing and difficult to identify the cause of.

Thanks for the feedback! These custom classes will be introduced and guided in the Getting Started docs.

Fixed in 3fe90c1a8e6974c5b8356cea65c8f1bea2b3b762


Issue with calculate week

I tried to set my week and can't calculate it. If you put 130+ bells in any of the label gives you an error.
I bought turnips in Sunday at 91 bells.
Monday AM were at 120 bells
Monday PM were at 147 bells
Tuesday AM were at 197 bells
Tuesday PM were at 199 bells
Wednesday AM were at 99 bells
Wednesday PM were at 95 bells

Is it your first week buying turnips?

We have seen some reports from others that the algorithm is possibly calculating values incorrectly. This still needs to be investigated further and additional examples are greatly appreciated!
There appears to be a few things happening here.
If we assume that this was not your first week buying, then having a sell price of 147 on Monday PM is not possible (based on the predictions model, I mean). So, either this is your first week, or the predictions model is not working.
If this is your first week, then we still have a problem once we get to Wednesday AM, where the predictions model suggests your sell price could not be lower than 146 - your value was 99 though.
In both situations, whether first week or not, there appears to be a calculation issue (this of course is assuming your values are 100% correct, and not possibly typo'd or invalid)

I have seen this as well.

It is the Wednesday PM price which breaks things.

Thanks for sharing. The more examples people provide, the more information we'll have to hunt down the cause.

For me, it is the Tuesday PM price input that broke the calculator.

I'm also experiencing this. If you remove the 72 from Wednesday AM it works. I noticed that 71 works, so I'm wondering if there is an off by 1 error. This is not the first week of buying turnips (second if it means anything, v1.1.4a)

I believe this other web app is using similar methods. They have an issue open right now discussing off by one/precision issues: https://github.com/elxris/Turnip-Calculator/issues/3
May be worth following.

I've been keeping tabs on that, and comparing results between this app and their app - I have seen several situations where the elxris app produces a prediction, where this one cannot.

It's worth noting that JavaScript rounds float values differently than C++ does, so there may not be anything that anyone can do to properly address that. Frankly, every language can potentially have slight variations in their floating point math...

Yes, very true. WebAssembly might be a good solution here. Or, running the analysis on a server (but that costs more $$$ 😋) .

Neither is likely, I don't think. My understanding is the maintainer would like to keep this lightweight and without a back end. Also, Web Assembly would require a complete rewrite of the entire app, so it's essentially a new project.

Yeah, anything involving a backend is too heavyweight for me
How far out are we anyway.. I'm half wondering whether to just add a bell of fudge factor either way if needed to find a prediction. Is that good enough?

Tough to say this point. Some of the examples show a variance in the 10s or greater, which does suggest a calculation issue more than a rounding issue.

Speaking of WebAssembly, someone did make this. But it would still require a significant rewrite to incorporate.

Monday PM broke for me.  (Not sure if additional examples are helping at this point... but I thought I would share.

Monday PM broke for me. (Not sure if additional examples are helping at this point... but I thought I would share.

What were all your values? The example is only beneficial if we can use it to replicate (need your buy price at least)

Here you go.  Changing the probability of the previous week doesn't affect anything in this case.

Here you go. Changing the probability of the previous week doesn't affect anything in this case.

Thanks! It's possible this could be a rounding issue. The lower bounds from the prediction for Monday PM is 72 but you got a 71. Do you happen to know what the rest of your week looked like?

Yep:

Thanks again. More than just the Monday PM value appears to be outside the ranges of the prediction. This is helpful.

Here are some values I have gotten this week that causes this issue. the Thursday AM value is the kicker here, at 62, which is the real value, it does not work, but at 61 it does.
This one here is not working

And this one does after decreasing my thursday am value by 1

I just posted one with incorrect screen shots, so here is the correction:
I have gotten this issue today with my Thursday AM value
The value Nook quoted was 62, however put into the field it breaks the predition, correct it to 61 and it works, seems to be similar to the issues above, but here's one more for the dataset.
Not Working

Working

First week, purchased at 89
Mon am 89. Mon pm 130
Tues am 109. Tues pm 142
Wed am 151. Wed pm 156
Thur am 154. Thur pm 82.
It broke and did the all 999 starting wed am

Inputting the Thurs PM broke the calculator :/

Today the Calc broke 💔 for me, too. (same for https://elxris.github.io/Turnip-Calculator/)

More data if it helps. Predicted range for Friday AM was 91-143, actual price is 172. Tested on this tool, https://github.com/drfuzzyness/google-sheets-stalk-market-calculator v1.3, and https://elxris.github.io/Turnip-Calculator/ getting the same results.

Tuesday PM broke mine.

Tuesday PM broke mine

Tuesday PM broke mine
@Fae-ok what was your Tuesday PM value?

I have what looks like to be the same issue.  It broke with Monday's values but I included a screenshot with the values from today just in case

So with the recent changes in #93 it seems to break with this valid data:
https://turnipprophet.io/?prices=<IP_ADDRESS>.201
Buy price 104
mam - 95
mpm - 91
tam - 124
tpm - 201
You need to delete both mpm and tam to get it to show anything, or adjust the buy price up 1


go mod init

Purely for convenience, so this can be used outside a GOPATH and/or with tools in the ecosystem that (by now) require a go.mod file being present.

thanks but no thanks. I didn't realise this repo was not archived. Please feel free to fork it


update index partially

Sorry, I can't find anywhere, is any way to update index partially with chewy? I need to update only one column for my large collection of indexes. And its very hard to reset it completely.

+1 here

Currently this is not supported unfortunately, it is really tough to implement such a thing in the universal way. I'l think about it, but since index reset is zero-downtime, it will not affect anything even if it runs for a long time

thnx


Ability to have static game name and playtime on grid view (not affected by animations)

Feature Description
Is it possible to make game name and playtime on grid view not affected by the zoom hover animations and remain static in place?
I think this will be more consistent as if you look closely when text scale up and down you can notice a change in it.
I will upload a video on that: https://imgur.com/a/4Ir1rAp
It is minimal on lato font but a lot more noticable on other fonts.
Screenshots

I'm afraid that I don't know if this is possible. The zoom animation is applied to all the grid view item

Making it separate, would require making it work to only affect certain parts. There are a lot of elements in the item: Border, game name and its background, cover, name behind cover, etc. and making it only work to only zoom-in the cover and making sure everything works correctly seems a little complicated while also making it an option to only zoom certain parts.
For example, I'm not sure how it would work in the border where the cover and background of the game name connect if only the cover is zoomed in

I don't know if this can be and will be implemented but I'll leave the issue open for the moment.


⚠ Thumbnails API Endpoint has degraded performance

In 23f46c8, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 1024 ms

Resolved: Thumbnails API Endpoint performance has improved in 2d458c4.


btnContextual property on SizePerPageDropdownStandalone not passed to SizePerPageDropdown

I'm working on upgrading from react-bootstrap-table version 1. Previously I could set the btnContextual property on the SizePerPageDropDown component. In version 2, it looks like that property still exists on SizePerPageDropDown, but it is not passed through when I set it on the SizePerPageDropdownStandalone component:
<SizePerPageDropdownStandalone {...paginationProps} btnContextual='btn-outline-secondary' />

@paaatrick Fixed in newest version, please upgrade all the related packages listed in below notes:
https://react-bootstrap-table.github.io/react-bootstrap-table2/blog/2019/03/10/version-bump.html

Thank you!


chore add a doing label for every pr

Add a doing label for every pr to indicate that it is going on and more work need to be done, eg. pick it to other branches.
It can be used to filter the prs that need to be picked to other branches. After all done, the doing label can be removed manually.

run buildall

run buildall


UCP: Migrate scalar function Trim3Args from TiDB

Description
Port the scalar function Trim3Args from TiDB to coprocessor.
Score

50

Mentor(s)

@mapleFU

Recommended Skills

Rust programming

Learning Materials
Already implemented expressions ported from TiDB

https://github.com/tikv/tikv/tree/master/components/tidb_query/src/rpn_expr)
https://github.com/tikv/tikv/tree/master/components/tidb_query/src/expr)

/pick-up-challenge

/give-up-challenge

/pick-up-challenge

/pick-up-challenge

Closed via #7195


Create database

store the values enter into the form

Right now the entered form details are posted and stored in the netlify dashboard. We can set up a hook to send an email to Micheal/ podcast everytime someone enters information into the form.

Yeah, that works for the initial stage.

We decided not to integrate a database.