bug: multipledispatch error

Hello,
I've updagraded jax to 0.3.5, and now I am getting the following error: ModuleNotFoundError: No module named 'multipledispatch'.
To reproduce: python -c "import gpjax".
After pip install multipledispatch, I get the another error:
ImportError: Encountered error: `Tried to dispatch on non-type: typing.Union[numpy.ndarray, jax._src.numpy.ndarray.ndarray]
In signature: <typing.Union[numpy.ndarray, jax._src.numpy.ndarray.ndarray], Distribution>
In function: log_density`

Perhaps a specific version of multipledispatch is expected but it's in the requirements.txt?
pip freeze ->
absl-py==1.0.0
aiohttp==3.8.1
aiosignal==1.2.0
antlr4-python3-runtime==4.8
asttokens==2.0.5
astunparse==1.6.3
async-timeout==4.0.2
attrs==21.4.0
autograd==1.3
backcall==0.2.0
black==22.1.0
blessings==1.7
cachetools==5.0.0
certifi==2021.10.8
charset-normalizer==2.0.12
chex==0.1.3
click==8.0.4
cloudpickle==2.0.0
colorlog==6.6.0
contextlib2==21.6.0
cycler==0.11.0
debugpy==1.5.1
decorator==5.1.1
dill==0.3.4
distrax==0.1.2
dm-haiku==0.0.6
dm-tree==0.1.6
docker-pycreds==0.4.0
e3nn-jax==0.6.2
einops==0.4.1
entrypoints==0.4
etils==0.6.0
executing==0.8.3
flatbuffers==2.0
fonttools==4.30.0
frozenlist==1.3.0
fsspec==2022.2.0
future==0.18.2
gast==0.5.3
-e git+ssh://git<EMAIL_ADDRESS>gitdb==4.0.9
GitPython==3.1.27
google-auth==2.6.0
google-auth-oauthlib==0.4.6
google-pasta==0.2.0
googleapis-common-protos==1.55.0
GPJax==0.4.1
gpustat==0.6.0
grpcio==1.44.0
h5py==3.6.0
hydra-colorlog==1.1.0
hydra-core==1.1.1
hydra-joblib-launcher==1.1.5
hydra-submitit-launcher @ git+https://github.com/emilemathieu/hydra.git@7c41ae8f080d577efccf902aa9c955d7c9a2d864#subdirectory=plugins/hydra_submitit_launcher
idna==3.3
importlib-metadata==4.11.2
importlib-resources==5.8.0
install==1.3.5
ipykernel==6.9.1
ipython==8.1.1
jax==0.3.5
jaxlib==0.3.5+cuda11.cudnn805
jaxtyping==0.0.2
jedi==0.18.1
Jinja2==3.1.2
jmp==0.0.2
joblib==1.1.0
jupyter-client==7.1.2
jupyter-core==4.9.2
keras==2.8.0
Keras-Preprocessing==1.1.2
kiwisolver==1.3.2
libclang==13.0.0
Markdown==3.3.6
MarkupSafe==2.1.1
matplotlib==3.5.1
matplotlib-inline==0.1.3
ml-collections==0.1.0
mpmath==1.2.1
multidict==6.0.2
multipledispatch==0.6.0
mypy-extensions==0.4.3
nest-asyncio==1.5.4
numpy==1.22.3
nvidia-ml-py3==7.352.0
oauthlib==3.2.0
omegaconf==2.1.1
opt-einsum==3.3.0
optax==0.1.1
packaging==21.3
pandas==1.4.1
parso==0.8.3
pathspec==0.9.0
pathtools==0.1.2
pexpect==4.8.0
pickleshare==0.7.5
Pillow==9.0.1
platformdirs==2.5.1
promise==2.3
prompt-toolkit==3.0.28
protobuf==3.19.0
psutil==5.9.0
ptyprocess==0.7.0
pure-eval==0.2.2
pyasn1==0.4.8
pyasn1-modules==0.2.8
Pygments==2.11.2
pyparsing==3.0.7
python-dateutil==2.8.2
pytz==2021.3
PyYAML==6.0
pyzmq==22.3.0
requests==2.27.1
requests-oauthlib==1.3.1
rsa==4.8
scikit-learn==1.0.2
scipy==1.8.0
-e git+ssh://git@github.com/oxcsml/score-sde.git@384fa52c4ad3a6125dea4af61178b5ad9db65dfd#egg=score_sde
seaborn==0.11.2
sentry-sdk==1.5.7
setGPU==0.0.7
setproctitle==1.2.2
shortuuid==1.0.8
six==1.16.0
smmap==5.0.0
stack-data==0.2.0
submitit @ git+https://github.com/emilemathieu/submitit.git@aeccb447a1e1a33ec60749c70594eef3d888b16d
sympy==1.10.1
tabulate==0.8.9
tensorboard==2.8.0
tensorboard-data-server==0.6.1
tensorboard-plugin-wit==1.8.1
tensorflow==2.8.1
tensorflow-datasets==4.5.2
tensorflow-estimator==2.8.0
tensorflow-io-gcs-filesystem==0.24.0
tensorflow-metadata==1.7.0
tensorflow-probability==0.15.0
termcolor==1.1.0
tf-estimator-nightly==2.8.0.dev2021122109
threadpoolctl==3.1.0
tomli==2.0.1
toolz==0.11.2
tornado==6.1
tqdm==4.63.0
traitlets==5.1.1
typeguard==2.13.3
typing_extensions==4.3.0
urllib3==1.26.8
wandb==0.12.11
wcwidth==0.2.5
Werkzeug==2.0.3
wrapt==1.14.0
yarl==1.7.2
yaspin==2.1.0
zipp==3.7.0

My bad, only the master branch and not 0.4.8 can use jax==0.3.5. Fixed by using git+https://github.com/thomaspinder/GPJax.git@76527de93499dcd00523c5f88fd6d8ed827d1e88.

Can we reopen this? I just ran into this issue and to me it seems the issue is real, i.e. this occurs when following the recommended installation instructions from the documentation.

Hi @holmrenser. Can you please report the  version of GPJax that you have installed? Also, which section of the documentation are you referring to when you say you followed the instructions? Thanks!

I followed the installation instructions here: https://gpjax.readthedocs.io/en/latest/installation.html. Essentially I just did a pip install gpjax in a conda environment with python 3.10. This pulls in gpjax 0.4.9. I first ran into the issue that multipledispatch was not installed. After pip install multipledispatch I encountered the error reported above.

Unfortunately, I'm unable to replicate your error. I've just run the following
conda create -n temp python=3.10
conda activate temp
pip install gpjax
python -c 'import gpjax;print(gpjax.__version__)'

with no errors. The GPJax version number is 0.4.9 and Python is 3.10.5. I'm running this on a Ubuntu 18.04 system.
Multiple dispatch hasn't been part of GPJax since 0.3.x. Could you try running pip install -U gpjax to make sure no cached version of GPJax is being loaded in. It may also be helpful if you print out your Conda environment. You may also like to create an environment.yml file using the following output that is collected from my system.
name: temp
channels:
  - conda-forge
  - defaults
dependencies:
  - _libgcc_mutex=0.1=conda_forge
  - _openmp_mutex=4.5=2_gnu
  - bzip2=1.0.8=h7f98852_4
  - ca-certificates=2022.6.15=ha878542_0
  - ld_impl_linux-64=2.36.1=hea4e1c9_2
  - libffi=3.4.2=h7f98852_5
  - libgcc-ng=12.1.0=h8d9b700_16
  - libgomp=12.1.0=h8d9b700_16
  - libnsl=2.0.0=h7f98852_0
  - libuuid=2.32.1=h7f98852_1000
  - libzlib=1.2.12=h166bdaf_2
  - ncurses=6.3=h27087fc_1
  - openssl=3.0.5=h166bdaf_1
  - pip=22.2.1=pyhd8ed1ab_0
  - python=3.10.5=ha86cf86_0_cpython
  - python_abi=3.10=2_cp310
  - readline=8.1.2=h0f457ee_0
  - setuptools=63.3.0=py310hff52083_0
  - sqlite=3.39.2=h4ff8645_0
  - tk=8.6.12=h27826a3_0
  - tzdata=2022a=h191b570_0
  - wheel=0.37.1=pyhd8ed1ab_0
  - xz=5.2.5=h516909a_1
  - zlib=1.2.12=h166bdaf_2
  - pip:
    - absl-py==1.2.0
    - astunparse==1.6.3
    - cachetools==5.2.0
    - certifi==2022.6.15
    - charset-normalizer==2.1.0
    - chex==0.1.3
    - cloudpickle==2.1.0
    - contextlib2==21.6.0
    - decorator==5.1.1
    - distrax==0.1.2
    - dm-tree==0.1.7
    - flatbuffers==2.0
    - gast==0.5.3
    - google-auth==2.9.1
    - google-auth-oauthlib==0.4.6
    - google-pasta==0.2.0
    - gpjax==0.4.9
    - grpcio==1.47.0
    - h5py==3.7.0
    - idna==3.3
    - jax==0.3.5
    - jaxlib==0.3.5
    - jaxtyping==0.1.0
    - keras==2.8.0
    - keras-preprocessing==1.1.2
    - libclang==14.0.6
    - markdown==3.4.1
    - markupsafe==2.1.1
    - ml-collections==0.1.0
    - numpy==1.23.1
    - oauthlib==3.2.0
    - opt-einsum==3.3.0
    - optax==0.1.3
    - protobuf==3.19.0
    - pyasn1==0.4.8
    - pyasn1-modules==0.2.8
    - pyyaml==6.0
    - requests==2.28.1
    - requests-oauthlib==1.3.1
    - rsa==4.9
    - scipy==1.9.0
    - six==1.16.0
    - tensorboard==2.8.0
    - tensorboard-data-server==0.6.1
    - tensorboard-plugin-wit==1.8.1
    - tensorflow==2.8.1
    - tensorflow-estimator==2.8.0
    - tensorflow-io-gcs-filesystem==0.26.0
    - tensorflow-probability==0.16.0
    - termcolor==1.1.0
    - toolz==0.12.0
    - tqdm==4.64.0
    - typeguard==2.13.3
    - typing-extensions==4.3.0
    - urllib3==1.26.11
    - werkzeug==2.2.1
    - wrapt==1.14.1

Thanks for looking into this! Your comments are very helpful and I think I can narrow down the issue. This is my first time attempting a gpjax install, so I'm pretty sure there are no cached versions on my system. However upon more careful inspection, pip ends up installing gpjax 0.4.1, not 0.4.9. From what I can see there seem to be some dependency issues with newer versions than 0.4.1, and pip gradually decreases version numbers in an attempt to fix this.
I'm on a macbook M1, perhaps this is cause of the dependency issues?

Ahh, Jax very recent begun supporting M1 processors. Between @Daniel-Dodd and myself we are actually looking into upgrading GPJax to run on M1 chips too.
For now, you should be able to install GPJax 0.4.9, the upgrade Jax and jaxlib to their newest versions. This will raise a warning from GPJax due to the mismatched requirement, but things should run fine. The errors actually only arise when unit tests are run on GitHub using the newest version of Jax/Jaxlib.
I’m cc’ing @Daniel-Dodd here as he was contending with this very issue last night, so may be able to shed more light on the issues your facing re. M1 chips.

Hmmm, there seems to be an issue with installing tensorflow==2.8.1 via pip on macOS ARM (for myself I am running macOS v12.5 with M1 pro).
For a temporary fix, I have installed GPJax without the dependencies, then installed them manually:
conda create -n temp python=3.10.0
conda activate temp
pip install --no-deps gpjax==0.4.9

pip install jax==0.3.5
pip install jaxlib==0.3.5
pip install optax==0.1.0
pip install chex==0.1.3
pip install distrax==0.1.2
pip install tensorflow-probability==0.16.0
pip install ml-collections==0.1.0
pip install protobuf==3.19.0
pip install jaxtyping
pip install tqdm==4.64.0

pip install tensorflow-macos

python3 -c 'import gpjax;print(gpjax.__version__)'

These are the same dependencies with GPJax v0.4.9 except for a different TensorFlow wheel pip install tensorflow-macos. Doing this passed the unit tests on my machine. Please let me know how you get on @holmrenser.
@thomaspinder There is more to investigate here. We might need to create an M1/ARM wheel for GPJax.
@thomaspinder GPJax requires tqdm.auto. Our requirements on master have tqdm>= 0.4.0. However, tqdm.auto did not seem to be in version 4.1.0. I installed  4.64.0 in the above to get things working. We might need to bump this requirement!

@Daniel-Dodd this is a fix for me as well!
I get some warnings, and first time running takes 10-20seconds. After that it's a bit faster.
(gpjax) rensholmer@Renss-MBP-2 ~ % python3 -c 'import gpjax;print(gpjax.__version__)'
/Users/rensholmer/miniconda3/envs/gpjax/lib/python3.10/site-packages/jax/_src/lib/__init__.py:33: UserWarning: JAX on Mac ARM machines is experimental and minimally tested. Please see https://github.com/google/jax/issues/5501 in the event of problems.
  warnings.warn("JAX on Mac ARM machines is experimental and minimally tested. "
WARNING:absl:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
0.4.9

Off to experimenting with gpjax!

Good to know - thanks for the information @Daniel-Dodd and @holmrenser. When I get some time, I'll type this up and include in our docs as you'll no doubt not be the last people to experience M1/Jax/GPJax installationissues.
Best of luck @holmrenser! I'd love to hear how you get on - any feedback is greatly appreciated either through an issue, discussion thread or PR :)

I'm taking a vacation the next few weeks, I'll check back in when I get back!


orientation and 2.5d labels

2.5d projection
Fixes https://github.com/tangrams/tangram-es/issues/799
Currently labels are always facing the camera, even when the camera orientation (tilt/rotation) changes. Some use cases need to allow 2.5d markers and labels to be viewed projected onto the ground plane (see https://github.com/tangrams/tangram-es/issues/799's description for an example use case).
This PR adds an option for point labels to be projected onto the ground with flat draw rule parameter (defaulting to false):
layers:
    poi_icons:
         icons:
             size: 20px
             flat: true

For comparison here is the the same view with flat:false

Orientation
Fixes https://github.com/tangrams/tangram-es/issues/551
This PR adds an angle style draw rule to modify sprite orientation, specified in floating point degrees. It behaves differently whether the point label is flattened or not:

If the label is flattened, the angle will be a negative angle (clockwise order) relative to the world from the north cardinal direction.
If the label is not flattened, the angle will be a negative angle relative to the screen from a vertical axis.

unflattened orientation
layers:
    poi_icons:
         icons:
             size: 20px
             flat: false
             angle: 45

flattened orientation
layers:
    poi_icons:
         icons:
             size: 20px
             flat: true
             angle: 45

cc @bcamper @nvkelso for syntax.
TODO

[x] Update skip transition for flat labels
[x] Update label comparator code
[x] Update feature selection code

FIXME

[x] Get scale factor for label markers

@bcamper can you give a look at the style syntax here?

Looks good - and as you pointed out, it seems JS regressed and the angle there is now being interpreted in radians :/  I will fix that and slate for JS v0.10 release. Thanks!

@karimnaaji should we merge master into this branch or go through rebase?

If you already reviewed that I can start rebasing or merge master into this depending on the conflicts.

Thanks for addressing the fixme @hjanetzek , this is good. @tallytalwar is finishing reviewing and this should be good to go.

Bad texture sampling - Flat markers must be drawn with perspective projection..

This shouldn't have anything to do with the kind of projection.
My guess is that this distortion happens because the screen coverage of the quad triangles is too important for the precision we give to the uvs; the interpolation in the shader might not have enough precision on the floating point uvs attributes.

If we want to be able to draw big markers like here, I would try increasing the precision for uvs here https://github.com/tangrams/tangram-es/blob/master/core/src/labels/spriteLabel.h#L13.
I'm quite sure the same would happen for any matrix projection.

@karimnaaji try it :) the mapzen logo looks like a perfectly fine linear interpolated texture for both triangles (using mediump should be sufficient). I'm pretty sure the texture lookup is missing the appropriate glPosition.zw for the perspective correction.
I just found that there is a texture2DProj which might help here. http://stackoverflow.com/questions/29847342/how-to-correctly-map-texture-when-doing-perspective-warping-in-glsl-using-opengl

Yeah I think this is a consequence of projecting vertices into perspective without perspective-correct interpolation (yet another reason to render labels in 3d scene space).

@hjanetzek , you're right, I understand the problem, so we should send the perspective factor we get here https://github.com/tangrams/tangram-es/blob/master/core/src/util/geom.cpp#L96, and use texture2DProj.

@karimnaaji I tried to use texture2DProj but couldn't get it to work with the ortho projection. I think sending the final projected vertices is the currently the best option. Later we may switch to separate meshes and shaders for flat and billboard labels.
@tallytalwar could you do the final review?

@hjanetzek yes I also think it's the best option we have right now so that makes sense, what is happening in the screenshot above?
Thanks for addressing what we spoke about concerning the scaling issue!

@karimnaaji technically the screenshot shows POIs rendered with flat option at size 200 in overlay blend mode. For non-overlay mode we also need to add the layer offset I guess..
Though I agree, it looks more like 'The attack of the POI' :)

Haha yes :)
Oh ok I thought this was the testing using texture2DProj.

There seem to be no blocker in merging this if reviewed already. The issue being pointed out is existing but can be considered as an edge case, it shows the limit of our method to draw the labels in screen space, but for reasonably sized sprite textures the issue is in general not visible.

OK, I'm going to revert scene.yaml changes and merge it this evening if no one objects.

If you both are fine with this, please go ahead with merging this. I will not be able to finish the review today. Will catch-up later on.


Selection of systems under "Abonennten" is faulty

-> Abonennten -> open one mail address -> start selecting/deselecting a few systems
when you deselect a system, all of a sudden the previously selected systems start are deselected as well (there is a screen movie showing this behaviour a bit clearer; ask Thomas or Stefan)
I could not reproduce this behaviour on my local machine. Possibly you must have a bigger number of systems in your database).

Habe 3 weitere Testsysteme erstellt (nun insgesamt 6 Systeme) und kann das Verhalten nun auch beobachten.

Problem gefunden und gefixt, aber noch nicht gemerged.


CLONE - Test Issue Shape

PHP Version
Test Issue Shape

Shopware Version
Test Issue Shape

Expected behaviour
Test Issue Shape

Actual behaviour
Test Issue Shape

How to reproduce
Test Issue Shape

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/TSP-387.
[created from TSP-387, comment 483995]

[public] This is just a test issue. We will close it
[created from TSP-387, comment 484016]


Object spread incorrectly introduces undefined value type in TS 4.2

Bug Report
This was the one type error I got when I updated my project from TS 4.1 → 4.2. It's a false positive so I figured I'd file an issue in case others run into it as well. I assume this is considered an acceptable loss from this change in the release notes, but it is a false positive and regression from 4.1 nonetheless!
🔎 Search Terms

object spread undefined 4.2

Possibly related to #13195
🕗 Version & Regression Information

This changed between versions 4.1.5 and 4.2.2

⏯ Playground Link
Compiler Options
{
  "compilerOptions": {
    "noImplicitAny": true,
    "strictNullChecks": true,
    "strictFunctionTypes": true,
    "strictPropertyInitialization": true,
    "strictBindCallApply": true,
    "noImplicitThis": true,
    "noImplicitReturns": true,
    "alwaysStrict": true,
    "esModuleInterop": true,
    "declaration": true,
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true,
    "moduleResolution": 2,
    "target": "ES2017",
    "jsx": "React",
    "module": "ESNext"
  }
}

Playground Link: Provided
💻 Code
const param2 = Math.random() < 0.5 ? 'value2' : null;

const obj = {
    param1: 'value1',
    ...(param2 ? {param2} : {})
};

const query = Object.entries(obj).map(
    ([k, v]) => `${k}=${encodeURIComponent(v)}`
    //                                     ~
    // Argument of type 'string | undefined' is not assignable to parameter of type 'string | number | boolean'.
    //   Type 'undefined' is not assignable to type 'string | number | boolean'.(2345)
).join('&');

Output
"use strict";
const param2 = Math.random() < 0.5 ? 'value2' : null;
const obj = Object.assign({ param1: 'value1' }, (param2 ? { param2 } : {}));
const query = Object.entries(obj).map(([k, v]) => `${k}=${encodeURIComponent(v)}`
//                                     ~
// Argument of type 'string | undefined' is not assignable to parameter of type 'string | number | boolean'.
//   Type 'undefined' is not assignable to type 'string | number | boolean'.(2345)
).join('&');

🙁 Actual behavior
TypeScript says that v can be undefined, which it cannot. This leads to the type error in the call to encodeURIComponent.
🙂 Expected behavior
v can never be undefined at runtime, so the error is a false positive. This was not an error in TypeScript 4.1.
The root cause is that the type of obj is inferred as
const obj: {
    param2?: string | undefined;
    param1: string;
}

whereas in TS 4.1 the same inferred type shows up as:
const obj: {
    param2?: string;
    param1: string;
}

This also applies to spreading nullable objects:
const obj = {} as ({value: string} | null);
const config = { ...obj }; //  { value?: string | undefined }

const obj = {} as ({value: string} | undefined);
const config = { ...obj }; //  { value?: string | undefined }

playground

The change in 4.2 to add undefined to the type of optional properties created by spread expressions is definitely correct. An optional property should always have undefined in its type.
The real issue is more likely that we should remove undefined from the type of optional properties when inferring from the properties of some object type to an index signature (as is the case in the Object.entries method).

@ahejlsberg unclear whether the fix for "inferring to index signatures" covers e.g. this use case (React's setState):
type State = { a: number };
const setState = <K extends keyof State>(data: Pick<State, K>) => {};

setState({ ...({} as { a: 42 } | null) }); // error in 4.2.2

playground

@dwelle Unfortunately no. To cover that scenario need the missing type such that optional properties can include missing, but not undefined, in their type.

My bad, I thought TS < 4.2 allowed this, but it didn't. It just seems in our codebase we've used a pattern that was using some weird loophole that was now fixed in 4.2:
type State = { a: number };
const setState = <K extends keyof State>(updater: (state: State) => Pick<State, K> | State | null) => {};

const obj = {} as { a: 42 } | null | undefined; // <-- both `null | undefined` is needed
setState((state) => ({ ...obj })); // works in 4.1.5

Works in 4.1.5, but not in 4.2.2
But, seeing as it's working as intended, there's no reason to go back to the old "buggy" behavior I guess.
Any rough ETA on #13195?


Update a919be67-84ee-e9de-1cfd-17a456f4d929.md

Added link to specific property, removed trailling Note

@cronos2546 Thanks for taking the time to submit these fixes. Our team is looking into them right now.

Thanks!


[SPARK-49292][BUILD] Upgrade dropwizard metrics to 4.2.27

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

Was this patch authored or co-authored using generative AI tooling?

Test first

It looks good to go. Could you update the PR description, @LuciferYang ?

It looks good to go. Could you update the PR description, @LuciferYang ?

done

Thanks @dongjoon-hyun


Fix Error Page Wording

Also, if you propose a better way to show which files are conflicting in a merge conflict, I can work with you to implement it.

Remember to add email and bat phone!

Hey, bat phone and email are already in there (chime instances just need to be configured with them). Did a little bit of rewording and also fixing of design for readability.
@tomas, can you help to make sure we have the right parameters for the merge table?

Taking this over to implement in code.

Nevermind, leaving this for Tomas. :)


Random failures of test: DecentralDigitalTwinRegistryServiceWiremockTest$LookupShellIdentifiersTests.lookupShellIdentifiers_multipleEDCs_multipleDTRs

Description

Above test is randomly failing on main branch, example run:
https://github.com/eclipse-tractusx/item-relationship-service/actions/runs/7971735992/job/21762051026?pr=427
Current behaviour

Expected behavior

Test should always pass
Steps to reproduce the Bug

Run IRS build on main, above test if randomly failing

example https://github.com/eclipse-tractusx/item-relationship-service/actions/runs/8029029865/job/21934863605

Test was disabled in https://github.com/catenax-ng/tx-item-relationship-service/pull/826


Updated document titles

Docs Build status updates of commit 38d2d64:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

academic-services/graph/index.yml
:white_check_mark:Succeeded

academic-services/index.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


multiplayer doesn't work

something broke multiplayer hard, check if it was caused by stash

broken by adding stash, pkplayerstruct size is bigger than unsigned short

Fixed in 1.22


⚠ Processors has degraded performance

In cd12a77, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 85 ms

Resolved: Processors performance has improved in f72e868.


Disable signal callback generation in C#

A while ago, we talked about disabling the signal callback generation altogether for C# until we have a better implementation. Reasons are, it currently generates the method outside the class (creates compilation error, obviously), and the behaviour is weirdly inconsistent depending on how you have external editors configured.
To prevent confusion like "the dialog didn't do the thing", I added a small message in the connection window, depending on the language of the script. Not sure if this is wanted, let me know (also, the message itself probably kinda sucks, feel free to suggest something better).

I feel a bit hesitant about adding new API to ScriptLanguage. I don't know if there are Script languages other than C# that would make use of this, adding this just for C# knowing that C# will eventually move away from the ScriptLanguage API feels wrong.

I had a similar feeling. We could simply always return an empty string and not display anything to the user. It'd be a bit worse UX, but still better than the current state, IMHO. In that case, I'd still modify the add_callback logic to not overwrite the file if make_function returns a string of length zero...

Thanks!

I have a question about this: is this breaks custom signal registration by code as introduced on docs?

I have a question about this: is this breaks custom signal registration by code as introduced on docs?

Hello! No, this only blocks the editor to write the empty method in your .cs file when you connect a signal to an inexistent method from Godot's UI.


Setting XPA_METHOD=local is not the solution

I have seen the following behaviour in Py3.6.8/imexam0.8.1 on CentOS7; Py2.7.15/imexam0.8.0 on the same OS, and Py2.7.14/imexam0.8.0 on MacOS.
terminal, no ds9 running on the machine, XPA_METHOD not set, I run the following script (it's important that it's run as a script from the command line and NOT as commands in an interactive session, for reasons that will become clear later):
#!/usr/bin/env python
import numpy as np
import imexam
viewer = imexam.connect()
viewer.view(np.ones((100,100)))
It crashes with the "xpa.XpaException: Unknown XPA Error : XPAGet returned 0!" error, to which your recommended fix is to set XPA_METHOD=local
So I do that and it works. But now I run this script where I call list_active_ds9():
#!/usr/bin/env python
import numpy as np
import imexam
imexam.list_active_ds9()
viewer = imexam.connect()
viewer.view(np.ones((100,100)))
and it crashes with the same error as before. So I haven't really solved the problem. What does actually fix the problem is keeping XPA_METHOD unset but putting a sleep between the imexam.connect() and trying to display anything. So
#!/usr/bin/env python
import numpy as np
import imexam
import time
imexam.list_active_ds9()  # this line is irrelevant
viewer = imexam.connect()
time.sleep(2)
viewer.view(np.ones((100,100)))
A 2-second sleep seems to always work. A 1-second sleep seems to work about half the time. So if you type the commands into an interactive python session, you'll probably never see a problem because you have a sufficient delay between starting the ds9 process and displaying something. Similarly, a script that starts a ds9_viewer at the beginning and then spends a couple of seconds reading data before displaying it will also work.
I really don't understand the details (because I've never looked at any of this before last Friday) but I guess the default XPA_METHOD inet has a cycle time of 1-2 seconds and so that delay is required between starting the viewer and communicating with it. Whereas the "local" method everything happens pretty much instantaneously and the delay isn't required. Or something like that. I'm not really sure why the list_active_ds9() fouls things up but you have a comment in the code that it's only listening on the inet socket so there's probably some relationship.
I hope you see the same behaviour as me (because I nearly went mad trying to get reproduceable results), in which case it probably makes sense to force a 2-second sleep when starting a new ds9 process?

Hi Chris,
I'm usually interacting with imexam and ds9 through an interactive terminal session, so thank you for reporting the issue.
I'm not an expert, but inet sets up an IP communication socket over a network, local uses a unix file reference as the socket, localhost sets up up a more complete TCP protocol for communication. Each has different setup/communication timing limits, though in general unix local sockets should be faster than inet IP sockets during run, but perhaps not during setup. imexam has by default a flexible 10sec delay built into the connect(), this was intended to allow time for ds9 open, for X11/Xquartz to startup if required, and to establish the connection, though in my experience for interactive use the time actually needed is shorter.
imexam and ds9 itself should default to inet, local sockets are sometimes suggested when there is no internet connection and an IP address cannot be found or established for the computer.
The issue with the server listening to inet only, only arises when there are already other ds9 processes existing that were started with inet communication. the XPA prefers all windows to use the same communication protocol.
I don't think that list_active_ds9() itself is causing issues, at least I haven't seen that. When I have no ds9 running, and X11 hasn't started I see it report no ds9 open as expected, and see the XPA communication issue:

No active sessions registered
Traceback (most recent call last):
File "test", line 7, in
viewer.view(np.ones((100,100)))
File "/Users/sosey/miniconda3/envs/jwstdev/lib/python3.6/site-packages/imexam-0.8.2.dev373-py3.6-macosx-10.7-x86_64.egg/imexam/connect.py", line 505, in view
self.window.view(*args, **kwargs)
File "/Users/sosey/miniconda3/envs/jwstdev/lib/python3.6/site-packages/imexam-0.8.2.dev373-py3.6-macosx-10.7-x86_64.egg/imexam/ds9_viewer.py", line 1718, in view
frame = self.frame()
File "/Users/sosey/miniconda3/envs/jwstdev/lib/python3.6/site-packages/imexam-0.8.2.dev373-py3.6-macosx-10.7-x86_64.egg/imexam/ds9_viewer.py", line 975, in frame
frame = self.get("frame").strip()  # xpa returns '\n' for no frame
File "/Users/sosey/miniconda3/envs/jwstdev/lib/python3.6/site-packages/imexam-0.8.2.dev373-py3.6-macosx-10.7-x86_64.egg/imexam/ds9_viewer.py", line 693, in get
return self.xpa.get(param)
File "/Users/sosey/miniconda3/envs/jwstdev/lib/python3.6/site-packages/imexam-0.8.2.dev373-py3.6-macosx-10.7-x86_64.egg/imexam/xpa_wrap.py", line 14, in get
return super(XPA, self).get(param.encode('utf-8', 'strict')).decode()
File "wrappers/xpa.pyx", line 172, in xpa.xpa.get
File "wrappers/xpa.pyx", line 112, in xpa._get
xpa.XpaException: Unknown XPA Error : XPAGet returned 0!

The communication error arrises because when you are running the commands non-interactively, they are executed without the wait that the interactive shell injects. As long as an x11 server is already started and running, the 2-3 second sleep does seem to allow enough time for all the connections to establish. If the X11 also needs to startup, then it looks to require a few seconds more. I'm guessing this might be another factor you're running into. The specific error is reported because I have several methods to internally try and track changes to ds9 that the user makes through the DS9 gui itself, instead of the imexam api.  The first time inet initializes, it may also fail because ds9 will ask to approve incoming connections through a dialog window. Once that's approved, a second call should run smoothly.
I would like to avoid adding  too many delays into the regular calls because it will slow down the interactive users, but I think your sleep solution is good for non-interactive users. When I get the chance, I'll see if there's an XPA class I can wrap to check the establishment of the socket, the xpa itself has some delays incorporated for socket and data communication delays. I'm already checking for creating of the unix local socket filename, but that could be out of sync with the full communication socket establishment.
In the meantime, I'll clarify the documentation about when to use local, inet, and localhost connections, as well as sleeps for interactive users.
I'm not sure what your ultimate goal is. If you're coding a quicklook, adding in a wait so the user has time to look at the image before the processes are killed is good. If you only care about results from specific imexam commands on objects, you could use it without displaying to ds9 and just save the plots or images, which can be displayed in sequence or checked at will. If the source object locations are unknown ahead of time, you could add a photutil call to detect them and return the locations to imexam for plotting.
cheers,
megan

This thread has helped me, as I am having the same issues...I too have am having troubles getting
viewer = imexam.connect()
to work properly (eg. to display an image after starting DS9) without a time.sleep(2).      However, my goal is to use imexamine interactively, so I would be interested to know if there is a workaround for this.   Or did I miss any new documentation on these?
MacOS El Capitan, DS9 7.6, imexam v0.8.2

@prdurrell are you trying to use imexam interactively or calling it from a script?

I you could open a new issue and paste in the output you are seeing there with your use case it would be helpful, we can link these two issues if they turn out to have a similar root cause - thanks!


[TACHYON-1353] Wait for tachyonConf ports to be reset before tests

https://tachyon.atlassian.net/browse/TACHYON-1353

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7031/
Test PASSed.

This works because the LocalTachyonCluster will set the ports accordingly in TachyonConf after it starts the appropriate threads?

@gpang Yep, otherwise there's a race condition where the server is up so the tests start, but the TachyonConf hasn't been updated yet so the tests fail by trying to access the server on port 0.

Thanks for the fix!

LGTM

LGTM


Actually, even if I override a post, the body validation is still happaning, and I would like to override post to avoid body validation.

Not in Swagger Server, but you can do that by using Swagger Express Middleware directly.

Can I access it with my swagger object:
var swagger 	= require('swagger-server'),
I mean something like
`swagger.middleware.validateRequest(false)'
or this is not as simple?
Sorry for my dummy question, I'm a FE developer just I need to mock my backend for a while, and I choosed swagger-server but that body validation makes my mocking so difficult :(

That's a great idea!  Currently, Swagger Server abstracts the middleware away, so there's no way for you to directly access it.  But I like the idea of providing a way to turn middleware on/off, edit its settings, etc.


Composition API

I tryed to use vuese to generate docs for my functions, on setup composition API and I dont find a way to make it work.
My functions inside setup (and setup itself) was totally ignored. Am I missing something?

+1

and


Port to Java9

We need to move the code base to Java( to gain the standardised Flow features e.g.
See #18 fro example

See #135


Improve Text Styling

Current Behavior
Text is showing out of the box, which also looks very bad.
Desired Behavior
The text should be inside the box
Screenshots/Logs

Environment

Browser: Chrome
Host OS: Windows
Meshery Server Version: stable-v
Meshery Client Version: stable-v
Platform: Docker Kubernetes

Contributor Guides and Handbook

🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🖥 Contributing to Meshery UI
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

@kumarankit999 assign this to me

@kumarankit999 Can I work on this ?

@kumarankit999  , this is related to meshery.io website 😅
@Chadha93 will you please redirect this issue to meshery.io repo?

looks like a text-wrapping issue. I would be happy to work on this. @leecalcote , can you please assign this to me?


Port akka streams documentation

The main index that serves as a starting point / guideline.
http://doc.akka.io/docs/akka/2.4.4/scala/stream/index.html
Ill be working on this. Ill create a PR for the some of the hooks in the main index page. Once thats done. Anyone is welcome to pick a subject to port and contribute to the overall process.
Post in here if you want to take a chunk of the work. And let us know which part your taking.

Check https://github.com/akkadotnet/akka.net/pull/1935 for figuring out how the JVM api maps to our .NET port.
Its important that any JVM specific implementations are correctly translated to the port in Akka.NET.

Here follows an outline of why some subject are not ported. Or perhaps warrant some extra attention.
Not ported: [Interoperation with other Reactive Streams implementations]
Why: There are no other implementations of reactive streams in .NET space, and Akka.NET streams probably won't interop with JVM implementations just yet.
Misc: [Reactive Tweets]
Remarks: Not sure if there is a feasible .NET twitter API available to reproduce this sample. Investigate once we get to porting this section.
Misc: [Graph cycles, liveness and deadlocks]
Remarks: There is currently a known issue with the deadlock section in that subject. ref https://github.com/akkadotnet/akka.net/pull/1929
Not Ported: [Working with streamin IO] -> [Streaming TCP]
Why: Akka.IO is not ready to be integrated with the streaming api just yet. No sense in documenting something that does not work 'yet'.

@Silv3rcircl3 is working on [Basics and working with Flows]

I also take [Working with Graphs]

and [Modularity, Composition and Hierarchy]

Taking  [Buffers and working with rate] and [Custom stream processing]

[Integration] and [Error handling]

[Working with streaming IO] and [Pipelining and Parallelism]

[Testing streams] and [Overview of built-in stages and their semantics]

[Cookbook]

Reactive tweets: This lib seems promising enough to base the reactive tweets sample on.
https://github.com/linvi/tweetinvi

@danthar I created a simple demo project for this.
https://github.com/Silv3rcircl3/Akka.Net-Streams-reactive-tweets

@Silv3rcircl3 Nice. Would you mind writing the Reactive Tweets chapter that goes with it? I feel you would better suited to write that chapter then me. Since you have made the sample ;)

Custom stream processing text PR is waiting.

Im closing this issue since all subjects have been ported.


DatagramPacket.recipient() of NioDatagramChannel doesn't return the actual  destination IP (multicast address)

Expected behavior
get the actual multicast address like : <IP_ADDRESS>
Actual behavior
get the app is bound to like: <IP_ADDRESS>
Steps to reproduce
--
Minimal yet complete reproducer code (or URL to code)
...
private class MulticastHandler extends SimpleChannelInboundHandler {
@Override
protected void channelRead0(ChannelHandlerContext ctx, DatagramPacket msg) throws Exception {
String destinationIp = msg.recipient().getAddress().getHostAddress();
...
Netty version
4.1.53 Final
JVM version (e.g. java -version)
1.8
OS version (e.g. uname -a)
windows 10

We only return what is retuned by the OS / JDK. There is nothing we can do here.

We only return what is retuned by the OS / JDK. There is nothing we can do here.


Classes loaded by inconsistent loaders (visible only in test)

This test from README.md fails if it's run by TestSamples from COVERAGE.md:
$ juggle -j build/libs/testLib.jar -r com.angellane.juggle.testinput.lib.Lib -a package
public static com.angellane.juggle.testinput.lib.Lib com.angellane.juggle.testinput.lib.Lib.libFactory()
com.angellane.juggle.testinput.lib.Lib.<init>()
$

Presumably this is related to the way TestSamples invokes main() multiple times in the same JVM process, but I'm not entirely sure what's happening.
Symptoms are that the test fails, having emitted no output whatsoever.

I've also hit upon this issue while writing tests for issue #43. After fixing, check for disabled tests in the .md files.


Update GitHub issue and pull request templates to reflect the current development workflow details

Describe the Task
Some of the details in the GitHub issue and pull request templates are out of sync with the current development workflow. Update the contents of them to make them accurate.
Use the MET issue as a guide.
Time Estimate
1 hour
Sub-Issues
Consider breaking the task down into sub-issues.
None needed
Relevant Deadlines
List relevant project deadlines here or state NONE.
Funding Source
2793521
Define the Metadata
Assignee

[x] Select engineer(s) or no engineer required
[ ] Select scientist(s) or no scientist required

Labels

[x] Select component(s)
[x] Select priority
[x] Select requestor(s)

Projects and Milestone

[x] Select Repository and/or Organization level Project(s) or add alert: NEED CYCLE ASSIGNMENT label
[x] Select Milestone as the next official version or Future Versions

Define Related Issue(s)
Consider the impact to the other METplus components.

[x] METplus, MET, METdataio, METviewer, METexpress, METcalcpy, METplotpy

Task Checklist
See the METplus Workflow for details.

[ ] Complete the issue definition above, including the Time Estimate and Funding Source.
[ ] Fork this repository or create a branch of development.
Branch name: feature_<Issue Number>_<Description>
[ ] Complete the development and test your changes.
[ ] Add/update log messages for easier debugging.
[ ] Add/update unit tests.
[ ] Add/update documentation.
[ ] Push local changes to GitHub.
[ ] Submit a pull request to merge into development.
Pull request: feature <Issue Number> <Description>
[ ] Define the pull request metadata, as permissions allow.
Select: Reviewer(s) and Development issues
Select: Repository level development cycle Project for the next official release
Select: Milestone as the next official version
[ ] Iterate until the reviewer(s) accept and merge your changes.
[ ] Delete your fork or branch.
[ ] Close this issue.

Closing - this work was completed with PR #157


Knowledge Enhancements

On the assistant editor page, we need a knowledge section. This would behave like chatGPT - you add files and then theyre available as a knowledge set whenever you use this assistant. Just get it working locally first. Let’s deal with how it gets saved to the cloud and shared later, but keep it in mind. This is certainly the biggest piece of work as it is more or less new functionality.
Also, with knowledge deeply integrated with the app, we should drop the knowledge tool from the catalog. It is redundant and doesnt work properly. related: https://github.com/gptscript-ai/desktop/issues/235

Tested with latest build from electron - 97e615c58
Ability too knowledge files when creating assistants in now supported.
Issues found when testing this feature is logged as separate issues.
I am still able to add knowledge tool from "tool catalog" page when editing assistants.

Reopening this issue to remove knowledge from "tool catalog".

Hmm, that is still in the search site... @g-linville any idea how to remove that from tool-site?

We are reworking the catalog in this PR: https://github.com/gptscript-ai/desktop/pull/329
That will drop a bunch of entries from the featured catalog page, including knowledge.
The old versions will still be availabe in the tools site. I do not care about that for now. Open a separate issue for that.
I'm going to move this back to testing. You can verify the absence of the knowledge tool from that catalogs when that pr gets meged

Tested with electron build - 91bd0a52d
knowledge tool is not presented in the featured catalog page anymore. Logged
https://github.com/gptscript-ai/desktop/issues/393 for having to remove knowledge from tool site.


Making dialyzer happy

Hello there !
I was just checking if you need an extra hand with this one since the last change was a week ago.
Let me know !

Thanks for the reminder, let me integrate your comments and merge this...


Messages from Discord to Telegram doesn't work if they contain one *

Two * works (like this)

This appears to be due to Telegram's markdown parser not accepting a single *. Not sure how to fix this...

Possible workaround is escaping all markdown. Markdown is not essential if it means that data is randomly lost.

Fixed in commit b0ac12a


Having a checkbox beside each item in the Wikidata schema window

Is your feature request related to a problem or area of OpenRefine? Please describe.
A lot of the time, I will want to push to wikidata different parts of my dataset (i.e. row). Of course, you can delete and add back any declaration in the WD schema pane, but it would be VERY handy to be able to just « desactivate » a statement for one data transfer (or more). Having also the ability to desactivate a quantifier or a reference would be very good.
Describe the solution you'd like
For each declaration (label, desc, alias, statement, qualifier in statement, reference in statement, having a checkbox, whose value would be saved with the schema (export schema).
I could also be nice if the disabled items could be in a sort of grey or dim state.
Go see the screenshot below, I added the checkbox in the interface in one way I think would work.
Describe alternatives you've considered
Doing a lot of import/export of schema.json, and some editing/merging sometimes.
Additional context

I understand your use case, but I would think twice before adding that:

This is effectively a redundant feature, so it is likely to be confusing for users who haven't been through the same thought process as you have;
We will need space on statements to add more settings about them (add support for deleting existing statements on items, configuring the way added statements are matched with existing statements on the items) so this is going to become quite crowded.

I understand your use case, but I would think twice before adding that:

This is effectively a redundant feature, so it is likely to be confusing for users who haven't been through the same thought process as you have;

I'm not sure where the redundancy is here: it's really to make something more practical.

We will need space on statements to add more settings about them (add support for deleting existing statements on items, configuring the way added statements are matched with existing statements on the items) so this is going to become quite crowded.

Just having a checkbox (has shown in the screenshot) really take little place. And, in the logic of push data, this checkbox also opens the possibility of having a « calculated » value, something which would be very good with also being able to modify or delete statements.

I'm not sure where the redundancy is here: it's really to make something more practical.

It is redundant with the delete button for each statement.

Just having a checkbox (has shown in the screenshot) really take little place.

The meaning of that checkbox might be obvious to you, because you added it yourself, but for others we need a label or at least a visual clue about what this does - and we need to make it clear what the difference is with the delete button.

this checkbox also opens the possibility of having a « calculated » value

You can already do this: just blank the cells where you don't want a value to be added.
Perhaps you could implement this checkbox for yourself - I believe you could make an OpenRefine extension for it (which would patch the Wikidata extension in JS directly). This way people could add this checkbox on their own!

Perhaps you could implement this checkbox for yourself - I believe you could make an OpenRefine extension for it (which would patch the Wikidata extension in JS directly). This way people could add this checkbox on their own!

That what what I thought first when I saw your resistance in the first reply. Got to love the flexibility.
But, let's go further into the details to see if this can benefit most. Let's say I have a table FilmsActeurs, which is actually all the distribution (actors of a movie, P161). In that table, I can push thu 3 axis: 1) obviously, [ « a film » « P161 distribution » « an actor » ], but also 2) [ « an actor » « P106 occupation » « Q10800557 acteur de cinéma » ] and, if you have the data, 3) [ « a fictional character » and many properties, like « instance of P31 », « gender P21 », « présent dans l'œuvre P1441 »,
Note that the extra data mentionned in 3) also enables [ « a film » « P161 distribution » « an actor » « QUANTIFIER P453 rôle » « a fictional character » ], which is just an extension of 1).
OpenRefine is great in that all this can be done in one single operation on new data. That's because with new data, you have zero risk of creating duplicate data or contradictory data. When you push data in entities that already exist, for many reasons, it is wise to query the current data already on WD, check with you data, and push some of your data, or choose to keep the current data and not push anything.
Having a checkbox enable easy and fast « little pushing », where you activate or desactivate some of the WD schema elements. I'm sure if push little by little was easier, people would do it more.

I'm not sure where the redundancy is here: it's really to make something more practical.

It is redundant with the delete button for each statement.

Delete is a complete different thing in the way that it forces you to recreate the statement that can be quite complex.

Just having a checkbox (has shown in the screenshot) really take little place.

The meaning of that checkbox might be obvious to you, because you added it yourself, but for others we need a label or at least a visual clue about what this does - and we need to make it clear what the difference is with the delete button.

Of course, text could be added beside the checkbox (activate?), just like there is text for the trashcan (delete), and the greying of inactivated portion of the schema would make obvious interface clues. And I agree with you that there is a big need for a lot of features in that portion of the interface in the future. But I believe this activating is also a needed feature.

this checkbox also opens the possibility of having a « calculated » value

You can already do this: just blank the cells where you don't want a value to be added.

This answer is not very helpful. You might need that data, deleting it just because the schema feature works that way is not friendly. Beside, this calculation feature would be much more far reaching then just a « value != null », it could evaluate with data from the full cells[…] spectrum…
Let's see what other people see here. Thank you for your input, Antonin.

When you push data in entities that already exist, for many reasons, it is wise to query the current data already on WD, check with you data, and push some of your data, or choose to keep the current data and not push anything.

I totally agree we need to improve the workflows around this, but I am not sure such a checkbox would be the best way. I would prefer giving users more control about how statement matching is done, letting them choose between:

do not add the statement if there is already a statement with that property (regardless of its value)
do not add the statement if there is already a more precise value than the value we want to upload (for instance, do not add "instance of" "building" if there is already an "instance of" "castle")
do not add the statement if there is already a statement with the same property and value (similar to what QuickStatement does)
the current behaviour, taking into account qualifiers
and possibly other settings.

As a user I would find that more helpful than the ability to disable a statement.

When you push data in entities that already exist, for many reasons, it is wise to query the current data already on WD, check with you data, and push some of your data, or choose to keep the current data and not push anything.

I totally agree we need to improve the workflows around this, but I am not sure such a checkbox would be the best way. I would prefer giving users more control about how statement matching is done, letting them choose between:

do not add the statement if there is already a statement with that property (regardless of its value)
do not add the statement if there is already a more precise value than the value we want to upload (for instance, do not add "instance of" "building" if there is already an "instance of" "castle")
do not add the statement if there is already a statement with the same property and value (similar to what QuickStatement does)
the current behaviour, taking into account qualifiers

and possibly other settings.
As a user I would find that more helpful than the ability to disable a statement.

Of course, I, as a user, would also prefer an enhanced create statement than this little checkbox functionality. I would also like much more to have the possibility to modify an existing statement, or even to delete an existing statement.
The added functionality to the creation of statement would make the schema pane contains much more information, and that would make a checkbox to enable/disable those schema information even more practical, as deleting that information would be more complicated to recreate.
Thanks again for your input. Regards.


Sort flags in arrays to make code changes and maintenance easier and add disablePrompt

required by #345

:tada: This issue has been resolved in version 0.27.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Applications: dev console

If possible need to add dev console for applications

run wallet with --remote-debugging-port=port
using chrome-based browser connect to http://localhost:port/
Debug


V2

Hey there 👋,
Really good looking changes in here, I just wanted to inquire about when v2 is going to be available via NPM?
Was that just an oversight, or is three a bigger reason behind the delay?


Context changes during message processing after calling Persistence API

For example:
public async Task ReceiveAsync(IContext context)
        {
            switch (context.Message)
            {
                case Multiply msg:
                    // context.Message is Multiply
                    await Persistence.PersistEventAsync(new Multiplied { Amount = msg.Amount });
                    // context.Message is now PersistedEvent
                    break;
            }
        }

It has also been reported that context.Sender changes too.

Presumably https://github.com/AsynkronIT/protoactor-dotnet/blob/dev/src/Proto.Persistence/Persistence.cs#L48 is what causes the context to change

Same goes for PersistSnapshotAsync too I guess?

In Go, the persistence plugin does not go through the ReceiveAsync method, it simply picks the current behavior and calls that. meaning the message being processed will not be the same as the Message property. (which is not completely great either)
What we could do, is to let the persistence provider read the current (raw) message, and then re-set it after the persist* call have completed.
I also saw we have a small oddity in ReceiveAsync where it sets the current Message through the setter of that property, while the getter property unwraps potential MessageEnvelopes.
Imo, we should get rid of the setter and use the raw _message field instead as that is agnostic to raw or envelope wrapped messages.

How about adding an UpdateState method onto the IPersistentActor interface, then just calling this:
https://github.com/AsynkronIT/protoactor-dotnet/compare/dev...tomliversidge:persistence_refactor?expand=1
Keeps it simple :)

I'll have a look at this in the weekend :)

Now we have two things to solve this issue https://github.com/AsynkronIT/protoactor-dotnet/pull/175


Omega large camera update

About the PR

Created full camera's net, placed routers, all general cameras, all service cameras and some old cameras was improve.
Also improve Armory of Security. All added cameras have fine names, names with cardinal directions are excluded
Media
Added missed camera's routers

Fixed bug of empty armory storage and added portable flasher

Added missed command cameras

Added camera for QM room and salvagers

Added camera of morgue

Added all service cameras

Added all general cameras

New subnets

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl: 778b

add: Added 36 cameras with their routers to Omega map!
fix: Fixed bug of empty armory storage on Omega map!

map changes don't usually have changelogs, and, if they do, are usually just a general "Small updates to [MAP]."


Fix example code support for ZMQHUB interface

Issues:
The server thread is only started if server_address == 255 and the client thread is only started if server_address != 255. This makes it impossible to run the client and specify that it should connect to a server with address 255 (for example -z localhost -a 1 -r 255). While -r 255 is the example was intended to configure the client to connect to the server, it instead started the server thread.
The address of the zmqhub interface was always set to 0. With the zmqproxy running, and the client and server started in separate processes, the server didn't recognize messages destined to it, and the client didn't recognize messages from itself or to the server.
Solutions:
Remove the checks for server_address == 255 and server_address != 255, and replace them with new parameters the directly specify if the server thread or the client thread should be started.
Pass the local CSP address (set with -a) to csp_zmqhub_init. csp_zmqhub_init_w_name_endpoints_rxfilter sets the address of the interface.

Thanks for the feedback! All great points. I'll have those PRs up shortly.

They look great! Thanks!
But it seems you forgot to copy & paste the commit messages to the actual commit.  They are only on github AFAICS.

Done merging #468, #469, #470. Thank you!  I'm closing this but if you still need something from this PR please let me know.


Rfc coding style

This pull request is now managed with CodeReviewHub. Refresh.

@dawagner do you prefer this style ?

@krocard I like the "binpack" part but not the "align successive assignments" part.

Ok, @tcahuzax what is your opinion.

Got feedback from team.

We might enable wrap parameter declaration soon.


[Runtime] Fix race condition in protocol conformance lookups that caused false negatives.

In the uncached case, we'd scan conformances, cache them, then re-query the cache. This worked fine when the cache always grew, but now we clear the cache when loading new Swift images into the process. If that happens between the scan and the re-query, we lose the entry and return a false negative.
Instead, track what we've found in the scan in a separate local table, then query that after completing the scan.
While we're in there, fix a bug in TypeLookupError where operator= accidentally copied this->Context instead of other.Context. This caused the runtime to crash when trying to print error messages due to the false negative.
Add a no-parameter constructor to TypeLookupErrorOr<> to distinguish the case where it's being initialized with nothing from the case where it's being initialized with nullptr.
rdar://72865822

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - 3a2ea08d759d1beb1ad793bf0916c7a77ff5b4e9


[WIP] Merge connection packages

Proposed changes
This PR merges connection packages from autonomy repo and aea repo
Types of changes
What types of changes does your code introduce to agents-aea?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist
Put an x in the boxes that apply.

[x] I have read the CONTRIBUTING doc
[x] I am making a pull request against the develop branch (left side). Also you should start your branch off our develop.
[x] Lint and unit tests pass locally with my changes and CI passes too
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have checked that code coverage does not decrease.
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

FAILED tests/test_mail/test_base.py::test_outbox_put_message
This test seems nonsensical to me, but what's even more surprising is that it failed.
https://github.com/valory-xyz/open-aea/blob/95e0b7be7081bb92e0fac3cb9cfff6b55755e5c3/tests/test_mail/test_base.py#L194-L219


Change "Centers" to "Submissions"

In the HIPC Dashboard we are not currently using the concept of "Centers", with only 1 currently defined.
We would like to change "Centers" to represent the curated publications instead.
Note that under "Centers", there is a link to "78 Submissions".  The linked page displays the following columns:
Tier - all  Tier 1, we are not currently using this in HIPC
Description - This is the article title
Date - This is the date the data was prepared for upload, so all have the same date
Details - this is a link to the actual observations.
Sorting behavior - The page is initially sorted first by "Project".  There are currently two projects,

" Immune cell-type frequency response to vaccine exposure"
"Gene expression response to vaccine exposure"

if the page is sorted on the Description column, then the page is sorted alphabetically, and the projects are interspersed.  It is a little confusing.
Putting that aside for the moment, let's replace "Centers" on the top level menu with "Submissions, and jump directly to the Submissions page.
If possible, I will look at adding the complete reference to the Description, along with a linkout to the PMID.
It would be nice to change the date to the publication date rather than the submission date. I will investigate, as this would change what we put in the template.
So for Zhou, the immediate tasks are

Replace "Centers" on the top level menu with "Submissions", and jump directly to the Submissions page.
Remove the "Tiers" column from the Submissions page.

This page has since been renamed as "Studies".  All required changes were completed.


Avoid install fail

Description
Please include a summary of the change and which is fixed.

Fix dbg which fails

How has this been tested?
Please describe the tests that you ran to verify your changes.

[ ] release workflow

force push for build fix


Paket do not keeps versions locked for dependencies

Hi have following paket.dependencies file I set all 3 dependencies to be locked to specific version
source https://www.nuget.org/api/v2/
framework: net451
redirects: on
nuget Microsoft.Orleans.Core 1.1.1
nuget Microsoft.Orleans.CounterControl 1.1.1
nuget Microsoft.Orleans.OrleansRuntime 1.1.1
When paket.lock is created it looks like this:
Microsoft.Orleans.Core (1.1.1)
Newtonsoft.Json (>= 6.0.8)
Microsoft.Orleans.CounterControl (1.1.1)
Microsoft.Orleans.Core** (>= 1.1.1)**
Microsoft.Orleans.OrleansRuntime** (>= 1.1.1)**
Microsoft.Orleans.OrleansRuntime (1.1.1)
Microsoft.Orleans.Core** (>= 1.1.1)**
All dependencies are more permissive that is specified. I understand that these dependencies ranges are coming from nugets but I think they should be overridden in lock file. This will allow us to force users to use specific version of  transitive dependencies

The indented lines are only showing the restrictions from the package nuspec. They are combined with the stuff that you specify in the dependencies file. As a result you see that we select the correct versions.

In other words: indented lines are only for information. They don't represent what we select

Ok I see that when I create nuget packages the dependencies from paket.dependencies are not used in nuspec

Or maybe I don't understand what you are describing.

I will try again :)
I created some nuget let's call it Common.dll, that has dependency on 3 Microsoft.Orleans nugets of specific version, I checked the nuspec file and it looks like all dependencies there are correct, here a sample:
  <dependency id="Microsoft.Orleans.OrleansRuntime" version="1.1.1" />
  <dependency id="Microsoft.Orleans.CounterControl" version="1.1.1" />
  <dependency id="Microsoft.Orleans.Core" version="1.1.1" />

But when I use the Common.dll nuget in my other project I don't get 1.1.1 versions but get 1.1.2 version of Orleans dependencies.

Ok I see the issue version="1.1.1" should be specified as version="[1.1.1]"

means >= 1.1.1

Now i don't understand

sorr reformatted

Yes but in paket i wrote it as specific version

are you sure? Can I see a repro?

wait a minute. I think I can reproduce

You can use the samples I used in first post.

mhm. sorry I can't reproduce. https://github.com/fsprojects/Paket/commit/050bafb1b1ec55ce8356a9960fe7eb315d15a40f shows correct behaviour.

Hi I am atached scenario that reproduce it, rename file to zip
ConsoleApplication1.txt

If I do pack I get:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
  <metadata>
    <id>ConsoleApplication1</id>
    <version><IP_ADDRESS></version>
    <title>ConsoleApplication1</title>
    <authors></authors>
    <description></description>
    <dependencies>
      <dependency id="Microsoft.Orleans.OrleansRuntime" version="[1.1.1]" />
      <dependency id="Microsoft.Orleans.CounterControl" version="[1.1.1]" />
      <dependency id="Microsoft.Orleans.Core" version="[1.1.1]" />
    </dependencies>
  </metadata>
</package>

I use following command to pack: paket pack output nugets minimum-from-lock-file buildplatform x64

minimum-from-lock-file

Why did youn say that before? ;-)

From my point of view every one should use minimum-from-lock-file exclusively :)

nope, that's only one of possible workflows.

anyways will add a test and a fix for that

Thank you

please try latest

Works perfect thank you


fetch event stream by range

Is there any way to fetch event stream by a start and end range? I only see APIs to fetch events up till a certain version

@jinhong- You can use IDocumentSession.Events.QueryAllRawEvents() to run Linq queries against the raw event data that will let you query on any element of the event store metadata. That should get you what you want here.

Ah okay thanks!


Can I use this with a config file?

I have a TypeScript file where I run a Postman collection via Newman. I already generate an Allure report and a json report (which doesn't meet my needs), but I need some json so that I can report to another API. I saw the output produced by this package is exactly what I am looking for, but I don't know how to handle its parameters from the code.
I have this code to generate 3 reports (Allure, traditional json and ctrf-json) but I want to configure the output file to be inside the api_reports folder.
import { NewmanRunOptions, run } from 'newman';

const options: NewmanRunOptions = {
    collection,
    reporters: ['allure', 'json', 'ctrf-json'],
    reporter: {
        ctrfJson: {export: 'api_reports/api_report.json'},
    },
    environment,
    delayRequest: 1000,
};

I see there is no documentation for config files, only CLI options. Does this support in-code configuration?
If so, I might suggest adding that documentation to the README
BTW: I have already tried:
    reporter: {
        json: {export: 'api_reports/api_report.json'},
        ctrfJson: {export: 'api_reports/api_report.json'},
    },

    reporter: {
        json: {export: 'api_reports/api_report.json'},
        "ctrf-json": {"output-file": 'api_reports/api_report_ctrf.json'}
    },

and many other combination with no success

Thanks for reporting, published with instructions in v0.0.7

Worked like a charm! Thanks!


Webapp snapshot and undelete commands with mock tests

Adds webapp snapshot commands. Adds mock tests for snapshots and deleted webapp restore commands since live testing is not possible due to limitations in how the features work.

This checklist is used to make sure that common guidelines for a pull request are followed.

[X] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[X] I adhere to the Command Guidelines.

@tjprescott is this the error that's failing the CI?
************* Module azure.cli.command_modules.appservice._help
C:  1, 0: Too many lines in module (1019/1000) (too-many-lines)
How should I fix this? It looks like the help messages for the new commands pushed the help file over the line limit.

@Nking92 you can simply put this near the top of the file
# pylint: disable=too-many-lines

I'm ready to merge if it looks good to you. No hard deadline for this one, but would like to get it done as soon as we can.


[Question] publishing the package

Hi,
Just one question - when you published your package, did you use npm publish? I asked because I want to publish a package myself, and it also has index.d.ts under the project root, but after publishing the package, I didn't see index.d.ts anywhere under node_modules/myPackage/ after I pulled my published package from another project. So, when you published the package after I added the index.d.ts, did you do anything special? Could you share your publish script with me?
Thanks a lot!

Hi there! I'm not doing anything special to publish the package, actually. I just use npm publish.
If you check this package's package.json, there is a npm run build script that I run as a prepublish script. This runs a few different builds with Babel and WebPack. Once the builds are done and tests pass, the files are uploaded to npm.
There is also an npmignore file, which specifies to npm if there are any files that should not be uploaded. This is useful for redundant files like CONTRIBUTING.md or the tests. These files aren't really used by consumers of the package, so npm doesn't upload them.


MSID: 96507 Version: 1 DOI: 10.1101/2<IP_ADDRESS>8827

MSID: 96507
Version: 1
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>8827
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=96507
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>8827

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/96507v1
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>8827
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/96507/v1/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!


TokenTextField height is not updated

TextField height is not updated when

Add 5 or 6 tokens
Click done
Focus textfield
Remove all tokens

In this case, textfield height should be min value(line count 1), but it looks like multiline textfield.
http://prntscr.com/hn1zgl
it should be as following screenshot:
http://prntscr.com/hn1zsn

Hi @hannesoud
I am trying to replicate the issue, but couldn't. Do you have the latest code?


⚠ Bofrost.at has degraded performance

In c621a24, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1945 ms

Resolved: Bofrost.at performance has improved in a2426e7.


trino support

Hi do you plan on adding trino support ?
or would it be possible to still use this with just mocking the refs/sources correctly

Hi, I am using trino too, Seems mocking is not working correctly. (source, ref both)

Hi there, we are doing a clean-up of old/inactive Issues.
Happy to open again if there is a need for that.
Thank you for collaboration!


ERRORs on Metamasie project using FB v0.13.0a1

https://github.com/google/fonts/pull/8208#issuecomment-2376948957

All of them have "'Font' object is not subscriptable" error messages. Here's a better screenshot:

The Check IDs are googlefonts/cjk_vertical_metrics_regressions, googlefonts/vertical_metrics_regressions, and googlefonts/axes_match, right? The middle one is the only one that might correspond to some undiscovered issue with the font, but it's a static one without any CJK, so those two seem tangential.


[docs] Prompt tuning for CLM

Move the prompt tuning for clm notebook to the docs.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


The "value" property on radio buttons isn't updated

I'm submitting a ...  (check one with "x")
[ x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request

Current behavior
I'm using bootstrap
When I query a radio input element, for example: myRadioInput and check it's value like myRadioInput.value I get "on" instead of the actual value from "option.value"
Expected behavior
I expect that myRadioInput.value will be the option.value I set on the options array.
Minimal reproduction of the problem with instructions
In the following link:

Open the console
Click on the button
See that instead of "male" it says "on"

https://stackblitz.com/edit/ngx-formly-ui-bootstrap-radio-value-bug
What is the motivation / use case for changing the behavior?
For testing purposes, I need to be able to click on a certain radio input to manually select it.
that's why it's important to be able to compare the radio.value to the manually selected value.
Please tell us about your environment:

windows 10
yarn
Formly + formly-bootstrap versions: 4.7.2

Angular version: 6.1.0

Browser: [ Chrome 68.0.3440.106  ]

Language: [TypeScript 2.9 ]

Node (for AoT issues): node --version =

it's an issue with angular reactive forms, I've tried with [formControl] directive for checkGoodValue radio
and I've got the same result.
see https://stackblitz.com/edit/ngx-formly-ui-bootstrap-radio-value-bug-qppiy8
I've got a workaround #1190 to make it work.

Thanks!

I opened up an issue on the Angular repo
https://github.com/angular/angular/issues/26037


TH1 raises kind instead of returning

On line 108 of TH1.py, kind raises COUNT instead of returning it, leading to the error:
----> 1 hasattr(a, 'kind')

/usr/lib/python3.9/site-packages/uproot/behaviors/TH1.py in kind(self)
    106         ``"MEAN"`` for profile plots (TProfile*).
    107         """
--> 108         raise "COUNT"
    109
    110     def values(self, flow=False):

TypeError: exceptions must derive from BaseException

Thanks @beojan and @henryiii! That's a bizarre mistake. I'll merge the PR as soon as the tests pass.

My standard reminder: MyPy catches things like this. ;)

Now I see how that happened. Most of the other methods on the abstract class raise NotImplementedError, but this one should return a value. Or, as in @henryiii's fix, it now raises NotImplementedError on the abstract class but returns "COUNT" for each concrete class. That's less prone to error (e.g. if a new concrete class is ever added, though that's unlikely since a new TH1 descendent would have to be added to ROOT, and any new histogram types in ROOT will likely be in the ROOT 7 class hierarchy).


installation issue

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/jwt-crackerp - Not found
npm ERR! 404
npm ERR! 404  'jwt-crackerp@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2022-02-03T15_53_29_869Z-debug.log

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/jwt-craker - Not
found
npm ERR! 404
npm ERR! 404  @.***' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name
yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/hack3r/.npm/_logs/2022-02-03T16_08_55_414Z-debug.log
On Thu, Feb 3, 2022 at 9:31 PM Luciano Mammino @.***>
wrote:

given the output i suppose you just run:
npm i jwt-crakerp
Rather than:
npm i jwt-craker
(note the extra p)
Can you try again with npm i -g jwt-craker and see if that makes a
difference?
Thanks
—
Reply to this email directly, view it on GitHub
https://github.com/lmammino/jwt-cracker/issues/17#issuecomment-1029140151,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASYLXUWWX4EAIKTQEYSBY73UZKRGDANCNFSM5NPKO5IA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

Just tested it and it runs for me. Are you behind some proxy?

ok thanks now its work properly


Fix: livenet_module - Removed dependency exclusions that break image builds

The livenet image optimization option is breaking image creation in RH8.4.
The package diffutils is missed in images without selinux, and cracklib-dicts is missed with and without selinux.
Removing both exclusions turns the "if self.selinux" block unnecessary.

Dear @thiagocardozo
Thanks a lot for this PR. I think this option should even be removed, and replaced by an "add custom parameters to packager" or something like that.
I let @pietersdavid have a look on this PR.

Dear @thiagocardozo
Thank you for you PR.
Maybe we can add the packages to exclude in a string array and add this array in the dnf command with the proper "--exclude"'s in order to have a cleaner code.

Hello @pietersdavid,
Sorry for my delay in answering. I agree with oxedions in that this "optimization" should become something parametrized.
Sure if we are to provide an exclusion list feature, we`ll have to remove those long static dnf lines in the code.

Dear @thiagocardozo
I think we can merge it as it, and improve it later, so fix is present in 1.5.0.
Are you ok to resolve your current conflict and update the PR ?

Ok, I miss time to do advanced devs.
@thiagocardozo could you also increase version number for diskless set tool, and then it will be ok.
(Do it in the version.conf file, and also at top of disklessset file as a comment).
Then I will be able to merge it this way, and we can improve it later.

Done.

Ok, thanks a lot. I solved the conflicts.


build v0.4.30

jaxlib 0.4.30
Destination channel: defaults
Links

PKG-6693
Upstream repository

Explanation of changes:

rebuilt old versioned feedstock at v0.4.30 from v0.4.35 (w/ cuda builds)

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_e6zhvp1y9g/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:67: invalid_url: https://jax.readthedocs.io/ : Not reachable: 403
===== Final Report: =====
0 Errors and 1 Warning were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_fe8m2dpck6/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:67: invalid_url: https://jax.readthedocs.io/ : Not reachable: 403
===== Final Report: =====
0 Errors and 1 Warning were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_54ef9vfeq4/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:67: invalid_url: https://jax.readthedocs.io/ : Not reachable: 403
===== Final Report: =====
0 Errors and 1 Warning were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_95qx5dztd7/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:67: invalid_url: https://jax.readthedocs.io/ : Not reachable: 403
===== Final Report: =====
0 Errors and 1 Warning were found


pycall error - No module named 'pycall

im trying to run these lines of code in PyCharm 2020.2.1 and Python 3.8.3:
call.py
Initiate an internal call to 100 and say
'hello world!' when the caller answers.
from pycall import CallFile, Call, Application
call = Call('SIP/100')
action = Application('Playback', 'hello-world')
c = CallFile(call, action)
c.spool()
i faced with this message error
C:\PythonProgram\pycall-master\tests>python call.py
Traceback (most recent call last):
File "call.py", line 4, in
from pycall import CallFile, Call, Applica
ModuleNotFoundError: No module named 'pycall'
Could you help me solving my problem?
thank you in advance

It sounds like you don't have Python setup properly on your computer. When you did the pip install pycall command to install the library, do you know where it installed?

Hi rdegges, thanks alot for your answer!
I have done the installation, but show me another message error.
C:\PythonProgram\CallTest>python call.py
Traceback (most recent call last):
File "call.py", line 1, in
from pycall import CallFile, Call, Application
File "C:\11-Programas\anaconda3\lib\site-packages\pycall_init_.py", line 8, in     from .callfile import CallFile
File "C:\11-Programas\anaconda3\lib\site-packages\pycall\callfile.py", line 7, in     from pwd import getpwnam
ModuleNotFoundError: No module named 'pwd'


enable jupyter test

##[error]The job running on agent NetCore-Public 89 ran longer than the maximum time of 60 minutes. For more information, see https://go.microsoft.com/fwlink/?linkid=2077134


Error: data.title is required

Whenever I attempt to create a dmg with the simplest command create-dmg Launcher.app it throws the error that data.title is required.
When specifying the --dmg-title=Launcher.dmg option, it will work, but creates a dmg file that does not have the specified name, but rather undefined undefined.dmg.

Does the Info.plist have a CFBundleDisplayName or CFBundleName key? create-dmg assumes it has a name.

That seems to be the problem indeed. The app I'm trying to create an installer for is a third-party launcher application, which doesn't have these values set. So I wasn't aware of these values.
Thanks for the quick reply!

I've improved the error message: https://github.com/sindresorhus/create-dmg/commit/7a1ea2ba131e676b6b357f208d1be7250cbee043


Remove GPG checks as they occasionally fail to contact the keyserver,…

… and we already verify the download by its checksum.

This shouldn't require any testing as a successful build means the change worked.


Correct order of returned columns of ResultSetIterator

The columns returned by ResultSetIterator.getColumnNames() were not in the same order as they appeared in the query projection.
To fix this the HashSet used to return the values was changed to a LinkedHashSet.

Thanks for the PR. It has been merged. Please close this


AAD MFA break brought forward?

There is currently a Note in the documentation on this page about Azure Active Directory authentication with MFA breaking on < v18.6 from December 2021. Can you confirm that behaviour change has not been brought forward to July 2021 as I'm seeing issues with MFA on 18.4 as of this week?  I'm seeing it widespread across 18.4 installations but it's not not present on machines running 18.7.
The error we receive after entering pw in the "Sign in to your account" window and authorising the MFA request when connecting to Azure Analysis Services with Azure AD with MFA authentication:
AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: 'cf710c6e-dfcc-4fa8-a093-d47294e44c66'.
The error does not occur when connecting to Azure SQL Databases.
Thanks
edit: re-included client id guid in error message

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 45daf2f0-bb22-338f-062b-a9fabcb71a92
Version Independent ID: b6e909fe-15d9-c1cf-c018-d4f6f36ff31f
Content: Download SQL Server Management Studio (SSMS) - SQL Server Management Studio (SSMS)
Content Source: docs/ssms/download-sql-server-management-studio-ssms.md
Product: sql
Technology: ssms
GitHub Login: @dzsquared
Microsoft Alias: drskwier

@nickbeagley the guid won't be  specific to you, it's the client id SSMS is using to authenticate with AAD.

#assign:dzsquared

#assign:dzsquared

@nickbeagley - the note is relative to the Azure SQL connections with AAD+MFA, I'm checking with the Azure Analysis Services group for any more information on their AAD+MFA connectivity.
Unfortunately, with SSMS 18.4 being out of support for over a year now, a fix in that version is unlikely.

Unfortunately, with SSMS 18.4 being out of support for over a year now, a fix in that version is unlikely.

Not after a fix, that's already clear -> upgrade to 18.9.1, just after confirmation of the cause of the problem that started this week. In trying to diagnose the issue we saw the Note on this documentation which seemed very related despite it not being Dec 2021 yet.

I've gotten confirmation that the current minimum requirement for the SSMS connectivity to Azure Analysis Services with AAD+MFA is 18.5.1.  Will adjust the note to make this clear, should go out within the day.
thanks!

#please-close


not able to run node app.js -p 3000

I'm using  Node version 5.11.1
Error stack :
Module.js:341
throw err;
^
Error: Cannot find module '../build/Release/pty.node'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:20:19)
at Object. (/home/pi/wetty/node_modules/pty.js/lib/pty.js:9:11)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)

Did you run npm install first?

Yes, I did wetty is working perfect in FreeBSD 10.3 but using linux gives
me this error following the same steps from the documentation
On Mon, Jun 13, 2016 at 10:57 AM, Imuli<EMAIL_ADDRESS>wrote:

Did you run npm install first?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/krishnasrinivas/wetty/issues/66#issuecomment-225606472,
or mute the thread
https://github.com/notifications/unsubscribe/AEIIdTIz3xPbgLfeeX2xAV8gRUQg4sVgks5qLW_TgaJpZM4Iz3cm
.

needed to recompile pty.js that fixed the issue.


Fix saving Geo Region h3Flat and h3FlatLength

Hi @yulia-bel nice work! I let some question, more than suggestions, let's try to clarify them and I'll be happy to proceed with this PR!
Thanks!


Ledger registration is not working.

The red dot is not disappearing even after successful registartion.
Tested in upgraded live app v 1.1.11(297) to 1.1.12(303)

Ledger registration is still not working on android 1.1.12(306) .Getting this error on android.

But it is working smoothly on ios.

Verified this issue on keeper app v 1.1.12(309)


Common test for (go) packages

wrong
k3d --version
k3d version 3.0.0
k3s version v1.18.6-k3s1 (default)

vs goo
k3d --version
k3d version 3-dev
k3s version v1.18.4-k3s1 (default)

by overlooking wrong
''
...
        -X github.com/rancher/k3d/version.Version=${version}
        -X github.com/rancher/k3d/version.K3sVersion=v${k3sVersion}
...
''

vs good
''
...
        -X github.com/rancher/k3d/v3/version.Version=${version}
        -X github.com/rancher/k3d/v3/version.K3sVersion=v${k3sVersion}
...
''

a common pattern in go version bumps when bumping major versions.
Derived from #117
Further inspiration (not sure, how fit): https://github.com/GoogleContainerTools/container-structure-test#command-tests

I have no idea how this relates to nixpkgs-review?

If you want some sort of linting than https://github.com/jtojnar/nixpkgs-hammering is maybe the better place for it.

Hm, I also don't remember the context properly 😂. Mayeb it was about a common --version test or so. But I guess the general discussion where tests should be specified determined it should generally not be this tool, but probably a test attribute.


Layout Containers -> Separators: Spacer

Doc: https://developer.apple.com/documentation/swiftui/spacer

Closed by #129


put ioBroker.minuvis V1.0.0 in stable

Forum: https://forum.iobroker.net/topic/33271/test-adapter-minuvis-v0-0-x
No Discovery necessary, only visualization
Thank you

Thank you


Client pop up option when idle

Is there a way for the client to open up/pop up when u get an idle notification while ur on other tabs/doing other things on ur pc/laptop? So you dont have to go to the bar below to open your client seperately
If there isn't would it be possible to add such a function to the client?
Thanks for reading this

There is "Request focus on notification" in "RuneLite" settings already.

Hey mate, I cannot find this option in the settings? Has it been renamed?

You should be searching "Runelite", not "Request".
https://github.com/runelite/runelite/wiki/RuneLite#request-focus-on-notification


skip ModifiedRolePlugin on admin changes

MODIFIED_ROLE_OR_SERVICE violations should not be reported if the user who performed the change was an administrator.

Codecov Report

Merging #493 into master will increase coverage by 0.12%.
The diff coverage is 83.33%.

@@             Coverage Diff              @@
##             master     #493      +/-   ##
============================================
+ Coverage     53.35%   53.47%   +0.12%
- Complexity      475      479       +4
============================================
  Files           131      131
  Lines          2935     2947      +12
  Branches        202      203       +1
============================================
+ Hits           1566     1576      +10
- Misses         1290     1292       +2
  Partials         79       79

Impacted Files
Coverage Δ
Complexity Δ

...in/unapproved/UnapprovedServicesAndRolePlugin.java
75% <100%> (+2.94%)
12 <2> (+3)
:arrow_up:

...ed/config/UnapprovedServicesAndRoleProperties.java
50% <50%> (ø)
4 <1> (+1)
:arrow_up:

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 c3a947a...8668ab1. Read the comment docs.

:+1:

👍


Decrease render time on initial load

Is your feature request related to a problem? Please describe.
On an initial load of the main landing page, a large amount of time is spent loading the logo within the header bar.
Describe the solution you'd like
Implement lazy loading for the OWL logo so that it scores higher on PageSpeed Insights
Additional context

Hey, can I work on this?

@inomag sure

Hi, @euanwm Can you check this. I am not able to run the project on my system to check the update LCP score.
https://github.com/euanwm/OpenWeightlifting/pull/251

Hey @inomag, not sure if you're still working on this but given that the image being loaded is using next/image I would recommend simply adding the priority attribute to the Image tag (see docs here). We don't want images above the fold being lazy loaded at all.
if you're not still working on it don't worry, I can throw up a PR for this later today

@rsbrowne - It's all yours buddyyyy.

Linked to #388
Closing


[JavaFX-Part2] Add in sample dialog box in example code

Current:

Problem:
The code does not echo the tree diagram as there are no dialog boxes in the scroll pane. For the students to also learn about Vbox, Labels and Image View, instead of doing it later in this tutorial, this part of the code can include a sample dialog box.
Proposed:
Add in a temporary sample dialog box with image view and text label.

@laney0808 Will it disrupts the incremental building of the chatbot GUI? If not, you can send a PR to add this to the guide.

@laney0808 Will it disrupts the incremental building of the chatbot GUI? If not, you can send a PR to add this to the guide.

Hi Prof! My proposed plan is to move the "add custom control" section in part 3, where the DialogBox is declared, into part 2 so it fits inside part 2. Later in part 3, we can incrementally add in the handleInput method. So yes, I believe this does not disrupt the incremental building.

Diffiulty met: as my system is MacOS, the screenshot of the mock up looks different from that of the original tutorial. Two solutions are possible: 1. ask anyone else in the team with Windows system to screenshot; 2. Change all screen shots to that on the MacOS system.

@laney0808 you can use the Mac screenshot for now. We can deal with it later.


NGINX BASIC AUTH
-------------------------------
None

LOADING TRAEFIK LOGS
-------------------------------

        Adding proxy logs...
         Filename: /opt/log/access.log | Read = yes
Found (1) proxy logs...

Yes, the name of the file is crowdsec but the traefic log is inside there, so yes

are the logs your consuming in Traefik format?

can you provide a sample of the logs?

can you provide a sample of the logs?

sure here is some lines if you want more just tell me
nal" "-" 0ms
<IP_ADDRESS> - - [09/Apr/2022:10:37:57 +0000] "GET /api/overview HTTP/1.1" 200 494 "-" "-" 20547 "api@internal" "-" 0ms
<IP_ADDRESS> - - [09/Apr/2022:10:37:57 +0000] "GET /api/http/routers?search=&status=&per_page=20&page=1 HTTP/1.1" 200 4699 "-" "-" 20548 "api@internal" "-" 0ms
<IP_ADDRESS> - - [09/Apr/2022:10:38:02 +0000] "GET /api/overview HTTP/1.1" 200 494 "-" "-" 20549 "api@internal" "-" 0ms
<IP_ADDRESS> - - [09/Apr/2022:10:38:02 +0000] "GET /api/http/routers?search=&status=&per_page=20&page=1 HTTP/1.1" 200 4699 "-" "-" 20550 "api@internal" "-" 0ms
<IP_ADDRESS> - - [09/Apr/2022:10:38:07 +0000] "GET /api/overview HTTP/1.1" 200 494 "-" "-" 20551 "api@internal" "-" 0ms
<IP_ADDRESS> - - [09/Apr/2022:10:38:07 +0000] "GET /api/http/routers?search=&status=&per_page=20&page=1 HTTP/1.1" 200 4699 "-" "-" 20552 "api@internal" "-" 0ms

I think that the first row is probably what is causing the problem. I recently added something to nginx logs to skip over that let me add that to the traefik function.

the first roll was because i copy wrong it just saw it

@xavier-hernandez do you have any idea ?

sorry, I'll look into this tomorrow 8/27 and should have a build for you

thx @xavier-hernandez
if you want anything else, text me on discord: vozdeouro
I can provide you more info and logs if you want

So I've updated the develop branch with a change. The change... by default goaccess reads X amount of rows from the log and if there is an error in the reading a line it stops processing the file. I've updated the TREAFIK version of the code to skip over this. I was able to read the sample log you gave me with no problem so maybe the issue was further down the log.
Also, looking at your screenshot other than pointing to the develop tag please turn off DEBUG.
So...
docker pull xavierh/goaccess-for-nginxproxymanager:develop
and DEBUG = FALSE
Let me know if that works.

It doesn't fix it
is there any other info that i can provide ?

i think i found the problem
it's trying to read other .log files that are in the folder
is there a way to you to implement a var that i can choose the name of the log file

Yes that was the problem
I force the traffic to save the logs with another name
but would be nice to be able to choose the log file name on the variables
Thanks for you time @xavier-hernandez

what are the names of the files? are they all in the same sub directory?

what are the names of the files? are they all in the same sub directory?

yes sure
traefik.log
authelia.log

are all 3 in traefik log format?

Just those
access.log
traefik.log

but before access.log
Was not traefic

I had a flag set up for NCSA_COMBINED so you can pass it a pattern. I've moved the same functionality to TRAEFIK. So now if you pull down develop again, add this parameter, and it should read all log files.
docker pull xavierh/goaccess-for-nginxproxymanager
DEBUG= FALSE
LOG_TYPE_FILE_PATTERN="*.log"

txh


task/hadoop: fix for multi cluster is_type() change

This is the only non-ceph task that uses custom roles, and it happens
to put a '.' as a delimiter between hadoop and the rest of the
role. Since the multi-cluster branch, is_type() is ceph-specific and
interprets this as a cluster named hadoop.
To avoid needing to change several branches in ceph-qa-suite, just use
a local is_hadoop_type() function instead of relying on the now
ceph-specific misc.is_type().
Fixes: http://tracker.ceph.com/issues/15862
Signed-off-by: Josh Durgin<EMAIL_ADDRESS>

Passed a manual wordcount run.

This looks good to me, thanks @jdurgin. (Not merging as the build isn't done, and it's good to get extra eyes on teuthology repo changes.)

:+1: