Add morph as option in Playground

At the moment the Playground only supports FIX but FIX is still an early prototyp.
It would be great if the playground also would support Metamorph (Morph) so that the playground could be an immediate practical helpful tool.
In the UI  the option MORPH or FIX could be set as different tabs.
Funcational Review: @TobiasNx
Code Review: @fsteeg

Deployed to http://test.lobid.org/playground/

It seems to work, nice!
While trying it out two things occurred to me:

While I selected the morph tab but did not change the fix command to morph in the flux I processed. While the output was the fix output what is technically right but  my head did not think about it and I was at first puzzled why this did not work. A warning would be nice if the selected tab has no corresponding command in the flux. e.g. I select the morph tab but my flux has no morph command. A warning outputs  something like: Flux does not use selected morph. Either you could introduce this in this branch or open another ticket.

In the Flux no spacing is allowed between the pipe |. If I insert a space between a flux function and the pipe. Following error returns: ERROR: Response from Server with Status-Code "500" and Status-Text "Server Error" Using flux outside of the playground spacing is allowed. This should be another ticket.

Redeployed to http://test.lobid.org/playground/

While I selected the morph tab but did not change the fix command to morph in the flux I processed. While the output was the fix output what is technically right but  my head did not think about it and I was at first puzzled why this did not work. A warning would be nice if the selected tab has no corresponding command in the flux. e.g. I select the morph tab but my flux has no morph command. A warning outputs  something like: Flux does not use selected morph. Either you could introduce this in this branch or open another ticket.

You'll get a warning now if the selected editor is not in the flux.

In the Flux no spacing is allowed between the pipe |. If I insert a space between a flux function and the pipe. Following error returns: ERROR: Response from Server with Status-Code "500" and Status-Text "Server Error" Using flux outside of the playground spacing is allowed. This should be another ticket.

Please check if everything works as expected now.

+1 both works now! Great


Tobin pipe barrier vus

An update to existing pipeline barrier validation along with a couple new checks and tests.

Really not happy with the SetUnexpectedError. Can we get a subpass self-dependency declared in those tests so they aren't doing multiple things wrong?

Included CL in #1945 to clean-up InvalidBarriers test.


MySQL backend + SQLAlchemy limited to 255 char url targets

Creating the target column in the tasks db in the following way
target = Column(Text(), nullable=False) Text()
Creates.
| target                 | varchar(255)                                                                                | NO   |     | NULL    |                |
With no arg sets the max url len to 255 at least for me with MySQL as the bankend db. Can we set this to some sane value, as I've had quite a few urls passed in url tasks truncated as they are longer than 255 chars.  Maybe something like 2083 (which I think is the limit still allowed by IE) or something bigger like 4096 as many browsers have no limit.

Actually this seems to not be your issue. Seems in the accuvant fork db migration script is the issue.


Move AppBuilder to netstandard2.0 library

During the PCL and netstandard1.x eras certain APIs were only available when targeting "full" runtimes (.NET 4.x, .NET Core, Xamarin.Android, Xamarin.iOS). So we've had those in shared code and compiled them into libraries targeting those "full" runtimes while having AppBuilderBase in our PCL/netstandard1.1/netstandard1.3 library. That continued for a while, so we now have several #if blocks in that shared code. We should replace those #ifs with IsOSPlatform checks before moving AppBuilder to netstandard2.0.

I already did it for my android/ios sdk PR locally, need to cleanup and push to a new PR

I already did it for my android/ios sdk PR locally, need to cleanup and push to a new PR


🚀 Upcoming 1.0 release

requests-cache has been around since 2012, but still has 0.x version numbers. I think it would be reasonable to finally give this a major version bump to 1.0 sometime in the near future, so I'm making this issue to track what that should ideally include. Please comment if anyone else has thoughts on this.
A beta build is available for testing on PyPI, which can be installed with:
pip install -U --pre requests-cache

Features
Update: See a complete list of changes here. Feedback would be appreciated!
General Project Stuff

Thorough documentation for both users and developers
Thorough test coverage with both unit tests and backend integration tests

Stable API
After a 1.0 release, I would like to aim for maintaining backwards-compatibility for all existing features until another major version bump, consistent with semantic versioning. So if there are any backwards-incompatible changes needed to support a new feature, now would be the time to do it!
(Mostly) complete HTTP header-based caching

The most important headers are now supported, including a subset of Cache-Control directives, ETag, and others.
Additional headers and behaviors that are the most likely to be useful have been added under the cache-control issue label.
Some behaviors specified by RFC 7234 and related RFCs might add significant complexity to this library without adding much value for users, so I do not plan on implementing some of these unless a solid use case for them comes up.

Efficient TTL/cache eviction

For some use cases, remove_expired_responses() is sufficient for cleaning up the cache.
In a high-traffic production environment, keeping the cache size down can be important, and the performance of remove_expired_responses() can be a major pain point.
TTL integration for the backends that natively support it (Redis, MongoDB, and DynamoDB) would be a big improvement.
This is also important for SQLite, since it's the default backend, and some users accumulate very large caches with it. This can be improved with some modified serialization, indexing, and moving more of the logic from python to SQL.

Update: I was originally planning on another minor release (0.10), but since I'm getting fairly close to finishing all the features outlined above, this will likely turn into the 1.0 release.
I am tentatively planning on making a 1.0.0-beta release sometime this summer, hopefully get some feedback and help hunting for bugs, and then make the stable release within a month or so.

I am more than happy to see this library maturing and I am wondering if it would not also be a good idea to move it under https://github.com/psf org, so it will be closer to requests. The reason I am asking this is because I am worried about maintenance risks, especially as we know about few hiccups that we faced with other libraries.
I also observed that the library is not yet packaged by all major linux distros, maybe the v1 would motivate them to do it.

@ssbarnea Funny you should mention that, I was was just discussing with reclosedev about transferring this to an org. We were planning to just create a new one. Transfering to the PSF org hadn't occurred to me. What are the criteria for them to adopt a project?

Not sure about psf, but we can look about it. There are also other orgs that can help. Creating new org should happen only if we do not find an existing one suitable.

From: https://www.python.org/psf/github:

Repositories may be transferred to the @psf organization under the following criteria:

The repository is relevant to the Python ecosystem at large and has broad interest among the community, or is of critical nature to a Python Software Foundation maintained project such as PyPI.
The project has an existing team of at least three maintainers
The code is licensed under an OSI-approved license
The project agrees to operate under the Python Community Code of Conduct

I think all of those points except #2 apply, since I'm currently the only maintainer.
If you're mainly concerned about gaps in maintenance, i.e. if I were to disappear and issues and PRs started piling up, the project is currently on Code Shelter. They would be able to give someone else collaborator access if needed.

Looks for jazzband or pycontribs orgs, both will accept it. I have projects under both,... note: i created pycontribs years ago, it is less organised/structured than jazzband. Any of them would suit this project well.
I know few other good ones but they have limited scope and not suitable for this library: pytest-dev, tox-dev, click-contribs, pycqa,...

I see. The purpose of Code Shelter is actually fairly similar to jazzband, but not specific to Django or python. It spans both GitHub and GitLab, and doesn't require a repo transfer. So I'd say the scenario of "maintainer disappears, someone else is willing to step up and needs access" is already pretty much covered. That's how I became the current maintainer. That being said, I'm certainly open to working with others interested in keeping this project going long-term. @skorokithakis Feel free to chime in if you have other thoughts on this.
Our current interest in transferring to an org is mainly just so that I (and other future maintainers) could have Owner permissions, in addition to the Collaborator level permissions that Code Shelter provides.

No, that's basically spot on, I agree with mostly everything you said, @JWCook.

A beta release is now available on PyPI (1.0.0b0). It's possible that a couple more backend-specific changes may still be added, but otherwise I think it's fairly feature-complete at this point.
Testing and feedback would be appreciated!

How do you install the beta with pip, pipenv? doesn't get installed with default commands.

Some small updates:

Another beta release is out (1.0.0b1) that includes several bugfixes
I would still like to get some more feedback on the new features and other changes before releasing
If nothing else major comes up, I would like to get this released around the end of February

Almost everything is ready for release, except for one issue affecting concurrency with the SQLite backend: #781
If anyone would like to help out, another pair of eyes on that would be appreciated.

I believe this has been fixed, but I'm looking into it a bit more to be sure.

Done! 🚀


Support LWIM 15.1 triple axis input

LWIM 15.1 added a new triple axis input type, which breaks Lightyear. There were no tests here, ~and I didn't add any~ I added some. I just repeated the logic that was already in place for the other axis types.

Thank you!


v2, podman: fix pod tests

fix remaining failures with pod tests.
Only pause and pod stats are not addressed in this PR, since we are already tracking pause and pod stats in:
https://github.com/containers/libpod/pull/5975
https://github.com/containers/libpod/pull/5966
Signed-off-by: Giuseppe Scrivano<EMAIL_ADDRESS>

/lgtm


cython 0.22 incompatibility with util/cyutil.py wrapper

Someone brought this problem to my attention in an email:
root@bd63:/home/exp/pyhsmm# python setup.py build_ext --inplace

Traceback (most recent call last):

  File "setup.py", line 35, in <module>

    ext_modules = cythonize('**/*.pyx')

  File "/home/exp/lbshmm/pyhsmm/util/cyutil.py", line 107, in cythonize

    out = true_cythonize(*args,**kwargs)

  File "/usr/local/lib/python2.7/dist-packages/Cython/Build/Dependencies.py", line 754, in cythonize

    aliases=aliases)

ValueError: too many values to unpack

My unfortunate wrapper in util/cyutil.py depends on some cython internals that changed slightly in 0.22!

A better long-term fix would be to follow standard python packaging conventions (#28).


How to pause the background task and release the resources and eventually resume the task?

I m using the com ports for some background task. The same port is needed for the foreground task too. So when i run the foreground task, i get permission denied as the port is block by other process, but I was expecting the foreground task to have higher priority by default and taking over the ports. So please suggest how to resolve this issue, or any work around.

@philippeowagner Could you please suggest.


Status handling

Handle the situation where a user tries to re-start a server that is in the process of shutting down.

PR is staged, seems to work as expected but please test.


Bridgy Not Picking up Latitude/Longitude as top level properties

Will document this later in detail

On my site, I use p-latitude and p-longitude directly inside h-entry instead of nested inside p-location. I use p-location as a textual description of the location.
This is considered acceptable if atypical, but Bridgy doesn't pick it up. As the dependent parsing library does, this suggests this is either a version issue or something else.
I am going to change my markup to something more standard to see if this will produce the desired result, but still want to debug the problem.

huh. looking at the example bridgy publish log you posted in IRC, bridgy did indeed find the lat/long in your post and send it to twitter:
D Converted to ActivityStreams object: {
"url": "https://tiny.n9n.us/?p=5340",
"location": {
  "latitude": 40.777164,
  "position": "+40.777164-073.527569/",
  "longitude": -73.527569,
  "objectType": "place"
  },
...
I urlopen POST https://api.twitter.com/1.1/statuses/update.json?lat=40.777164&long=-73.527569&status=Parked+and+testing+Bridgy+location+posse {}

aha, sknebel found it (in IRC). @dshanske's twitter account doesn't currently have geolocation enabled. @dshanske if you turn that on, it should work.
twitter also gives lots of caveats for the location part of their API. another notable one is that their reverse geocoding of lat/long is best effort; they don't always find a place to attach.
i'll update the bridgy docs for both of these issues.

Thank you for updating the docs. It notes that the native apps will still let you post location and this only applies to the web and third party clients


SPDK FIO error: fio: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found

I am trying to do some test in mayastor. But it seems that nix-shell does not provide the required glibc version.
nix-shell ci.nix
./scripts/cargo-test.sh

Many cases failed because of the wrong version of the glibc. This one case of the running results:
running cargo-test...
rustc version:
rustc 1.66.0 (69f9c33d7 2022-12-12)

running 9 tests
test test::missing_version ... ok
test test::invalid_json ... ok
test test::wrong_reply_id ... ok
test test::normal_request_reply ... ok
test test::invalid_version ... ok
test test::empty_result_unexpected ... ok
test test::empty_result_expected ... ok
test test::rpc_error ... ok
test test::connect_error ... ok

test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

running 2 tests
test nexus_fail_crd ... FAILED
test nexus_fail_no_crd ... ok

failures:

---- nexus_fail_crd stdout ----
thread 'main' panicked at 'I/O expected to succeed: Custom { kind: Other, error: "SPDK FIO error: fio: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /nix/store/iy05gm8in7wm2gqnx2k0ddqd20ayig1n-libspdk-dev-23.01/fio/spdk_nvme)\nfio: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /nix/store/iy05gm8in7wm2gqnx2k0ddqd20ayig1n-libspdk-dev-23.01/fio/spdk_nvme)\nfio: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /nix/store/iy05gm8in7wm2gqnx2k0ddqd20ayig1n-libspdk-dev-23.01/fio/spdk_nvme)\nfio: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /nix/store/iy05gm8in7wm2gqnx2k0ddqd20ayig1n-libspdk-dev-23.01/fio/spdk_nvme)\nfio: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /nix/store/swjjj51mzg8z0yncqv5hp9v29gkkkvmx-libbsd-0.11.6/lib/libbsd.so.0)\nfio: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /nix/store/4mxnw95jcm5a27qk60z7yc0gvxp42b9a-openssl-3.0.7/lib/libcrypto.so.3)\nfio: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /nix/store/4mxnw95jcm5a27qk60z7yc0gvxp42b9a-openssl-3.0.7/lib/libcrypto.so.3)\nfio: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /nix/store/3jvv0d26q4w6xl7hd214zm9csm4qfmqf-fuse-3.11.0/lib/libfuse3.so.3)\nfio: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /nix/store/3jvv0d26q4w6xl7hd214zm9csm4qfmqf-fuse-3.11.0/lib/libfuse3.so.3)\nfio: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /nix/store/3jvv0d26q4w6xl7hd214zm9csm4qfmqf-fuse-3.11.0/lib/libfuse3.so.3)\nfio: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /nix/store/b1gz2zv1yrjzkmcwp6pjghkn7n9myry6-libmd-1.0.4/lib/libmd.so.0)\n" }', io-engine/tests/nexus_fail_crd.rs:43:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

failures:
    nexus_fail_crd

test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 19.07s

But in nix-shell run:
ldd --version
it shows the glibc version is 2.35 higher than the required one.
The OS id debian 10 and has glibc version 2.39.
Any way that I can solve this?

Hey @MengjinWu I've tagged @tiagolobocastro and @dsavitskiy - They should be able to help you here.

I find the place in io-engine-tests/src/fio.rs in
impl Fio {
    pub fn run(&self) -> std::io::Result<()> {
        let cmd = "sudo -E LD_PRELOAD=$FIO_SPDK fio";

fio do the preload and make fio unusable.

I believe it is to do with the sudoers list? https://github.com/openebs/mayastor/blob/400ab0e2dc94ed381709242e4a88490ffeb69ed2/test/grpc/README.md?plain=1#L74
Could you please try this branch: https://github.com/openebs/mayastor/pull/1643

That PR was merged already, feel free to reopen if you need further help


SMPL and asynchronous evaluation

See https://github.com/coq-community/vscoq/issues/162:

I have a problem that VSCoq does not wait for commands with side effect, causing errors when later parts depend on this sideeffect.
I use the Smpl plugin, which is a way to write extensible tactics. It implements it's own kind of database, similar to hint DBs, to achieve that. The databases are created using the Vernac "Smpl Create $name", which is classified as SIDEFF in the grammar.
For some reason, the following fails in asynchronous evaluation, as if the definition of test is checked without waiting for the previous command to finish.
Require Import smpl.Smpl.

Smpl Create newDB.
Ltac test := smpl newDB.

I thought that SIDEFF causes asynchronous evaluation to block.? Or am I misunderstanding the Idea behind vernacextend.mli and this is this maybe a Bug in Smpl?

I will try to fix this soon.


Can you provide evaluation scripts?

Hi,
Thanks for sharing the code! Could you share the evaluation script? I cannot evaluate the accuracy based on the demo.py. This is because demo.py would generate two results (left-to-right prediction and right-to-left prediction). There are no corresponding predicted scores, so I do not know to choose which one.  How can I obtain the corresponding predicted scores?
Looking forward to your replay.
Thank you ~

Please follow the following code.
https://github.com/Canjie-Luo/MORAN_v2/blob/2cd40c41d6041f54efdbdcb7d7e081231168c468/main.py#L170-L176


Upload timeouts (HTTP 413) in ImageChooser do not render an error

Issue Summary
If you choose an image that's larger than the HTTP servers maximum body size, the resulting HTTP error does not get any type of error notification user side.
For instance, in Nginx, you would set:
        client_max_body_size 100m;

First you get the upload status:

Then the screen returns as if nothing happened:

Notice that the main Image upload actually works and displays the error correctly:

Steps to Reproduce
If you are running Nginx, try setting client_max_body_size 1m; and uploading something larger than 1 MB while choosing an image in a RichTextField or similar with the ImageChooser, wagtail 1.13.
Technical details

Python version: 3.4
Django version: 1.11
Wagtail version: 1.13.1
Browser version: Firefox

Hey @benjaoming, thanks for reporting this.
I haven't stumbled upon this recently but I do remember having similar issues in the past. I don't think the choosers do any kind of error handling, and that's probably the case for the ones for documents/pages/embeds as well.

This also happens with the DocumentChooser in RichText however in our case files do not exceed client_max_body_size  but the modal upload button just times out when uploading large files. The file is selected > upload button clicked > button changes to 'uploading' with spinner > then button changes back to 'upload' with no error message and nothing having been uploaded. It works when uploading in documents tab however.
Would this be considered the same issue or should I create a new one?


Switch to RawXml from GetProjectXmlAsync

Customer scenario
If the user programmatically changes their project file (such as adding a NuGet package via the UI), then invokes the Edit Project File command, the project is marked as saved, even though it has not been saved to disk.
Bugs this fixes:
https://github.com/dotnet/roslyn-project-system/issues/1270
Workarounds, if any
If the user explicitly saves, then it is written to disk, but closing the project does not prompt that the project is dirty.
Risk
Low. No outside code depends on this, and we're now calling a method that does the same thing under hood as we were doing originally, except that it doesn't set the saved flag.
Performance impact
Low. There's one additional async call to GetSuggestedConfiguredProjectAsync, but we should already have a ConfiguredProject by the time this is called so impact should be minimal.
Is this a regression from a previous update?
No. Oversight in original implementation.
Root cause analysis:
We didn't know that ProjectRootElement.Save had side effects. We need to add an integration test for this scenario, as we can't unit test our interaction with MSBuild.
How was the bug found?
Adhoc testing.
Tagging @dotnet/project-system @davkean @lifengl @cdmihai for review.

Tagging @MattGertz for escrow consideration.

Updated the title to be more descriptive and correct.

Approved to merge via 373312


modified to host.json for updating batch settings

the recommendation on batch messages seems to mention modifying attributes in function.json, however those should be modified in host.json at the FunctionApp level

@niksacdev : Thanks for your contribution to the Azure documentation! The author, @wesmc7777, has been notified to review your proposed change.

@niksacdev Thank you

#sign-off


Error: Mixtral-8x7B-Instruct-v0.1 issue with Llama-cpp-python

New comment regarding Llama-cpp-python & Mixtral-8x7B-Instruct-v0.1-GGUF.

For more info:
https://huggingface.co/TheBloke/Mixtral-8x7B-Instruct-v0.1-GGUF/commit/89336ec93914225f1f816feb99cf5871c10d0f3f
I am using windows, Llama-cpp-python V0.2.99 and V0.2.22.
It didn't work with me, error log:
Mixtral Error.txt

Hi, will try, thanks.

You hit:
error loading model: create_tensor: tensor 'blk.0.ffn_gate.weight' not found
llama_load_model_from_file: failed to load model

Maybe llama cpp python not updated even if llama.cpp is.  There is usually lag.

Just an update:
https://github.com/abetlen/llama-cpp-python/issues/1000

This works:
pip uninstall llama_cpp_python
pip uninstall llama_cpp_python_cuda
git clone --recurse-submodules https://github.com/abetlen/llama-cpp-python.git
cd llama-cpp-python/
git fetch origin pull/1007/head:1007
git switch 1007
git submodule update --remote
git submodule update
CMAKE_ARGS="-DLLAMA_CUBLAS=on" pip install -e .
cd ~/h2ogpt/
python generate.py --base-model=TheBloke/Mixtral-8x7B-Instruct-v0.1-GGUF --prompt_type=zephyr

Takes a while to download the single monster GGUF file.
I see it mention context is auto-set to 4096, seems wrong.  But let's see.
Will add to FAQ.  Use appropriate system things for building as in https://github.com/abetlen/llama-cpp-python#installation

ab70fcdd69c022587e55e3cf4c51261e640f9cce

Just cross check is it --prompt_type=zephyr?
I think it was written "plain" in the prompter?! Maybe I am mistaken

mistral is correct prompt, zephyr works but is a typo in trying to move quickly.  Thanks a673e6fdb0072d04c71e0284db061005ece5a7d4

a673e6fdb0072d04c71e0284db061005ece5a7d4

FYI plain is only relevant for foundational base models

What about in a docker deployment model? The following errors out with
pydantic.v1.error_wrappers.ValidationError: 1 validation error for H2OLlamaCpp
root
Could not load Llama model from path: llamacpp_path/mixtral-8x7b-instruct-v0.1.Q5_K_M.gguf. Received error  (type=value_error)
sudo docker run
--gpus all
--runtime=nvidia
--shm-size=2g
-p 7860:7860
--rm --init
--network host
-v /etc/passwd:/etc/passwd:ro
-v /etc/group:/etc/group:ro
-u id -u:id -g
-v /mnt/ssd/cache:/workspace/.cache
-v /mnt/ssd/h2ogpt/save:/workspace/save
-v /mnt/ssd/h2ogpt/user_path:/workspace/user_path
-v /mnt/ssd/h2ogpt/db_dir_UserData:/workspace/db_dir_UserData
-v /mnt/ssd/h2ogpt/users:/workspace/users
-v /mnt/ssd/h2ogpt/db_nonusers:/workspace/db_nonusers
-v /mnt/ssd/h2ogpt/llamacpp_path:/workspace/llamacpp_path
gcr.io/vorvan/h2oai/h2ogpt-runtime:0.1.0 /workspace/generate.py
--base-model=TheBloke/Mixtral-8x7B-Instruct-v0.1-GGUF
--load_gptq=model
--use_safetensors=True
--prompt_type=mistral
--save_dir='/workspace/save/'
--use_gpu_id=False
--score_model=None \

The docker build is still using original installation instructions.  When we push a change to main, we only build docker nightly.

As of now, llama_cpp_python has merged the required llama.cpp changes.  However, llama.cpp with Mixtral is still unstable for >4096 context, likely bugs in llama.cpp.

I have much more hope for AWQ instead of llama.cpp.

https://github.com/casper-hansen/AutoAWQ/issues/259

It is confirmed, it worked with llama-cpp-python==0.2.23 official release


[Task]:  Add runtime metrics to the TFT benchmark tests

What needs to happen?
TFT benchmark tests don't emit any useful metrics as of now. Add runtime metric to the TFT pipelines and create a grafana dashboard to visualize it.
Issue Priority
Priority: 3 (nice-to-have improvement)
Issue Components

[X] Component: Python SDK
[ ] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[ ] Component: IO connector
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

@AnandInguva is this one actually closed or do we need a follow up PR to add a grafana dashboard first?

A follow up PR on grafana dashboard is pending. It will be done today.

@AnandInguva do you know why the metrics are not being populated on http://<IP_ADDRESS>/d/C9nj1oxVk/tft-criteo-benchmarks?orgId=1 ?


Do not assume we're the controller

Codecov Report

Merging #6252 (d4569b1) into main (5644103) will increase coverage by 0%.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main   #6252   +/-   ##
=====================================
  Coverage     72%     72%
=====================================
  Files        399     399
  Lines      26938   26937    -1
  Branches    3964    3964
=====================================
+ Hits       19490   19494    +4
+ Misses      5801    5795    -6
- Partials    1647    1648    +1

Impacted Files
Coverage Δ

.../datascience/notebook/notebookControllerManager.ts
89% <ø> (-1%)
:arrow_down:

src/client/datascience/raw-kernel/rawSocket.ts
84% <0%> (-2%)
:arrow_down:

src/client/datascience/baseJupyterSession.ts
71% <0%> (-1%)
:arrow_down:

...active-common/intellisense/intellisenseProvider.ts
74% <0%> (+<1%)
:arrow_up:

...ient/datascience/interactive-ipynb/nativeEditor.ts
70% <0%> (+<1%)
:arrow_up:

src/client/datascience/jupyter/jupyterNotebook.ts
76% <0%> (+<1%)
:arrow_up:


TypeError: can't access property "map"

I suspect this behavior relates to https://github.com/graph-genome/component_segmentation/issues/15.

nonconsecutive_chunks.zip
Data here.

Let's make sure to always include the SHA, so we're talking about the same thing.  I am using 1a4c157a1e862d3b64ca7408bb764adb19c5489c and I was not able to reproduce your error.
My first recommendation is to make the files bigger by turning up your --cells_per_file in component_segmentation.  The bin2file.json says there's only 32 bins, which don't need to be split over ~10 files.  If you use this bin2file.json instead:
{
    "bin_width": 1000,
    "json_version": 10,
    "last_bin": 32,
    "pangenome_length": 31120,
    "files": [
        {
            "file": "chunk0_bin1000.schematic.json",
            "first_bin": 0,
            "last_bin": 32
        }
    ]
}

It will load chunk0_bin1000.json just fine, which contains the whole pangenome.

Thanks, I also solved this issue by changing --cells_per_file though we need to find the way to adjust the better parameter.


Curve.Util WIP

WIP/hiatus
Might not be able to work on GH# for the upcoming few weeks.
Thought I'd create a PR for review, and also share the progress in case someone else feels like giving it a try in the next few weeks.

Hi @v-xup6 , and sorry for late review!
The first six components look good, thanks! Should I merge and you start a new branch, or would you rather keep adding to this PR?
Also, what is your current status? Will you be able to keep helping? I hear MultilingualGH is getting a lot of traction... :)

Hi @v-xup6 , and sorry for late review!
The first six components look good, thanks! Should I merge and you start a new branch, or would you rather keep adding to this PR?
Also, what is your current status? Will you be able to keep helping? I hear MultilingualGH is getting a lot of traction... :)

@garciadelcastillo Happy New Year :tada:
Many people are offering to translate for MultilingualGH, thanks for the shoutout, that really got things moving.
Development for the plugin is pretty much finished, unless others have found bugs or feature requests.
I'm still occupied with personal things tho, so I think it'll be Feburary before i can pick up GH# again.
So let's merge for now and I'll start a new branch when I start again.

@garciadelcastillo Happy New Year :tada:
Many people are offering to translate for MultilingualGH, thanks for the shoutout, that really got things moving.
Development for the plugin is pretty much finished, unless others have found bugs or feature requests.
I'm still occupied with personal things tho, so I think it'll be Feburary before i can pick up GH# again.
So let's merge for now and I'll start a new branch when I start again.

Very happy you got help :)
Merged, yaaay! 🎉🎉🎉🎉
Keep me posted when do you think you can come back 😄

Very happy you got help :)
Merged, yaaay! 🎉🎉🎉🎉
Keep me posted when do you think you can come back 😄


dao1.eth space added

Hi! What is your PR about?
Dao1.eth space added

We have a new method to insert your images without creating a Pull Request. You can now use the Avatar field as your space settings.


Blog App - processing data in models

Hello Reviewer
My name is @shafiuyushawu  and this milestone fulfills the following requirements.
Created the following models

Created model classes for all entities as shown in the ERD diagram.
Set up associations between models.

Implemented author_id column in posts table should be the foreign_key for the users table.

Created custom methods
Additional methods created;

Users

A method that returns the 3 most recent posts for a given user.

Posts

A method that updates the posts counter for a user.
A method which returns the 5 most recent comments for a given post.

Comments

A method that updates the comments counter for a post.

Likes

A method that updates the likes counter for a post.

Go to rails c and check if your methods are working.

@Whoistolu Thanks for the approval


Create agile health survey

In our Jun 17 guild meeting, Robb suggested creating a very lightweight survey to measure agile health across the org based on an approach in Practices of an Agile Developer.
It has "how you know you're doing it right" with a "feels like" section. Much of it is not developer-centric so it would be good for the whole org. We could take a few of the "feels" from the book and use a simple scale. The book also already has suggested solutions for issues, super helpful.

Lots more here: https://trello.com/c/eiBQSFkX/4-adopt-periodic-squad-health-check-model-to-determine-needs-for-coaching-process-improvment


Pachctl mount doesn't work on GKE.

What happened?:
pachctl mount crashed after ls in mounted dir.
What you expected to happen?:
pachctl mount works as expected.
How to reproduce it (as minimally and precisely as possible)?:
In GKE container:
pachctl mount ~/pfs
cd ~/pfs && ls
Anything else we need to know?:
This seems to be a bug in upstream go-fuse as fixed in this commit:
https://github.com/hanwen/go-fuse/commit/fd7328faf9fdf75709f7ba7df7072aaf4eeb18b3#diff-ae3c684c76500760cbff9a5a9bf74ef4
https://github.com/hanwen/go-fuse/issues/276
Can pachyderm get an go-fuse upgrade?
Environment?:

Kubernetes version (use kubectl version): 1.13.11-gke.14
Pachyderm CLI and pachd server version (use pachctl version): 1.9.12
Cloud provider (e.g. aws, azure, gke) or local deployment (e.g. minikube vs dockerized k8s): GKE

Sure we can upgrade this.

In case anyone need a workaround, here's a patch
https://github.com/pachyderm/pachyderm/pull/4560/files


removeSelectedItem doesn't work as expected

Expected behavior:

There are two items: Mars and Venus
Calling removeSelectedItem actually removes the item Venus.

add(new Button("No Venus", ev -> {
    chf.removeSelectedItem(venus);
}));

Observed behavior:

The Venus is not removed after calling removeSelectedItem
After removing Mars, a new chip appears with label "1"
When retrieving the value it correctly shows Mars.

This is likely related to #25

This is likely related to #25


Couldn't able to install Azure cli 2

Windows 10
Python 3.6.4
pip. 9.0.9
Traceback (most recent call last):
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\knack\cli.py", line 194, in invoke
cmd_result = self.invocation.execute(args)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\core\commands_init_.py", line 342, in execute
six.reraise(*sys.exc_info())
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\six.py", line 693, in reraise
raise value
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\core\commands_init_.py", line 315, in execute
result = cmd(params)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\core\commands_init_.py", line 175, in call
return super(AzCliCommand, self).call(*args, **kwargs)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\knack\commands.py", line 109, in call
return self.handler(*args, **kwargs)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\core_init_.py", line 349, in default_command_handler
result = op(**command_args)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\command_modules\profile\custom.py", line 134, in login
allow_no_subscriptions=allow_no_subscriptions)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\core_profile.py", line 137, in find_subscriptions_on_login
tenant, self._ad_resource_uri)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\core_profile.py", line 679, in find_through_interactive_flow
code = context.acquire_user_code(resource, _CLIENT_ID)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\adal\authentication_context.py", line 250, in acquire_user_code
return code_request.get_user_code_info(language)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\adal\code_request.py", line 66, in get_user_code_info
return self._get_user_code_info(oauth_parameters)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\adal\code_request.py", line 46, in _get_user_code_info
return client.get_user_code_info(oauth_parameters)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\adal\oauth2_client.py", line 301, in get_user_code_info
timeout=self._call_context.get('timeout', None))
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\requests\api.py", line 112, in post
return request('post', url, data=data, json=json, **kwargs)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\requests\api.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\requests\sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\requests\sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\requests\adapters.py", line 440, in send
timeout=timeout
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\urllib3\connectionpool.py", line 601, in urlopen
chunked=chunked)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\urllib3\connectionpool.py", line 346, in _make_request
self._validate_conn(conn)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\urllib3\connectionpool.py", line 850, in validate_conn
conn.connect()
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\urllib3\connection.py", line 326, in connect
ssl_context=context)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\urllib3\util\ssl.py", line 313, in ssl_wrap_socket
context.load_verify_locations(ca_certs, ca_cert_dir)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\urllib3\contrib\pyopenssl.py", line 416, in load_verify_locations
self._ctx.load_verify_locations(cafile, capath)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\OpenSSL\SSL.py", line 775, in load_verify_locations
_raise_current_error()
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\OpenSSL_util.py", line 54, in exception_from_error_queue
raise exception_type(errors)
OpenSSL.SSL.Error: []

C:\Users\vsai>pip install --pre --user azure-multiapi-storage
Collecting azure-multiapi-storage
Could not fetch URL https://pypi.python.org/simple/azure-multiapi-storage/: There was a problem confirming the ssl certificate: unknown error (_ssl.c:3566) - skipping
Could not find a version that satisfies the requirement azure-multiapi-storage (from versions: )
No matching distribution found for azure-multiapi-storage

pip is not a supported direct installation method. Please use one of the officially supported install channels: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest

Hi sptramer. I followed the same steps above. After installing Azure, I am trying to login to my Azure portal from CMD. I still got the same error.
C:\Users\vsai>az login
[]
Traceback (most recent call last):
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\knack\cli.py", line 194, in invoke
cmd_result = self.invocation.execute(args)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\core\commands_init_.py", line 347, in execute
six.reraise(*sys.exc_info())
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\six.py", line 693, in reraise
raise value
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\core\commands_init_.py", line 319, in execute
result = cmd(params)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\core\commands_init_.py", line 180, in call
return super(AzCliCommand, self).call(*args, **kwargs)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\knack\commands.py", line 109, in call
return self.handler(*args, **kwargs)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\core_init_.py", line 418, in default_command_handler
result = op(**command_args)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\command_modules\profile\custom.py", line 147, in login
allow_no_subscriptions=allow_no_subscriptions)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\core_profile.py", line 155, in find_subscriptions_on_login
tenant, self._ad_resource_uri)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\core_profile.py", line 721, in find_through_interactive_flow
code = context.acquire_user_code(resource, _CLIENT_ID)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\adal\authentication_context.py", line 250, in acquire_user_code
return code_request.get_user_code_info(language)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\adal\code_request.py", line 66, in get_user_code_info
return self._get_user_code_info(oauth_parameters)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\adal\code_request.py", line 46, in _get_user_code_info
return client.get_user_code_info(oauth_parameters)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\adal\oauth2_client.py", line 301, in get_user_code_info
timeout=self._call_context.get('timeout', None))
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\requests\api.py", line 112, in post
return request('post', url, data=data, json=json, **kwargs)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\requests\api.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\requests\sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\requests\sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\requests\adapters.py", line 440, in send
timeout=timeout
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\urllib3\connectionpool.py", line 601, in urlopen
chunked=chunked)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\urllib3\connectionpool.py", line 346, in _make_request
self._validate_conn(conn)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\urllib3\connectionpool.py", line 850, in validate_conn
conn.connect()
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\urllib3\connection.py", line 326, in connect
ssl_context=context)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\urllib3\util\ssl.py", line 313, in ssl_wrap_socket
context.load_verify_locations(ca_certs, ca_cert_dir)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\urllib3\contrib\pyopenssl.py", line 416, in load_verify_locations
self._ctx.load_verify_locations(cafile, capath)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\OpenSSL\SSL.py", line 775, in load_verify_locations
_raise_current_error()
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\OpenSSL_util.py", line 54, in exception_from_error_queue
raise exception_type(errors)
OpenSSL.SSL.Error: []

@derekbekoe Unsure if this is a possible CLI bug or needs to be referred to CXP.

@sai306 Please open a PR at https://github.com/Azure/azure-cli/
Also, include your Windows full version and if you are using a proxy.
I haven't seen this reported before.

Derek, I use windows 10 enterprise edition. 64 bit.   I work for a company and that is a corporate environment. Does it mean that I use a proxy?
Get Outlook for iOShttps://aka.ms/o0ukef

From: Derek Bekoe<EMAIL_ADDRESS>Sent: Tuesday, March 13, 2018 2:05:21 PM
To: Azure/azure-docs-cli-python
Cc: sai306; Mention
Subject: Re: [Azure/azure-docs-cli-python] Couldn't able to install Azure cli 2 (#681)
@sai306https://github.com/sai306 Please open a PR at https://github.com/Azure/azure-cli/
Also, include your Windows full version and if you are using a proxy.
I haven't seen this reported before.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-docs-cli-python/issues/681#issuecomment-372762872, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AjkocpckY3E-AMvSunorb8i5DfMYy-kzks5teAphgaJpZM4SnBG3.

It appears you are having issues accessing https://management.core.windows.net/.
Verify that you can indeed access that endpoint and you have the appropriate intermediate certificates.
Your corp. environment may be what's preventing access.

Also, since  https://pypi.python.org/simple/azure-multiapi-storage/ also failed for an SSL issue, this adds more weight to something with corporate networking.

Thanks Derek..I will check this with my network guy...
Get Outlook for iOShttps://aka.ms/o0ukef

From: Derek Bekoe<EMAIL_ADDRESS>Sent: Wednesday, March 14, 2018 1:55:26 PM
To: Azure/azure-docs-cli-python
Cc: sai306; Mention
Subject: Re: [Azure/azure-docs-cli-python] Couldn't able to install Azure cli 2 (#681)
Also, since https://pypi.python.org/simple/azure-multiapi-storage/ also failed for an SSL issue, this adds more weight to something with corporate networking.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-docs-cli-python/issues/681#issuecomment-373116836, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AjkoctZNhYkJUxr9Ddqmd_IS3qj1oOReks5teVmKgaJpZM4SnBG3.

So Derek. I have tried installing old azure cli 0.10.17 and i got the below error. I think you can have a look at it.
C:\Users\vsai>azure login
info:    Executing command login

Authenticating...
error:   unable to get local issuer certificate
ApplicationInsights:Sender [ { Error: unable to get local issuer certificate
at Error (native)
at TLSSocket. (_tls_wrap.js:1092:38)
at emitNone (events.js:86:13)
at TLSSocket.emit (events.js:185:7)
at TLSSocket._finishInit (_tls_wrap.js:610:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:440:38) code: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY' } ]
error:   Error information has been recorded to C:\Users\v70062.azure\azure.err
error:   login command failed

Get Outlook for iOShttps://aka.ms/o0ukef

From: Sai Kumar<EMAIL_ADDRESS>Sent: Wednesday, March 14, 2018 5:14:29 PM
To: Azure/azure-docs-cli-python; Azure/azure-docs-cli-python
Cc: Mention
Subject: Re: [Azure/azure-docs-cli-python] Couldn't able to install Azure cli 2 (#681)
Thanks Derek..I will check this with my network guy...
Get Outlook for iOShttps://aka.ms/o0ukef

From: Derek Bekoe<EMAIL_ADDRESS>Sent: Wednesday, March 14, 2018 1:55:26 PM
To: Azure/azure-docs-cli-python
Cc: sai306; Mention
Subject: Re: [Azure/azure-docs-cli-python] Couldn't able to install Azure cli 2 (#681)
Also, since https://pypi.python.org/simple/azure-multiapi-storage/ also failed for an SSL issue, this adds more weight to something with corporate networking.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-docs-cli-python/issues/681#issuecomment-373116836, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AjkoctZNhYkJUxr9Ddqmd_IS3qj1oOReks5teVmKgaJpZM4SnBG3.

To me, this all seems related with SSL issues in your environment.

With Azure CLI 2.0, you can try this https://github.com/Azure/azure-cli/issues/1572#issuecomment-267183488.

Hi Derek, I got the below solution from the link u have me to try. How to do this?
setting the following environment variables: ADAL_PYTHON_SSL_NO_VERIFY and AZURE_CLI_DISABLE_CONNECTION_VERIFICATION.

And by accessing  https://management.core.windows.net/ I got the below error.

ForbiddenError
The server failed to authenticate the request. Verify that the certificate is valid and is associated with this subscription.

@sai306 It really seems like an SSL that needs to be investigated on your end since accessing  https://pypi.python.org/simple/azure-multiapi-storage/ also fails.


Little timesaver tip for optimisticLock use [skip ci]

Those who follow this 4 simple steps may forget about need to validate 'version' field. Let us save their time.

Thanks!


Please release the syntax highlighting for VS Code

Hello. First of all, congratulations on the work, it's a great leap forward for Excel.
However, for a large library I'd be better to work full screen in VS Code with all the bonuses it provides. And it seems that you're already working on enabling version control software (https://github.com/microsoft/advanced-formula-environment/issues/53). Given that the AFE is extremely similar to VS Code, it seems like it would represent a small effort for you to release a VS Code extension for writing Excel formulas.
Thanks!

(The purpose of this would be to edit Excel formula modules in VS Code, synced with a Github gist.)

Thanks for the feedback. We have had a couple of requests to provide the formula editing mode as a VS Code plugin.
I did start looking into it - I think it is slightly more work to release and publish than we can budget right now based on the frequency of requests. For now I'll mark this is as enhancement and revisit if we start working on it.

Thank you for taking the time to reply. Hope you get the resources to do this.


⚠ Spryr has degraded performance

In 1a31111, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3148 ms

Resolved: Spryr performance has improved in 1d7a9eb after 7 minutes.


Multi Select

Is your feature request related to a problem? Please describe.

We have sitecore components that allow webmaster to make a multi selection of News Articles they want to show as highlighted on the homepage and/or related articles section. However with JSS they will have to give the source of these items, or have per article a checkbox which says something like featured, and with GraphQL we search for this field. Which is a bit of a workaround.
Describe the solution you'd like

As seen here:

The webmaster can easily select multiple items to the right side. With GraphQL we can easily parse this and get the single items based on the selected IDs.
Describe alternatives you've considered

Having a highlight/related checkbox per article. Then use GraphQL to check for this field and if selected, show it.
Or, how we do it currently, using the Sitecore component instead of a JSS component.
Additional information

A feature like this would really a lot of control to webmasters, without having to do much work arounds. A solution like this is straight forward for both parties. The webmaster only has to fill in the details once, and the App only has to parse 1 multi select box.

@kars-springbok Can you put some light on this: "However with JSS they will have to give the source of these items"?
I also do not understand the solution. You've written that "The webmaster can easily select multiple items to the right side". User can already do that by using the Multilist field.

Good point, however Multilist is also not useable with JSS. At least in the Code First approach.

@kars-springbok Are you talking about Multilist fields not being supported in Experience Editor? This is Experience Editor limitation. JSS provides a default field editor button for editing things like Multilists.

@kars-springbok Support of Multilists (e.g.: possibility to populate Multilist elements) was not added by purpose and we are not planning to do it. People should migrate to types which stored IDs (e.g.: DropTree) as it is much better to control referenced items in such way.


Cherry pick core bump into 7.4.1

Increments the org.hl7.fhir.core dependency to 6.3.23

Superseded by https://github.com/hapifhir/hapi-fhir/pull/6364. Closing.


Suggestion: Release updates with NAV 2018 CUs

First off, big thank you to the MS devs for the hard work and dedication this past year. We are very excited with the direction of the AL language, and the new bits that are coming out every month. We also very much appreciate the opportunity to report our questions and issues here, and get feedback from the team.
And now that NAV 2018 has been released, we get a chance to share the exciting new functionality with our customers. That brings me to my suggestion: Please keep NAV 2018 on par with the latest functionality. I'm not sure why only bug fixes would be released as part of the NAV 2018 CUs. It would seem to be a lot more work for everyone, coupled with more drawbacks, and no advantages. Especially in the 0.x versions, when so many crucial bits are being added. Those early important pieces of functionality make a considerable difference in being able to solve cases with extensions vs. having to utilize C/SIDE. And having to wait up to a year to get access to them is just too long.
Advantages to monthly releases

Easier on the MS devs. Unless I'm missing something, the MS devs have to spend extra time splitting out what is a bug vs. an improvement, and maintain multiple codesets to make this happen. Wouldn't it be easier to just have a single codebase that gets updated for both D365 as well as NAV 2018?
Easier on support. When you are dealing with multiple codebases, support becomes harder as well.
Easier on ISVs and VARs. When writing solutions or code for two products, you have to maintain multiple versions, instead of just one.
Easier for customers. We have a number of customers that are currently looking into migrating to the Cloud, but are held back by internet limitations. Our customers often use ERP-integrated shop floor solutions in multiple shifts, so they are dependent on NAV being up 24/7. They would like to go Cloud, but cannot, due to their internet situation. Especially our mid-size manufacturing and job-shop companies, that have chosen a rural location in order to take advantage of lower labor costs. The drawback of their location is often a poor internet connection. Slow speeds, no redundancy, frequent internet outages. We would like to get them on NAV 2018 with extensions, but due to the limitations in the extensions, we have to make changes to C/SIDE instead. If we can get them on NAV 2018 with extension, they can easily migrate to Cloud once their internet situation improves.

The only reason I could come up with to not release the latest bits with NAV 2018 is in an ill-advised attempt to push people to go Cloud instead of on-premise. Speaking for most of our customers, if they could go Cloud, they would. And if we can keep them in the fold with NAV 2018 and an easy migration path to Cloud, they will migrate once the time is right. If the on-premise version starts to fall behind, I have customers that will start shopping elsewhere.

Great post, thumbs up!


The meetup exercise doesn't include a README

After fetching and getting the meetup exercise, its file tree is:
meetup/
├── README.md
├── build.gradle
└── src
    ├── main
    │   └── java
    │       ├── Meetup.java
    │       └── MeetupSchedule.java
    └── test
        └── java
            └── MeetupTest.java

As you can see, it's missing a README file, which makes it impossible (for me, at least) to complete the exercise.

Nevermind, I overlooked the README file (sorry!)


broken links in README

https://github.com/eclipse-tractusx/knowledge-agents-edc
has a broken link:
https://github.com/eclipse-tractusx/knowledge-agents-edc/blob/main/gent-plane/agent-plane-protocol/src/main/java/org/eclipse/tractusx/agents/edc/rdf/RDFStore.java
The correct link is
https://github.com/eclipse-tractusx/knowledge-agents-edc/blob/main/agent-plane/agent-plane-protocol/src/main/java/org/eclipse/tractusx/agents/edc/rdf/RdfStore.java
(There are two typos).
Please check all other links as well, thanks!

we will include a link checker action in the long run. thx for reporting.


[Nitpick] Cannot adjust sync on songs played from new Favorites feature

Game Mode
dance
Give an example of what is wrong
Playing on OutFox-alpha-0.5.0-pre042-18.04-arm64-arm64v8-modern-date-20231225, adding and removing favorites works and the special Favorites category shows up in the chooser, but when songs are played from Favorites as opposed to their actual location, the song sync features do not work correctly.  The proper text shows up on the screen and when adjusting manually, the text updates with the new offset, but the actual offset doesn't change -- the arrows don't advance / retard relative to the music like they do when playing a song from the folder it's actually in.
Give an example of what it should look like
Arrows should advance / retard relative to the music when the sync is adjusted on songs played from Favorites the same way it works when songs are played from their actual folders.

confirmed, needs to be coded to support that feature.

After checking the the issue, and seeing it happen, I can confirm that this is caused by another issue: The file flush bug found in https://github.com/TeamRizu/OutFox/issues/718.
The sync screen does save the data, but because of that bug, its not reflected immediately in-game.


[stable/memcached] Bump memcached version, add Kubernetes Service type configuration.

Added Kubernetes Service type configuration for the memcached chart.
Signed-off-by: Janghwan<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] title of the PR contains starts with chart name e.g. [stable/chart]

/assign
Why would you want to change the service type? If you put multiple memcached behind a load balancer, you'll get inconsistent hit/miss/cache updates depending on what server you hit.

/assign
Why would you want to change the service type? If you put multiple memcached behind a load balancer, you'll get inconsistent hit/miss/cache updates depending on what server you hit.

I need to access Memcached from outside of the kubernetes cluster. I had to set up only one replica due to the issue you mentioned.
The idea of exposing service with the service type is from the bitnami helm chart.


update module dependency versions

update module dependency versions

I dont think we can merge this PR without fixing the official build for autorest changes

/azp run

/azp run


⚠ Turnos 24x7 has degraded performance

In ff565a4, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 981 ms

Resolved: Turnos 24x7 performance has improved in 128fb1c.


needhelp: Makespan and Training reward

How can I get Makespan curve in training process and Training reward in training process?

Thank you for your excellent work. I really want to know how to draw the makespan diagram and the reward diagram

The makespan is accessible through the current_time_step variable
For plotting, it will depend on your training settings. In our paper we used RLLib, you can have a look at our code to take some inspiration:  https://github.com/prosysscience/JSS

The makespan is accessible through the current_time_step variable
For plotting, it will depend on your training settings. In our paper we used RLLib, you can have a look at our code to take some inspiration: https://github.com/prosysscience/JSS

I ran your program, but there is no output graph in wandb?

I am really interested in your work but it is too difficult for me QAQ


Sharing VQAScore and GenAI-Bench!

Hey,
This is Zhiqiu Lin, a final-year PhD student at Carnegie Mellon University working with Prof. Deva Ramanan. I came across your work and was impressed by the results!
I also wanted to advertise our recent work in collaboration with Meta's GenAI team on the automated evaluation of text-to-visual generative models, which might be of interest to you:

VQAScore: We propose a simple but effective automated metric that measures the prompt alignment of generated imagery. VQAScore strongly agrees with human judgments and can be run using one-line Python code here! It also significantly outperforms previous automated metrics such as ImageReward, HPSv2, and PickScore.

GenAI-Bench: We introduce a comprehensive benchmark for compositional image generation (including skills such as spatial relations) with 1,600 prompts written by professional designers. We also show that VQAScore can be used as a strong reward metric by simply reranking the generated candidate images of DALL-E3 or SD-XL. GenAI-Bench was presented as the Best Short Paper at SynData@CVPR24 workshop.

Best,
Zhiqiu

@linzhiqiu Hi, Zhiqiu, thank you for sharing these impressive works. We will look into VQAScore and GenAI-Bench and plan to incorporate them into our future experiments for a more comprehensive evaluation. Looking forward to your future research.


Handle Plotly animation #1773

Handle Plotly animation #1773
The AnimatedChart component is a React-based visualization tool that utilizes Plotly.js to render interactive and dynamic charts. It supports customizable data, layout, and configuration options, enabling users to visualize complex datasets effectively.
Key features include:

Dynamic Data Handling: Adapts to various datasets and configurations.
Responsive Design: Customizable width and height for flexible layout integration.
Loading State: Displays a skeleton loader while data is being fetched.
Interactivity: Allows users to select data points, triggering updates in the parent component.
Animation Support: Smooth transitions between frames enhance visual appeal.

Implementation Part

Import
import AnimatedChart from './AnimatedChart';
Here's how you can use AnimatedChart.tsx in Chart.tsx

const Chart = (props) => {
    // Your existing code...
    return (
        <div>
            {/* Other chart components or logic */}
            <AnimatedChart
                title="My Animated Chart"
                width="100%"
                height={400}
                data={data} // Pass the relevant data prop
                config={chartConfig} // Pass any required config
                // Include other props as needed...
            />
        </div>
    );
};
export default Chart;

Dependencies
npm install react-plotly.js plotly.js @mui/material @emotion/react @emotion/styled
Run
npm start

@quest-bot loot #1773

Are you still working on this PR @rakshitmalik136  ?
If you are, please answer the questions
If you are not, please close the PR


Cannot create Clusters in 2.9.1 using non-builtin Node drivers

Setup

Rancher version: 2.9.1
Rancher UI Extensions: None / Nothing added
Browser type & version: Chrome Version 127.0.6533.122

Describe the bug

In the current stable Rancher version 2.9.1 Cluster creation is not working using non-builtin drivers.
UI is shown the following Error when trying to create the cluster: OutscaleConfig.rke-machine-config.cattle.io "nc-outscale-test-pool1-wshzr" is invalid: extraTagsAll: Invalid value: "string": extraTagsAll in body must be of type array: "string"
To Reproduce

Deploy Rancher 2.9.1
Enable Non-builtin Node driver (e.g. Outscale in my example)
Go to Clusters and create new Cluster
Make sure RKE2/K3s is enabled
Select outscale as node driver
Enter a cluster name
Enter dummy values for extraTagsAll or securityGroupIds
Click Create

Result
Cluster create is blocked by UI error: OutscaleConfig.rke-machine-config.cattle.io "nc-outscale-test-pool1-wshzr" is invalid: extraTagsAll: Invalid value: "string": extraTagsAll in body must be of type array: "string"
The actual Network Request response:
{
    "type": "error",
    "links": {},
    "code": "Invalid",
    "message": "OutscaleConfig.rke-machine-config.cattle.io \"nc-outscale-test-pool1-pt54k\" is invalid: extraTagsAll: Invalid value: \"string\": extraTagsAll in body must be of type array: \"string\"",
    "status": 422,
    "type": "error"
}

Expected Result

Creation of Cluster is possible using the UI.
Screenshots

extraTagsAll field in Cluster create in Rancher 2.9.1 seems to be a field for a string:

extraTagsAll field in Cluster create in Rancher 2.8.5 is for multiple values with Add button:

Additional context

Seems like in Rancher 2.9.1 UI array fields from custom UI are not processed correctly, or atleast other than in previous versions of Rancher.
If you have a look at the custom UI code of the Driver (e.g. for outscale: https://oos.eu-west-2.outscale.com/rancher-ui-driver-outscale/v0.2.0/component.js) all fields that are arrays are affected and will not be displayed as array in Rancher UI.
This only seems to affect non-builtin Drivers. I tested with 3 different ones (Outscale, Nutanix and Cloudscale)

It sounds like there have been changes made to the struct on the rancher side that are out of sync with the non-builtin driver. For example the field on the rancher MachineConfig object is now an array, but the OutscaleConfig object expects a string... or vice versa. Perhaps these drivers need to be updated to support rancher 2.9?

We should investigate if this will affect partners with node drivers as well. For whoever picks this up, raise it in the team slack channel for details

In 2.9.0 the issue in https://github.com/rancher/dashboard/issues/11936#issuecomment-2361435906 was resolved by https://github.com/rancher/rancher/issues/45157.
However in 2.9.1 it's still an issue, investigating now

/backport v2.9.3

No longer seeing error when creating a cluster using non-builtin drivers.
Tested in:

Rancher v2.10-e615207c8cd924c092b55a9301e7378878706d19-head
Dashboard master 6dd2962


Feature - Login interface

Is your feature request related to a problem? Please describe.
GitHub API requires an username and a token to require the amount of data we need. To be fair with users, they must use their own tokens.
Describe the solution you'd like
The GitHub API provides a guide to authenticate. It is necessary to study this and, then, decide the way we are authenticating the user. Probably, it will be a button on add-on's Popup called "Login" which go to the GitHub default authentication page that will provide us the needed data.
Describe alternatives you've considered
Another way of doing some "authentication" is just placing input fields to the user manually insert his/her username and token. It is NOT a safe solution. We're dealing with critical data and the user's token can't be treated like this.
Acceptance Criteria

[ ] Study GitHub API auth. Found info must be commented here
[ ] WIP - The other criteria must be decided after some study.

The github api provides a way to authenticate using two URLs, the first returns a code that is used to request the access token at the second URL.
https://github.com/login/oauth/authorize?response_type=code&client_id=${client_id}
https://github.com/login/oauth/access_token?client_id=${client_id}&client_secret=${client_secret}&code=${code}
My idea is to insert the first URL as the action of some button in the popup and insert the second in the contentscript, because the return of the first is returned to a specific URL.

the username is not necessary to make the request, only the access token is sufficient.


Global setting to customise all error messages

Is there a way to use this library in a way that all the errors are automatically formatted ?
I beleive there is a setErrorMap method that can be used but not sure if this library supports it. https://zod.dev/ERROR_HANDLING?id=customizing-errors-with-zoderrormap

Hey there. Based on this snippet from the docs
import { z } from "zod";

const customErrorMap: z.ZodErrorMap = (issue, ctx) => {
  if (issue.code === z.ZodIssueCode.invalid_type) {
    if (issue.expected === "string") {
      return { message: "bad type!" };
    }
  }
  if (issue.code === z.ZodIssueCode.custom) {
    return { message: `less-than-${(issue.params || {}).minimum}` };
  }
  return { message: ctx.defaultError };
};

z.setErrorMap(customErrorMap);

it's my understanding that Zod will prioritize your custom error map, and override its default message.
Now everything zod-validation-error does, comes after that. So your formatted message will be already updated.
Let me know if I'm missing something obvious, but I don't see any conflict.

I'm really looking forward to supporting setErrorMap, because currently zod is very difficult to customize errors in forms and support other languages, currently only zod-i18n-map, but this is something we don't need i18n for.

+1 for having a way to apply this either to a specific schema, or globally, so it's useable with libraries like https://www.remix-validated-form.io/reference/validated-form

It's not clear to me what the solution for this issue should be. The team is happy to accommodate your request, but you need to make it more concrete for us to understand what we need to do.
@dimitrisnl provided a workaround that doesn't require exposing an additional API at zod-validation-error level.
Is this not sufficient? If so, what is the request? Can you provide an example in pseudocode?

It's not clear to me what the solution for this issue should be. The team is happy to accommodate your request, but you need to make it more concrete for us to understand what we need to do.
@dimitrisnl provided a workaround that doesn't require exposing an additional API at zod-validation-error level.
Is this not sufficient? If so, what is the request? Can you provide an example in pseudocode?

We're looking to globally apply zod-validation-error instead of needing to remember to apply it every time. In the "workaround" mentioned, it's impossible to call zod-validation-error inside of a customErrorMap.
CustomErrorMap gives you Zod.issues while zod-validation-error requires you to pass in a Zod.Error
We're looking for something like this:
const customErrorMap: z.ZodErrorMap = (issue, ctx) => {   return { message: fromZodError(ctx.issue) }; };
so that we can
z.setErrorMap(customErrorMap)

@seo-ai-team awesome, this helps a lot. We'll get back to you with more details.

@seo-ai-team put it well, this would enable compatibility with libraries that don't expose Zod error directly, but use it under the hood to display errors (like the library I referenced). Thanks for considering it!

The latest version (v.1.4.0) of zod-validation-error features a new fromZodIssue method that allows you to create a ValidationError from a single zod issue (instead of a zod error). You may use this function to power the customErrorMap use-case.
For further info please read...
https://github.com/causaly/zod-validation-error#fromzodissue
cc/ @seo-ai-team @OriginalEXE @ritz078 @faner11

Thank you very much for that, works great! One struggle I've had is that setErrorMap passes z.ZodIssueOptionalMessage which means message could be undefined. Easily solvable though:
z.setErrorMap((issue, context) => {
  const error = fromZodIssue({
    ...issue,
    message: issue.message ?? context.defaultError,
  });

  return {
    message: error.message,
  };
});

Thanks again ❤

I am not sure if the fromZodIssue() function should accept ZodIssueOptionalMessage. We could certainly do that and call the defaultErrorMap internally to produce a message for error types that have no message. @nikoskalogridis what say you?
I think that if you set a custom ErrorMap you are also responsible for mapping each error type to an error message of your preference. Zod makes this easy by providing the default error message as ctx.defaultError - see https://zod.dev/ERROR_HANDLING?id=customizing-errors-with-zoderrormap.
Therefore, although I do not have a strong preference, I lean towards leaving it as-is.
@OriginalEXE this is the way 🙇

OK, last try - I 've opened another PR that should cover this use-case sufficiently.
https://github.com/causaly/zod-validation-error/pull/58

I think that if you set a custom ErrorMap you are also responsible for mapping each error type to an error message of your preference. Zod makes this easy by providing the default error message as ctx.defaultError - see https://zod.dev/ERROR_HANDLING?id=customizing-errors-with-zoderrormap.

I am also leaning on leaving it as-is. Since it can already be handled as you mention above I prefer to have thinner api


loop over python versions in github actions

Here is what I did and it seems to work. But is that really the recommended way? It feels a bit hacky to overwrite .python-version. FWIW I'd appreciate any other feedback on that workflow config. I'm trying to set up uv with a few repos and would like to get my setup right.

👋 I believe you can use UV_PYTHON instead

Thank you! I'm currently at
    - name: Set the python version for UV
      run: echo "UV_PYTHON=${{ matrix.python-version }}" >> $GITHUB_ENV
    [etc]

I'd be happy to review a pull request adding documentation if needed. There's a bit at http://docs.astral.sh/uv/guides/integration/github/#setting-up-python but this sounds different.

Although https://github.com/astral-sh/uv/issues/9376#issuecomment-2495478626 seems to be working, I'm still not clear if that's considered a recommendable/canonical approach. From the docs you linked ^^, there is also this option
      - name: Set up Python ${{ matrix.python-version }}
        run: uv python install ${{ matrix.python-version }}

but it's not obvious to me whether the python version here specifically overrides the python version that would be used by subsequent uv run commands, which should obey the .python-version file regardless of which other versions of python happen to be available on the system


update to releases 0.25 to 0.26

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender. :)


add README files for both example projects

With quick summary and how-to related to specific example projects

created


feat: create a search-bar to search for usernames & items

Proposal:

Just Like the other search-bar , in this new one your goal is search for the names of your items NFTs.

[ ] Search for your NFTs items

[ ] Search for usernames

This atom should stay inside the OffersSection.
WARNING: Not handling soulbound tokens.

Moving to TODO since is not necessary as of now

heyy @RafaDSan  !! Assigned to you :)

Hey @RafaDSan , how is the progress in this task? Any developments?

Hey @RafaDSan , how is the progress in this task? Any developments?

Hello, @0xneves
It's going well. After @heronlancellot updates it made it easier to carry on with the task!

Hey @RafaDSan, someone is rushing the #133 ! Let's rush the search bar asap! Can you deliver by this week?

Closed by #177


docs: Update README.md

Docs: 04-updating-arrays-and-objects
Ensured clarity in the example code by defining the obj object. This ensures that readers understand the context and structure of the object being modified in the reactivity example.
Because it is possible to trigger reactivity by referencing foo.bar in the template instead of obj.foo.bar, the following will trigger reactivity:

<button on:click={updateFooBar}>Update foobar</button>

baz is: {foo.bar}

However, the next example will not, and will require obj = obj reassignment:

<button on:click={updateFooBar}>Update foobar</button>

baz is: {obj.foo.bar}

In this case, {obj.foo.bar} does not trigger reactivity when foo.bar is updated, unless obj is reassigned (with obj = obj).
By including the definition of the obj object, we aim to elucidate the structure and context in which the reactivity example operates, ensuring a clearer understanding for the reader.

thanks!


Added info about how to run pluggin to READEME.md

This could be very useful for people new to KiCAD. It would have saved me a few minutes :)

Thanks for your PR!


Add program name to changelog

This should be easy, except React.
A detail you may have already caught on the IPTT web version of the change log: Let’s make sure to include the title “Change log” and the program name underneath. (I’m referencing a screen shot you sent that may be out of date.)
(Noticed it because I’m working on the change log for the results framework.)
(I’ll be borrowing all the patterns from the IPTT one.)
Maybe we should call it “IPTT change log” as opposed to “Results framework change log”.
Eh… I could go either way on that.
Paul Souders [15:30]
I suppose technically it’s the “Indicator change log”
jenny marx [15:32]
Even better

Much trickier than you’d think!

QA - PASSED

Checked a couple change log pages - Looks good:


Fix GitHub repository url

Fixes URL of GitHub repository in icon update script

:white_check_mark: Package verification completed without issues. PR is now pending human review


Failed to decode QR code.

I'm facing one issue where the qrcode library not able to decode the below qrcode image.
I tried decode in some other websites or even using my phone qr code scanner. It was able to decode, but @nuintun/qrcode library not.

The QR code decoding does not perform extensive image preprocessing for performance considerations.
The example image you provided has too high a resolution, resulting in imperfections in the image after binarization.

You can try resizing the image to an appropriate size before decoding.


[BUG]: Wrong unix timestamp parsing with floating point using pd.to_datetime

Hello!
I'm trying to parse floating point timestamps with pd.to_datetime but the only way that it works is using the deprecated parameter coerce=True
For example, without coerce=True the result is wrong.
>>> pd.to_datetime(1.1, unit='s')  # Expected result Timestamp('1970-01-01 00:00:01.100000')
Timestamp('1970-01-01 00:00:01')

However, with coerce=True the result is correct.
>>> pd.to_datetime(1.1, unit='s', coerce=True)  # Expected result Timestamp('1970-01-01 00:00:01.100000')
Timestamp('1970-01-01 00:00:01.100000')

I'm happy to help if you need more details.

In [41]: pd.to_datetime(1.1, unit='s', errors='coerce')
Out[41]: Timestamp('1970-01-01 00:00:01.100000')

Thank you the workaround!

@chris-b1
This should cast like this
 In [14]: np.array([1.1]).astype('i8', casting='no')
TypeError: Cannot cast array from dtype('float64') to dtype('int64') according to the rule 'no'

instead I think (so this will then hit the other path)


Source archives don't include dependencies

When trying to build from the source archive hosted on GitHub, I get the following error:
/t/r/s/rocket-0.3.1 ❯❯❯ ./build
Building network plugins
   bridge
   veth
   static
Building rkt (stage0)...
gopath/src/github.com/coreos/rocket/Godeps/_workspace/src/github.com/appc/spec/discovery/discovery.go:10:2: code in directory /tmp/rocket/src/rocket-0.3.1/gopath/src/github.com/coreos/rocket/Godeps/_workspace/src/golang.org/x/net/html expects import "golang.org/x/net/html"
gopath/src/github.com/coreos/rocket/Godeps/_workspace/src/github.com/appc/spec/discovery/discovery.go:11:2: code in directory /tmp/rocket/src/rocket-0.3.1/gopath/src/github.com/coreos/rocket/Godeps/_workspace/src/golang.org/x/net/html/atom expects import "golang.org/x/net/html/atom"

The dependencies that are in this repository are not in the source archive. This is probably by design (it's other people's code, after all), but I don't think it's documented anywhere that I need to get
the go-uuid, html and crypto libraries for Go and put them in "gopath/src/github.com/coreos/rocket/Godeps/_workspace/src".
So: possibly a packaging issue, probably a documentation issue.

Hmmmm, I think this might be an issue with godep and canonical import paths. What version of Go are you using to build?
The dependencies are definitely in the archive:
ar tzvf rocket-0.3.1.tar.gz |fgrep atom
drwxrwxr-x root/root         0 2015-02-06 06:56 rocket-0.3.1/Godeps/_workspace/src/golang.org/x/net/html/atom/
-rw-rw-r-- root/root      2321 2015-02-06 06:56 rocket-0.3.1/Godeps/_workspace/src/golang.org/x/net/html/atom/atom.go
-rw-rw-r-- root/root      2162 2015-02-06 06:56 rocket-0.3.1/Godeps/_workspace/src/golang.org/x/net/html/atom/atom_test.go
-rw-rw-r-- root/root     10203 2015-02-06 06:56 rocket-0.3.1/Godeps/_workspace/src/golang.org/x/net/html/atom/gen.go
-rw-rw-r-- root/root     21513 2015-02-06 06:56 rocket-0.3.1/Godeps/_workspace/src/golang.org/x/net/html/atom/table.go
-rw-rw-r-- root/root      3909 2015-02-06 06:56 rocket-0.3.1/Godeps/_workspace/src/golang.org/x/net/html/atom/table_test.go

Ping?

I am going to close this. Please re-open if you are still encountering problems.
Thanks!


Cannot mutation test the call of a redux reducer (Typescript)

I am trying to set up mutation testing for a project using react, redux and typescript
The tests run fine with jest.
The stryker dry run fails due to
undefinedtests/com.kodekonveyor.reacttest.ui/registerPerson.test.ts:25:51 - error TS2349: This expression is not callable.
  Not all constituents of type 'void | ActionCreatorWithOptionalPayload<Person, "/addPerson" | "testApp/addPerson">' are callable.
 Type 'void' has no call signatures.

  expect(dispatch).toHaveBeenCalledWith(actions.addPerson(formState))

actions.addPerson is defined by the following code:
const appState = createSlice({
  name: 'testApp',
  initialState: initialState,
  reducers: {
    addPerson: addPerson
  },
})
export const actions = appState.actions

You can find the code at commit 7fdc9e330cd3fcb12fab90711504608cdca00eda of https://github.com/magwas/reacttest
It is small experimental code, not much more than needed to reproduce the error.
Stryker config
{
  "$schema"<EMAIL_ADDRESS>  "packageManager": "npm",
  "reporters": [
    "html",
    "clear-text",
    "progress"
  ],
  "testRunner": "jest",
  "coverageAnalysis": "perTest"
}
}

Test runner config
jest.config.js
'''
/** @type {import('ts-jest').JestConfigWithTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
};
'''
Stryker environment
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>

├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>
Test runner environment
$ npm run test

><EMAIL_ADDRESS>test
> jest

 PASS  tests/com.kodekonveyor.reacttest.ui/registerPerson.test.ts
  registerPerson
    ✓ prevents automatic redraw of the form (2 ms)
    ✓ adds the person from the form to the person list (1 ms)
    ✓ reinitializes the form data

Test Suites: 1 passed, 1 total
Tests:       3 passed, 3 total
Snapshots:   0 total
Time:        2.486 s, estimated 5 s
Ran all test suites.

Your Environment

software
version(s)

node
v19.2.0

npm
8.19.3

Operating System
Ubuntu jammy

Add stryker.log

stryker.log


OracleSwap Add Flare Address

FYI, we've updated our contribution guidelines: https://github.com/TowoLabs/ftso-signal-providers#how-to-add-your-signal-provider and clarified how to run tests locally.

Included in https://github.com/TowoLabs/ftso-signal-providers/commit/89da0d9ea457d7bbd7574834b5181c54ed0e8627 for next release


pkg/securitycontextconstraints/sccadmission: simplify finding applicable SCCs

FindApplicableSCCs is invoked with the requested namespace never sets the user. Hence, the current logic returns all SCCs.
I suppose the current implementation is a historic left-over from previous logic but makes reading and reasoning about the current logic way harder due to the (unused) indirection.
This simplifies it by returning all SCCs (as the current code path does anyways) and sorting them.
/cc @deads2k @stlaz

/close

Nevermind, this is needed in SCC reviews: https://github.com/openshift/openshift-apiserver/blob/eae6d2be2273a4c1e059759d8088de05acacd38b/pkg/security/apiserver/registry/podsecuritypolicyreview/rest.go#L79


Version 3.30.0 on npm causes errors with npm start

Version

react-native-router-flux v3.30.0 from npm

Expected behaviour
Can install version from NPM without any issues. Version on npm should match release tags in github.
Actual behaviour
Version on npm does not work, version on npm is 3.30.0 which does not seem to match any tagged version in github.
Error on npm start
Failed to build DependencyGraph: @providesModule naming collision:
  Duplicate module name: validateDOMNesting

node_modules/react-native-experimental-navigation/node_modules/react/lib
/validateDOMNesting.js collides with node_modules/react/lib/validateDOMNesting.js

Steps to reproduce

Install latest version from npm
npm start
Error message about naming collisions.

@cgreening What version of RN are you using ?

Just encountered a similar issue:
Failed to build DependencyGraph: @providesModule naming collision:
  Duplicate module name: ReactNativeTextComponent
  Paths: ~/Development/PROJECT/native/node_modules/react-native/Libraries/ReactNative/ReactNativeTextComponent.js collides with ~/Development/PROJECT/native/node_modules/react-native-experimental-navigation/node_modules/react/lib/ReactNativeTextComponent.js

Have you tried to remove node_modules and run install again? I can't reproduce this error both Example and my own app.

I had the same issue. I fixed it by using npm 3 instead of npm 2.

Guess hes using RN:0.25.x Same here, ExperimentalNavigation caused naming collision RN:0.25.1 （3.30README says RN0.26+ supported, but is there any way i can keep my RN 0.25.1 ? ） npm: 3.7.3 Remove node_modules and install again doesnt work.

Guess he`s using RN:0.25.x
Same here, ExperimentalNavigation caused naming collision
RN:0.25.1 ( 3.30README says RN0.26+ supported, but is there any way i can keep my RN 0.25.1? )
npm: 3.7.3
Remove node_modules and install again doesn`t work.

Hm, maybe i need to remove "react" as dependency from react-native-experimental-navigation. Please try now (0.26.1)

I encountered the same error (with a different conflicting module name). Removing node_modules and re-installing all npm modules worked for me.
react: 15.1.0
react-native: 0.27.2
react-native-router-flux: 3.30.0

still an open issue for me. I removed node modules and did the same as @hellogerard recommended. Still not working :(

@DClark5218 could you make sure that 0.26.1 is used for react-native-experimental-navigation ?

I'm going to close this due to inactivity. If this continues to be a problem, please let us know and we will re-open the issue. If this is a question about using the library, head over to the Gitter Chat for live help!


Reorganize

The current folders glibc_2.25 and glibc_2.26 don't really make sense anymore.
I would prefer something like deprecated and active.
However, we often have multiple stages of deprecated, which are working around several checks until finally killed...
Maybe we should create a folder for each major technique in deprecated and keep several versions in there, thoughts?

I'm fine with that, but wouldn't we just end up with deprecated/tcache_dup_2.27.c and so forth anyways? Is it different than the current method?

It would probably look like that, yes.
If I would see this repo the first time right now, I would expect for the files in 2.26 to be strongly connected to this version. However, now this folder contains all the attacks for versions >= 2.26, so some of them are only mildly connect to 2.26.
Maybe it's just me and this not really an issue, so we should just keep it the way it is;-)

I think we should reorganize now.
There are more and more techniques working in 2.27 but not in 2.31.
For some of them, people managed to create new pocs to bypass new defenses while at the same time having the same power as the old ones. And currently, the old pocs and new pocs are all placed in 2.26 folder which comes super confusing now.
My quick idea is to separate them by versions. And we don't need to finish all versions at once. We can separate them roughly like 2.23, 2.27, 2.31 first(ubuntu LTS releases). And if we have time later, we make finer separations.

The reorganization is done now. Let me close this. But feel free to reopen it if you have ideas to better organize it


Use Connection::getData where appropriate

As specified by Phergie\Irc\ConnectionInterface::getData should be used
for runtime data.
Closes #57

Looks good to me. 👍

@sitedyno thanks!

Great, thank you!


⚠ Bofrost.be has degraded performance

In d27da20, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1135 ms

Resolved: Bofrost.be performance has improved in 64040b6.


encoded: Unalias interfaces

The go.uber.org/encoded package declares three interfaces as
aliases of internal package versions of those interfaces.
package encoded

type DataConverter = internal.DataConverter
type Value = internal.Value
type Values = internal.Values

This is both, unnecessary and undesirable.
It is unnecessary because interfaces in Go are implicit. Unless you're
doing something very specialized, where interface identity matters more
than interface compliance, you can just redeclare the interfaces in the
encoded package and things will continue to work.
package encoded

type Value interface {
  HasValue() bool
  Get(valuePtr interface{}) error
}

Any value that satisfies internal.Value will also satisfy
encoded.Value.
You can even add a bidirectional compile-time check to verify that the
interface doesn't go out of sync with its internal variant.
var (
  _ Value = (internal.Value)(nil)
  _ internal.Value = (Value)(nil)
)

It is undesirable because it makes it difficult for users to use the
interface. They cannot just look at the godocs; they have to dig into
the internal packages. It also negatively affects the behavior of
tooling like mockgen (https://github.com/golang/mock/issues/244).

Given this, is there a strong reason to keep the aliases? Is interface
identity necessary or will compliance suffice?

Another solution maybe removing internval.Value and declaring the interface as encoded.Value. It's OK for an internal package to use a public interface.

I tried doing this. The problem is that that Go doesn't recognize method signature change:
../client/client.go:403:27: cannot use "go.temporal.io/temporal/internal".NewClient(service, domain, options) (type "go.temporal.io/temporal/internal".Client) as type Client in return argument:
	"go.temporal.io/temporal/internal".Client does not implement Client (wrong type for QueryWorkflow method)
		have QueryWorkflow(context.Context, string, string, string, ...interface {}) (*"go.temporal.io/temporal/internal".EncodedValue, error)
		want QueryWorkflow(context.Context, string, string, string, ...interface {}) (encoded.Value, error)

I verified that internal.EncodedValue implements encoded.Value interface.

It wouldn't because internal.Foo references type internal.Bar. For such cases, the public version of the interface has to create wrapper implementations that reference the public version. Basically, something similar to #929.


warnings are shown when running a test on macOS

Ebitengine Version
b966190b3472a88b2d7c0e1b6fa58daabe56be08
Operating System

[ ] Windows
[X] macOS
[ ] Linux
[ ] FreeBSD
[ ] OpenBSD
[ ] Android
[ ] iOS
[ ] Nintendo Switch
[ ] Xbox
[ ] Web Browsers

Go Version (go version)
go version go1.19.2 darwin/amd64
What steps will reproduce the problem?
go test . -run=ANY_TEST_YOU_LIKE
What is the expected result?
No warnings
What happens instead?
This warnings was shown when running a test
ebiten.test[13791:35929170] [CAMetalLayer nextDrawable] returning nil because allocation failed.

Anything else you feel useful to add?
No response

I did start to notice this. I think it's a regression caused by updating macOS to Ventura. Does this happen on Monterey (v12)?

The situation is flaky and now I cannot see this error.

I'm seeing this error when I try to load an image during the Draw() call.

Do you have a reproducible case?

@TotallyGamerJet It happens in my project, it would be too much code to post here. Basically I'm calling ebitenutil.NewImageFromFile(path) in the Draw() callback on the first frame and it crashes with the same error.

I tried to write a minimum reproduction program and it doesn't crash...
This is the stack trace I get:
2023/07/08 04:22:03 Loaded image 2 assets/test.png
2023-07-08 04:22:03.561 app[75192:1967755] [CAMetalLayer nextDrawable] returning nil because allocation failed.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x8 pc=0x104b8226c]

goroutine 4 [running]:
github.com/hajimehoshi/ebiten/v2.(*Image).isDisposed(...)
	/Users/sergey/.asdf/installs/golang/1.20.5/packages/pkg/mod/github.com/hajimehoshi/ebiten/v2@v2.5.5/image.go:66
github.com/hajimehoshi/ebiten/v2.(*Image).DrawImage(0x104c0f782?, 0x14000432591?, 0x1400042fb28?)
	/Users/sergey/.asdf/installs/golang/1.20.5/packages/pkg/mod/github.com/hajimehoshi/ebiten/v2@v2.5.5/image.go:221 +0x2c
main.(*Game).Draw(0x1400037e000, 0x140001bd260?)
	/Users/sergey/work/games/ebitengine-puzzle/cmd/app/main.go:73 +0x154
github.com/hajimehoshi/ebiten/v2.(*gameForUI).DrawOffscreen(0x140001b0310)
	/Users/sergey/.asdf/installs/golang/1.20.5/packages/pkg/mod/github.com/hajimehoshi/ebiten/v2@v2.5.5/gameforui.go:165 +0x34
github.com/hajimehoshi/ebiten/v2/internal/ui.(*context).drawGame(0x1400028bd50, {0x104d449a8, 0x140002ce360}, 0x0)
	/Users/sergey/.asdf/installs/golang/1.20.5/packages/pkg/mod/github.com/hajimehoshi/ebiten/v2@v2.5.5/internal/ui/context.go:185 +0x110
github.com/hajimehoshi/ebiten/v2/internal/ui.(*context).updateFrameImpl(0x1400028bd50, {0x104d449a8, 0x140002ce360}, 0x1, 0x4084000000000000, 0x407e000000000000, 0x10140000cc8a0?, 0x104fc2700, 0x60?)
	/Users/sergey/.asdf/installs/golang/1.20.5/packages/pkg/mod/github.com/hajimehoshi/ebiten/v2@v2.5.5/internal/ui/context.go:153 +0x32c
github.com/hajimehoshi/ebiten/v2/internal/ui.(*context).updateFrame(0x14000091920?, {0x104d449a8, 0x140002ce360}, 0x0?, 0x0?, 0x0?, 0x0?)
	/Users/sergey/.asdf/installs/golang/1.20.5/packages/pkg/mod/github.com/hajimehoshi/ebiten/v2@v2.5.5/internal/ui/context.go:73 +0x60
github.com/hajimehoshi/ebiten/v2/internal/ui.(*userInterfaceImpl).updateGame(0x104fc2700)
	/Users/sergey/.asdf/installs/golang/1.20.5/packages/pkg/mod/github.com/hajimehoshi/ebiten/v2@v2.5.5/internal/ui/ui_glfw.go:1084 +0x1c8
github.com/hajimehoshi/ebiten/v2/internal/ui.(*userInterfaceImpl).loopGame(0x104fc2700)
	/Users/sergey/.asdf/installs/golang/1.20.5/packages/pkg/mod/github.com/hajimehoshi/ebiten/v2@v2.5.5/internal/ui/ui_glfw.go:1044 +0x7c
github.com/hajimehoshi/ebiten/v2/internal/ui.(*userInterfaceImpl).Run.func2()
	/Users/sergey/.asdf/installs/golang/1.20.5/packages/pkg/mod/github.com/hajimehoshi/ebiten/v2@v2.5.5/internal/ui/run_glfw_notsinglethread.go:57 +0x3c
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/Users/sergey/.asdf/installs/golang/1.20.5/packages/pkg/mod/golang.org/x/sync@v0.1.0/errgroup/errgroup.go:75 +0x5c
created by golang.org/x/sync/errgroup.(*Group).Go
	/Users/sergey/.asdf/installs/golang/1.20.5/packages/pkg/mod/golang.org/x/sync@v0.1.0/errgroup/errgroup.go:72 +0xa0


Updating the examples for 3.x compatibility

The examples in this repo have been very helpful to me in trying to understand exactly what is expected of a Model. However, when I look at the Migrating from 2.x to 3.x guide, it seems like the model specifications have changed. Would it be possible to update the examples here accordingly? Thanks, btw, for sharing this code.

3.0.0-b2 compatibile Implementation with SQL and NoSQL https://github.com/manjeshpv/node-oauth2-server-implementation

Thanks for doing that. Those examples will be very helpful.


Disable 'Force settlement' button in the UI when there are buy orders above feed

There has been an active committee proposal to temporarily disable the force settlement function, see here:
https://bitsharestalk.org/index.php/topic,20299.0.html
The Chinese community feels threatened by this because it appears they didn't know about this feature (blame it on the language barrier), and hence this compromise was created to give them one week breathing time to implement a liquidity bot to make sure there are always buy orders above feed price.
Task:
Disable the 'Settle' button when there are buy orders above feed price, preventing users from intentionally abusing the function to 'hurt' shorters when there are in fact buy orders available. Maybe instead, it should buy from the market itself?

Seems like buying from the market makes sense, however in the interest of time it might be easier to just disable it. I don't have an opinion on this issue because I do not fully understand it, but I'm not particularly interested in alienating any group either. I did read the thread and it still doesn't make a lot of sense to me.
I UX'd the concept of buy/sell bitshares a while ago because I think it fundamentally make more sense to an end user. In coinbase, for instance, a user can buy btc at a rate they set with a 1% fee. This makes it easy to get into BTC without haveing to formally execute a trade.

@svk31 Mindphlux asked asked us to commit to this one for version 1209. I'm placing it at the top of the list for that.

So this will be reversed on Sunday and forced settlement will return to all smart coins?

We're expecting to test xeroc's adjusted price script tomorrow and get it adopted among the majority of the witnesses and will probably create the proposal much sooner than Sunday.

It's up to @svk31 @mindphlux1 you requested it for 1209. Are you requesting 1202 now instead?

Please hold off for now until we know the results of the pricefeed test tomorrow.

So this new feature that disables force settlement. It should leave the force settle button there but prompt user saying you can sell on the open market for more.

Closing this since this is no longer needed.