linuxPackages.nvidia_x11: 515.65.01 -> 515.76

(cherry picked from commit 60b61935ad6be949e4272429653299e1529b2e18)
Description of changes

manual backport of #192185 to 22.05 because automatic cherry pick failed
Things done

fixed up cherry pick. It builds. I didn't manage to add a boot entry to properly test it.

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

nixpkgs review said these packages failed to build:
linuxKernel.packages.hardkernel_4_14.nvidia_x11 linuxKernel.packages.linux_testing_bcachefs.nvidia_x11 linuxPackages_hardkernel_latest.nvidia_x11 linuxPackages_testing_bcachefs.nvidia_x11

@ThoFrank can you please expedite the merge somehow before Linux 5.19 reaches EOL?
I have to use the nvidia driver and am currently stuck on 5.19.

@Schweber Well I don't know how to.
Maybe @NickCao or @superherointj could help us here.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/kernel-nvidia-nv-acpi-c43-error-struct-acpi-device-has-no-member-named-children/22644/2

So what's the problem needing help? This looks fine apart from the broken indentation.

@ThoFrank as a heads up, backports for version upgrades just to support linuxPackages_latest typically do not get accepted from what I have seen.
Example: #120655
I guess since it's a minor version update, might have a better chance with this one.
I think a general thing for developers who need to work with the latest kernel is to make use of the unstable channel to pull the latest Nvidia drivers.
# nix-channel --add https://nixos.org/channels/nixos-unstable nixos-unstable

let
  unstable = import <nixos-unstable> {
    config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
      "nvidia-x11"
      "nvidia-settings"
    ];
  };
in
{
  ...
  # Specify kernel package used.
  boot.kernelPackages = unstable.linuxPackages_latest; # Latest kernel
}

Just a personal tip.

For the sake of completeness of the example I posted, you should do a nix-channel --update nixos-unstable when adding a new channel like nixos-unstable since --add just adds the channel url to a channel list file.

@Binary-Eater Thank you for the instructions. I will have to fall back on them when Linux 5.19 reaches EOL.
Using unstable for the whole system gave me too much trouble so i will apply unstable selectively.

It would be nice to develop a better practice for what NVIDIA driver versions are permitted to be backported for a NixOS release. In this case since its a minor version bump, I think the conversation is simple. There could be cases in the future where we see kernel API/header support only added in a new major version (and if so and that version is provided in a release's channel, I think the backport should still be made even if it's a major version bump, or at least provided in some other derivation similar to beta).

@ThoFrank as a heads up, backports for version upgrades just to support linuxPackages_latest typically do not get accepted from what I have seen.
Example: #120655

They typically are for the nvidia drivers, see e.g. #176083. At the very least @jonringer will recommend a backport every time this happens (roughly every 2 months IME, we've had a good run this time), and the kernel compatibility patches for older versions are rejected.
A proper policy on the topic would make sense, but maintainer's discretion has served well so far.

Thanks for all your feedback! I personally don't need the newest kernel. And 22.11 is right around the corner, so I think rejecting this pr is fine.
I updated the formatting in case anyone wants to merge it though.

@NickCao @superherointj Sorry to bother you again, but is it normal that ofborg has still got 1 pending check after 6 days?

Might be an ofborg bug, but as nvidia-x11 is unfree, it won't be built by ofborg anyway, we can safely ignore that.

I no longer can merge PRs. Still, if you want your PRs to be merged (more quickly), I suggest you to always squash commits. (So you have one less objection from whoever will be reviewing/committing this.)

I no longer can merge PRs. Still, if you want your PRs to be merged (more quickly), I suggest you to always squash commits. (So you have one less objection from whoever will be reviewing/committing this.)

@ThoFrank could you please do that? Linux 5.19 has now reached EOL...

@jonringer is mentioned as the maintainer, would be nice to get this over the line sometime.

As per #202417 the 515.86.01 driver is available on unstable.

This PR should probably be closed now that 22.05 is deprecated.


Link libsasl2 in with libmemcached. [phab:D473]

Created by zarko at 2015-08-27 20:28:08:
This is necessary in some environments.

shahms accepted this revision at 2015-08-27 20:29:33

zarko closed via commit 474f1d3890d9c7a2fe18b10587fc0b49145006a2 at 2015-08-27 20:30:46


Clarity on CMLFS_TARGET at 1-cgnutools/4-musl

I wanted to ask for some clarity on CMLFS_TARGET, since step 4-musl appeared to be looking for a x86_64-cmlfs-linux-musl- prefixed GCC and yet from the previous step, x86_64-cross-linux-gnu-gcc was built.
On an x86_64 host (Debian bootstrap), according to 0-Preparation I have CMLFS_TARGET=x86_64-cmlfs-linux-musl and CMLFS_HOST=x86_64-cross-linux-gnu. That gives --with-target=x86_64-cmlfs-linux-musl --host=x86_64-cross-linux-gnu --build=x86_64-cross-linux-gnu in step 3 GCC configure line, which produces a GCC with the prefix x86_64-cross-linux-gnu-.
And yet, with step 4-musl setting CROSS_COMPILE=${CMLFS_TARGET}- in its configure line, it was looking for x86_64-cmlfs-linux-musl-gcc which wasn't built.
Is there something obvious I'm missing here?

The master branch is currently broken and fails to produce a stable stage 1 & 2 clang.
The bsd-userland branch uses mussel to build cgnutools. This reduces development time on cgnutools. I plan to merge the bsd-userland into the master branch.

closing due to ...
1.) no activity, no response
2.) Current build method used in master branch now uses mussel to bootstrap cgnutools


Collision polygon moves on resize

I need to resize an entity. I have 2 collision hitboxes per size, one for the resized entity and one for the larger original sized entity. Whenever I resize the entity down the collision hitbox seems to move away.
http://jsfiddle.net/ysDtQ/86/
Look at what I did here! The more .collision is called the more it moves away. I can't figure out why this happens. Should i be able to switch the collision hitbox without stuff moving? I can't find anything in the source code that would cause this to happen except maybe some on("Resize") math error?

This is basically addressed by #858, so closing.  :)


Moving stuff around

Fixed project structure for PC Facade
Some more code clean-up, mostly removing unused imports
Unified settings and save file for gradle and IntelliJ so it behaves the same when you open the same from either source.

Hooray Jenkins reported success with all tests good!


Option - Zoom option

Allow, through an option, to customize the zooming effect (range: 1-40, default: random).

Camera is now considered as a configurable object and zoom is a camera option

Removing CLI option in favor of a dedicated Imgui widget


[Survey] Feature the API of PyTorch LTC should provide if we want to keep updating and decoupling to PyTorch releases.

PyTorch LazyTensorCore hasn't currently haven't provided an API to extend TSBackendImpl.
In our POC Design, to support BladeDISC compilation for subgraph, we had to rewrite TSBackendImpl and copy some of PyTorch's source codes. The current implementation depends on unstable API and features, which will lead to maintenance efforts.
Actions:

[x] Update current POC implementations to latest pytorch on master https://github.com/alibaba/BladeDISC/pull/242

and copy some of PyTorch's source codes

I believed that we never copy PyTorch source code. The important reason that adding PyTorch as a submodule is that some .h is required to compile pybind library, and those are not included in PyTorch setup.py.

We have progressively updated TorchDISC with upstream torch lazy API. Some discussions and actions have been done in https://github.com/alibaba/BladeDISC/issues/234.

There are some related issues that still need discuss and survey:

How to support the integration of DISC into lazy tensor core? Other than the current implementation, registering a fuseGraph pass for runNoGradOptimizations in ProfilingGraphExecutorImpl might be a good choice.
The clustering of supported subgraph @Yancey1989


Refactoring

I have made things!

Checklist

[x] Merge config.py and locales.py
[x] Move pull to BaseDataProvider
[x] Update locales.override to support a new way of data pulling from files.
[x] Delete module utils.py
[x] Rewrite tests for moved functions
[x] Check reviews

Changes

I have moved pull to BaseDataProvider
I have added method override_locale for BaseDataProvider
I have renamed module helpers.py to random.py

Related issues

Closes #569
Refs #569, #562, #570, #568

I know that' really hard to review such PRs, but there is no another way.

@sobolevn I need your review again and after this time I'll merge this PR if you have not any pieces of advice/notices.

I did not fix this https://github.com/lk-geimfari/mimesis/issues/579, because I'm not sure how to do it.


Added hindi.md

I have added hindi.md for the users who use Hindi as their primary language

Merged as 2668af9abd2542d4da7d3bdce85b3fcbf7306e80, thanks @mukul09!  Let us know if you're interested in working further on Hindi translations.

Yes I am interested to work further on Hindi translation @timabbott . How else I can contribute to zulip translating platform.

Read the section in zulip.readthedocs.io/en/latest/translating.html the next step is to sign up to be a translator.


GKE tutorial falsely claims it's possible to create LE certificate without domain (only IP)

In section 4 of the GKE deployment tutorial there is a note saying that if you cannot buy a domain,
you can continue without it and use IP address instead of domain. Rest of the tutorial uses Let's Encrypt.
However as mentioned in https://github.com/cert-manager/cert-manager/issues/6863 it is not possible to create a certificate for an IP with Let's encrypt. The note should be deleted.

Hi, I would like to work on this issue.

From my point of view, take it. I don't have time for pull request in the nearest future.


[SPARK-33268][SQL][PYTHON][3.0] Fix bugs for casting data from/to PythonUserDefinedType

What changes were proposed in this pull request?

This PR intends to fix bugs for casting data from/to PythonUserDefinedType. A sequence of queries to reproduce this issue is as follows;
>>> from pyspark.sql import Row
>>> from pyspark.sql.functions import col
>>> from pyspark.sql.types import *
>>> from pyspark.testing.sqlutils import *
>>>
>>> row = Row(point=ExamplePoint(1.0, 2.0))
>>> df = spark.createDataFrame([row])
>>> df.select(col("point").cast(PythonOnlyUDT()))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/maropu/Repositories/spark/spark-master/python/pyspark/sql/dataframe.py", line 1402, in select
    jdf = self._jdf.select(self._jcols(*cols))
  File "/Users/maropu/Repositories/spark/spark-master/python/lib/py4j-0.10.9-src.zip/py4j/java_gateway.py", line 1305, in __call__
  File "/Users/maropu/Repositories/spark/spark-master/python/pyspark/sql/utils.py", line 111, in deco
    return f(*a, **kw)
  File "/Users/maropu/Repositories/spark/spark-master/python/lib/py4j-0.10.9-src.zip/py4j/protocol.py", line 328, in get_return_value
py4j.protocol.Py4JJavaError: An error occurred while calling o44.select.
: java.lang.NullPointerException
	at org.apache.spark.sql.types.UserDefinedType.acceptsType(UserDefinedType.scala:84)
	at org.apache.spark.sql.catalyst.expressions.Cast$.canCast(Cast.scala:96)
	at org.apache.spark.sql.catalyst.expressions.CastBase.checkInputDataTypes(Cast.scala:267)
	at org.apache.spark.sql.catalyst.expressions.CastBase.resolved$lzycompute(Cast.scala:290)
	at org.apache.spark.sql.catalyst.expressions.CastBase.resolved(Cast.scala:290)

A root cause of this issue is that, since PythonUserDefinedType#userClassis always null, isAssignableFrom in UserDefinedType#acceptsType throws a null exception. To fix it, this PR defines  acceptsType in PythonUserDefinedType and filters out the null case in UserDefinedType#acceptsType.
This backport comes from https://github.com/apache/spark/pull/30169.
Why are the changes needed?

Bug fixes.
Does this PR introduce any user-facing change?

No.
How was this patch tested?

Added tests.

Thanks, @maropu !

NOTE: I'll open a PR soon to backport it into branch-2.4., too.

Test build #130420 has started for PR 30191 at commit 1eaff04.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35024/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35024/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/35024/
Test FAILed.

Thanks, all ~

Test build #130420 has finished for PR 30191 at commit 1eaff04.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130420/
Test PASSed.


Add comment being passed through to survey

Changes
Add comment being passed from eq to survey data. Fixes #20
How to test
Add a comment to eq payload from console (question number 146), see if it appears in the image produced.
Who can test
Anyone but @iwootten

👍


Screenshots

References

Relates to https://github.com/NebraLtd/hm-miner/pull/69
Checklist

[x] Tests added
[x] Cleaned up commit history (rebase!)
[x] Documentation added
[x] Thought about variable and method names

Note that this won't be deployed until @robputt pulls this in manually on the server.


Fix for -inf and -nan on luajit

Implemented the proposed luajit -inf fix: https://github.com/sctb/lumen/pull/1#issuecomment-142157635
Note that this version suffers from the problems mentioned in the reply: https://github.com/sctb/lumen/pull/1#issuecomment-142160407

Merged. Thanks for bring up the case issue as well. Thinking about it some more, it seems like the reader should return number values for nan and friends, just like other numeric literals. This is closer to what you originally had. We would then move the definitions from runtime.l into compiler output, at which point we would probably emit literals for JavaScript NaN etc. and arithmetic expressions for Lua.

Opened #4, which implements the fix you described here.


I'd just created my own machine learning backend and start it, but the port isn't showing up

Hello! I'd successfully open the localhost 8080 on my computer and tested for the work. Now that I'm trying to build my own machine learning backend, I tried to customize a model.py file from the document example like this:
https://github.com/laurence-lin/labelstudio/blob/main/model.py
After that, I go to the directory and initialize backend by label-studio-ml init my_backend
and then start by: label-studio-ml start my_backend --force
The message in command line shows like this:

But the port didn't open automatically, and when I pasted the 9090 port to browser it shows nothing. What's happening? Is my model.py file have problems with it?

I feel like we can't help you there without you providing additional information... At least your model.py, what environment you are running in, etc...

I feel like we can't help you there without you providing additional information... At least your model.py, what environment you are running in, etc...

My model.py is presented in the link above. I was working on Windows 10 with Python 3.8.
I installed label-studio via this command:

Then I start to work with tutorials of building machine learning framework via this link:
https://labelstud.io/tutorials/dummy_model.html
I adjust the model.py file as the link in the origin post, and when I run label-studio-ml start my_backend
The error shows as in the post.

Have you connected your ML backend to LS on Model page?

Have you connected your ML backend to LS on Model page?

Yeah! I forgot about that, it's solved. Thank you!


Unnecessary CalendarDay rerenders

When using the why-did-you-update plugin, there are some unnecessary CalendarDay rerenders when hovering on the calendar.
This issue is a follow up to https://github.com/airbnb/react-dates/issues/1297

@majapw Maybe we can skip onDayMouseEnter for blocked days?
https://github.com/airbnb/react-dates/blob/75bba6b7eb92f57727b45bacdb83221eee6667b6/src/components/CalendarDay.jsx#L76-L79
  onDayMouseEnter(day, e) {
    const { onDayMouseEnter, modifiers } = this.props;
    if (!modifiers.has('blocked')) {
      onDayMouseEnter(day, e);
    }
  }


Support for retrieving/deleting resources by ID

Hi,
The SDK supports retrieving resources by Name, but  can we have methods that take in an ID and get the  resource or delete the resource ? most of the other cloud providers like AWS have this implemented.
Thanks -Madhu

Hi @madhukargilla

Get by id is available in the azure-mgmt-resource package, otherwise it will provide you a dict of the properties, not a Python object like a regular "get" will.
Delete by id is available (same package).

In a general way, "azure-mgmt-resource" will contains generic commands to help you deal with Azure resources in a generic way, but will not contains Python object definitions like specific packages will.
Thank you,

can you please point us to the unit test or a example on the usage ?
Thank you.


feat: add imuxin/kubectl-watch

imuxin/kubectl-watch: A kubectl plugin to provide a pretty delta change view of being watched kubernetes resources
$ aqua g -i imuxin/kubectl-watch

How to confirm if this package works well
Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well.
Please confirm if this package works well yourself as much as possible.
Command and output
$ kubectl-watch --help
kubectl-watch 0.2.3
A kubectl plugin to provide a pretty delta change view of being watched kubernetes resources

USAGE:
    kubectl-watch [OPTIONS] [ARGS]

ARGS:
    <RESOURCE>    Support resource 'plural', 'kind' and 'shortname'
    <NAME>        Resource name, optional

OPTIONS:
    -A, --all                       If present, list the requested object(s) across all namespaces
        --export <EXPORT>           A path, where all watched resources will be strored
    -h, --help                      Print help information
        --include-managed-fields    Set ture to show managed fields delta changes
    -l, --selector <SELECTOR>       Selector (label query) to filter on, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2)
        --mode <MODE>               delta changes view mode [default: tui] [possible values: tui, simple]
    -n, --namespace <NAMESPACE>     If present, the namespace scope for this CLI request
        --use-tls                   Use tls to request api-server
    -V, --version                   Print version information

Thanks!

Released. https://github.com/aquaproj/aqua-registry/releases/tag/v3.140.0


Spec output should inform that controller specs dont render template

I spent hard time to find out why my partial returns no content (rails specs says that it was rendered), such information would help some people to avoid such confusion.

Are you referencing render_views?

@justinko yes

@justinko I may missundersood you: when I'm using render_views everythings fine, but I thing that if someone is not using it such information should display in rspec output

@slawosz yes, it would be helpful, but it's stated in README:
RSpec's preferred approach to spec'ing controller behaviour is to isolate the controller from its collaborators. By default, therefore, controller example groups do not render the views in your app. Due to the way Rails searches for view templates, the template still needs to exist, but it won't actually be loaded.

Also documented https://www.relishapp.com/rspec/rspec-rails/docs/controller-specs and http://rubydoc.info/gems/rspec-rails/file/README.md#isolation_from_views.
I can appreciate that this is different from what you're used to if you're moving from Rails' built-in framework to RSpec, but since this is well documented default behavior, we're not going to clutter up the output of every run with this information.


MFEM_USE_CUDA vs SIMD

Simplify nvcc + host compiler: if MFEM_USE_CUDA is enabled, don't try to use SIMD on the host; otherwise do.

[x] x86 @ tux429, pascal: intel/19.0.4, intel/19.1.0, gcc/4.9.3, gcc/7.1.0, gcc/7.3.0, gcc/7.5.0, gcc/8.1.0, gcc/8.4.0,clang/6.0.0
[x] vsx @ lassen: gcc/7.2.1-redhat, gcc/8.3.1, xl/2020.06.25
[x] qpx

PR
Author
Editor
Reviewers
Assignment
Approval
Merge

#1642
@camierjs
@v-dobrev
@v-dobrev + @YohannDudouit
07/24/20
⌛due 08/07/20
⌛due 08/14/20

How much performance gain can users expect by turning SIMD on?

It gives ~ 2x speedup with the templated code.

@YohannDudouit, you didn't get a chance to chime in before this was closed, but I will still be interested to hear your thoughts on the proposed changes.

@tzanio My opinion is that this is better than disabling MFEM_USE_SIMD by default, because we show more of the performance of MFEM by default. From my perspective it's only an improvement over disabling SIMD, without any drawbacks.
I would just want to check that it works on Lassen, when not compiling with MFEM_USE_CUDA=YES.

@camierjs, what happened here? Did you move this to another branch? It seemed like there were some useful fixes here.

There wasn't really useful fixes if we enable the SIMD with known compiler to work.

What about the case of VSX + GCC that is currently broken? I thought this branch has a fix for that.

You're right, I can revert all but this line.

You're right, I can revert all but this line.

If the change is small, can we just add it to #1627?


Add Full size button thumbnail

All Thumbnail works as a button avoiding selecting other thumbnails on
the back, also more UX/UI Friendly for users.
[Replicates UX behaviour of tableviewCell instead of clicking the indicator]

LGTM, thanks!


[WIP] Multi download

Once python 2 is deprecated, we want to add parallel download back, see comment.

To tests:
    def test_download_multiple_url(self):

        url = "http://www.patentsview.org/data/20171226/botanic.tsv.zip"
        url = [url] * 6

        download_folder = "."
        fs = download_url(url, download_folder, hash_value=None)


Docs are scattered; Template files are inconsistent.

Issue Summary
Installing pinax-stripe was easy enough, but customizing the templates has been a huge time vampire. They don't come in this repo so I had to do a search and found your other theme repo. Downloaded the template files and installed into templates/pinax_stripe/* but some need to be in templates/pinax/stripe/* - it's pretty inconsistent.
Missing template files, too. After install you can go to localhost:8000/payments/payment-methods/ and Django will raise an error about missing template files, looking for pinax/stripe/paymentmethod_list.html or pinax_stripe/card_list.html (again, inconsistent naming and directory namespacing). But these files don't exist in the Bootstrap theme repo.
I like that pinax-stripe just works (unlike dj-stripe) but the templates being in a different repo, docs not referring to the location of them, and the inconsistency has been driving me insane.
Are you currently working on this? I'd really appreciate if you were!

Yeah same experience here. I think this the way to copy templates but it didnt work for me
https://github.com/pinax/pinax-stripe/issues/555
I also tried dj-stripe and came here after giving up on it, I love the idea of pinax-stripe and it seems to be still being developed but I dont think theres a single person using it. I just found a bug thats existed since Feb 2016 - unable to delete account. I am just learning Django but hope to contribute to this project if I can get up to speed on it, I think wanting to build a SaaS app with django and stripe would be very in demand now and in the future

I dont think theres a single person using it

We're using it, but not the templates, but rather for integration with DRF.
And we had to do a lot of work to make it work for us after all.
I think the same applies to (both of) you now regarding the templates.

This has turned out quite disastrous, tbh. When I subscribe to a plan, it creates two subscriptions and doesn't let the user delete one of them. Between this an dj-stripe, I'm probably just going to write my own Stripe app. :'(

Yes same here, I think I’ve put in about 20hours to get to a basic “working” installation of pinax-stripe. By working I mean installed with its bugs as you described - unable to delete account, unable to cancel a subscription
If you write your own maybe we can work together. I am trying to make a simple saas app. DRF backend with VueJS frontend is what I’m thinking would be best

See also https://github.com/pinax/pinax-stripe/issues/492#issuecomment-343542705.
You might want to ping the commenter.
As for the templates you might want to wait for @paltman to comment on it.
From the traceback of https://github.com/pinax/pinax-stripe/issues/555 I assume that it might be something trivial to fix, but have not and will not investigate.

The templates are in pinax-templates, specifically https://github.com/pinax/pinax-templates/tree/master/pinax/templates/templates/pinax/stripe
I think the inconsistency in the template paths you found came from that old theme library which has been deprecated.
I'm pretty sure the templates are all working out of the box as I've tested them through an integration with the Stripe Starter Project.
Documentation is something that is definitely needed.  I'd love any help with that if anyone is willing.  This is open source and I do my best to keep up with PRs and accept collaboration.  @blueyed has helped a TON on this and I'm super grateful for it.
Let me know if you need any help or pointers in starting your own library, @KalobTaulien.  Feel free to beg/borrow/steal whatever you want from this one.  I haven't yet seen the duplicate subscription issue and I've personally seen this app running SaaS solutions in dozens of instances.  I know that comment was some months ago now, but would you be able to create an issue with details so that I could try to reproduce the scenario and get a fix in place?  In terms of deleting a subscription, you can cancel it.  Was that what you were looking for?  There isn't the notion of deleting a subscription in the Stripe API.

@paltman Templates don't work out of the box with just 'pinax.stripe' installed. It throws missing template errors. When you add pinax_templates, it then throws bootstrap tag errors.


Cannot move in some room

http://dovahkiin.stanford.edu/sim/simulator.html?scene[fullId]=p5dScene.0004d52d1aeeb8ae6de39d6bd993e992/&collisionDetection[mode]=navgrid&navmap[refineGrid]=true&agent[radialClearance]=0.2

Thank you for trying out MINOS.
The scene id in the URL is not in the set of prepackaged scenes that we provide with the repository.  The set of prepackaged scenes is listed in data/scenes.multiroom.csv.
If you would like to experiment with other scenes in SUNCG, please run the server/export_navgrid.js script for the given scene ids, and add the output files to the navgrid directory under the extracted SUNCG data package.
We are working on expanding the documentation to include instructions on generating these scene metadata files, and on how to sample episodes for creating new benchmark train/val/test splits.  Please let us know if you have any other issues in the meantime.


[cinder-csi-plugin] Fix 404 Docs and Enrich links

Fix cloud-controller-manager page which results in 404
Enrich manifests links to ease access
Add Links to examples to avoid confusion
Signed-off-by: rootsami<EMAIL_ADDRESS>
What this PR does / why we need it:
To fix issue with cinder-csi-plugin's doc
Which issue this PR fixes(if applicable):
fixes #
Special notes for reviewers:

Release note:

/assign

/ok-to-test

/lgtm
/approve


Removed unnecessary spaces on mtp.cfg

I think these are tabs and are there for visibility, imo better to make all equal in length

I think these are tabs and are there for visibility, imo better to make all equal in length
Yep, they are tabs. They are for visibility but the file isn't edited so much so they are not necessary to stay on the file. Plus, removing the tabs reduces the file size.

Maybe then you should also remove quotation marks, these have no effect if there are no spaces in filenames

Maybe then you should also remove quotation marks, these have no effect if there are no spaces in filenames

They are present in the original file.

I just checked to be 100% sure, with 0's and 1's, with and without quotes. All do work, that means quotation marks are not necessary.

I just checked to be 100% sure, with 0's and 1's, with and without quotes. All do work, that means quotation marks are not necessary.

I know about this. I am just keeping the quotation marks because they are present in the original file. You can make a pull request to remove it, if you wish.

Then you should be consistent and also keep tabs, because they are present in the original file.

Then you should be consistent and also keep tabs, because they are present in the original file.

Nope, I prefer to remove the quotation marks too.

Taking #232 instead


kubecfg diff is showing incorrect information (marking unchanged lines as changed, ...)

When running kubecfg diff on our infrastructure, the output often contains lines that do no change, e.g.:
$ kubecfg diff my/config.jsonnet
...
-    "replicas": 1,
+    "replicas": 1,
...
               {
-                "containerPort": 8089,
+                "containerPort": 8089,
                 "name": "whatever",
                 "protocol": "TCP"
               }
...

Moreover, we've seen cases when the diff was out-of-context, e.g. environment variable showing a value change to a value that should belong to another environment variable according to the configuration.
$ kubecfg version
kubecfg version: v0.9.0
jsonnet version: v0.10.0
client-go version: v0.0.0-master+$Format:%h$

Not having inspected the code, I think these port differences show up due to the “int ot string” representation used in the Kubernetes API. Perhaps kubecfg is reading an integer (or just a number) from the evaluated Jsonnet output, but the API server is presenting a string for the corresponding field’s value.

That might indeed be a part of the problem (but IIRC, I tried representing my values as both strings and ints and in both cases I got invalid output, so it might be a bit more intricate). Another issue might be hidden inside gojsondiff library -- there are a few open issues that result in incorrect diffs produced, e.g.:

https://github.com/yudai/gojsondiff/issues/24
https://github.com/yudai/gojsondiff/issues/30

W.r.t. the issues I mentioned, while the first one (no-op diff lines) are just an annoyance, the other issue I mentioned (likely related to https://github.com/yudai/gojsondiff/issues/24) is actually dangerous, since it presents the user with false infrastructure changes data; I'd recommend prioritizing that one.

Thanks for the problem report.  Yes, the current diff code is the simplest thing I could put together, and could benefit from some actual thought.  Designs/patches up to entire replacements welcome.

 That would probably be reasonably fool-proof (although without any json-specific heuristics).

Friendly ping :) I attached my PR to update the diff code a bit; please let me know what you think about it. Some custom formatting code was needed to maintain backward compatibility.
bikeshed warning: I changed the color formatting to change color of text instead of text background, which I found quite hard to read. I'll be happy to revert the change if needed.

Fixed by #230


Dealing with ampersands in add_picture

I'm getting an XML error when trying to add a picture.  I did some searching and the root cause is there is an ampersand in the picture file name.  I found this thread on stack overflow (https://stackoverflow.com/questions/38461983/unknown-error-in-python-pptx-module-add-picture/) which is identical to what I'm dealing with.  I unfortunately cannot change the picture filenames so I need to find a work around.  Scanny mentions that the name needs to be escaped before writing.  Is this something I can implement myself?  If so how?

How about a global find and replace with & - which is the entity reference?

I tried a local version of this already within the add_picture argument:
prs.slides.shapes.add_picture(filename.replace('&', '&'))
It cleared the XML error but then gave me a FileNotFoundError so it's not able to find the picture after I do that.  I don't understand the underlying XML very well but it sounds like I need to do that but at a deeper level somewhere after the picture is already called.  I'm open to any suggestions.

@materialguy what version are you running? I retired this issue in the latest release with this code and the test in that same commit: https://github.com/scanny/python-pptx/commit/127d73ab29a5729cc026bc4426e7fb7abaf5d647#diff-8e59c8e26c1c0cd74b68b6cdf39b0ae91d4ca11615845e8a56b75fde8a48be5cL64-R70
If for some reason that's not working I'd like to work out why :)

That was it, I was running 0.6.19.  Upgraded to 0.6.21 and the problem is now solved. Thanks Scanny!

Glad you got it working :)


Backups created on one instance cannot be restored to another: "An internal error has occurred"

This issue is raised from a conversation on the InfluxDB Community Slack with @samhld. I've been trying to transfer bucket data between InfluxDB instances using the backup/restore functionality and seeing problems with the restore operation.
The influx restore call appears to fail:
❯ influx restore --full . -t wJMugsVT2fp8MBiFqqPcOVO2yYvUSdAAU0Ou9xbbf7RTJ293ewGMJqOjeAs9EP6edth-8C1b_ssoPNgGQ8s27g==
2022-07-28T17:30:43.318507Z     info    Restoring full metadata from local backup       {"log_id": "0byTbrxG000", "path": "20220728T003806Z.bolt.gz"}
Error: Failed to upload local KV backup at "20220728T003806Z.bolt.gz": An internal error has occurred - check server logs.
See 'influx restore -h' for help

The server logs then show a slightly less confusing message:
❯ sudo journalctl -fu influxdb
-- Logs begin at Sun 2022-07-10 19:19:14 PDT. --
Jul 28 08:55:10 hitl-nuc influxd-systemd-start.sh[11661]: ts=2022-07-28T15:55:10.151870Z lvl=info msg="Retention policy deletion check (start)" log_id=0bxTmYe0000 service=retention op_name=retention_delete_check op_event=start
Jul 28 08:55:10 hitl-nuc influxd-systemd-start.sh[11661]: ts=2022-07-28T15:55:10.152082Z lvl=info msg="Retention policy deletion check (end)" log_id=0bxTmYe0000 service=retention op_name=retention_delete_check op_event=end op_elapsed=0.232ms
Jul 28 09:25:10 hitl-nuc influxd-systemd-start.sh[11661]: ts=2022-07-28T16:25:10.151421Z lvl=info msg="Retention policy deletion check (start)" log_id=0bxTmYe0000 service=retention op_name=retention_delete_check op_event=start
Jul 28 09:25:10 hitl-nuc influxd-systemd-start.sh[11661]: ts=2022-07-28T16:25:10.151927Z lvl=info msg="Retention policy deletion check (end)" log_id=0bxTmYe0000 service=retention op_name=retention_delete_check op_event=end op_elapsed=0.516ms
Jul 28 09:55:10 hitl-nuc influxd-systemd-start.sh[11661]: ts=2022-07-28T16:55:10.151855Z lvl=info msg="Retention policy deletion check (start)" log_id=0bxTmYe0000 service=retention op_name=retention_delete_check op_event=start
Jul 28 09:55:10 hitl-nuc influxd-systemd-start.sh[11661]: ts=2022-07-28T16:55:10.152669Z lvl=info msg="Retention policy deletion check (end)" log_id=0bxTmYe0000 service=retention op_name=retention_delete_check op_event=end op_elapsed=0.833ms
Jul 28 10:25:10 hitl-nuc influxd-systemd-start.sh[11661]: ts=2022-07-28T17:25:10.152179Z lvl=info msg="Retention policy deletion check (start)" log_id=0bxTmYe0000 service=retention op_name=retention_delete_check op_event=start
Jul 28 10:25:10 hitl-nuc influxd-systemd-start.sh[11661]: ts=2022-07-28T17:25:10.152724Z lvl=info msg="Retention policy deletion check (end)" log_id=0bxTmYe0000 service=retention op_name=retention_delete_check op_event=end op_elapsed=0.566ms
Jul 28 10:25:45 hitl-nuc influxd-systemd-start.sh[11661]: ts=2022-07-28T17:25:45.734845Z lvl=warn msg="internal error not returned to client" log_id=0bxTmYe0000 handler=error_logger error="unable to open boltdb: invalid database"
Jul 28 10:30:43 hitl-nuc influxd-systemd-start.sh[11661]: ts=2022-07-28T17:30:43.388630Z lvl=warn msg="internal error not returned to client" log_id=0bxTmYe0000 handler=error_logger error="unable to open boltdb: invalid database"

AFAIK I'm running the latest versions of InfluxDB and Influx CLI:
❯ influxd version
InfluxDB v2.3.0+SNAPSHOT.090f681737 (git: 090f681737) build_date: 2022-06-16T19:33:50Z
❯ influx version
Influx CLI 2.3.0 (git: 88ba346) build_date: 2022-04-06T19:30:53Z

@samhld indicated that he has escalated this to the engineering team and suggested that I file a report here for further investigation. Please let me know what additional information would be helpful in the debugging process.

Are you trying to restore into an existing database or a new one?
Are you able to share the backup with us? We can provide a private SFTP to upload it to - that would allow us to try the restore and fully diagnose the issue.

@lesam This is an existing database instance with an intersecting, but not subset of the backup dataset. This is to say that it already has some of the data in the backup from previous attempts and backup approaches, but it also has fresh data that it generated and is not in the backup.
Sure! I don't think we have a problem with sharing it for diagnostic purposes. I believe it's ~100 GB, though... as long as you are okay with that.

@neilbalch Where is the influxdb data being stored? On a local file system? Network file system? Virtual machine / container?
My intuition is that the error is related to the overlapping data / shards / retention policies, but I would not expect the unable to open boltdb: invalid database error. I would also think you'd be having much bigger issues if the boltdb metadata store was actually corrupt.
I am also working on getting something setup so you can send the backup for us to analyze.

@gwossum

Where is the influxdb data being stored? On a local file system? Network file system? Virtual machine / container?

Local NTFS disk on bare-metal (i.e. not virtualized) Ubuntu 18.04

I am also working on getting something setup so you can send the backup for us to analyze.

Thank you! Yeah, I'm also fairly confused by this. If it were true that the boltdb store was corrupt, I would expect InfluxDB as a whole to be unresponsive, but the localhos:8086 admin page and write/query operations work normally.

@neilbalch I'm working on getting the sftp site set up.
While that's going on, would it possible for you to try restoring the backup into a brand new InfluxDB instance? If that works, that's a strong indicator its overlapping data / shards / metadata causing the issue.
Regarding Linux with NTFS, it's possible the backup is corrupt. NTFS has issues creating symlinks, which the internal InfluxDB snapshotting service used for backup uses by default. This was fixed for Windows hosts with this PR, but I do not believe that PR would correct Linux issues since it checks the running OS to make the decision, not the underlying file system.
Also, Linux NTFS support can be a bit iffy, depending on which driver you use and which version. BoltDB has known issues on file systems that don't faithfully support all mmap semantics. A Linux host with an NTFS file system isn't a combination we test or necessarily support. You might try a native Linux file system like ext4 or xfs and see if you get different results.

@gwossum Hrm, interesting! Yes, that email would work

@gwossum Good morning! The SFTP file transfer has finished and you should see two backups on the server: 20220728 and the more recent 20220808. Both were created with influx backup in the exact same way, but on different dates.
Curious to hear what you can find from them.


Add support to the demo app for playing back assets from Verizon Digital Media

This is more of a feature request than a bug, so I won't go through all the reproduction steps that were in the template.
I would like to request that support for Verizon Digital Media Services (or Uplynk) streams be added to the demo application.  This would provide an example of what is needed to communicate with the VDMS license proxies and playback VDMS streams, as well as providing some samples of what VDMS streams should be expected to look like.

Sounds good to me.  I will check out the PR.

Cherry-picked to v2.1.1 and v2.0.9.


Not working on Hunter

I tried so many times. Its just not working on Hunter. it works on my druid, dh, monk, even my low level warrior.
1 - Whatever name I save the macro, whether it's HunterST or Hunter or even just HST.
2 - Even if the macro has just 1 simple command /dismount.
Kindly advise, if not I'm forced to go back to 1.5.3 and MyMacros. This method works flawlessly every single time.

You have a corrupt hunter macro in your library and it's breaking that class.  Once you fix that you will be fine.  There are two ways you can do this.
The hard way - open your GSE.lua file after completely exiting the game and going through all your Hunter macros and finding the culprit or the easier way - do a /gs showspec to get the class of and the /run GSELibrary[classid] = nil. Eg warriors are 1 so to remove all your warrior macros I would go /run GSELibrary[1] = nil
The downside of the easier way is that it removes all hunter macros.
TimothyLuke

On 23 Feb 2017, at 4:03 am, justinlcw<EMAIL_ADDRESS>wrote:
I tried so many times. Its just not working on Hunter. it works on my druid, dh, monk, even my low level warrior.
1 - Whatever name I save the macro, whether it's HunterST or Hunter or even just HST.
2 - Even if the macro has just 1 simple command /dismount.
Kindly advise, if not I'm forced to go back to 1.5.3 and MyMacros. This method works flawlessly every single time.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

This is also a duplicate of #266

thx bro. solution works.
fyi - manually creating an empty default macro with the same name as the sequence might be the problem. I did this and the macro does nothing. however pressing the create icon button from your addon and using that does work. Not sure why since both appear to be the same thing.


[bug] the iframe bottom gets trimmed when is larger than 100vh

maybe it has to do with the css max/min heights of some level in the parent(s), but when the content of the iframe is larger than the viewport height, it gets trimmed at the end.

I have a fix for the issue, I can apply.


Impossible to export build on iOS

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description

Since last week, when i try to build + upload to testflight an app i got this error.
The build work fine, i can find the builded app in the Organizer and upload to testflight from xCode, but the export fail with Fastlane
+ xcodebuild -exportArchive -exportOptionsPlist /var/folders/pt/_7bx_5990fx8ttxhwppk8gqw0000gn/T/gym_config20231025-4829-ubgmmv.plist -archivePath '/Users/imac/Library/Developer/Xcode/Archives/2023-10-25/E-Grains 2023-10-25 11.17.03.xcarchive' -exportPath /var/folders/pt/_7bx_5990fx8ttxhwppk8gqw0000gn/T/gym_output20231025-4829-msa6cb
2023-10-25 11:18:34.011 xcodebuild[6524:24436] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path "/var/folders/pt/_7bx_5990fx8ttxhwppk8gqw0000gn/T/Adh----AppMobile_2023-10-25_11-18-34.011.xcdistributionlogs".
error: exportArchive: No profiles for 'com.****.----' were found

Error Domain=IDEProfileLocatorErrorDomain Code=1 "No profiles for 'com.****.----' were found" UserInfo={IDEDistributionIssueSeverity=3, NSLocalizedDescription=No profiles for 'com.****.----' were found, NSLocalizedRecoverySuggestion=Xcode couldn't find any iOS App Store provisioning profiles matching 'com.****.----'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.}

** EXPORT FAILED **
[11:18:42]: Exit status: 70

This is a multiple scheme App, and i build a list of app or a specific app thank to a menu with fastlane and then build with the command below.
I dont get why from a day to another on 2 differents projects i got this issue... If someone can help me !
Command executed

build_app(workspace: "AdhAppMobile.xcworkspace", scheme: "Adh#{clientName}AppMobile", clean: true, silent: true,)
#Slack message
on_success(name, clientName, "build")

upload_to_testflight(skip_waiting_for_build_processing: true)
#Slack message
on_success(name, "", "upload")

I've tried adding this :  enable_automatic_code_signing before the build line but still got the issue.
Environment
✅ fastlane environment ✅
Stack

Key
Value

OS
13.4.1

Ruby
3.1.4

Bundler?
false

Git
git version 2.39.2 (Apple Git-143)

Installation Source
/opt/homebrew/Cellar/fastlane/2.216.0/libexec/bin/fastlane

Host
macOS 13.4.1 (22F82)

Ruby Lib Dir
<EMAIL_ADDRESS>

OpenSSL Version
OpenSSL 3.1.0 14 Mar 2023

Is contained
false

Is homebrew
true

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
14.3.1

Swift Version
5.8.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane gems

Gem
Version
Update-Status

fastlane
2.216.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

error_highlight
0.3.0

did_you_mean
1.6.1

public_suffix
5.0.3

addressable
2.8.5

artifactory
3.0.15

jmespath
1.6.2

aws-partitions
1.824.0

aws-eventstream
1.2.0

aws-sigv4
1.6.0

aws-sdk-core
3.181.1

aws-sdk-kms
1.71.0

aws-sdk-s3
1.134.0

babosa
1.0.4

bundler
2.4.10

rexml
3.2.6

CFPropertyList
3.0.6

colored
1.2

highline
2.0.3

commander
4.6.0

dotenv
2.8.1

emoji_regex
3.2.3

excon
0.103.0

faraday-em_http
1.0.0

faraday-em_synchrony
1.0.0

faraday-excon
1.1.0

faraday-httpclient
1.0.1

multipart-post
2.3.0

faraday-multipart
1.0.4

faraday-net_http
1.0.1

faraday-net_http_persistent
1.2.0

faraday-patron
1.0.0

faraday-rack
1.0.0

faraday-retry
1.0.3

ruby2_keywords
0.0.5

faraday
1.10.3

faraday_middleware
1.2.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.5

faraday-cookie_jar
0.0.7

fastimage
2.2.7

gh_inspector
1.1.3

uber
0.1.0

declarative
0.0.20

trailblazer-option
0.1.2

representable
3.2.0

retriable
3.1.2

mini_mime
1.1.5

jwt
2.7.1

multi_json
1.15.0

os
1.1.4

signet
0.18.0

googleauth
1.8.0

httpclient
2.8.3

webrick
1.8.1

google-apis-core
0.11.1

google-apis-androidpublisher_v3
0.49.0

google-apis-playcustomapp_v1
0.13.0

google-cloud-env
1.6.0

google-cloud-errors
1.3.1

google-cloud-core
1.6.0

google-apis-iamcredentials_v1
0.17.0

google-apis-storage_v1
0.19.0

rake
13.0.6

digest-crc
0.6.5

google-cloud-storage
1.44.0

json
2.6.1

mini_magick
4.12.0

naturally
2.2.1

optparse
0.1.1

plist
3.7.0

rubyzip
2.3.2

security
0.1.3

simctl
1.6.10

terminal-notifier
2.0.0

unicode-display_width
2.4.2

terminal-table
3.0.2

tty-screen
0.8.1

tty-cursor
0.7.1

tty-spinner
0.9.3

word_wrap
1.0.0

atomos
0.1.3

claide
1.1.0

colored2
3.1.2

nanaimo
0.3.0

xcodeproj
1.22.0

rouge
2.0.7

xcpretty
0.3.0

xcpretty-travis-formatter
1.0.1

set
1.0.2

forwardable
1.3.2

logger
1.5.0

pathname
0.2.0

shellwords
0.1.0

cgi
0.3.6

date
3.2.2

timeout
0.2.0

stringio
3.0.1

securerandom
0.2.0

uri
0.12.1

openssl
3.0.1

digest
3.1.0

io-nonblock
0.1.0

ipaddr
1.2.4

io-wait
0.2.1

zlib
2.1.1

resolv
0.2.1

time
0.2.2

open-uri
0.2.0

mutex_m
0.1.1

net-http
0.3.0

net-protocol
0.1.2

ostruct
0.5.2

english
0.7.1

erb
2.2.3

strscan
3.0.1

abbrev
0.1.0

io-console
0.5.11

tempfile
0.1.2

delegate
0.2.0

fileutils
1.6.0

tmpdir
0.1.2

base64
0.1.1

singleton
0.1.1

open3
0.1.1

nkf
0.1.1

prettyprint
0.1.1

pp
0.3.0

find
0.1.1

yaml
0.2.0

psych
4.0.4

generated on: 2023-10-25

Well, i've updated my Mac to MacOS Sonoma 14.1 so i could update xCode and now everything works fine again.

My bad, it worked for 1 build and now i have the same issue again 🤡


Remove unused imports after PR for C*-9160

@mambocab to review

isort isn't complaining about what's left here.

+1!


ReadOnly Setting and Caching of backend results

Added a READONLY settings for constance.
This is helpful in the case where for example a cluster of webservers are behind a PostgreSQL, Redis or other readonly backend slaves.
The setting avoids trying to save a setting if it does not exist in the (slave) backend.

Added CachedConfig and CachedAllConfig classes.
The use case for these are websites with a lot of requests per second. While profiling we found that when your RPS is getting high enough a decent amount of time is being spend doing Redis calls. Specially if there many different constance values to be checked for every request.
CachedConfig will cache an individual option for CACHE_TIMEOUT seconds. CachedAllConfig will use the backends mget() method to retrieve all the options every time it refreshes the cache. The latter may be particularity useful when most of the options are actually used and therefor mget is more efficient then multiple single calls to get().
Note that these changes are not Thread-Safe. But I figured Constance is not particularly thread-safe anyways.

The pull request is not clean since there a other changes to my fork, my apologies for that. I doubt a clean pull request will be possible from my repository. However the changeset for the READONLY settings should apply cleanly.
If there is interest enough in these patched I can try to port them directly so they will merge cleanly.

@trbs I'm closing this PR since it has diverged too much from the main repo but feel free to open new PRs for the read-only feature or whatever you consider worth porting upstream again.

No problem. I'm considering moving back or rebasing on django-constance again. If I do that then I'll create PR's for any missing feature that might be interesting for the upstream.


Update vulnerable jwt lib

github.com/dgrijalva/jwt-go is not maintained, and contains a security vulnerability (that we are not affected by).
Upgrade to replacement fork https://github.com/golang-jwt/jwt, and improve token validation.

solved in https://github.com/mimiro-io/datahub/pull/72


Reject types with invalid names

Sets up some basic infrastructure for name validation and hooks it up to the registry.
In terms of error messages I tried to stick to the reference implementation.
As a next step we could explore if/how to leverage Name::is_valid from the codegen to provide compile-time errors for invalid names, perhaps via the upcoming compile_error! macro, or simply via panic!-ing (would love your guidance on that, @theduke).
Fixes #72

Looks great, thanks!

@srijs thanks for this.
I think we should panic on invalid names, both in the macros and in the custom derives.


fix: inconsistent default reason for GatewayClass status (#3225)

What type of PR is this?

/kind bug
What this PR does / why we need it:
This PR ensures that always Pending is set as a default reason for the status condition Accepted of a new GatewayClass.
Which issue(s) this PR fixes:

Fixes #3225
Does this PR introduce a user-facing change?:

The default reason for GatewayClass status condition Accepted is always set to Pending.

Thanks @snorwin!
/ok-to-test
/approve

/lgtm


[Email channel] Cannot setup email in botframework portal - Error 500 thrown

System Information

SDK Language:  .Net/C# at least
SDK Version: <IP_ADDRESS>
Development Environment: localhost

Issue Description
When setting up my Email channel, after setting a real Office 365 account (previously working for the same bot), there is an Internal server error and the action cannot be completed
Steps to Reproduce the Issue

Add Email channel on your bot
Fill email and password, click on save

Expected Behavior
The parameters is saved and the channel will be set up
Actual Results
Internal server error

Note: link to Stack Overflow question revealing the problem: https://stackoverflow.com/questions/45317635/microsoft-bot-framework-email-channel-unable-to-save-email/

@nrobert System information is always relevant as we track issue counts per SDK type.

@nwhitmont hi Nils, as this was a channel configuration issue I thought it wasn't relevant, sorry, post edited

Anyone get this working? Or find a work around?
Trying to add an E3 Office365 email and its giving me the same error

@nrobert did you ever resolve this?

@JasonSowers  did not had time to try again, but will do in the following days

I can confirm that I still got "Unable to save" during configuration of Email Channel

@nrobert  Is this an office 365 account?
from the docs:

The Email channel currently works with Office 365 only. Other email services are not currently supported.

I have tried with an office365 account as well as an outlook live account. Still get the same error

Yes it is an Office365 account, and it has worked previously as I already used it

Any update on this? Just checked again and its still not working

Not working for Office365 and outlook.com account
I am also facing the same problem.

So the issue was,
I was trying with Office365 email account with E1 License.
When I upgraded the license from E1 to E3, email channel added successfully and worked !

@nrobert
Please try registering a new bot, and see if you are able to save the same email address in the email channel configuration for that bot (if it works, we know there is something up with the bot in the portal).

You can also try running the Microsoft Exchange Web Services Connectivity Tests from here and see if they provide any insight into the problem.

This is not working yet. I have a suscription, a hace registered new bots useing differents accunts of my organization, and the same error. Please provide us a solution for this.

@EricDahlvang an update on my situation #3593. We are still stuck, none of our organization's emails are working in the botframework portal. We've tried different bots in different portal accounts to no avail, the accounts were working just fine two weeks back.
Same error:

Any idea on what this could be?

Does your email account pass the Microsoft Exchange Web Services Connectivity Tests from https://testconnectivity.microsoft.com/?  Are you getting any warnings from those tests?

I have the same problem when I try to change a value of Calling in Skype. I think it´s a general bug

The problem is still actual. Whether the account passes the Connectivity Tests or not, I get the same error. Despite this error O365 account saves and email channel works.

@alet149: The Skype config error is unrelated and has been fixed. Try making your change again.
@denisyfrolov: I'm a bit confused by your comment. You're getting the "Unable to save" error, but the configuration still saves and the email channel works? Or are you referring to a different error?

I'm seeing that the bots in the screen shots provided by @nrobert and @MbV93 both have configured email channels now. Did you change something that fixed the issue, or did it just work after you tried to submit it again?

No, nothing changed.
My mail channel was disabled when you post your message, I tried the following now:

re-enabled: worked
deleted the channe: OK
tried to recreate the channel: got "enabled to save" once again.

I checked again my credentials on mail.office365.com, they are valid.
And I can't remember how I managed to get the channel back the last time

@nrobert  for the email account that will not save, do you get any warnings from these tests: https://testconnectivity.microsoft.com/ ?

Which test should I run?

Microsoft Exchange Web Services Connectivity Tests

@nrobert @alet149 @Joffers @coderjoker @denisyfrolov @MbV93
The code here: https://github.com/EricDahlvang/ExchangeConnectivityTest/blob/master/ExchangeConnectivityTest/CredentialsTester.cs is similar to what we run when verifying an email address during channel configuration saving.

Closing this due to inactivity.
If any of you are still having issues configuring a bot on the email channel, please test auto-discovery using code provided in the link above.  If that doesn't help, please open a new issue or @ message me.


Clicking the X on a server in the server list attempts to connect.

When you try to remove a server by clicking the corresponding X on the listing, Steven attempts to connect rather than removing the server.
Tested and present in Build #123
https://ci.appveyor.com/project/thinkofdeath/steven-rust/build/123
Untested in previous versions.

hello


XXH_STATIC_LINKING_ONLY and pkgconfig may cause problems.

The size of state structures is specifically not exposed by xxhash.h as in dynamic linking setup (e.g. using system library with pkgconfig) these structure sizes may change.
/*!
 * @brief Gives access to internal state declaration, required for static allocation.
 *
 * Incompatible with dynamic linking, due to risks of ABI changes.
 *
 * Usage:
 * @code{.c}
 *     #define XXH_STATIC_LINKING_ONLY
 *     #include "xxhash.h"
 * @endcode
 */

It would be nice if xxhash had a function returning a size of the structure (so the size would come from linked library, not a static header), but AFAICS, there's only _create() stuff, which insist on using their allocator.

There's also
/*!
 * @brief Initializes a stack-allocated `XXH3_state_s`.
 *
 * When the @ref XXH3_state_t structure is merely emplaced on stack,
 * it should be initialized with XXH3_INITSTATE() or a memset()
 * in case its first reset uses XXH3_NNbits_reset_withSeed().
 * This init can be omitted if the first reset uses default or _withSecret mode.
 * This operation isn't necessary when the state is created with XXH3_createState().
 * Note that this doesn't prepare the state for a streaming operation,
 * it's still necessary to use XXH3_NNbits_reset*() afterwards.
 */
#define XXH3_INITSTATE(XXH3_state_ptr)                       \
    do {                                                     \
        XXH3_state_t* tmp_xxh3_state_ptr = (XXH3_state_ptr); \
        tmp_xxh3_state_ptr->seed = 0;                        \
        tmp_xxh3_state_ptr->extSecret = NULL;                \
    } while(0)

when I forgot to use XXH3_INITSTATE, I got segfaults (as bytearray allocation doesn't zero the contents, does it?)

Yeah, good point, it's unlikely but possible that a dynamic library has different size of structures. I'm not wedded to using pkgconfig; xxhash is a small library and it's not a big deal to have multiple copies of it.


Is there any plan to support websocket ?

if some body want to use websocket ,his server system must update to window server2012 ,it  is terrible


Generate capability claims

[ ] Build knowledge on JWT tokens and Claims
[ ] How to get user's capability? Needs to figure out using Event vs API call => Based on that we will decide whether to use Capability service vs ADSync
[ ] Verify claims in Backstage
[ ] Identify which claims to generate => validate with the team. Identify claim schemas for org. claims (squad, chapter, tribe etc.) (Talk with Bo)
[ ] Investigate ways to expose claims to the rest of DFDS that they can use in their manifest. Produce a some sort of Claims dictionary For inspiration here: (
https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-optional-claims
https://docs.microsoft.com/en-us/dotnet/api/system.security.claims.claimtypes?view=net-5.0)

Aha! Link: https://dfds.aha.io/features/CLOUD-102

Also look at this documentation: https://docs.microsoft.com/en-us/graph/api/schemaextension-post-schemaextensions?view=graph-rest-1.0&tabs=http&WT.mc_id=AZ-MVP-5000174

Some Powershell input from Steffen:
$aadUser = Get-AzureADUser –ObjectId <userPrincipal>
$aadUser | Select –ExpandProperty ExtensionProperty

https://docs.microsoft.com/en-us/powershell/module/azuread/set-azureaduserextension?view=azureadps-2.0

https://docs.microsoft.com/en-us/azure/active-directory/develop/configure-token-lifetimes


Deleted manifests should be removed from the first node

If you delete a manifest file that was previously copied to the first node, and then re-run the playbook, the manifest will not be deleted on the node and its resources will be re-created.

I agree. #225 We will refactor to support.


+(OGVInputStream *)inputStreamWithURL:(NSURL *)URL is not available from Swift

Therefore, I don't see any way to create a proper OGVInputStream

I haven't tested interop with Swift yet so will have to do some testing. From my recollection of the message name translation rules it should be something like OGVInputStream.inputStream(URL: foo) ... ? But it might not be bridging correctly to begin with...

When translating to Swift, it cuts class name also, so it should look like OGVInputStream.(url: foo), which I guess is not valid.
I added two proxy method + (OGVInputStream *)createWithURL
and + (OGVInputStream *)createWithData
You can check my pull request https://github.com/brion/OGVKit/pull/218

Awesome -- I'll try to take a look at the pull req shortly. Thanks!

I don't really like this my solution, but I have no idea how to fix it nicely and keep version compatibility


[Docs] Pattern Management Through Meshery CLI can't apply file directly

Current State
Command give different output, I can't attach file locally via mesheryctl
mesheryctl pattern apply -f bookInfoPattern.yaml
Error: only github urls are supported

Desired State
applied pattern

Contributor Guides and Resources

📚 Instructions for contributing to documentation

Meshery documentation site and source

🛠 Meshery Build & Release Strategy
🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

If I use command mesheryctl pattern apply -f ./bookInfoPattern.yaml  it works

We need to rm pattern cmd declared twice https://docs.meshery.io/functionality/pattern-management

@alphaX86 will you qualify / validate @afzal442’s last suggestion?

Checking it up....

Found it... @afzal442 is right... 2 instances are found in the above docs page... the first one can be made as syntax though


Add smiles docking output

Description
Implements SMILES entries into docking outputs as previously done by @kaminow, I think this was lost during the recent refactor. Having SMILES is very helpful downstream during processing of docking results.
ToDo

[x] add SMILES to SDF file output under "SMILES"
[x] add SMILES to pickle output for later retrieval by docking analysis scripts

Status

[x] Ready to go

@JenkeScheen I just added the checked todos that I think you did, can you confirm that this is what your goals were?

ah thanks, yes, confirmed.

LGTM!


Update readthedocs config?

The docs build on RTD has been broken for a few months now, see https://readthedocs.org/projects/sfs-python/builds/
There's this error message when creating the conda environment:
Collecting package metadata (repodata.json): ...working... Killed

Command killed due to excessive memory consumption

Probably we should switch away from conda again?
We initially switched to conda years ago: #2.
I guess the limitations we had at that time are now long gone ...

I just heard that RTD has upgraded their servers, and now it indeed works again: https://readthedocs.org/projects/sfs-python/builds/
So it's not strictly necessary to switch away from conda now, but we might do it anyway at some point.

I remember having the same issue. Not sure but I think changing the channel from conda-forge to defaults solved it.

Seems to be that the builds are working again: https://readthedocs.org/projects/sfs-python/builds/12313514/

see mods for release 0.6.2
I guess we can close this for now.


💖 Rename config.breakpoints to config.viewports and add 4xs

Description
In CSS and web development, the width generally referred to is the viewport width, not the device width or the screen's physical width.
In the future, we may allow you to set the viewport range like this viewports: { md: { min: 1024, max: 1280 } }, so calling it a breakpoint may not be appropriate.
Expect
export default {
-   breakpoints: {
-       '3xs': 360,
-       '2xs': 480,
-       xs: 600,
-       sm: 768,
-       md: 1024,
-       lg: 1280,
-       xl: 1440,
-       '2xl': 1600,
-       '3xl': 1920,
-       '4xl': 2560
-   },
+   viewports: {
+       '4xs': 360,
+       '3xs': 480,
+       '2xs': 600,
+       'xs': 768,
+       'sm': 834,
+       'md': 1024,
+       'lg': 1280,
+       'xl': 1440,
+       '2xl': 1600,
+       '3xl': 1920,
+       '4xl': 2560
+   }
}

🎉 Released in https://github.com/master-co/css/releases/tag/v2.0.0-beta.166


[WIP][v0.10.3]Add HWI and Flashbots plugins as dependencies where missing

Proposed changes
This PR adds the hardware wallet and flashbots ledger plugin as dependencies where required
Fixes
https://github.com/valory-xyz/open-autonomy/actions/runs/4491072817/jobs/7899359285
Types of changes
What types of changes does your code introduce? (A breaking change is a fix or feature that would cause existing functionality and APIs to not work as expected.)
Put an x in the box that applies

[ ] Non-breaking fix (non-breaking change which fixes an issue)
[ ] Breaking fix (breaking change which fixes an issue)
[ ] Non-breaking feature (non-breaking change which adds functionality)
[ ] Breaking feature (breaking change which adds functionality)
[ ] Refactor (non-breaking change which changes implementation)
[ ] Messy (mixture of the above - requires explanation!)

Checklist
Put an x in the boxes that apply.

[ ] I have read the CONTRIBUTING doc
[ ] I am making a pull request against the main branch (left side). Also you should start your branch off our main.
[ ] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have locally run services that could be impacted and they do not present failures derived from my changes

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

Not relevant for now


Add array capabilities to substate

I am a litle bit late for 1.0 but lets do this ! 🚀
As in JavaScript arrays are objects with key as integer and a length property (and Array methods 🙄 ),
a lot of you/us tried to use the substate (slices) capablity along with arrays. Then ran in some troubles.
The merge functions are aware about objects but not about arrays, so it always return the object form
of the array.
But in JavaScript we have a method Array.from to retrieve and array from it object form.
This fix can be done both in userland or in core, but adding it in core add another feature.
Lets talk first about the userland solution.
The only main trouble is when iterating through the array to copy it, the length property is not itterated. So, the resulting target does not contain this property and we cant match the array properties (key as integer + length property).
In other words, by saving the length property, we will be able to use our slices arrays like we are doing it with regular object by applying the Array.from method in the view.
Please take a look at this pen : https://codepen.io/Swizz540/pen/JMWLXB?editors=0011
But, As I said earlier, adding it in core (for the cost of 34 bytes) add another feature, the ability to use array of substate/actions :tada:
const state = {
  counts: [{
    count: 0
  }]
}

const actions = {
  counts: [{
    up: () => state => ({ count: state.count + 1 })
  }]
}

const view = (state, actions) => (
  <div>
   {state.counts[0].count}
  </div>
)

const main = app(state, actions, view, document.body)

main.counts[0].up()

This is pretty interesting!
Is there an alternative way to implement this without Array.from, which would need polyfilling on IE?

Looks tempting @Swizz! I'll think about it.
I fear this would be a (small) perf hit, as we would be running that little dance for every state update.

@SkaterDad The official polyfill is only some bytes, lets @JorgeBucaran decide if he want us to use the polyfill instead.
/**
* @license MIT, GPL, do whatever you want
* @requires polyfill: Array.prototype.slice fix {@link https://gist.github.com/brettz9/6093105}
*/
if (!Array.from) {
    Array.from = function (object) {
        'use strict';
        return [].slice.call(object);
    };
}

Just a thought. Can't you just use the polyfilled form and reduce the bytes altogether?

@Swizz I'm a bit confused what the use case for this is.
If a state slice has a fixed number of different things, isn't it better to give each of them names instead of having to remember array indexes?
If your state slice has a dynamic number of the same things, isn't it better to have your action take which index/id/key to act on? That way your view can be dynamically created to match the allowed actions?


[ENH] Estimators failing test check_fit_deterministic

Describe the feature or idea you want to propose
fails of check_fit_deterministic are usually related to seeding, and looking at the list may be numba related

[ ] "SASTClassifier"
[ ] "RSASTClassifier"
[ ] "SAST"
[ ] "RSAST"
[ ] "SFA"

Describe your proposed solution
fix or create issue
Describe alternatives you've considered, if relevant
No response
Additional context
No response

@TonyBagnall how do I reproduce these errors?


Fix import wizard tests.

Add null check for NodejsPackage.Instance.
In TypeScript project, StartUpFile should be server.ts instead of server.js.

All ImportWizard* test cases should be passing after these changes (9/12 are failing right now).

:+1:


fix: pull coolify image only when the app needs to be updated

Always use next branch as destination branch for PRs, not main

Still looking to improve https://github.com/coollabsio/coolify/issues/3226
While doing so, I saw that the PullCoolifyImageJob was called every hour 👀 and even if is_auto_update_enabled was disabled, it was pulling the latest docker image (doing ssh stuff etc) so not really geat.
I also saw that at the end this job might not be needed as we already have a job to Update the instance, and pulling the latest version at that moment seems a better idea ?
So what that pr does:

move the docker pull to the Update class
remove the pull image from PullCoolifyImageJob thus making it a "FetchLatestCoolifyVersionJob"

But as we can see, we already have a CheckForUpdatesJob that fetch the version (in the same cron interval), and could save the versions.json file. That's what I did, the PullCoolifyImageJob is entirely removed, and CheckForUpdatesJob now saves the json file.

Note: not really sure how to test this, in local I removed the isDev check and made sure that there was no error in the scheduler. I also tried to force an update by removing the $this->latestVersion === $this->currentVersion check, no issue so far. (but as it's local I might have missed something)
And question for the reviewer as I do not know the codebase well enough: Do we need to have a PullHelperImageJob and run it every hour (update_check_frequency). Or can we pull that image when upgrading the app ? (or in other words, does the helper image change outside of releases)

@Vahor Why not just change the cron interval in the settings so change the update check frequency so that it does not happen every hour (I added it in v320, so it is new)?

@peaklabs-dev the 1h cron is not the issue, the issue is pulling a docker image when it's not needed, we should only pull the latest image when we want to actually upgrade the app

Ah now, I see what you mean. Man, today is not my best day (the second time my brain just gave up). I should probably go to sleep.

I put a question in the description but maybe you can answer it (maybe tomorrow 😁)

Do we need to have a PullHelperImageJob and run it every hour (update_check_frequency). Or can we pull that image when upgrading the app ? (or in other words, does the helper image change outside of releases)

I have added a version controlled helper image, so the pull helper image job should check the latest version via http request (which costs way less cpu than docker pull) and if an update is available, then pull the new version.


Added Mouse-Responsive Animated Particles Background

Fixes Issue🛠
Closes #338
Description👨💻
Added Mouse-Responsive Animated Particles Background.
Type of change📄

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

How this has been tested✅
Tested on my local machine, works and looks as intended.
Checklist✅

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added demonstration in the form of GIF/video file
[x] I am an Open Source Contributor

Video Demo 📷
https://github.com/Rakesh9100/Beautiify/assets/86418216/7257d933-3133-4c97-8e78-a00e45482434

Merged 🎉 @SoumyadevSaha


Incorrect logging level for the HTTP client

In the HTTP client class com.braintreegateway.util.Http it is used INFO log level for logging every request which is sent to Braintree. This would produce a certain amount of logs on the server.
When you look at the documentation for INFO level java.util.logginghttps://docs.oracle.com/javase/8/docs/api/java/util/logging/Level.html#INFO
It says Typically INFO messages will be written to the console or its equivalent. So the INFO level should only be used for reasonably significant messages that will make sense to end users and system administrators.
I don't believe that sending a request to Braintree is the "significant message". It may be useful for debugging issues but not for every day usage.

👋 @mariuszdubielecki thanks for reaching out! You do raise a good point around our logging.  We're going to leave this open and flag for review when we work on the next major version of this SDK.

👋 @mariuszdubielecki thanks for reaching out! You do raise a good point around our logging.  We're going to leave this open and flag for review when we work on the next major version of this SDK.

for internal note-keeping, ticket 719


UN-368 Hidden private cards inside Insights pages

Related ticket(s):
(https://national-archives.atlassian.net/browse/UN-368)
About these changes
I have added the .public() attribute in the search for insights, inside the insights pages for the cards at the bottom (i.e. related pages and the most recent pages). This is to hide private insights pages, which we do not want the public to see.
How to check these changes
Set a page to private (some already are private) and then go on an insights page, and see if you can see the card for the page.
Before assigning to reviewer, please make sure you have

[x] Checked things thoroughly myself before handing over to reviewer.
[x] Included the ticket number in the PR title to help us keep track of changes.
[x] Ensured that PR includes only commits relevant to the ticket.
[x] Waited for all CI jobs to pass before requesting a review.
[x] Added/updated tests and documentation where relevant.

For Reviewer
Once PR is merged, check and arrange to deploy on platform-sh.

Hi @mozaki1, need a bit of help on this one... As we see two tests are failing, I've had a look at the test to see if maybe I have to change it to allow for only public pages to be displayed/returned, but can't see anywhere I can change it. Thank you :)


[Bug] monaco.editor.createDiffNavigator is not a function: undefined

Reproducible in vscode.dev or in VS Code Desktop?

[X] Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

[ ] Not reproducible in the monaco editor playground

Monaco Editor Playground Link
https://microsoft.github.io/monaco-editor/playground.html?source=v0.44.0#example-creating-the-diffeditor-multi-line-example
Monaco Editor Playground Code
var originalModel = monaco.editor.createModel(
	"This line is removed on the right.\njust some text\nabcd\nefgh\nSome more text",
	"text/plain"
);
var modifiedModel = monaco.editor.createModel(
	"just some text\nabcz\nzzzzefgh\nSome more text.\nThis line is removed on the left.",
	"text/plain"
);

var diffEditor = monaco.editor.createDiffEditor(
	document.getElementById("container"),
	{
		// You can optionally disable the resizing
		enableSplitViewResizing: false,
	}
);

var nav = monaco.editor.createDiffNavigator(diffEditor);
if (nav.canNavigate()) {
	nav.next();
} else {
	diffEditor.revealLine(0);
}

diffEditor.setModel({
	original: originalModel,
	modified: modifiedModel,
});

Reproduction Steps
copy and past the code in the monaco editor playground
make sure to select version 0.44.0
Actual (Problematic) Behavior
Monaco.editor.createDiffNavigator is not a function: undefined
Expected Behavior
To be able to use monaco.editor.createDiffNavigator
Additional Context
bug since 0.44.0
work in <= 0.43.0

Looks like it's not available anymore, the sample using this was removed in the playground.

I was using it to scroll to first diff. So I took inspiration from https://github.com/microsoft/vscode/blob/8c49a184e1525e19671114680c44171e16d43b09/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.ts#L553
to do it without using the DiffNavigator.
Here it is in action in the playground:
https://microsoft.github.io/monaco-editor/playground.html?source=v0.44.0#XQAAAAJ9BAAAAAAAAABBqQkHQ5NjdMjwa-jY7SIQ9S7DNlzs5W-mwj0fe1ZCDRFc9ws9XQE0SJE1jc2VKxhaLFIw9vEWSxW3yscw6uL3s3g3TZokiQe3t547J-9ebB9cYURQV2C_HyzmFKq-zHr7CL5opGlpi2RAmEsI8D75tN_PKaDXZNPFCC79Yl_xtPH5SUKM1UNdrE-uwHS0QPgNkqyfYlcWUaipOcGvhxnJNccPQ77Le7sRqIvXh39DexbnbKgswSLnICVEtp5zueXn9a-3-v-iDnLkQaIEWsujO56G96N3tA9-z8n6ohaVPUhJx5EIzmA5QJYlRMyb7kV4Jf4pg1pmkv629Z5yh0ZgF6PXtxl45-mCbSOsmANW7UUQO9nlShKKS4SF_cXSn2f3ZbL20WwqPffDJoa8kckt3UefF08m5iubGms5_x4lypiN9lRtmzoYKdf-yKCzWSlhjd0xrn7LViv2WCMPOHRPYSiX85d5mnHy_zZhfMF-8Nbh8zuPR9ANod9wkO6wcKs7GeAYdF6kqldmWJlDHk7tlQDmX7M3_MkfC3eqxDTo1nwYqJmLG0-31uNu25W5dfooeOXejQXobGSBqmgBYMSIJDrsuv__mHj1Mg
@hediet Maybe we can add a sample explaining how to manipulate the line changes ?

Vue3 + Vite5：It's worked bellow
import * as monaco from 'monaco-editor'
import { toRaw } from 'vue'
this.editor = monaco.editor.createDiffEditor(domEditor, xxx

toRaw(this.editor).goToDiff('previous')
toRaw(this.editor).goToDiff('next')


Allow react-native-vision-camera 2.15.4 and react-native-reanimated 3.1.0 to work together

Problem
Install react-native-vision-camera 2.15.4 and react-native-reanimated 3.1.0 on the same React Native app and you will see this error when trying to run iOS via npm run ios 💥
❌  /Users/andrew/Expensidev/App/node_modules/react-native-vision-camera/ios/Frame Processor/FrameProcessorRuntimeManager.mm:146:32: no member named 'ShareableValue' in namespace 'reanimated'

    auto worklet = reanimated::ShareableValue::adapt(runtime, arguments[1], runtimeManager.get());

Note: A patch was prepared by @mrousavy that fixes this, but it would be great to support this without a patch.
diff --git a/node_modules/react-native-vision-camera/ios/Frame Processor/FrameProcessorRuntimeManager.mm b/node_modules/react-native-vision-camera/ios/Frame Processor/FrameProcessorRuntimeManager.mm
index 3841b20..687ea94 100644
--- a/node_modules/react-native-vision-camera/ios/Frame Processor/FrameProcessorRuntimeManager.mm
+++ b/node_modules/react-native-vision-camera/ios/Frame Processor/FrameProcessorRuntimeManager.mm
@@ -19,6 +19,8 @@
 #import <React/RCTUIManager.h>
 #import <ReactCommon/RCTTurboModuleManager.h>

+#define VISION_CAMERA_DISABLE_FRAME_PROCESSORS 1
+
 #ifndef VISION_CAMERA_DISABLE_FRAME_PROCESSORS
   #if __has_include(<RNReanimated/NativeReanimatedModule.h>)
     #if __has_include(<RNReanimated/RuntimeManager.h>)

Solution
Allow the two libraries to work together without a patch.

@mrousavy and @tomekzaw - Can you comment here so I can assign you? Thanks!

👋

Updates being left in Slack!

We just merged the patch to main, any update here from library maintainers side?

@AndrewGable I've managed to get it working with RNVisionCamera v3. I need some more time to backport the changes to RNVisionCamera v2 and submit PRs to both libraries. Will keep you updated!

Awesome work @tomekzaw! Feel free to DM me on Slack anytime if you have any questions or want me to do any changes :)

Hey! I've managed to integrate RNVisionCamera v2 with Reanimated v3 on both platforms (Android and iOS) 🥳
Here's the PR to react-native-vision-camera (to the v2 branch):

https://github.com/mrousavy/react-native-vision-camera/pull/1759

I've used some commits from @mrousavy's PR which mostly bumps react-native version in the example app and does some general cleanup which served as a base for my further work on the integration. Also, Marc provided me with instructions on how to test out frame processors in the example app on Android. Thanks!
iOS demo: https://twitter.com/tomekzaw_/status/1697302708879765983
Android demo: https://twitter.com/tomekzaw_/status/1697604643365278077
I believe we could integrate the new RNVisionCamera v3 with Reanimated v3 this way. In fact, this should be fairly easy to do since we could re-use the migrated code from v2.

Let's go 🚀
We're finishing the last bits on that PR and then I'll create a release on the v2 branch 👍

@mrousavy - Do you think we could include this fix and https://github.com/mrousavy/react-native-vision-camera/pull/1782 on a V2 release? That'd be great for us 🙏

Yo Andrew - sure no problem I'll backport that!

Pushed that specific change and also a fix to build without frame processors using disableFrameProcessors. Released to npm @ 2.16.1! 🚀
Thanks again for your hard work @tomekzaw, this was just amazing help bro 🙏


[Enhancement] Add Dr. Robotnik's Ring Racers resource categories

Recent update of SRB2 MB provides new category for Ring Racers addons.

Supported with commit 7e7771f


suggestion: failed traefik boot clean up

My traefik container originally failed to start due to a port conflict on port 80. However this leaves a container lying around called traefik that then causes subsequent boots to fail (even though I had fixed the port conflict).
Perhaps failed boots of traefik should be cleaned up? Or is there some state issue I'm missing?

Would be nice to clean it up automatically, yeah. Please do investigate.


The about section is not responsive.

Description
The About section of the website is not displaying correctly on mobile devices. The layout does not adjust to smaller screen sizes, causing text and images to either overlap or require horizontal scrolling. This makes the section difficult to read and navigate on smartphones and tablets.
What I Tried:
Implemented CSS flex and grid layouts to position text and images.
Used media queries to adjust the layout for smaller screens.
What Did Not Work:
Despite using media queries, the content does not stack vertically as expected on mobile devices.
Images do not resize correctly, either appearing too large or distorted.
Padding and margins are not adjusting properly, leading to cramped or misaligned content on smaller screens.
Steps to Reproduce
Open the Website:
Visit the webpage where the About section is located using a desktop browser.
Resize the Browser Window:
Gradually reduce the width of the browser window to simulate smaller screen sizes (e.g., tablet or mobile). You should see the layout start to break down, especially around 600px width or smaller.
Test on Mobile Device:
Open the website on an actual smartphone or tablet to see how the About section displays. Alternatively, use a browser's developer tools (e.g., Chrome DevTools) to simulate a mobile device (choose "Inspect" and toggle "Device Toolbar").
Observe the Following Issues:
Text and images do not stack properly on small screens.
Horizontal scrolling may be required to view all content.
Images do not resize dynamically, possibly leading to distortion or improper alignment.
Padding and margins are either too large or too small, affecting the readability of the text.
Expected Behavior
Responsive Layout:
On larger screens (desktops and laptops), the About section should display the text and image side-by-side in a well-aligned manner, maintaining visual appeal.
Stacking on Smaller Screens:
On tablets and mobile devices, I expected the layout to automatically adjust, stacking the text above or below the image for better readability.
Dynamic Image Resizing:
Images within the About section should resize proportionally to fit the screen width, ensuring they maintain their aspect ratio without distortion.
Adjusted Text Size:
Font sizes for headings and paragraphs should scale appropriately for smaller screens, ensuring that all text remains legible without the need for zooming in.
Proper Spacing:
Adequate padding and margins should be applied, ensuring that the content does not appear cramped and remains visually appealing on all devices.
No Horizontal Scrolling:
Users should be able to scroll vertically without needing to scroll horizontally, making the content easy to consume on mobile devices.
Actual Behavior
Layout Issues:
On larger screens, the About section appears correctly with text and images side-by-side. However, when resizing the browser window or viewing on mobile devices, the layout does not adjust as expected.
No Stacking on Smaller Screens:
Instead of stacking the text above or below the image on smaller screens (tablets and mobile), the content remains in a single row, causing elements to overlap or appear misaligned.
Image Resizing Problems:
The images do not resize properly. They either remain too large for the screen or become distorted, breaking their aspect ratio, which affects the overall appearance of the section.
Text Size Issues:
The font sizes do not scale down appropriately for smaller devices, making some text difficult to read without zooming in.
Inconsistent Spacing:
Padding and margins do not adjust effectively, leading to cramped content or excessive white space, which detracts from the visual balance of the section.
Horizontal Scrolling:
Users are required to scroll horizontally to view the entire content on mobile devices, making the experience cumbersome and frustrating.
Screenshots

Additional Information
No response
What browser are you seeing the problem on?

[X] Firefox
[X] Chrome
[ ] Safari
[X] Microsoft Edge

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I want to work on this issue. (optional)

Assign this task to me asap.

@ambarmishraa can you fix this by tonight.

@vivekvardhan2810 Assign me i will surely fix this by tonight.

Okay @ambarmishraa Assigning this issue to you.
make sure to complete this by tonight.

@vivekvardhan2810 sure..


[Event Request] - SalesPost.Codeunit.al - OnBeforeCheckPostingFlags

We like to request the following Event:
Object: SalesPost.Codeunit.al
Where is the event placed:
procedure SetPostingFlags(var SalesHeader: Record "Sales Header")
var
    IsHandled: Boolean;
begin
    IsHandled := false;
    OnBeforeSetPostingFlags(SalesHeader, IsHandled);
    if IsHandled then
        exit;

    with SalesHeader do begin
        case "Document Type" of
            "Document Type"::Order:
                Receive := false;
            "Document Type"::Invoice:
                begin
                    Ship := true;
                    Invoice := true;
                    Receive := false;
                end;
            "Document Type"::"Return Order":
                Ship := false;
            "Document Type"::"Credit Memo":
                begin
                    Ship := false;
                    Invoice := true;
                    Receive := true;
                end;
        end;
        OnBeforeCheckPostingFlags(SalesHeader, IsHandled);
        if not IsHandled then
            if not (Ship or Invoice or Receive) then
                Error(ShipInvoiceReceiveErr);
    end;
end;

Event Code:
[IntegrationEvent(false, false)]
local procedure OnBeforeCheckPostingFlags(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Select Options By Keyword throws TimeoutError: locator.elementHandle

Describe the bug
I am using robotframwork-browser 11.1.0. When running the following code, robot throws an error even though I can see the UI choosing the right option from dropdown.
Select Options By    select[id="shortcutsSimpleSelect"]    text   1w

`
To Reproduce
Steps to reproduce the behavior:
Consider a dropdown element as :

The testcode needs to select 1w from the dropdown.
Select Options By    select[id="shortcutsSimpleSelect"]    text   1w
During runtime, I can see the UI selecting the correct option from the dropdown. But the robot still fails at the step with
`
Expected behavior
I expect the robot to select the correct option from the UI and pass.
Same testcode used to pass for Browser library 3.2
Desktop (please complete the following information):

OS: Windows 10
Browser:  chromium
Version:  Version 98.0.4695.0 (Developer Build) (64-bit)

actually i think the locator that is build by playwright is wrong!
it should not search for value when using label

This is actually bug in our side, our code does:
const locatorOptions = locator.locator(`option[value="${selectedOption}"]`);

Which is not correct.

@allcontributors please add @rlall07 for bugs.

@aaltat
But Value and Text are different things!
label and text is same.


Tilting?

Hi. I'm studying through Learn OpenGL book and decided to use your camera instead of the Euler angle-based one. The problem is that it starts tilting to the side by itself when I only change pitch and yaw using the mouse.
https://github.com/user-attachments/assets/e98fbef6-e31a-4533-b945-29943ae7acef
If I change the multiplication order like this (based on some Internet advice) it solves tilting but I don't know what to do with roll.
void Camera::Update(float delta){
	if(pitch != 0.0f)       orientation = orientation * glm::angleAxis(pitch, xAxis * orientation);
	if(yaw != 0.0f)         orientation = glm::angleAxis(-yaw, orientation * yAxis) * orientation;
	// if(roll != 0.0f)     ???

	//// instead of setting to zero immediately, we have the value eventually go to zero.
	pitch   *= damp;
	yaw     *= damp;
	roll    *= rollDamp;
}

Oh sorry it was not related to your project, the issue was meant for this one
https://gitlab.com/muffinman007/OpenGL_360_Camera_Quarternion


Fix offset calculation for drawing animation columns when showing FPS

Fixes #78592
Before this fix:

After (at the same level of zoom):

I did a local build.
And while it does not seem to compress the first numbers as in the linked issue... I'm not convinced this fully solves the inconsistencies. Notice here "40", "50" and "60" get less space:

It might be a different related problem.

Hmmm, thanks for catching it, guess this has to be workshopped more.


Add wildcards and unmatched entities

Adds allow_unmatched_entities to the recognize methods. When True, this will allow entity values outside of slot lists to still be "matched". They will be collected into the unmatched_entities dict/list in the RecognizeResult, with the goal of providing better error messages in Home Assistant (e.g. "I couldn't turn on X" instead of "Sorry, I don't understand").
Because they're closely related, this PR also adds wildcards! By setting wildcard: true in a slot list, all text will be collected by that entity until the sentence matching can proceed. For example, "play {album} by {artist}" can now match any (non-empty) album and artist.

Hi there, just wanted to chime in to thank you personally for this MR, it's been something I was waiting for for a very long time and will help in more than just one way.
Thanks again!

 I'm sure it will need a few tweaks, but it's already working well for new features in HA 🙂


FileSaver.js from CDN was deprecated

I noticed that FileSaver.js from CDN (https://fastcdn.org/FileSaver.js/1.1.20151003/FileSaver.min.js) was deprecated, so when downloading the analysis results, fatal error occurs.
I will fix it to set this JS to WebContent folder directly.
Please wait a moment to fix it!

I set the FileSaver.js (https://github.com/eligrey/FileSaver.js/) to WebContent as submodule and fix all html to include it, not from CDN.
Finally, the analysis results can be downloaded with Chrome, Safari and FireFox.
Takahiro


one of major problems

one of major problem is the data for other language doesn't save
For example you add another language and go to product edit mode
and enter new value for other language when u click save and finish or save and continue it doesn't save other language data and doesn't show any error message.

i find data save but replace in en values and lose before data
i check in database

Resolved by disabling the locale filter in Doctrine.


Indenting lines with multiple tabs

Hi,
I'm having a strange behaviour when pasting lines with multiple leading tabs :
[_]stuff 1
[_]stuff 2
[_]stuff 3

# paste it :

[_]stuff 1
[_]stuff 2
[_]stuff 3

but
[_][_]stuff 1
[_][_]stuff 2
[_][_]stuff 3

# paste it :

[_][_]stuff 1
[_][_][_][_]stuff 2
[_][_][_][_][_][_]stuff 3

How could I prevent that?
Awesome job by the way, I put it on every laptop/VM...

Hi,
This is a known behavior. Vim behave differently if you are copying from Windows, Linux, Putty, etc.
My advice is to use internal Vim clipboard. It works well. You can copy and paste easily with keys.
Now, if you to copy from your OS to Vim, you can try to toggle "setpaste" (F2 with Minivim). Set it on and paste in Insert mode, set if off right after to not mess with key bindings.
I know this is not a perfect solution but it's not related to Minivim. However, I'll try to make it more easy in a future release.

Hi,
I investigate a bit more and there is not no magic solution for easy pasting in Vim.
First, because pasting in a terminal is different from pasting from gVim.
Secondly, paste has to be messed up with indent when you activate autoindent. And autoindent is too great to miss.
So, use F2 to toggle setpaste and paste when off. This is the better answer.
Or use gVim !