Distribute Android demo app development version

@julien-deramond  & @Tayebsed93  this task should probably be split in 2 to reflect the iOS and the Android app distribution processes? no?
Same applies to #13

@julien-deramond & @Tayebsed93 this task should probably be split in 2 to reflect the iOS and the Android app distribution processes? no? Same applies to #13

Good catch @B3nz01d! I've created https://github.com/Orange-OpenSource/ouds-flutter/issues/28 and https://github.com/Orange-OpenSource/ouds-flutter/issues/29 for iOS, and changed the title of the existing ones to target Android


How do I fire "finish" event on a region?

Wavesurfer.js version(s):
"wavesurfer-react": "^2.1.6",
"wavesurfer.js": "^6.2.0",
Browser and operating system version(s):
Chrome, MacOS
Code needed to reproduce the issue:
     useEffect(() => {
        wavesurferRef.current.on("finish", () => {
            console.log("Track Finished");
          });
      }, []);

https://codesandbox.io/s/wavesurfer-react-20-gqvb6?from-embed
The "finish" event on a region doesn't work, so how could I fire the end of a region?

Here my simple solution:
    useEffect(() => {
        wavesurferRef.current.on("region-out", () => {
            console.log("Track Finished");
        });
    }, [regions]);


fix: correct container mutex handling in TaskService

Looks like this is the same as https://github.com/containerd/rust-extensions/pull/339 ?


Asking about best configuration when using Quartz

Hello Anyone I want to ask something about Configuration or Other Option for Using Scheduller on My Service Project. I'm using this library for process big stream data. there are two service working paralel and concurrent for processing stream data and i'm setup my quartz scheduller for processing stream data on each service every 5 seconds, is it good enough?
I just want to ask about other Opinion or Someone have same condtion like with best solution

Hi @ariawanzero
Yes you can use Quartz for your service.
See https://github.com/quartz-scheduler/quartz/wiki/How-To-Submit-New-Issue


added python quiz question

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)

I also removed the Closes #15  because that issue is meant to stay open for multiple contributors


[Marker.io] Mobile: menu bar does not match figma for 404 page

Steps to reproduce:
Compare menu bar on 404 and compare with figma
Actual result: does not match figma
Expected result: please fix

Reported by: Vinod<EMAIL_ADDRESS>- Contact via Marker.io
Source URL: https://wf-b.stg.prezzee.com/en-us/whatever
Issue details: Open in Marker.io
Device typemobileBrowserSafari 18.0.1Screen Size375 x 812OSiOS 18.0.1Viewport Size375 x 628Pixel Ratio@3x

also applicable for  404 desktop page.
@Druhin13

this would not be worked on
potential nav update on phase 2, once we work on the gift customizer page

🤖 Marker.io bot - This issue was marked as ✅ Resolved in Marker.io


Improve proof and parsing time

There is a ton of redundancy in the proof running process in the extension that can be eliminated and improved with simple context memory that is provided by the vscode API. Related to #8.

The extension is more efficient after https://github.com/model-checking/kani-vscode-extension/issues/29


[BUG] Fresh install doesn't work

Describe the bug
Following the install instructions from scratch no longer works.
To Reproduce
Steps to reproduce the behavior:

On a Macbook Pro with Intel processor
Downloaded latest Anaconda installer for Mac (Intel) from https://www.anaconda.com/ (accessed July 26 2023). Download is called Anaconda3-2023.07-1-MacOSX-x86_64.pkg
Ran installer, all default settings.
Opened terminal and ran pip install --upgrade neural-amp-modeler.
Type nam and press enter

Terminal output is:
(base) steve@Stevens-MacBook-Pro ~ % pip install --upgrade neural-amp-modeler
Collecting neural-amp-modeler
  Downloading neural_amp_modeler-0.7.0-py3-none-any.whl (218 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 218.3/218.3 kB 4.3 MB/s eta 0:00:00
Collecting auraloss==0.3.0 (from neural-amp-modeler)
  Using cached auraloss-0.3.0-py3-none-any.whl (15 kB)
Requirement already satisfied: matplotlib in ./anaconda3/lib/python3.11/site-packages (from neural-amp-modeler) (3.7.1)
Requirement already satisfied: numpy in ./anaconda3/lib/python3.11/site-packages (from neural-amp-modeler) (1.24.3)
Collecting pydantic (from neural-amp-modeler)
  Downloading pydantic-2.1.1-py3-none-any.whl (370 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 370.9/370.9 kB 6.2 MB/s eta 0:00:00
Collecting pytorch-lightning (from neural-amp-modeler)
  Downloading pytorch_lightning-2.0.6-py3-none-any.whl (722 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 722.8/722.8 kB 10.9 MB/s eta 0:00:00
Requirement already satisfied: scipy in ./anaconda3/lib/python3.11/site-packages (from neural-amp-modeler) (1.10.1)
Collecting sounddevice (from neural-amp-modeler)
  Using cached sounddevice-0.4.6-py3-none-macosx_10_6_x86_64.macosx_10_6_universal2.whl (107 kB)
Collecting tensorboard (from neural-amp-modeler)
  Using cached tensorboard-2.13.0-py3-none-any.whl (5.6 MB)
Collecting torch (from neural-amp-modeler)
  Downloading torch-2.0.1-cp311-none-macosx_10_9_x86_64.whl (143.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 143.1/143.1 MB 11.3 MB/s eta 0:00:00
Requirement already satisfied: tqdm in ./anaconda3/lib/python3.11/site-packages (from neural-amp-modeler) (4.65.0)
Collecting wavio>=0.0.5 (from neural-amp-modeler)
  Using cached wavio-0.0.7-py2.py3-none-any.whl (8.7 kB)
Requirement already satisfied: contourpy>=1.0.1 in ./anaconda3/lib/python3.11/site-packages (from matplotlib->neural-amp-modeler) (1.0.5)
Requirement already satisfied: cycler>=0.10 in ./anaconda3/lib/python3.11/site-packages (from matplotlib->neural-amp-modeler) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in ./anaconda3/lib/python3.11/site-packages (from matplotlib->neural-amp-modeler) (4.25.0)
Requirement already satisfied: kiwisolver>=1.0.1 in ./anaconda3/lib/python3.11/site-packages (from matplotlib->neural-amp-modeler) (1.4.4)
Requirement already satisfied: packaging>=20.0 in ./anaconda3/lib/python3.11/site-packages (from matplotlib->neural-amp-modeler) (23.0)
Requirement already satisfied: pillow>=6.2.0 in ./anaconda3/lib/python3.11/site-packages (from matplotlib->neural-amp-modeler) (9.4.0)
Requirement already satisfied: pyparsing>=2.3.1 in ./anaconda3/lib/python3.11/site-packages (from matplotlib->neural-amp-modeler) (3.0.9)
Requirement already satisfied: python-dateutil>=2.7 in ./anaconda3/lib/python3.11/site-packages (from matplotlib->neural-amp-modeler) (2.8.2)
Collecting annotated-types>=0.4.0 (from pydantic->neural-amp-modeler)
  Downloading annotated_types-0.5.0-py3-none-any.whl (11 kB)
Collecting pydantic-core==2.4.0 (from pydantic->neural-amp-modeler)
  Downloading pydantic_core-2.4.0-cp311-cp311-macosx_10_7_x86_64.whl (1.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 21.1 MB/s eta 0:00:00
Requirement already satisfied: typing-extensions>=4.6.1 in ./anaconda3/lib/python3.11/site-packages (from pydantic->neural-amp-modeler) (4.6.3)
Requirement already satisfied: PyYAML>=5.4 in ./anaconda3/lib/python3.11/site-packages (from pytorch-lightning->neural-amp-modeler) (6.0)
Requirement already satisfied: fsspec[http]>2021.06.0 in ./anaconda3/lib/python3.11/site-packages (from pytorch-lightning->neural-amp-modeler) (2023.3.0)
Collecting torchmetrics>=0.7.0 (from pytorch-lightning->neural-amp-modeler)
  Downloading torchmetrics-1.0.1-py3-none-any.whl (729 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 729.2/729.2 kB 12.4 MB/s eta 0:00:00
Collecting lightning-utilities>=0.7.0 (from pytorch-lightning->neural-amp-modeler)
  Downloading lightning_utilities-0.9.0-py3-none-any.whl (23 kB)
Requirement already satisfied: filelock in ./anaconda3/lib/python3.11/site-packages (from torch->neural-amp-modeler) (3.9.0)
Requirement already satisfied: sympy in ./anaconda3/lib/python3.11/site-packages (from torch->neural-amp-modeler) (1.11.1)
Requirement already satisfied: networkx in ./anaconda3/lib/python3.11/site-packages (from torch->neural-amp-modeler) (2.8.4)
Requirement already satisfied: jinja2 in ./anaconda3/lib/python3.11/site-packages (from torch->neural-amp-modeler) (3.1.2)
Requirement already satisfied: CFFI>=1.0 in ./anaconda3/lib/python3.11/site-packages (from sounddevice->neural-amp-modeler) (1.15.1)
Collecting absl-py>=0.4 (from tensorboard->neural-amp-modeler)
  Using cached absl_py-1.4.0-py3-none-any.whl (126 kB)
Collecting grpcio>=1.48.2 (from tensorboard->neural-amp-modeler)
  Downloading grpcio-1.56.2-cp311-cp311-macosx_10_10_universal2.whl (8.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.9/8.9 MB 21.2 MB/s eta 0:00:00
Collecting google-auth<3,>=1.6.3 (from tensorboard->neural-amp-modeler)
  Downloading google_auth-2.22.0-py2.py3-none-any.whl (181 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.8/181.8 kB 5.2 MB/s eta 0:00:00
Collecting google-auth-oauthlib<1.1,>=0.5 (from tensorboard->neural-amp-modeler)
  Using cached google_auth_oauthlib-1.0.0-py2.py3-none-any.whl (18 kB)
Requirement already satisfied: markdown>=2.6.8 in ./anaconda3/lib/python3.11/site-packages (from tensorboard->neural-amp-modeler) (3.4.1)
Collecting protobuf>=3.19.6 (from tensorboard->neural-amp-modeler)
  Downloading protobuf-4.23.4-cp37-abi3-macosx_10_9_universal2.whl (400 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 400.3/400.3 kB 7.3 MB/s eta 0:00:00
Requirement already satisfied: requests<3,>=2.21.0 in ./anaconda3/lib/python3.11/site-packages (from tensorboard->neural-amp-modeler) (2.29.0)
Requirement already satisfied: setuptools>=41.0.0 in ./anaconda3/lib/python3.11/site-packages (from tensorboard->neural-amp-modeler) (67.8.0)
Collecting tensorboard-data-server<0.8.0,>=0.7.0 (from tensorboard->neural-amp-modeler)
  Downloading tensorboard_data_server-0.7.1-py3-none-macosx_10_9_x86_64.whl (4.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.8/4.8 MB 17.3 MB/s eta 0:00:00
Requirement already satisfied: werkzeug>=1.0.1 in ./anaconda3/lib/python3.11/site-packages (from tensorboard->neural-amp-modeler) (2.2.3)
Requirement already satisfied: wheel>=0.26 in ./anaconda3/lib/python3.11/site-packages (from tensorboard->neural-amp-modeler) (0.38.4)
Requirement already satisfied: pycparser in ./anaconda3/lib/python3.11/site-packages (from CFFI>=1.0->sounddevice->neural-amp-modeler) (2.21)
Requirement already satisfied: aiohttp!=4.0.0a0,!=4.0.0a1 in ./anaconda3/lib/python3.11/site-packages (from fsspec[http]>2021.06.0->pytorch-lightning->neural-amp-modeler) (3.8.3)
Collecting cachetools<6.0,>=2.0.0 (from google-auth<3,>=1.6.3->tensorboard->neural-amp-modeler)
  Using cached cachetools-5.3.1-py3-none-any.whl (9.3 kB)
Requirement already satisfied: pyasn1-modules>=0.2.1 in ./anaconda3/lib/python3.11/site-packages (from google-auth<3,>=1.6.3->tensorboard->neural-amp-modeler) (0.2.8)
Collecting rsa<5,>=3.1.4 (from google-auth<3,>=1.6.3->tensorboard->neural-amp-modeler)
  Using cached rsa-4.9-py3-none-any.whl (34 kB)
Requirement already satisfied: six>=1.9.0 in ./anaconda3/lib/python3.11/site-packages (from google-auth<3,>=1.6.3->tensorboard->neural-amp-modeler) (1.16.0)
Requirement already satisfied: urllib3<2.0 in ./anaconda3/lib/python3.11/site-packages (from google-auth<3,>=1.6.3->tensorboard->neural-amp-modeler) (1.26.16)
Collecting requests-oauthlib>=0.7.0 (from google-auth-oauthlib<1.1,>=0.5->tensorboard->neural-amp-modeler)
  Using cached requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
Requirement already satisfied: charset-normalizer<4,>=2 in ./anaconda3/lib/python3.11/site-packages (from requests<3,>=2.21.0->tensorboard->neural-amp-modeler) (2.0.4)
Requirement already satisfied: idna<4,>=2.5 in ./anaconda3/lib/python3.11/site-packages (from requests<3,>=2.21.0->tensorboard->neural-amp-modeler) (3.4)
Requirement already satisfied: certifi>=2017.4.17 in ./anaconda3/lib/python3.11/site-packages (from requests<3,>=2.21.0->tensorboard->neural-amp-modeler) (2023.5.7)
Requirement already satisfied: MarkupSafe>=2.1.1 in ./anaconda3/lib/python3.11/site-packages (from werkzeug>=1.0.1->tensorboard->neural-amp-modeler) (2.1.1)
Requirement already satisfied: mpmath>=0.19 in ./anaconda3/lib/python3.11/site-packages (from sympy->torch->neural-amp-modeler) (1.2.1)
Requirement already satisfied: attrs>=17.3.0 in ./anaconda3/lib/python3.11/site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>2021.06.0->pytorch-lightning->neural-amp-modeler) (22.1.0)
Requirement already satisfied: multidict<7.0,>=4.5 in ./anaconda3/lib/python3.11/site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>2021.06.0->pytorch-lightning->neural-amp-modeler) (6.0.2)
Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in ./anaconda3/lib/python3.11/site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>2021.06.0->pytorch-lightning->neural-amp-modeler) (4.0.2)
Requirement already satisfied: yarl<2.0,>=1.0 in ./anaconda3/lib/python3.11/site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>2021.06.0->pytorch-lightning->neural-amp-modeler) (1.8.1)
Requirement already satisfied: frozenlist>=1.1.1 in ./anaconda3/lib/python3.11/site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>2021.06.0->pytorch-lightning->neural-amp-modeler) (1.3.3)
Requirement already satisfied: aiosignal>=1.1.2 in ./anaconda3/lib/python3.11/site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>2021.06.0->pytorch-lightning->neural-amp-modeler) (1.2.0)
Requirement already satisfied: pyasn1<0.5.0,>=0.4.6 in ./anaconda3/lib/python3.11/site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard->neural-amp-modeler) (0.4.8)
Collecting oauthlib>=3.0.0 (from requests-oauthlib>=0.7.0->google-auth-oauthlib<1.1,>=0.5->tensorboard->neural-amp-modeler)
  Using cached oauthlib-3.2.2-py3-none-any.whl (151 kB)
Installing collected packages: wavio, tensorboard-data-server, rsa, pydantic-core, protobuf, oauthlib, lightning-utilities, grpcio, cachetools, annotated-types, absl-py, torch, sounddevice, requests-oauthlib, pydantic, google-auth, torchmetrics, google-auth-oauthlib, auraloss, tensorboard, pytorch-lightning, neural-amp-modeler
Successfully installed absl-py-1.4.0 annotated-types-0.5.0 auraloss-0.3.0 cachetools-5.3.1 google-auth-2.22.0 google-auth-oauthlib-1.0.0 grpcio-1.56.2 lightning-utilities-0.9.0 neural-amp-modeler-0.7.0 oauthlib-3.2.2 protobuf-4.23.4 pydantic-2.1.1 pydantic-core-2.4.0 pytorch-lightning-2.0.6 requests-oauthlib-1.3.1 rsa-4.9 sounddevice-0.4.6 tensorboard-2.13.0 tensorboard-data-server-0.7.1 torch-2.0.1 torchmetrics-1.0.1 wavio-0.0.7
(base) steve@Stevens-MacBook-Pro ~ % nam
Traceback (most recent call last):
  File "/Users/steve/anaconda3/bin/nam", line 5, in <module>
    from nam.train.gui import run
  File "/Users/steve/anaconda3/lib/python3.11/site-packages/nam/__init__.py", line 23, in <module>
    from . import models  # noqa F401
    ^^^^^^^^^^^^^^^^^^^^
  File "/Users/steve/anaconda3/lib/python3.11/site-packages/nam/models/__init__.py", line 9, in <module>
    from .base import Model  # noqa F401
    ^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/steve/anaconda3/lib/python3.11/site-packages/nam/models/base.py", line 19, in <module>
    import pytorch_lightning as pl
  File "/Users/steve/anaconda3/lib/python3.11/site-packages/pytorch_lightning/__init__.py", line 26, in <module>
    from pytorch_lightning.callbacks import Callback  # noqa: E402
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/steve/anaconda3/lib/python3.11/site-packages/pytorch_lightning/callbacks/__init__.py", line 14, in <module>
    from pytorch_lightning.callbacks.batch_size_finder import BatchSizeFinder
  File "/Users/steve/anaconda3/lib/python3.11/site-packages/pytorch_lightning/callbacks/batch_size_finder.py", line 24, in <module>
    from pytorch_lightning.callbacks.callback import Callback
  File "/Users/steve/anaconda3/lib/python3.11/site-packages/pytorch_lightning/callbacks/callback.py", line 22, in <module>
    from pytorch_lightning.utilities.types import STEP_OUTPUT
  File "/Users/steve/anaconda3/lib/python3.11/site-packages/pytorch_lightning/utilities/types.py", line 25, in <module>
    from torchmetrics import Metric
  File "/Users/steve/anaconda3/lib/python3.11/site-packages/torchmetrics/__init__.py", line 14, in <module>
    from torchmetrics import functional  # noqa: E402
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/steve/anaconda3/lib/python3.11/site-packages/torchmetrics/functional/__init__.py", line 121, in <module>
    from torchmetrics.functional.text._deprecated import _bleu_score as bleu_score
  File "/Users/steve/anaconda3/lib/python3.11/site-packages/torchmetrics/functional/text/__init__.py", line 31, in <module>
    from torchmetrics.functional.text.bert import bert_score
  File "/Users/steve/anaconda3/lib/python3.11/site-packages/torchmetrics/functional/text/bert.py", line 25, in <module>
    from torchmetrics.functional.text.helper_embedding_metric import (
  File "/Users/steve/anaconda3/lib/python3.11/site-packages/torchmetrics/functional/text/helper_embedding_metric.py", line 27, in <module>
    from transformers import AutoModelForMaskedLM, AutoTokenizer, PreTrainedModel, PreTrainedTokenizerBase
ImportError: cannot import name 'AutoModelForMaskedLM' from 'transformers' (/Users/steve/anaconda3/lib/python3.11/site-packages/transformers/__init__.py)
(base) steve@Stevens-MacBook-Pro ~ %

Expected behavior
The NAM trainer should open
Screenshots
N/A
Desktop (please complete the following information):

Computer: MacBook Pro, 13-inch, 2020, Four Thunderbolt 3 ports
OS: macOS 13.4.1 (c)
Running locally
Package version: neural-amp-modeler 0.7.0 via PyPI.

Additional context
Add any other context about the problem here.

Interesting: transformers now gets pulled in as a dependency:
(base) steve@Stevens-MacBook-Pro ~ % pip list | grep transformers
transformers                  2.1.1

I believe this is new. The cause seems to be from torchmetrics. I see this related bug: https://github.com/Lightning-AI/torchmetrics/issues/1742
I can replace the nugget of the issue like this:
(base) steve@Stevens-MacBook-Pro ~ % python
Python 3.11.3 (main, Apr 19 2023, 18:51:09) [Clang 14.0.6 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from transformers import AutoModelForMaskedLM
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'AutoModelForMaskedLM' from 'transformers' (/Users/steve/anaconda3/lib/python3.11/site-packages/transformers/__init__.py)

First thing I'm going to try is check the version of transformers that torchmetrics wants. I bet it's not upper-bounded and a new version came out that broke compatibility for torchmetrics.

Found two fixes:

pip install --upgrade transformers -- updates to 4.31.0 as of this writing.
pip uninstall transformers -- because it's not needed.

It seems that the root cause is that transformers was actually too old. I wonder if it comes pre-installed (way out of date) with Anaconda now?
If so, the fix is to add this logic to setup.py:

Check if it's installed.
If it is, then require it be up to date enough.
If not, then don't bother.

Didn't work when installing from PyPI; reopening

Whew


Add Azure KeyVault Module

Purpose:  Expanding terratest coverage for Azure resource:
Creating issue to add a module for Azure KeyVault for terratest.  The module will be able to verify secrets, keys, and certificates added to the azure key vault.

Closed


DX-997: Make return type of cursor commands string

scan commands can return a '0' or a long number as a string. If we deserialize, we get 0 from '0' and a truncated number from the long number string. Second one is non-ideal.
In this case, we want to return the cursor as a string. This means excluding the cursor from the deserialization, hence the new deserializeScanResponse method.
Additionally, making the cursor parameter in scan commands string | number

tested in react-databrowser by setting initial fetch count to 2 and it works!


Using Oni backed by term editors other than Vim?

Is the architecture of Oni being designed to support other editor servers than Neovim? Ie, I'm a Kakoune user, and Oni looks really nice! I'd love to help Oni support Kakoune as an alternate to Neovim. I imagine Emacs users might like the same too, though I'm not sure if Emacs could support that.
Thoughts?

What do you mean by "term editor"?
Does kakoune have a UI protocol? Examples of kakoune remote UIs?

It does I believe, which is why I'd like to look into supporting Oni. I'm not too familiar with the UI server though. However, if Oni has no plans to support multiple backends then there's nothing I can do :)
I imagine it's not easy, so I wouldn't blame the project for staying focused on just Neovim

I found this and this.
Perhaps kakoune could support the Neovim UI protocol?

That's a good idea, furthermore I bet it would be reasonable to implement a bridge to translate the Neovim UI protocol back and forth to Oni. Hadn't thought of that, appreciate it! I wonder how multiple cursors would be supported. Regardless, investigation is required :)

I'm looking into this now. I'd like to donate and be involved in the project if it looks like I can make Kakoune support a reality. Note that this mainly involves Kakoune, but I'm sure many assumptions in Oni will be involved due to different plugin architectures.
With that said, on the note of assumptions, is the backend of Oni modular enough to enable large amounts of features being enabled/disabled depending on something like a Kakoune backend vs a Neovim backend?
I'd hate to constantly be going against the grain due to the majority of features being developed with a vim-centric outlook (like plugin management, etc).

Is the architecture of Oni being designed to support other editor servers than Neovim?

I think we'd need @bryphe here to give a better answer...
But broadly, I know there has been at least some thought that has gone into this area (I remember discussing it/reading it ...somewhere but am unable to find it right now).
There is the concepts of OniEditor and NeovimEditor in the codebase, to split the two up. Currently the OniEditor just has simple functions that call to NeovimEditor but if there was a second backend I assume the idea is that it uses whatever the relevant function would be.
Ie instead of input calling return this._neovimEditor.input(key) we'd instead return return this._currentBackendEditor.input(key), and a new backend would need to cover the functionality defined over in https://github.com/onivim/oni/blob/master/browser/src/Editor/Editor.ts.
However... I do also expect that  there is some parts that are very neovim specific throughout the code, even if only in small ways. Ie what I've described fits the Editor very well, but some of the surrounding services contain parts that are fairly neovim specific, as far as I know. Ie, the find functionality populates the QuickFix buffer with nvim commands and so on.

Try to support multiple editors is equivalent to designing a editor-agnostic protocol (like LSP, but with 10x scope). Kakoune should do the work once, not every UI N times. Or alternatively, someone should develop an editor-agnostic protocol.

I'm not clear on what you mean; Are you saying that rather than making a bridge for kakoune <-> neovim ui protocol <-> oni, Kakoune should switch to neovim ui protocol directly as a first class implementation?
If that's the case I'd have to agree, but that's unrealistic, at least from my perspective. I'm trying to think of solutions to work with Oni as a mere user, not a project lead.

I would suggest hacking up a POC and see where you get. Instead of worrying about future architecture.

I think @justinmk is referring to the best scenario where UI providers only implement the 'Editor GUI' interface and you an plug your implementation to it.
If you think there's a straightforward bi-directional mapping between vim and kakoune on the most important features then I think it could be feasible.
However keep in mind that this would require a zero overhead abstraction layer that would require no maintenance from the mainstream development, and could be used as an implementations as modular as possible, to make this push realistic.

I should be clear here: Whilst I've seen it discussed, it was more in the context of making a second persons job easier rather than Oni itself doing it. As you say.....an editor protocol is something for a team a few tens of sizes bigger!

This is a really interesting discussion - thanks @leeola for logging the issue and all for the contributions! Been fun to read through 😄
It would be awesome to have a common protocol for client/server communication for editors - but although many editors are moving towards this architecture (Xi, X-ray, etc), there's no common protocol. Perhaps later this would be feasible, but it would be a large undertaking - if there is a common protocol, it would certainly make sense for Oni to work with it.
Speaking to @CrossR 's comment above - an implicit design goal I've had with Oni's architecture is to be modular - at it's core, devoid of an editor, it is just a web-based window manager, configurable with Javascript, with a bunch of 'modular blocks' you can put together in interesting ways.
The Editor (which is the biggest of these 'modular blocks' we have) - is intended to be abstracted. That means you could have any 'under-the-hood' implementation of the Editor - whether it's Neovim, kakoune, Monaco, xi, etc... The only requirement is you implement the Editor API here: https://onivim.github.io/oni-api/interfaces/editor.html (which includes implementing the buffer events, like onBufferChanged, onCursorMoved, openFile, getBuffers, activeBuffer, etc...) - and we actually even have a starting point here: https://github.com/onivim/oni/blob/master/browser/src/Editor/Editor.ts
Having the architecture be modular is important to me... because I've toyed around with ideas around a web-based IDE leveraging Oni's building blocks, and those projects might (unfortunately) necessitate an alternate Editor implementation (either because they need to work in the browser, or appeal to devs not familiar or open to modal editing, etc) - that would all be external to Oni. But having this Editor abstraction in-place and correct makes it easier to re-use Oni's functionality.
Of course, Neovim is the first-class citizen for Oni, and is the only 'editor' implementation we have today. (Although as @CrossR pointed out - there's actually two - the NeovimEditor is for core neovim functionality, and OniEditor builds on the NeovimEditor with additional functionality). The vision for Oni is to be the most productive way to go from thought to code, and for me personally, Neovim is critical to deliver on that. However, architecturally, there should be no technical reason we can't support other Editor implementations.
In terms of implementation... we could extend our API / configuration to support additional editor strategies, like via a plugin (perhaps oni-editor-kakoune) which would let Oni know about a new editor implementation:
// This API is not implemented yet, but we could add it!
Oni.editors.registerEditorFactory("kakoune", () => new KakouneEditor())

And then be able to specify via user configuration which editor you'd like to use:
export configuration = {
     "editor.type": "kakoune", // Let editor manager know it should use the KakouneEditor
}
``

That would mean minimal changes to 'core' to support this scenario - we'd just have to change our `startEditors` function to respect this configuration setting.

The cool thing is... this could also be a way to expose a minimal Neovim strategy, too - we could support an `"editor.type"` of `"neovim"` or `"minimal"`, which would spin up a Neovim editor surface (the barebones `NeovimEditor`) - without all the Oni extras. In other words, this could also be leveraged as a way to implement a minimal strategy for #2022.

Then, the bulk of the work is in implementing `KakouneEditor` such that it maps to our [`Editor`](https://onivim.github.io/oni-api/interfaces/editor.html ) API and talks to the Kakoune API (just like how our `NeovimEditor` talks to a neovim instance and exposes actions via the API). Also, our abstraction isn't perfect today - there are some places that talk to Neovim instead of the editor API, so we'd need to fix those.

> I'd hate to constantly be going against the grain due to the majority of features being developed with a vim-centric outlook (like plugin management, etc).

This actually shouldn't be a problem. The `NeovimEditor` is what cares about Vim plugins, but if you're swapping to a different `Editor` implementation, the Vim plugins wouldn't even be loaded.  Plugins that use Oni's javascript API (like snippets, language server, textmate highlighting) should work reasonably, as they would talk to the `Editor` abstraction.

Sorry for the wall of text... hope that helps give some ideas. I definitely see value in this as a test of Oni's architecture & modularity - happy to help if there are any questions!


pyproj 3.0.0 uses cython on install but doesn't list it as a dependency

My automated testing for the pyresample packages includes installing pyproj from pip (this is actually readthedocs doing the install, but still). When attempting to pip install pyproj I get:
Installed /home/docs/checkouts/readthedocs.org/user_builds/pyresample/envs/310/lib/python3.7/site-packages/configobj-5.0.6-py3.7.egg
Searching for pyproj>=<IP_ADDRESS>
Reading https://pypi.org/simple/pyproj/
Downloading https://files.pythonhosted.org/packages/17/e5/3f5cdff3e955bcd768cdb0f4236f2d6e022aaa72f57caf7f4d5f552c88fc/pyproj-3.0.0.post1.tar.gz#sha256=a49581629cadd29e61fc061d153a4d62ff28b4063c71fe8ca881eeb98cd22017
Best match: pyproj 3.0.0.post1
Processing pyproj-3.0.0.post1.tar.gz
Writing /tmp/easy_install-7u9_8k61/pyproj-3.0.0.post1/setup.cfg
Running pyproj-3.0.0.post1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-7u9_8k61/pyproj-3.0.0.post1/egg-dist-tmp-91dxe9zi
error: Setup script exited with ERROR: Cython.Build.cythonize not found. Cython is required to build from a repo.

Installation method/steps

Installation method (conda, pip wheel, from source, etc...)
How did you install PROJ? Where is it installed? pip as a dependency of another library
Please provide all commands/steps you used to install pyproj and PROJ.

Environment Information

pyproj version you are attempting to install: 3.0.0.post1
PROJ version (Execute proj command and give version here.)
Python version (python -c "import sys; print(sys.version.replace('\n', ' '))")
Operation System Information (python -c "import platform; print(platform.platform())")

It is here: https://github.com/pyproj4/pyproj/blob/9ab0f5dbb51e0237e4a02187f5041afdedf78f7b/pyproject.toml#L3
You need pip>=10.0.1 for it to work properly.

Ah this must be a readthedocs issue then. Thanks!

Also: https://pyproj4.github.io/pyproj/stable/installation.html
pyproj 3+ no longer supports manylinux1 wheels. pip>=19.0 is required to install manylinux2010 wheels.

Hm apparently it is already using pip 20+:
 Requirement already up-to-date: pip in /home/docs/checkouts/readthedocs.org/user_builds/pyresample/envs/310/lib/python3.7/site-packages (20.2.4)

This will be fun.

will I need PROJ installed on the system for pyproj to be installable on these systems

If you have pip>=19.0 then you should be able to download manylinux2010 wheels. The windows wheels have not been uploaded to pypi yet, but once they are uploaded you shouldn't have any issues.

Windows wheels are available now.

Thanks. Looks like Windows is passing now. Still having trouble with Linux:
2020-11-05T19:33:11.3261472Z Installing collected packages: appdirs, distlib, filelock, zipp, importlib-metadata, importlib-resources, six, virtualenv
2020-11-05T19:33:11.3262305Z Successfully installed appdirs-1.4.4 distlib-0.3.1 filelock-3.0.12 importlib-metadata-2.0.0 importlib-resources-3.0.0 six-1.15.0 virtualenv-20.0.33 zipp-3.3.0
2020-11-05T19:33:11.3262853Z     + mktemp -d
2020-11-05T19:33:11.3289414Z     + python -m virtualenv --no-download /tmp/tmp.BLPMeJrcKn/venv
2020-11-05T19:33:12.0004390Z created virtual environment CPython3.6.12.final.0-32 in 514ms
2020-11-05T19:33:12.0004914Z   creator CPython3Posix(dest=/tmp/tmp.BLPMeJrcKn/venv, clear=False, global=False)
2020-11-05T19:33:12.0005343Z   seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/root/.local/share/virtualenv)
2020-11-05T19:33:12.0005787Z     added seed packages: pip==20.2.3, setuptools==50.3.0, wheel==0.35.1
2020-11-05T19:33:12.0006174Z   activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
2020-11-05T19:33:12.0006888Z     + pip install /tmp/cibuildwheel/repaired_wheel/pyresample-1.16.0+146.g5c69690-cp36-cp36m-manylinux1_i686.whl
2020-11-05T19:33:22.4315254Z   ERROR: Command errored out with exit status 1:
2020-11-05T19:33:22.4316567Z    command: /tmp/tmp.BLPMeJrcKn/venv/bin/python /tmp/tmp.BLPMeJrcKn/venv/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpuahkfgcg
2020-11-05T19:33:22.4317247Z        cwd: /tmp/pip-install-0qxuo6q5/pyproj
2020-11-05T19:33:22.4317530Z   Complete output (1 lines):
2020-11-05T19:33:22.4317982Z   proj executable not found. Please set the PROJ_DIR variable. For more information see: https://pyproj4.github.io/pyproj/stable/installation.html
2020-11-05T19:33:22.4320302Z   ----------------------------------------
2020-11-05T19:33:22.4322422Z ERROR: Command errored out with exit status 1: /tmp/tmp.BLPMeJrcKn/venv/bin/python /tmp/tmp.BLPMeJrcKn/venv/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpuahkfgcg Check the logs for full command output.
2020-11-05T19:33:22.4409295Z WARNING: You are using pip version 20.2.3; however, version 20.2.4 is available.
2020-11-05T19:33:22.4410269Z You should consider upgrading via the '/tmp/tmp.BLPMeJrcKn/venv/bin/python -m pip install --upgrade pip' command.
2020-11-05T19:33:23.6473154Z cibuildwheel-44910694-d4d7-4696-8ee8-b5ca64190728
2020-11-05T19:33:23.6507539Z Processing /tmp/cibuildwheel/repaired_wheel/pyresample-1.16.0+146.g5c69690-cp36-cp36m-manylinux1_i686.whl
2020-11-05T19:33:23.6508323Z Collecting configobj
2020-11-05T19:33:23.6508889Z   Downloading configobj-5.0.6.tar.gz (33 kB)
2020-11-05T19:33:23.6509251Z Collecting numpy>=1.10.0
2020-11-05T19:33:23.6509822Z   Using cached numpy-1.19.4-cp36-cp36m-manylinux2010_i686.whl (12.3 MB)
2020-11-05T19:33:23.6510194Z Collecting pykdtree>=1.3.1
2020-11-05T19:33:23.6510705Z   Downloading pykdtree-1.3.1.tar.gz (78 kB)
2020-11-05T19:33:23.6511027Z Collecting pyyaml
2020-11-05T19:33:23.6511502Z   Downloading PyYAML-5.3.1.tar.gz (269 kB)
2020-11-05T19:33:23.6511850Z Collecting pyproj>=<IP_ADDRESS>
2020-11-05T19:33:23.6512352Z   Downloading pyproj-3.0.0.post1.tar.gz (663 kB)
2020-11-05T19:33:23.6512743Z   Installing build dependencies: started
2020-11-05T19:33:23.6513335Z   Installing build dependencies: finished with status 'done'
2020-11-05T19:33:23.6513755Z   Getting requirements to build wheel: started
2020-11-05T19:33:23.6514379Z   Getting requirements to build wheel: finished with status 'error'
2020-11-05T19:33:23.6515216Z Command ['pip', 'install', '/tmp/cibuildwheel/repaired_wheel/pyresample-1.16.0+146.g5c69690-cp36-cp36m-manylinux1_i686.whl'] failed with code 1.

It seems I'm using pip 20+ on CPython 3.6 but it looks like pip is grabbing the sdist (.tar.gz) instead of a wheel. Any ideas? FYI this is using cibuildwheel to load up all the docker images and run the wheel building commands.

This line is the key: numpy-1.19.4-cp36-cp36m-manylinux2010_i686.whl (12.3 MB)
We don't have i686 wheels at this time. It wasn't working a while back, but the problems may have been resolved. Might be worth looking at again later.

It worked with manylinux1 but manylinux2010 with i686 wasn't working.

Ah good catch. I was confused because earlier in the log I see:
2020-11-05T19:30:18.9272592Z Collecting numpy>=1.10.0
2020-11-05T19:30:18.9281584Z   Using cached numpy-1.19.4-cp36-cp36m-manylinux2010_x86_64.whl (14.5 MB)
2020-11-05T19:30:18.9282281Z Collecting pykdtree>=1.3.1
2020-11-05T19:30:18.9283002Z   Downloading pykdtree-1.3.1.tar.gz (78 kB)
2020-11-05T19:30:18.9283492Z Collecting pyyaml
2020-11-05T19:30:18.9284160Z   Downloading PyYAML-5.3.1.tar.gz (269 kB)
2020-11-05T19:30:18.9284619Z Collecting pyproj>=<IP_ADDRESS>
2020-11-05T19:30:18.9285367Z   Downloading pyproj-3.0.0.post1-cp36-cp36m-manylinux2010_x86_64.whl (6.4 MB)

If possible, do you think it would work to install PROJ in my wheel environment and build from there? I suppose that isn't allowed and kind of defeats the point of a wheel, right?

do you think it would work to install PROJ in my wheel environment and build from there?

It might be easier to help get the pyproj i686 wheels building IMO. https://github.com/pyproj4/pyproj-wheels


.net native compiler exception

When building a UWP project for release mode (.net native) i'm getting an internal compiler exception.
"Severity	Code	Description	Project	File	Line	Suppression State
Error		Internal compiler error: Object reference not set to an instance of an object.	App1	C:\Users\sean.nuget\packages\microsoft.net.native.compiler\2.2.3\tools\Microsoft.NetNative.targets	801
"
I've logged a report but am getting no response to it
https://developercommunity.visualstudio.com/content/problem/536403/internal-compiler-error-26.html
It's very very simple to reproduce:
Create a new blank UWP project, enable unsafe code, add this struct to it and compile in Release mode:
public unsafe struct long_array4
{
    public static readonly int Size = 4;
    fixed long _[4];

    public long this[uint i]
    {
        get
        {
            fixed (long_array4* p = &this)
            {
                return p->_[i];
            }
        }
        set
        {
            fixed (long_array4* p = &this)
            {
                p->_[i] = value;
            }
        }
    }
}

.. if you comment out
p->_[i] = value;
it compiles also if you change long to int it also compiles.

@MattWhilden can you please help to route it to the appropriate feedback channel? Thanks!

Well that's certainly a curious one. The crash is super early as we're booting up the analysis engine. Curiously this crash is not present in the 1.7 version of tools. I didn't play around enough to understand if we've generated anything sensible. It's a bit odd I know but if you change the UWP app minsdk to anything before 16299 you'll be able to build with 1.7 and not the typical 2.X you get out of the Microsoft.NETCore.UniversalWindowsPlatform nuget package.
Glancing through your profile I presume this snippet comes from FFMpeg bindings?
Here's the bug number I've created in our internal DB in case that's useful later. 853938

Yes, it's crashing in a few places in the ffmpeg bindings. This is the first one i managed to isolate. I'm hoping the root cause is the same. Unfortunately for our project we can't use the earlier SDK.

Some good news! Given a compiler update isn't likely for a while and due to where the crash is happening I have what may be a reasonable workaround.
As above, the compiler is crashing very early. While poking around a bit more it turns out that the phase that is having issues is attempting to determine which types in your application will need information available at runtime to facilitate Reflection (creating instances, inspecting etc). Given the type of library it seems possible that you may not actually need ANY of this and can hint to the compiler that it shouldn't bother inspecting this type. This can be accomplished by adding an element similar to this to the Propeties\Default.rd.xml file in your UWP project:
<Type Name="App32.long_array4" Dynamic="Excluded"/>
Or more generally for the entire binding library:
`
I usually recommend keeping the exclusions very narrow but given there's likely to be other hard to diagnose things from this library, that may be more helpful. If the exclusion ends up being too broad you'll get MissingMetadateException errors at runtime that are certainly more helpful than this crash.
Let me know if you have success with that approach.

Yes that did help thank you. The types the compiler is failing on are :
long
ulong
double

Lovely. I'll add that info to the issue we're using to track getting a real fix. That's likely later this summer but shipping schedules are way above my pay grade.
Certainly let us know if you have other issues and thanks for the concise bug report!!

Seems to be addressed. Let's close it here as this is not the right place to track .NET Native issues anyway ;)

Reviving this a bit, 6.2.9 is now available on Nuget. Certainly let us know how it goes.
Release notes: https://github.com/microsoft/dotnet/tree/master/releases/UWP/net-native2.2


Normalize format of config file

This will let us script changes to it with less noise in the diffs.

Fixed by #298.


Added new option "fieldsExcludedFromUpdate"

Thanks again for the PR, we really appreciate it. I am going to close this due to our discussion in https://github.com/feathersjs/feathers-knex/issues/61.


Filter Sample Roasts from Reports

Production reports should provide the option to include/not include/only include sample roasts. This preference should be remembered with the default to not include.

I still need to go through the other reports and see if these would benefit from similar new filters on batch type and approval state, but having an example in one report makes it easier to replicate in others.


Bukkit/spigot port

This is already an essential mod, but I think it would be more convenient to use if it were also made as a serverside plugin for use in bukkit/spigot servers, since not all players are aware of this change even existing, let alone caring enough to change their settings over it.

Spigot and its derivatives already remove cryptographic signatures from chat messages, making chat reporting impossible. On Spigot / Paper, this mod is not necessary.

Depending on their implementation (which I'm not familiar with) messages might still be selectable for reporting, which, ideally - they shouldn't be. I am no plugin developer, but I'll pin this for future reference and discussion.

Looks like someone have made it after all: https://www.spigotmc.org/resources/noencryption.102902/

Just commenting here so people are aware of another plugin that seems to function quite a bit better than the "NoEncryption" plugin mentioned above — No Chat Reports - Spigot.

I will keep NoEncryption as a reference in project description until someone makes an agreed-upon optimal solution.

https://github.com/Oharass/FreedomChat
claims to be the most compatible so far, provides comparisons with NoEncryption and others as well.


added a check to avoid setting the current dump to nil for request like the favicon

Currently if the browser makes other requests (like requesting a favicon) without a dump specified, then the current_dump.path gets set to nil. This PR fixes this by only setting the current_dump.path if the dump query parameter is present.

Hi @baseballlover723, thanks for you contribution! Can you clarify what are the consequences of

Currently if the browser makes other requests (like requesting a favicon) without a dump specified, then the current_dump.path gets set to nil

Does this have any impact on the functionality?

yeah the graph page doesn't work, since it gets a nil error. There might be other places where it has issues as well, but that was what I was looking for

Interesting 🤔, can you describe the steps to reproduce the problem locally?

hmmm, seems that I can't reproduce it. I think that I may have misassociated a bug in stackprof with this. Regardless, its probably best to still merge this PR since it stops needless 500 errors, and I don't think there's a point to setting the current dump to nil. So this would just reduce any potential noise.

That's the thing, favicon and graph request are each individual requests, and for each of them the before callback is ran where path of the dump is set. If there are no steps to reproduce it is most likely that your fix will not change anything related to your bug.
My goal is to have a failing spec that reproduces the error and a fix which makes that spec pass, and I was unable to make one locally

Correct, though I would say that there's no reason to 500 on a request for no reason. But I leave it up to you, there's no bug in in this repo, so feel free to close this PR if you don't want to merge it.

Thanks for mr @baseballlover723 !


Bash script for torch crtdl execution

A bash script should be added to the project which allows one to pass the path to a crtdl file.
The script should then take the crtdl file, format it into a TORCH input bod and send it to torch (url configurable in script) for execution.

@alexanderkiel, @Lucas0T  i have created a script for the crtdl execution here:
https://github.com/medizininformatik-initiative/feasibility-deploy/blob/96-add-torch-to-feasibility-triangle/feasibility-triangle/torch/execute-crtdl.sh
@alexanderkiel do we still need this .sh in this project?


add a SQLFunctionTemplate back in to ease migration

People have run into the lack of this.

WDYT folks? Should we do this DYT?

Sounds ok to me, but ultimately, I think many custom registrations might have become obsolete since we have "standard" equivalents already registered. So maybe we should let people run into this to let them think about this a bit more?

Sounds ok to me, but ultimately, I think many custom registrations might have become obsolete since we have "standard" equivalents already registered.

Yeah that's what I thought too, until stackoverflow disabused me of this notion.

Looks like we're never going to do this. Or if we do one day define a simpler way to do it, it won't be the old SQLFunctionTemplate.


Small updates to codebase and README.md

used consistent name "Canvas Peer Reviews" across all docs, code, and notebook
pulled settings.py out of /src for consistency with other projects (and python convention)
updated README.md with much better setup and run instructions (including link to LS ops anaconda-navigator instructions)
added sample output
got rid of depreciated .attributes syntax in canvasapi
specified python>=3.7.0 and canvasapi>=2.0.0 in docs and environment.yml

would close #14
would close #16
would close #18
would close #19
would close #12
would close #7
would close #4

Great!


fix useKeyStroke using .includes regardless of the type of 'keys'

Otherwise listening to just "Enter" would get triggered with "e" or "r"

This looks unmaintained


DE_new_translations

Noticed there are a couple new strings and translated them

Um, I think I did something wrong. 377 changes? Did I edit an old branch or something?

I see I tried to commit from a repo copy that GitHub made a while ago. Please ignore this pull request


failed to open stream: No such file or directory

====================================
Starting Collecting the data

216 new lessons and 496 episodes. 5.841s elapsed with 3.25Mb of memory usage.

====================================
Authenticating

Successfull!

====================================
Downloading Lessons

Download started: prevent-spam-with-recaptcha . . . . Saving on lessons folder.
ERROR: Unable to open ./lessons/0216-prevent-spam-with-recaptcha.mp4 using mode r+: fopen(./lessons/0216-prevent-spam-with-recaptcha.mp4): failed to open stream: No such file or directory

Hi, try giving write permissions to the save folder.
Sudo chmod 777 savefolder

went back and set perms set to 777 still having same problem, also it correctly creates the lessions folder

Sorry, try make it recursive to include lessons and series folder.
sudo chmod 777 parentfolder -R

Yup tried, that. 99% sure even though it looks like a perms issue it's not.... even tried running everything as root with fully 777 perms

Figured it out. php5-curl wasn't installed. Recommend changing README to require php5-curl not just "curl" as command line curl can add confusion.
Thanks!

Nice!
Will do that!


Tech debt: refactor the SSMProvider class to implement the get_multiple method

Why is this needed?
Currently, the SSMProvider class does not implement the get_multiple method and we lose the ability to check environment variables and others.
We can't fix it now because this is a breaking change, but we need to fix it in Powertools v3.
Original discussion: https://github.com/aws-powertools/powertools-lambda-python/pull/3241/files#r1371498301
Which area does this relate to?
Parameters
Suggestion
No response
Acknowledgment

[X] This request meets Powertools for AWS Lambda (Python) Tenets
[ ] Should this be considered in other Powertools for AWS Lambda languages? i.e. Java, TypeScript, and .NET

Closed via https://github.com/aws-powertools/powertools-lambda-python/pull/4785


Add Discussions

hai @lucas-clemente
Could you please add Discussions tab.
Just to discuss some doubts with community members instead of raising an issue for doubts.
Thank you.

I don't think there's anything to do here.


Update README.md

Fixed screenshots

The screenshots are fine.

For some reason, I see screenshots perfectly from other browsers like Opera or Chrome (or in a FastHub app on my phone), but Safari doesn't want to load them (see screenshots - first from Safari and the second one from Opera).
If you will change screenshots links like I did - everything works fine in Safari.
Safari: https://habrastorage.org/webt/8l/-r/7o/8l-r7olciaso6sinnldrblgb91m.png
Opera: https://habrastorage.org/webt/lc/ke/wq/lckewqcvrlruxi5kcjsqfaya0-4.png

Screenshots are from the Play Store which uses webm format. I'm not sure if Safari supports this format.

Opera is now based on Chromium and Firefox supports the format natively. I'll just go ahead and support the pull request though.

Opera is now based on Chromium and Firefox supports the format natively. I'll just go ahead and support the pull request though.


[build] Add a script to just generate the compilation db

I keep finding myself teaching people to run clang-tidy just so they can generate compile_commands.json, and that's backwards. Let's have a tool that just does the one thing we need when we need it.

ping on this


[Bug]: Debian Package - no service restart after apt upgrade

Describe the bug
I didn't know if Bug or Feature Request was the right category for this, since I don't know if the behaviour is intentional or not.
The problem at hand is that after upgrading opensearch and opensearch-dashboards from Version 2.11.1 to 2.12.0 via apt upgrade, the systemd service of these 2 packages didn't automatically restart (even though the units are enabled and were active when starting the update). The packages were installed from the official OpenSearch Apt-Repo (https://artifacts.opensearch.org/releases/bundle/opensearch/2.x/apt).
To reproduce
Add https://artifacts.opensearch.org/releases/bundle/opensearch/2.x/apt or https://artifacts.opensearch.org/releases/bundle/opensearch-dashboards/2.x/apt to your sources.list
Install opensearch or opensearch-dashboards in Version 2.11.1
Start and enable the systemd unit
Perform an upgrade to Version 2.12.0 via apt upgrade
Expected behavior
This behaviour is really unusual for systemd units that are distributed via Debian package. A user upgrading the package would expect the service to be restarted automatically after the upgrade (especially if the systemd unit was enabled).
If this really is the intended behaviour for your Debian packages I would advise you to specify in the documentation that it's recommended to hold the packages back via "apt mark hold" (similar to how it's described in the kubeadm documentation for their debian packages), since any kind of automatic upgrade process that's in place would stop the service (or at least force the user to implement some sort of hook in their automatic upgrade process that starts the service afterwards).
If it's not intended and it would be ok for you to be changed then I could gladly help out with a PR. I've implemented this before, both with postinst-Scripts and debhelper, it's not that complicated.
Screenshots
If applicable, add screenshots to help explain your problem.
Host / Environment
The problem occured on a Debian 12 (bookworm) host but I would be expect it to behave the same on all systemd-based Hosts that upgrade the Debian package
Additional context
No response
Relevant log output
No response

Hi, @wieso-itzi,
This is duplicate with https://github.com/opensearch-project/opensearch-build/issues/3891.
We would be greatly appreciate if you can help with a PR or some comments on how to resolve this.
And I would be happy to review the code with you.
If you dont mind can you close this PR and continue the conversation in the old one I posted, so that context is not lost in the process?
Thanks!


Add an option to preserve translated and extracted comments

I often add translator and extracted comments to PO files. Unfortunately, sphinx-intl update deletes these valuable comments.
It would be super-useful to have an commandline option to keep them. Or better, IMHO comments should be preserved by default, i.e. have an option to delete them.

+1: It must be useful. Do you have an idea to implement it? Contributions are always welcome :-)


Roadmap for version 0.1

Arrow Java API
What can arrow do? What are the arrow best practices?
Data format and memory layout.
Opensearch plugin architecture, lifecycle and extension points
Implementation

Basic Plugin Structure
Reproduce basic query life cycle.
Integrate with arrow
Optimize
Profiling
Failure handling, backpressure, streaming

Setup

Setup Repo with Gradle
Plugin setup
Test cluster with plugin installed.

Plugin resources

https://opensearch.org/blog/my-first-steps-in-opensearch-plugins/
https://opensearch.org/blog/plugins-intro/
https://github.com/opensearch-project/opensearch-plugins/blob/main/BUILDING.md
https://github.com/opensearch-project/opensearch-plugin-template-java

Arrow resources

https://arrow.apache.org/docs/java/index.html
https://arrow.apache.org/cookbook/java/
https://www.infoq.com/articles/apache-arrow-java/
https://github.com/animeshtrivedi/blog/blob/master/post/2017-12-26-arrow.md

Reference plugins

https://github.com/opensearch-project/opensearch-plugins
https://github.com/opensearch-project/neural-search
https://github.com/opensearch-project/asynchronous-search
https://github.com/opensearch-project/job-scheduler
https://github.com/opensearch-project/custom-codecs/tree/main

How to run the plugin on a different port - https://github.com/opensearch-project/performance-analyzer


Add a subcommand find to display the path of a model file

Specifically built to handle the case of vim-scripting so that we can have vim call this function to open a certain file within the same vim (rather than using the open command to call a new editor window).
See more information here:
https://github.com/mikekaminsky/dbt-helper/pull/20

@jgillies check this out! see if dbt-helper find model_name will work for you! (also cc @clrcrl )

Yes, exactly what I was looking for! Thanks a ton!


Remove dependency on kind-of

The version of kind-of this module is outdated and pulls in a few other dependencies. Since there's not much of the library used - and the current version changed behavior - let's jus inline the relevant parts.

published and released as 4.0, thanks! (fwiw I know it's just a simple change, but I err on the side of caution with versioning on libs that are downloaded as much as this one. saves me from having to go overboard thinking through edge cases on everything)

also invited you to be a collab and added you as an owner on npm for the future. thanks again!


Not able to access LB rules on port 2000.

Server version - v0.32.0-rc2
Create LB rule with listener port to 2000.
Ha proxy is configured as expected and port 2000 is also opened on the host.
But I get the following read error when trying to access the LB rule:
Sangeethas-MacBook-Pro:testwget sangeethahariharan1$ wget http://<IP_ADDRESS>:2000/name.html
--2015-08-07 17:43:27--  http://<IP_ADDRESS>:2000/name.html
Connecting to <IP_ADDRESS>:2000... connected.
HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
Retrying.

--2015-08-07 17:44:30--  (try: 2)  http://<IP_ADDRESS>:2000/name.html
Connecting to <IP_ADDRESS>:2000... connected.
HTTP request sent, awaiting response... ^C
Sangeethas-MacBook-Pro:testwget sangeethahariharan1$

root@sangee32rc2-10acre-2:/home/sangeethahariharan1# iptables-save | grep 2000
-A CATTLE_PREROUTING -p tcp -m addrtype --dst-type LOCAL -m tcp --dport 2000 -j DNAT --to-destination <IP_ADDRESS>:2000
root@sangee32rc2-10acre-2:/home/sangeethahariharan1#

Sangeetha, I can't see this issue on my setup. Can you check yours to see what other apps might be listening on port 2000 on your host?

This issue is reproducile in GCE instances which were added custom host as well as adding "Digital Ocean"

I've taken a look at this issue. The conclusion is Comcast(our internet vendor) blocks (interferes in fact) the port 2000.

Same exactly rule works fine with port 2001.
tcpdump shows the TCP handshake established, but no http packets passed through after that.
Access the port from inside GCE instance works. I've noticed that the external IP used by GCE is not binding(by ip addr) on the same host. It was routed by GCE's network to the outside of the host, then routed back by some routers to the host. So it's not really the localhost accessing in the case.
Sangeetha said the same port on Digital Ocean doesn't work as well, which would be weird for two providers block the same not well known port.
Port 2000 was listed by http://www.speedguide.net/port.php?port=2000 as used by RemoteAnywhere to expose a web server to install some software, and been taken advantage by some trojan software. So it's probably the reason why the http protocol got blocked somewhere along the way.
I checked the ip using my phone's 4G network, it works.

So I came to conclusion that it must be our ISP has done something to port 2000, likely block any http protocol on the port. Since the official protocol on port 2000 is Cisco SCCP, which is not a http protocol, it would be mostly fine.

According to what I found, it's not an issue for our product. Close it.


Small correction for get correct sub-string

Hi,
Thank you for your article and for GitHub sources)))
Here I'm provide same Substring fixes as in your post.

@GooRiOn - Hi, could you merge it, please?

Closed as unactive repo


Backport "Update asm to patched 9.7" to 3.5.2

Backports #20144 to the 3.5.2 branch.
PR submitted by the release tooling.
[skip ci]

thank you 🙏


Enhancement: Allow creating templates from strings

Summary
Especially when using HTMX, there are lots of little html partials that need to be returned. I could set these all up in a Jinja templates but it's a layer of indirection I don't particularly want to deal with - particularly with HTMX's focus on locality. It would be easier to just do something like Template.from_str(...).
The alternative would be to use something like yattag or airium, which I'll probably try. If this is the best way to do it maybe litestar could suggest one of them as part of being "opinionated".
Basic Example
@get("/foo")
def my_route() -> Reswap:
    table = f"""

        {% for item in items %}

           {{item.date}}
           {{item.id}}
           {{item.position}}
           {{item.status}}
        {% endfor %}

      """
    return Template.from_str(table, context=get_items())

Drawbacks and Impact
I guess there other ways of doing this, perhaps with a custom template engine? I can't see any other way in which it would have much impact
Unresolved questions
No response

Hi @3tilley, please check the dev docs on this. It should be released soon.
https://docs.litestar.dev/dev/usage/templating.html#template-files-vs-strings

This is awesome! Thanks for turning this around so quickly!


Add hide_zeros param to confusion matrix

Add an optional parameter to the plot_confusion_matrix function to allow the hiding of zero values in the matrix in order to make the plot easier to read in cases where there are many zero values.
Here is what a confusion matrix looks like normally (hide_zeros = False)

Here is the same confusion matrix with zeros hidden (hide_zeros = True)

This looks really good!
Though one more thing before I merge. Do you mind adding this to https://github.com/reiinakano/scikit-plot/blob/master/scikitplot/classifiers.py#L56 as well? Thanks!

Though one more thing before I merge. Do you mind adding this to https://github.com/reiinakano/scikit-plot/blob/master/scikitplot/classifiers.py#L56 as well? Thanks!

I have now added it there as well.

LGTM. Thanks!


Update masks blog post with detail about 3M source control addon

Closes #1636.
Happy to change the wording if needed. Not sure if there's a mechanism somewhere for notifying that the post has been updated...

Looks great - thanks so much, @bermannoah!


Gnosis safe transaction stuck

Description
I created a multi-sig wallet a while back, and didn't approve it. I stuck and trx is pending for a while. I tried to refresh the browser and it created another multi-sig transaction. I can not cancel them, still stuck for a while.
TrxID:
0xbe78ebcb0b3715353d077deaa550cdebb8f19b3794d25e8abec8faec846a17ba
Environment

Browser: Chrome
Wallet: MetaMask
Chain: Rinkeby

Steps to reproduce

Go to

Expected result
Obtained result
Screenshots

I just checked on Etherscan and the initial tx was successfully replaced https://etherscan.io/tx/0xbe78ebcb0b3715353d077deaa550cdebb8f19b3794d25e8abec8faec846a17ba
Also please bear in mind that there's an Ethereum mainnet migration occurring right now which can imply some indexing delay -> https://twitter.com/safe/status/1584421180999467010

I see that the transaction you shared was replaced by a cancel transaction. Very likely that the original one was having low gas price. So it would take really long to execute.
Original transaction:
https://etherscan.io/tx/0xbe78ebcb0b3715353d077deaa550cdebb8f19b3794d25e8abec8faec846a17ba
Replace transaction
https://etherscan.io/tx/0xdbc9c23f32ccbd25c3c00787d04a070121fbc06a3b5bcc96a9cc3fed67307749
The wallet wasn't created because the transaction was cancelled before executing so you will need to create a new one.


⚠ Jenkins Plugins Artifactory has degraded performance

In f3f3761, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1214 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 42c1e1e after 12 minutes.


Recipe assembly stats

Assembly-stats now builds

Closing this PL, as it turns out this solution breaks a lot of other packages. The branch is still open for further work


cmd/compile: condition in for loop body is incorrectly optimised away

What version of Go are you using (go version)?

$ go version
go version go1.18.3 linux/amd64

Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN="/home/user/bin"
GOCACHE="/home/user/.cache/go-build"
GOENV="/home/user/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/user/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/user"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/user/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/user/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.18.3"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build4057835266=/tmp/go-build -gno-record-gcc-switches"

What did you do?

The program at https://go.dev/play/p/QnP9ojw3vCV does not terminate. A similar program https://go.dev/play/p/86YpX7rbHHT with the for condition clause removed does correct terminate.
If optimisation is turned off, the the first program behaves as expected.
What did you expect to see?
The output from both programs to be
9223372036854775807 false
done

Program exited.

What did you see instead?
The first program prints the following and does not terminate.
9223372036854775807 false
-9223372036854775808 true
-9223372036854775807 true
-9223372036854775806 true
...

The assembly generated from the first program appears to have the condition body omptimised away (https://godbolt.org/z/9jW1GaKfv) unless the for condition clause is removed (https://godbolt.org/z/c3Pvnb3ad) or optimisations are turned off (https://godbolt.org/z/o7o6x3bzd). This appears to be independent of GOARCH (at least within {amd64, arm64}.
See also discussion at https://groups.google.com/g/golang-nuts/c/3_-g6hBfo9s.

@gopherbot please open backport issues for 1.17 and 1.18.
This is a rare bug but results in miscompilation of loops with termination conditions "<= C" for large C.


UX/UI Public Authenticated Site Registry User flow: Login, Check Out, Account Creation

UX/UI Public Authenticated Site Registry User flow: Login, Check Out, Account Creation
Acceptance Criteria

[x] User flow outline
[x] Low-fi design
[x] Approval of team / PO

Pivoting from these designs to Int/Ext login + create account designs.

https://www.figma.com/file/xqs2urLzPur7FUb0pEsrGm/EPD-Design-Files?node-id=255%3A738

Changes to be made when / if we return to this design:

Generic contact page or contact form that feeds into other LRS forms
Add PID search
Create acct fee? Legally have to charge a fee for searches until legislation changes


Add documentation

The built-in wiki is probably a decent place to add some stuff. It's also right here- very convenient.

Though, a nice looking hand-crafted site full of examples would be even better...


Working with singleton class

How can i do update without sending id in request? For example,
PUT /character
Not
PUT /character/:id
Many thanks.
Att,
Israel RIbeiro

Create a custom method.
def self.verify(attrs = {})
              self.requestor.put(attrs)
end


Integrate FHIR-creation from Text

New feature for the FHIR-creator. Fhir creation from text with llm support.
Integrate previous work.
Features to be added:

new landing page allowing between:
-creation from scratch (current creator)

creation from text

Creation from Text:

Text annotator
Text annotation from LLM (requires openai API key)
create bundle outline from annotations
create bundle from outline

Create Bundle from Outline:

llm assisted
open questions:
how to ensure profile compatability?, feedback loop with llm?
at the moment, created resources are somewhat shallow, how to add depth?
how to handle reference in the bundle?
code lookup implementation

started working on branch fhirchain


Enovys feature request

Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
The enovys plugin: https://www.spigotmc.org/resources/crazy-envoy.32870/ to be linked into BetterTeams so teams can gain score by opening envoys, and maybe more score for better envoy boxes.
Describe alternatives you've considered
N/A
Additional context
Plugin Link: Here

I've had a quick check of the plugin and if the code works as it claims to this should be possible and will be attempted for the next update.

I've done a bit more research into this plugin, it appears you can specify commands to run when envoys are opened (in the ways of prizes), you can use /teama score add %Player% <amount>  as an envoy prize command (I would suggest testing that command individually to make sure you have the syntax correct before including it with the plugin.
If my understanding of the plugin is incorrect, reply and explain why this is not a possibility.


[Help] Trying to make the menu only One menu

I didn't word the title very good. But im trying to make the menu style only one window and take the menubar completely out of the cheat. if anybody could help me with that it would be appreciated. but everytime i try to do it I just get the Debug menu in game with all the options.

There is already an option in "style".
Check Code here:
https://github.com/danielkrupinski/Osiris/blob/master/Osiris/GUI.cpp#L920

I know that lol. Im trying to take the "classic" style completely out of the cheat and have just the one window

？

Just check that 1 by default in config.h

Ez and fast

@thomas0aotian yeah I guess that works. really just wanted to take the menu bar completely out of the cheat.

Okay then you completly do not understand how it works. This is why you not able to remove it. I know it is hard to understand the code in this size. But I find it useful to have a switch for one windowed and menue bar. I love both styles. And so anybody can switch to the thing you like! It is awesome feature. I completly don't understand why people want to delete usefull code. O.o

Personal preference i guess. I just think the bar is really ugly and I never use it. so I wanna take it out.

Okay start in this function. It's simple to have only the One Window. You can leave the rest untouched until you understand the menue thing.
GUI::render()
https://github.com/danielkrupinski/Osiris/blob/bf1f3becd7db33c1bcd758e7c4cb15b32d9c9a5d/Osiris/GUI.cpp#L47


add min, max reduction op

limitation:
only support float point.

Oh, do we want to add a check to the type so that it throws if it is not float? Would be more easily caught on the ngraph side than the JIT side.

@csullivan we need to add float point check to almost all Ops for now. We can do this in one PR.


Support original_dst load balancer.

Issues associated with this PR
https://github.com/mosn/mosn/issues/982
Solutions
Add original_dst load balancer, when listener has useOriginalDst set to true which meansit hands the request over to the listener that best matches the original destination of the request.If it can’t find any matching virtual listeners it sends the request to the PassthroughCluster which connects to the destination directly.
Note:
original_dst need to work with iptables.
{
  "servers":[
     {
       "default_log_path":"stdout",
       "default_log_level":"ERROR",
       "listeners":[
          {
	    "name":"virtual",
	    "address": "<IP_ADDRESS>:2046",
            "use_original_dst": true,
	    "bind_port": true,
	    "log_path": "stdout",
	    "filter_chains": [{
	       "filters": [
			 {
	           "type": "tcp_proxy",
		   "config": {
		      "cluster": "PassthroughCluster",
                      "routes":[
                         {
                           "cluster":"PassthroughCluster"
                         }
                      ]

		   }
			 }
			 ]
	    }]
	  }
       ]
     }
  ],
  "cluster_manager":{
     "clusters":[
        {
	  "Name":"PassthroughCluster",
	  "type": "SIMPLE",
	  "lb_type": "LB_ORIGINAL_DST",
	  "max_request_per_conn": 1024,
	  "conn_buffer_limit_bytes":32768
	}
     ]
  },
  "admin": {
    "address": {
      "socket_address": {
        "address": "<IP_ADDRESS>",
        "port_value": 34901
      }
    }
  }
}

UT result
Unit Test is needed if the code is changed, your unit test should cover boundary cases, corner cases, and some exceptional cases. And you need to show the UT result.
Benchmark
If your code involves the processing of every request, you should give the Benchmark Result.
Code Style

Make sure Goimports has run
Show Golint result

Codecov Report

Merging #1005 into master will increase coverage by 0.09%.
The diff coverage is 64.52%.

@@            Coverage Diff             @@
##           master    #1005      +/-   ##
==========================================
+ Coverage   55.06%   55.16%   +0.09%
==========================================
  Files         238      244       +6
  Lines       23367    23619     +252
==========================================
+ Hits        12868    13029     +161
- Misses       9324     9395      +71
- Partials     1175     1195      +20

Impacted Files
Coverage Δ

pkg/config/v2/config.go
40% <ø> (ø)
:arrow_up:

pkg/filter/network/tcpproxy/proxy.go
15.09% <0%> (-0.37%)
:arrow_down:

pkg/proxy/downstream.go
36.95% <0%> (-0.11%)
:arrow_down:

pkg/admin/server/apis.go
39.44% <0%> (-1.12%)
:arrow_down:

pkg/module/http2/mhttp2.go
0% <0%> (ø)
:arrow_up:

pkg/admin/server/server.go
90% <100%> (+0.34%)
:arrow_up:

pkg/server/handler.go
36.51% <40%> (-0.74%)
:arrow_down:

pkg/plugin/factory.go
60% <60%> (ø)

pkg/plugin/plugin.go
69.23% <69.23%> (ø)

pkg/plugin/server.go
7.4% <7.4%> (ø)

... and 13 more

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 3ac1001...454b941. Read the comment docs.


windows client rejects openssl's based cert/key pair

I generated a keypair with:
openssl genrsa 2048 > ca-key.pem
openssl req -new -x509 -nodes -days 365000 \
   -key ca-key.pem \
   -out ca-cert.pem
openssl pkcs12 -export -out identity_ca.p12 -in ca-cert.pem -inkey ca-key.pem

And when i passed ca-cert.pem to my client i got an error:
Failure(Os { code: -2146869244, kind: "The signature of the certificate cannot be verified" }
(maybe text of error is not like i wrote because i got it on russian language but after debugging i found that code is winapi code pPolicyStatus CERT_CHAIN_POLICY_BASE)
Code of client is liike:
let contents = fs::read("pki/server-cert.pem").unwrap();
let certificate = Certificate::from_pem(contents.as_slice()).unwrap();
builder.add_root_certificate(certificate);
builder.disable_built_in_roots(true);
let connector = builder.build().unwrap();
let stream = TcpStream::connect("ip_of_server:port").unwrap();
let mut stream = connector.connect("my-server.blabla", stream).unwrap();
stream.write_all(b"Hello there").unwrap();
let mut res = vec![];
stream.read_to_end(&mut res).unwrap();
println!("{}", String::from_utf8_lossy(&res));

and this code failed on "unwrap" of connector.connect("my-server.blabla", stream)
Linux client made handshake successfully.
In wireshark i see that client try to [FIN, ACK] after receive "Client Key Exchange" instead of send data to server.
What am i doing wrong?
p.s. when i generate keys in win10 linux-server panicked after parsing p12 with error:
"140AB18E:SSL routines:SSL_CTX_use_certificate:ca md too weak:../ssl/ssl_rsa.c:310".
Maybe that's because win10 use weak signature algo like md5 and can't apply any stronger algo's?

One thing that jumps out is that you aren't configuring the certificate with a CN or SAN.

Ok. I solved the problem with generating cert by certbot. Now its works


pyproject.toml bounds checking on existing virtualenv forces oldest Python

Steps to Reproduce

Set up a project with bounds requires-python = ">3.9" inside pyproject.toml`
Later, change the bounds to `requires-python = ">3.8"

Expected Result
When running a command after the python bounds change, the existing virtualenv is just used.
Actual Result
When running a command after changing the bounds

Python version mismatch (found<EMAIL_ADDRESS>expect cpython@3.9.18), recreating.

I think this is due to the code in pyproject.rs

fn resolve_intended_venv_python_version(
    doc: &Document,
    root: &Path,
) -> Result<PythonVersion, Error> {
    let requested_version = get_python_version_request_from_pyenv_pin(root)
        .or_else(|| resolve_lower_bound_python_version(doc))
        .or_else(|| Config::current().default_toolchain().ok())
        .ok_or_else(|| {
            anyhow!(
                "could not determine a target python version.  Define requires-python in \
                 pyproject.toml or use a .python-version file"
            )
        })?;

    if let Ok(ver) = PythonVersion::try_from(requested_version.clone()) {
        return Ok(ver);
    }

    if let Some(latest) = latest_available_python_version(&requested_version) {
        Ok(latest)
    } else {
        Err(anyhow!(
            "Unable to determine target virtualenv python version"
        ))
    }
}

like how it takes the lower bound before considering anything from the current default toolchain. If the default toolchain can be used it should be used IMO (but maybe I'm misunderstanding something)
Version Info
rye 0.13.0
commit: 0.13.0 (8e011231e 2023-08-29)
platform: linux (x86_64)
self-python<EMAIL_ADDRESS>symlink support: true
Stacktrace
No response

I found a different situation where something like this happens. If the current virtualenv can be used it probably should be used.  At the very least in situations like "rye run" (no rebuild expected). Compare with rye sync (recreate of venv more expected).


DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working

When running our test cases pytest shows the following warning for moto:
/usr/local/lib/python3.7/site-packages/moto/cloudformation/parsing.py:407
  /usr/local/lib/python3.7/site-packages/moto/cloudformation/parsing.py:407: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    class ResourceMap(collections.Mapping):

-- Docs: https://docs.pytest.org/en/latest/warnings.html

I would expect no warnings to be shown for moto when executing my test suite.
Im using moto version 1.3.14.

Hi @florian42, this was fixed in https://github.com/spulec/moto/pull/2624 - the latest development release (https://pypi.org/project/moto/1.3.15.dev882/) should not have any warnings at all.

This was fixed in the 1.3.15 release. Time to close this issue?


Add slug and tags to config.json

Closes #137
Closes #118
Filled the tags out to the best of my ability. If I'm missing anything, let me know and I'll get it added!

Thanks for working on this BTW!

@ErikSchierboom I'd like to tackle #117 with this merge as well, if possible.
I took a look at the key features documentation on: https://github.com/exercism/docs/blob/main/building/tracks/config-json.md#key-features, but it seems there are no predefined features there. Would grabbing shared key features from other tracks config.json files be fine in this case?

[...] it seems there are no predefined features there.

That's correct. This is due to the key features being track-specific highlights.

Would grabbing shared key features from other tracks config.json files be fine in this case?

The idea is that these key features showcase why a student would want to join that track. So usually you'd come up with the six things that showcase the track best, and then write the text for them. There is likely some overlap, so you could definitely take inspiration from other tracks, although it is likely that the text needs to be modified.

@ErikSchierboom all set!

@0x647262 You can see the key features on https://exercism.lol/tracks/d (provided you've not joined the track)


[wip] Always log train metrics on last batch

What does this PR do?
Currently, training metrics are logged on batch end if one of the three conditions is satisfied:

row_log_interval is reached
trainer.should_stop is True
fast_dev_run is True

Sometimes the default value for row_log_interval (50) is less then the number of batches. In that case, training metrics are never logged. This can't be desired. To force the best practice, this PR adds two more situations when the training metrics are logged:

is_last_batch is True
batch_idx + 1 == num_training_batches

Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together? Otherwise, we ask you to create a separate PR for every change.
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?
[x] Did you verify new and existing tests pass locally with your changes?
[ ] If you made a notable change (that affects users), did you update the CHANGELOG?

PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Hello @ozen! Thanks for opening this PR.

In the file pytorch_lightning/trainer/training_loop.py:

Line 478:35: W503 line break before binary operator
Line 479:35: W503 line break before binary operator
Line 480:35: W503 line break before binary operator
Line 481:35: W503 line break before binary operator

Do see the Hitchhiker's guide to code style

@ozen can you add a test which currently would fail to log something, but will log with the changes you made?

If the number of batches in one epoch is much smaller than the row_log_interval, it can be a bottleneck with logging and there is no way to prevent it, as increasing row_log_interval has no effect in this case.

If the number of batches in one epoch is much smaller than the row_log_interval, it can be a bottleneck with logging and there is no way to prevent it, as increasing row_log_interval has no effect in this case.

Correct me if I'm wrong, but in that case the training metrics are NEVER logged. After this patch, they are logged once per epoch. If they won't be logged even once per epoch, what can be the user's intention to log metrics in the training loop in the first place?

@ozen yes, they are never logged, but an alternative could be to still log every row_log_interval steps, just based on global step as suggested here #3466. in that case, when a bottleneck occurs, the user can still log every few epochs by adjusting row_log_interval.

Indeed, if #3466 was added it would solve this issue.

@ozen how about this one, is it still WIP or ready to review? 🐰

@ozen how about this one, is it still WIP or ready to review? 🐰

The code is complete, but I didn't have time to write the test @SkafteNicki has asked.

@ozen we recently changed logging intervals to be based on global step.
As far as I can see, the logging now always happens on the epoch (last batch) and on the interval defined by row_log_interval.
I think this is the desired behaviour. Does this PR add anything else?

@awaelchli No, it doesn't add anything else.


Draft of Azure Functions CLI scripts

These still aren't test with the actual CLI, but I want to get the scripts in so that the wrapper docs will build.

@ggailey777,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@allclark can you merge these new draft CLI scripts topics so that I can get the doc wrappers to build? Thanks.


Fix tokio asynchronous multi-thread log unknown time

修复tokio异步多线程日志时间显示：unknown time
#[cfg(feature = "local-time")]
impl OffsetTime<well_known::Rfc3339> {
    /// Returns a formatter that formats the current time using the [local time offset] in the [RFC
    /// 3339] format (a subset of the [ISO 8601] timestamp format).
    ///
    /// Returns an error if the local time offset cannot be determined. This typically occurs in
    /// multithreaded programs. To avoid this problem, initialize `OffsetTime` before forking
    /// threads. When using Tokio, this means initializing `OffsetTime` before the Tokio runtime.
    ///
    /// # Examples
    ///
    /// ```
    /// use tracing_subscriber::fmt::{self, time};
    ///
    /// let collector = tracing_subscriber::fmt()
    ///     .with_timer(time::OffsetTime::local_rfc_3339().expect("could not get local offset!"));
    /// # drop(collector);
    /// ```
    ///
    /// Using `OffsetTime` with Tokio:
    ///
    /// ```
    /// use tracing_subscriber::fmt::time::OffsetTime;
    ///
    /// #[tokio::main]
    /// async fn run() {
    ///     tracing::info!("runtime initialized");
    ///
    ///     // At this point the Tokio runtime is initialized, and we can use both Tokio and Tracing
    ///     // normally.
    /// }
    ///
    /// fn main() {
    ///     // Because we need to get the local offset before Tokio spawns any threads, our `main`
    ///     // function cannot use `tokio::main`.
    ///     tracing_subscriber::fmt()
    ///         .with_timer(OffsetTime::local_rfc_3339().expect("could not get local time offset"))
    ///         .init();
    ///
    ///     // Even though `run` is written as an `async fn`, because we used `tokio::main` on it
    ///     // we can call it as a synchronous function.
    ///     run();
    /// }
    /// ```
    ///
    /// [local time offset]: time::UtcOffset::current_local_offset
    /// [RFC 3339]: https://datatracker.ietf.org/doc/html/rfc3339
    /// [ISO 8601]: https://en.wikipedia.org/wiki/ISO_8601
    pub fn local_rfc_3339() -> Result<Self, time::error::IndeterminateOffset> {
        Ok(Self::new(
            UtcOffset::current_local_offset()?,
            well_known::Rfc3339,
        ))
    }
}

OffsetTime在openwrt上用还是有毛病，看看要不要回万能的SystemTime
╭─root at OpenWrt in ~ 23-09-24 - 8:22:39
╰─○ aliyundrive-webdav  --drive-type resource
Error: The system's UTC offset could not be determined


📝 biome format --write . result differs from result when saving with VSCode

Environment information
CLI:
  Version:                      1.8.3
  Color support:                true

Platform:
  CPU Architecture:             aarch64
  OS:                           macos

Environment:
  BIOME_LOG_DIR:                unset
  NO_COLOR:                     unset
  TERM:                         "xterm-256color"
  JS_RUNTIME_VERSION:           "v20.11.1"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "pnpm/9.7.1"

Biome Configuration:
  Status:                       Loaded successfully
  Formatter disabled:           false
  Linter disabled:              false
  Organize imports disabled:    false
  VCS disabled:                 true

Formatter:
  Format with errors:           false
  Indent style:                 Space
  Indent width:                 2
  Line ending:                  Lf
  Line width:                   80
  Attribute position:           Multiline
  Ignore:                       []
  Include:                      []

JavaScript Formatter:
  Enabled:                      true
  JSX quote style:              Double
  Quote properties:             AsNeeded
  Trailing commas:              All
  Semicolons:                   Always
  Arrow parentheses:            Always
  Bracket spacing:              true
  Bracket same line:            false
  Quote style:                  Double
  Indent style:                 unset
  Indent width:                 unset
  Line ending:                  unset
  Line width:                   unset
  Attribute position:           Auto

JSON Formatter:
  Enabled:                      true
  Indent style:                 unset
  Indent width:                 unset
  Line ending:                  unset
  Line width:                   unset
  Trailing Commas:              unset

CSS Formatter:
  Enabled:                      false
  Indent style:                 unset
  Indent width:                 unset
  Line ending:                  unset
  Line width:                   unset
  Quote style:                  Double

Workspace:
  Open Documents:               0

Configuration
{
  "$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
  "files": {
    "ignore": ["node_moodules", "dist", "*.js", "*.stories.*"]
  },
  "formatter": {
    "enabled": true,
    "indentStyle": "space",
    "indentWidth": 2,
    "lineEnding": "lf",
    "lineWidth": 80,
    "attributePosition": "multiline"
  }
}

Playground link
https://github.com/okejminja/biome-vscode-diff
Code of Conduct

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

Short video showing the issue:
https://github.com/user-attachments/assets/30997ab0-4bab-4ee1-94d5-adae7d364574

I can't replicate the issue with the provided repository. This means that you have some settings in your settings.json that are changing the behaviour of your IDE.
Closing.


Test 3.2.2-B: Loop multi-valued Link headers

Resolves: https://github.com/fcrepo4-labs/Fedora-API-Test-Suite/issues/105

Resolves: https://github.com/fcrepo4-labs/Fedora-API-Test-Suite/issues/105

Looks good :+1:!


Switch to libsql promise API internally

We switched from better-sqlite3 to libsql, but we should now switch to the libsql promise API to avoid blocking internally.

Hi @penberg  , I wish to contribute towards this issue can you please provide me with the files associated with this issue?

Hey @Vayras, the issue is about switching src/sqlite3.ts to import from libsql/promise. https://github.com/libsql/libsql-js/issues/28 needs to be fixed first, though.


Wrong swipe row briefly shown when swiping in the other direction

In the SwipeListExample, I'm seeing a bug where the wrong swipe row is briefly shown when swiping in the other direction. I'm able to reproduce this in Android and iOS running the example and running my own usage of SwipeListView in my app.
react-native-swipe-list-view version: 1.5.8
Steps to reproduce:

Swipe to the right on a row (the text "Left" is shown)
Close the row by clicking the overlay row or scrolling
Swipe to the left on the same row

Actual result:
The left row ("Left" text) briefly slides in before opening the row to the right ("Right" and "Delete" text)
Expected result:
The right row ("Right" and "Delete" text) opens and the left row ("Left" text) does not slide in
Slowed down gif of the issue:

Hey @ryandt I believe this is the same issue as #306. Can you try passing useNativeDriver={false} to your SwipeListView and see if that fixes it? Thanks

Hey @jemise111. That resolved the issue I was seeing, thanks!


Set summary if successfully merged

#3040  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @CatChen and the rest of your teammates on  Graphite


Avoid truncating/breaking some Type3 glyphs in compileType3Glyph (bug 1245391, issue 10568)

Hopefully this patch makes sense, since I cannot claim to fully understand this function.
With the changes made in PR #3354 some Type3 glyph outlines are no longer rendering correctly, since the final paths were being accidentally ignored.
The fact that Type3 fonts are not very common in PDF documents, and that most Type3 glyphs are unaffected by this regression, probably explains why this has gone unnoticed since 2013.

/botio test

@brendandahl Could you perhaps check this?

/botio-linux preview

@yurydelendik Gentle review ping; is the updated patch OK?

/botio makeref


After close the SSH connection, the clash service will automatically close

I use this on RaspPie 3 (OS: RHEL Branch), which severs as a proxy server.
Following the instructions and setting up, all things run smoothly as expected.
However, after closing the SSH connection, the service automatically turns to loaded status.
Manually re-login and executiveing the clashrup start , it starts working. Closing the SSH connection, it downs again.
I'm wondering how to fix that.
BTW, how to enable clashrup start when the system boots? I've tried systemctl enable clash but it returned clash.service not found.
Thanks 😵💫

However, after closing the SSH connection, the service automatically turns to loaded status.

Yes, because you (as the user who created the systemd service) logged out, which will automatically stop all user-created systemd services. You would need to invoke clashrup as a sudo user, with some locations changed (in clashrup.toml):
clash_binary_path = "/usr/local/bin/clash"
clash_config_root = "/etc/clash/"
user_systemd_root = "/etc/systemd/system/"

Additionally, all systemctl commands are hard-coded as user actions currently (with --user), so options like start, status, log, etc., will no longer work under sudo mode. You need to manually call these commands (as in sudo systemctl status clash).

BTW, how to enable clashrup start when the system boots?

After creating the systemd service as root, the service should start on boot.

Again, clashrup is not designed to be used as root currently, so all operations I mentioned above may or may not work :(

invoke
I tried to setup clashrup using sudo -i
It returned:
Failed to connect to bus: No such file or directory

Yes, because you (as the user who created the systemd service) logged out, which will automatically stop all user-created systemd services. You would need to invoke clashrup as a sudo user, with some locations changed (in clashrup.toml):

But that's weird.
I installed it twice because I re-installed the OS for some reason.
The first time, it worked, no existing after closing SSH. It works perfectly.
The second time, doing the same process, it exited. 😨
Sorry for my poor English.

Just published a new version which modifies the systemd file to use default.target instead of the original multi-user.target. After some investigation, I think the best option would be to:

Use clashrup and create clash services under non-root user, and...

Enable starting clash's user systemd service on login with:
loginctl enable-linger {username}

Ref: System service running as user is terminated on logout

thread 'main' panicked at 'called Result::unwrap() on an Err value: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }', src/utils.rs:103:47
Another bug occured after fixing a bug 🤣

lol, you need to change your settings back remember? (Config file ~/.config/clashrup.toml)

... which modifies the systemd file to use default.target instead of the original multi-user.target

I found that even without loginctl enable-linger {username}, my clash systemd service was not stopped after logging out. I wonder if that is the case on your side? @LeeSpo
Closing this issue for now as I believe this is fixed. If not, feel free to reopen.

I found that after this modification, even without loginctl enable-linger {username}, my clash systemd service was not stopped after logging out.
The same on my side and I think it's perfectly solved. Thanks.


Cleanup a stream message after notifying subscribers of completion in…

…stead of before.
Previously, closeFuture would trigger before subscribers, meaning the connection may be closed before finishing the HTTP response.
Confirmed this fixes the buggy behavior I saw when using armeria with nginx. The solution seems a bit shady to me though, please check if this makes any sense at all.
Fixes #290

@trustin PTAL - TBH, don't have that much confidence in this PR but maybe a starting point

Current coverage is 65.38% (diff: 100%)

Merging #291 into master will increase coverage by <.01%

@@             master       #291   diff @@
==========================================
  Files           306        306
  Lines         12076      12077     +1
  Methods           0          0
  Messages          0          0
  Branches       1775       1775
==========================================
+ Hits           7895       7896     +1
  Misses         3345       3345
  Partials        836        836

Powered by Codecov. Last update 295d099...ecbca96

@anuraaga Left one comment. Looks good besides that. Please let me know whether moving setState(State.CLEANUP) breaks anything.


[BUG] - Item "A Note in the Wind" is parsed incorrectly

Describe the bug
When selling the divination card A Note in the Wind,
the trade popup will list A Note and no price.
To Reproduce
Steps to reproduce the behavior:

List A Note in the Wind for sale
Receive an incoming tade offer from another player
Look at the Mercury Trade popup
Notice the wrong name and missing price

Expected behavior
The trade popup should show the correct, full name of the item, and list the price.
Screenshots

Desktop (please complete the following information):

Version 1.1.7

Additional context
Trade message:
@From ChaendrianLotus: Hi, I would like to buy your A Note in the Wind listed for 26 chaos in Expedition (stash tab "Bitcoins"; position: left 11, top 12)

This is kinda a bummer because regex will think that "in" inside item name is an keyword before league name

fixed with https://github.com/Morph21/MercuryTrade-Community-Fork/releases/tag/1.2.0


Here's a new site I'd like you to consider blocking

Here's a new site I'd like you to consider blocking:
https://www.pinterest.com
(please include any other relevant details)

Dupe of #39


Sword blocking disabled breaks offhand item use when holding sword in main hand

Info

Server version: git-Paper-639 (MC 1.13.2)
OldCombatMechanics version: 1.7.3
OldCombatMechanics config file: https://pastebin.com/2J0sb59C

Problem Description
I have disabled sword blocking, since I don't want it.
However, every time I try to right click with something in my offhand (for example, shooting a bow or eating food), while holding a sword in my main hand, it keeps refreshing the offhand item so I can never finish drawing the arrow or eating.
I have tried multiple options, but it seems that even though I disabled sword blocking, the logic still does something to my offhands.

I can not reproduce this on 1.13.2 paper or 1.14.4 spigot with OCM 1.7.4-beta.
Do you have any other plugins installed? Can somebody else reproduce this issue? Does it also happen when you have just OCM installed?

I am unable to reproduce this with OCM 1.7.4-BETA and 1.14.4 Paper. I turned off the sword-blocking module, and tried with both the disable-offhand module off and on with exceptions for BOW. I do not see this issue. @sjoerdtim Are you sure there isn't another plugin interfering?

It turns out this was a bug caused by a different plugin. My apologies for the false report.


About QA section in run.sh

Hello, may I ask if run.sh has not updated the OpenAI QA section yet

Hi @donggedashao,
Regarding your question in #1: "Hello, may I ask if run.sh has not updated the OpenAI QA section yet?"
If you're asking why the evaluation part (e.g., using the OpenAI API as a QA model) isn't included in run.sh, it's because run.sh is designed to train the QG model and generate the final questions. The QA evaluation should be conducted after run.sh is completed.
If you're referring to the QA module used during the training part in run.sh, we generate over 10,000 intermediate questions using the SFT model and answer them by Llama-2 QA model to get the QA reward. Using the OpenAI API for this would be very costly. However, if you'd like to replace the QA module, you can use the following code:
python ../evaluation/openai_qa.py \
    --api_key [your-api-key] \
    --api_model [your-api-model] \
    --input_path [path-to-QG-file] \
    --num_shots 5

This script will work well, but please be mindful of the API costs.
I hope this answers your question. Thanks.

Thank you very much for your patient answer!

Feel free to re-open if needed.