API handlers cannot be added via design view

Description:
In Dev Studio tool, there's no any UI available to add handlers to a particular API. However, developers still can add handlers via source view.
Affected Product Version:
EI 6.2.0
Related Issues:
https://wso2.org/jira/browse/ESBJAVA-3395

Even at the server, we cannot add handlers via the design view of the management console. But still we support handlers at WSO2 EI https://docs.wso2.com/display/EI610/Securing+APIs
Do we need to add handler support for design view of the developer studio as well?

In the design view we display the resources in the API and the properties view is associated with each resource. API Handlers are added in the API level and not in resource level hence there is a limitation in viewing those in the graphical view.
The properties related to API (hostname, port etc) are added at the time of creating the API via the API creation wizard, and if we want to change the values we need to edit the source view. Similarly we can allow users to add the handlers in the creation wizard at the time of creating the API, and later change the values in the source view if needed

moved to https://github.com/wso2/product-ei/issues/2463


Add ddev-get topic to help others find addon

Please consider adding a ddev-get topic to the repo.
This will allow others to find this addon by using: ddev get --list --all
Steps

Click the "cogs" icon

Add ddev-get as a topic.

Run ddev get --list --all and check if this repo appears (should appear within a minute).

done, thank you!

Confirmed. Just checked and it's discoverable.
Thank you.


spacecraft kubeconfig -n   to export kubeconfig for a network

 if optional, if not provided config is printed to stdout

@narayanprusty i was using this utility, please merge if you think that it might be useful

I think you can use the gcloud CLI for this. For example:
gcloud container clusters get-credentials devnet --region us-central1 --project spacecraft-id


Update dist - v1.0.10

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


Allow delete of uploaded and imported excel data

As an analyst
I want to be able to delete a previously uploaded and imported excel file data from the database
so that if I uploaded the wrong file by mistake I can remove it easily
Description:
For excel files that are uploaded through the portal and their data have been scraped into our database, we still want to give the analyst the option to be able to go back and delete the excel file from the portal and soft delete the data that was imported into our database.
Acceptance Criteria:

[x] When user clicks Save after deleting a previously imported excel file, soft delete the file and the imported data from our database for Sow/Change request
[x]  When user clicks Save after deleting a previously imported excel file, soft delete the file and the imported data from our database for Community Progress Report
[ ] If user clicks cancel, do not soft delete the file or the imported data

Hey team! Please add your planning poker estimate with Zenhub @AntBush @marcellmueller @rafasdc

I wasn't able to complete the last AC, because there isn't an easy way to determine between an uploaded file that was then removed vs removing a file that is already there. Currently, archived files can still be removed, but they will still be listed as archived in our DB.


Adding functions mentioned in #6

tests added: yes
closes: #6
@ibaned - symmetric3x3::inverse throws an error if determinant(a) <= 0 and needs to be changed to an error handling system appropriate for GPU.  Does p3a have a standard GPU error handling policy?

@tjfulle I zapped it because I think we need to think harder about this: shouldn't the determinant be compared to epsilon times some kind of matrix norm instead of just an absolute comparison to epsilon? And do we want to be computing norms every time we compute an inverse?
What I did do is to prepare for this to work in the future by separating several inverse functions into functions adjugate and determinant so that inverse = adjugate / determinant. This way, we can in the future code functions called safe_inverse that first compute the determinant and then check it somehow and return an error code.


[ISSUE] Helm upgrades can fail due to "apiVersion not set, kind not set"

Describe the issue:
Error: UPGRADE FAILED: error validating “”: error validating data: [apiVersion not set, kind not set]
Still gathering information about this one

Actual behavior:

Expected behavior:

How to reproduce:

Logs:

Environment:
Please note: Without the following info, it's hard to resolve the issue and probably it will be closed.

Platform:
Helm CLI version:
Chart version:
Values file:

Turns out I had a  dummy file that I forgot to remove :sob: . only affects me during testing.


add KMS encryption for storage

Describe your changes
Issue ticket number and link
Checklist before requesting a review

[ ] I updated CHANGELOG.MD with a description of my changes
[ ] If the change was to a module, I ran the code validation script (scripts/validate.sh)
[ ] If the change was to a module, I have added thorough tests
[ ] If the change was to a module, I have added/updated the module's README.md
[ ] If a module was added, I added a reference to the module to the repository's README.md
[ ] I verified that my code deploys successfully using seedfarmer apply

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: AIOpsModuleTestsInfrastruct-doMLXEYsnmxr
Commit ID: bd454999f71e593ce5257322b98be32ec87e6b3f
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AIOpsModuleTestsInfrastruct-doMLXEYsnmxr
Commit ID: 5fba700064e94d62967b2aa61c90feefe7fb6e5f
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AIOpsModuleTestsInfrastruct-doMLXEYsnmxr
Commit ID: 6a559f9b3f3023a8f6f19e03bb73545f81736c01
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AIOpsModuleTestsInfrastruct-doMLXEYsnmxr
Commit ID: c446b2acf4a832c29eb203f11ac3f44a528dbd5d
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AIOpsModuleTestsInfrastruct-doMLXEYsnmxr
Commit ID: ed55d2896824d153803d29d9faafada850c18f34
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AIOpsModuleTestsInfrastruct-doMLXEYsnmxr
Commit ID: b094905ef531427fd064be9a72ebaa0bf7538572
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Add u32 ops execution tests to the processor

This PR adds following to the processor u32 operations tests file:

conversions and tests: manual and randomized tests
arithmetic operations: stubs out manual tests
bitwise operations: manual and randomized tests
comparison operations: adds manual + randomized tests for u32eq; stubs out manual tests for the rest

It also addresses the u32split bug #70 .
A few points / questions:

Stubbed out tests: let me know if you want me to remove these. I did that first, before realizing that many of the ops which looked implemented are actually not fully to spec yet. At the moment, unimplemented ones are ignored with an "unimplemented" message
Comparison operations tests for EQ: I wrote these before realizing that the comparison operations are not fully implemented to spec. I stopped writing comparison tests at that point, but left these ones & ignored the tests of unimplemented cases with an "unimplemented" message
Impl / spec mismatch for bitwise ops: should shl, shr, rotl, rotr actually fail for b (bit shift) = 0? It’s not in the spec, but since it's written that way I did write that into the tests for now. Not sure that's really correct, though.
Failure handling (panic): I handled this using catch_unwind so we can test multiple execution errors in the same test, for example in cases where we want to test 2 inputs to make sure they're both required to be valid. That approach was discussed here and seemed like a better fit for these tests, since doing exact error matching for some errors (like FailedAssertion) requires specifying the step. Let me know if you prefer something else.
add proptest-regressions failure persistance files to source control? The proptest book says these should be added so they'll be replayed before new cases are generated, but I see you haven't done this in winterfell (but it's not in the .gitignore either), so maybe it's not your preference. For now, I left it out of both places as well.
As discussed, I fixed some failures, but left failing tests for the ops in the 2 open issues (here and here)

Shifts/rotations by 0: I think these should be possible. Could you create an issue to fix this in the assembly op parser?
Issue created: #76

Thanks for the pointer on the Rust built in rotation functions! Rust doesn't disappoint :)

There are a few tests which use the "old" approach (don't make use of test_execution() helper). For example: u32test_proptest(), u32cast_proptest() etc. It wasn't immediately obvious to me why these can't also rely on the new approach. Is there a reason for this?

Not a good one :) I think I just missed them somehow when I refactored the rest. Thanks!
For this update I changed u32testw (manual test) and the conversions and tests proptests (as well as lifting the proptest helper you mentioned)


nomad_1_3: 1.3.3 -> 1.3.4

https://github.com/hashicorp/nomad/releases/tag/v1.3.4

https://github.com/hashicorp/nomad/commit/c417103e5aca2907bd42d28922f5e338b8068395
Backport of build: update to go1.19 into release/1.3.x

Description of changes

Things done

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
[x] 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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 188333 run on x86_64-linux 1

1 package built:

nomad (nomad_1_3)

Same for 1.2: https://github.com/NixOS/nixpkgs/pull/188343


Support multiple version constructor in ApiVersionAttribute

Since ApiVersionAttribute extends ApiVersionsBaseAttribute  witch supports multiple versions in the constructor, would be great to made it visible in the ApiVersionAttribute.

@commonsensesoftware ping.

Thank for the reply. Our use case relies in the goal of having different versions (three at the same time, atm) witch share a lot of methods inside a Controller.
In our particular case we have three simultaneous versions  in witch the diferences are very small and we want that the controller support all versions and only specify the methods that differ.
At the moment we ended up creating a ApiMultiVersionAttributethat extends ApiVersionsBaseAttribute and implements IApiVersionProvider.
namespace Microsoft.Web.Http
{
    using System;
    using System.Diagnostics.CodeAnalysis;
    using Microsoft.Web.Http.Versioning;
    using static System.AttributeTargets;

    [AttributeUsage(Class, AllowMultiple = false, Inherited = false)]
    [SuppressMessage("Microsoft.Design", "CA1019:DefineAccessorsForAttributeArguments", Justification = "An accessor property is provided, but the values are typed; not strings.")]
    [SuppressMessage("Microsoft.Performance", "CA1813:AvoidUnsealedAttributes", Justification = "Allows extensibility.")]
    public class ApiMultiVersionAttribute : ApiVersionsBaseAttribute, IApiVersionProvider
    {
        public ApiMultiVersionAttribute(params string[] versions) : base (versions)
        {
        }

#pragma warning disable CA1033 // Interface methods should be callable by child types
        bool IApiVersionProvider.AdvertiseOnly => false;
#pragma warning restore CA1033 // Interface methods should be callable by child types

        /// <summary>
        /// Gets or sets a value indicating whether the specified set of API versions are deprecated.
        /// </summary>
        /// <value>True if the specified set of API versions are deprecated; otherwise, false.
        /// The default value is <c>false</c>.</value>
        public bool Deprecated { get; set; }

        /// <summary>
        /// Returns a hash code for the current instance.
        /// </summary>
        /// <returns>A hash code.</returns>
        public override int GetHashCode() => (base.GetHashCode() * 397) ^ Deprecated.GetHashCode();
    }
}

Would be nice to instead of adding the constructors to ApiVersionAttribute like I did, have a class like the above in the library.
Does it make sense to you?

Let's try to flush this out in a more practical sense with examples. You're effectively claiming that:
[ApiVersions("1.0", "2.0", "3.0")]
public class MyController : Controller { }

Is better or more convenient than:
[ApiVersion("1.0")]
[ApiVersion("2.0")]
[ApiVersion("3.0")]
public class MyController : Controller { }

or
[ApiVersion("1.0"), ApiVersion("2.0"), ApiVersion("3.0")]
public class MyController : Controller { }

In scenarios where you have fewer than 5 API versions, the current method, while more verbose, is still within reason. In practice, I've only really observed 1-3 API versions. As I mentioned, the original design did support this, but I organically discovered that most developers don't do that. Arguably, if you have more than 5 API versions on a single controller, you're probably doing it wrong and leading yourself down an unmanageable path.
I can see and even appreciate the convenience factor, but you said that your scenario only has 3 API versions. In terms of value, we're splitting hairs on approach for this few API versions. The value really only appears when you have large numbers of API versions on a single controller, which in practical coding practices is not done because it doesn't make sense.
Is there something else I'm missing?

I totally agree with you. As you though this is a matter of convenience/appearance/clean
Should we close it?

I'm inclined to - yes, but I wanted to make sure I fully heard your argument first. The primary counter-arguments are:

The convenience has relatively low value
Suggesting that you can add a laundry list of API versions to a controller can lead you astray

For those that really want it, it's a very simply extension as you've already demonstrated. Additionally, you can use the conventions configuration method, which does have overloads to add multiple API versions at once. The intent there was that you might be loading from a persistence store such as a file or database.
Thanks for all you input. At a minimum, I'm sure someone will find this discussion useful. :)

Sure, and thanks for your time and clarifications. Closing.

cc @eliamartani

I do have a scenario for this that extends beyond low-value convenience: Maintaining a set of APIs which universally are tied together, version-wise. Meaning when we require a version upgrade, we have to visit every Controller and update its ApiVersion collection, and update them.
We tried putting these versions on a base controller, but that seems to break down once you start adding MapToApiVersion, as the first time you do, every method requires every required version to be MapToApiVersion'd. So, we keep [ApiVersion] on every Controller to not have to go through that pain.
If we could either specify the version on the base class correctly, or if ApiVersion supported "add multiple versions" so that I can create a derived class that bottles up our versions (so we only have to update code in one class, instead of n classes), that'd be super. As it is now, it's "update n controllers" which is far more error-prone and extends beyond simple convenience.
For now I'm going to try to make my own attribute that implements IApiVersionProvider, but it would be much easier if this supported multiple-versions-in-one out of the box! (Even if it wasn't on ApiVersion specifically.)

https://github.com/dotnet/aspnet-api-versioning/issues/296
I do have a scenario for this that extends beyond low-value convenience: Maintaining a set of APIs which universally are tied together, version-wise. Meaning when we require a version upgrade, we have to visit every Controller and update its ApiVersion collection.
(As an aside, no, I cannot change this set-up, so even if this isn't "best practice" it's what we're saddled with, and this ask/comment is centered around supporting this.)
We tried putting these versions on a base controller, but that seems to break down once you start adding MapToApiVersion, as the first time you do, every method requires every required version to be MapToApiVersion'd. (And when I try to make a custom Api Version provider that bundles, it seems to just let every version through, including non-supported versions). So, we keep [ApiVersion] on every Controller to not have to go through that pain.
If we could either specify the version on the base class correctly, or if ApiVersion supported "add multiple versions" so that I can create a derived class that bottles up our versions (so we only have to update code in one class, instead of n classes), that'd be super. As it is now, it's "update n controllers" which is far more error-prone and extends beyond simple convenience.
For now I'm going to try to make my own attribute that implements IApiVersionProvider (which will work until we need to mark certain versions as Deprecated or otherwise have their own ApiVersionProviderOptions per-version), but it would be much easier if this supported multiple-versions-in-one out of the box! (Even if it wasn't on ApiVersion specifically.)

@sdepouw The first issue that you are seeing is that ApiVersionAttribute is not inherited. This is by design. Honestly, I'm of the opinion that inheritance is the wrong approach for HTTP APIs, but the reasoning is more than my dogma. If API versions were inherited, you can easily get into a situation where 2 different super types implement the same versions and routes. While it's true that it is technically possible to avoid that from happening it is not clear in code. You also cannot uninherit a method or API version if it was allowed. In the spirit of the Principal of Least Astonishment and intention-revealing code, API versions must be explicitly declared on the types that implement them. One of the original core design principles was that API version information should be pure metadata. In alignment to that, you can use whatever you want for inheritance, but then you must explicitly state which implementations have which versions.
I've outline some of the original history around the design of one value per attribute. I ultimately settled on a single value because it aligned with the attribute name (singular) and it is very easy to create your own multi-value attribute. The implementation shown above is correct, although you might prefer another name such as ApiVersionsAttribute. The built-in ApiVersionsBaseAttribute is the foundation for several of the built-in attributes, but it intentionally does not implement IApiVersionProvider because the implementation varies on the derived types. Again - the example above does illustrate putting that all together.
API Versioning does not have a concept of no version, unless the controller is completely ignored/filtered out (ex: a UI controller). As you've observed, if you do not specify any versions or mappings, there is an assumed default (e.g. ApiVersioningOptions.DefaultApiVersion). Once you apply an explicit mapping, any mapping, that convention is negated. This allows existing APIs to be grandfathered in without touching them. Once you touch anything, then all bets are off and you have to explicitly specify everything.
Based on your description of the problem, I think you would be better off using conventions as opposed to attributes. These are not mutually exclusive and you can use both, if you want. For example:
public sealed class MyAppConvention : IControllerConvention
{
    public bool Apply( IControllerConventionBuilder controller, ControllerModel controllerModel )
    {
        controller.HasApiVersion(1,0)
                  .HasApiVersion(2,0)
                  .HasApiVersion(2,1)
                  .HasApiVersion(3,0);
    }
}

Then, you'd just add it in the configuration:
services.AddApiVersioning(options =>  options.Conventions.Add( new MyAppConvention() );

You mentioned something about groups. This approach could be enhanced with your own attribute, metadata, or additional convention so that you apply a set of API versions to specific groups. An attribute would probably be the most appropriate and can be accessed via controllerModel.Attributes.
You can also map specific versions to methods this way; however, unless all of your controllers use the same names (which I suspect they don't), it is probably messy. The best option here is probably to continue using [MapToApiVersion]. No built-in convention exists actions for that, but you could create one that works similar toVersionByNamespaceConvention. If your actions use suffixes such as GetV1, GetV2, and so on, you can figure out which action methods map to which version. If multiple versions map, then you might need something like GetV1V2. It's easy to identify action methods because they must be public, not static, and have not have [NoAction] applied. You can probably even get the pre-filtered list from controllerModel.Actions without any additional work.
If conventions aren't workable for you, then I would still recommend taking the attribute approach a step further. Rather than just list all of the versions for each application of the attribute, wrap it up in a single, more meaningful attribute. Something like:
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public abstract class ApiVersionsAttribute : ApiVersionsBaseAttribute, IApiVersionProvider
{
    protected ApiVersionsAttribute(params string[] versions) : base (versions) { }
    bool IApiVersionProvider.AdvertiseOnly => false;
    public bool Deprecated { get; set; }
}

// NOTE: you can even change the behavior to allow inheritance; WARNING: There be dragons!
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class GroupXApiVersionsAttribute : ApiVersionsAttribute
{
    public GroupXApiVersionsAttribute() : base ("1.0", "2.0", "2.1", "3.0") { }
}

You could then apply this to your controllers, or even your base controller, with [GroupXApiVersions].
Regardless of which way you go, there is way that you an centrally manage your defined API versions. Careful consideration has to be made as to what is provided out-of-the-box and what you can customize or extend. There might not be a constructor for ApiVersionAttribute that allows multiple versions, but you can create one in ~10 lines of code. That's a fairly low bar in my box. 😉
I hope that helps.


TypeError: 'NoneType' object is not callable

After completing the configuration of the environment and downloading and pre-processing the dataset according to the given documentation, I ran this command:
python main.py --mode train --config-yml configs/water/gemnet-T.yml --size 1k--
I encountered this error:
Traceback (most recent call last):
  File "main.py", line 136, in <module>
    Runner()(config)
  File "main.py", line 65, in __call__
    no_energy=config.get("no_energy", False)
TypeError: 'NoneType' object is not callable

This corresponds to the error of self.trainer = registry.get_trainer_class()(). The second bracket here is supposed to be an instantiation of the Registry class, but I don't find the corresponding instantiation method in the /mdsim/common/registry.py. I don't know if the error is due to this or not.
Looking forward to suggestions from the developers, thanks!

Hi, did you have a typo in your command? (extra --)

Thanks for your reminder, Kyonofx. There is indeed an error in the above command. I was guaranteed to get it right in the actual run (local windows OS), but still this error message. Then I tried again on the cluster, and after configuring mdsim python environment, I was able to run it successfully. However, there was still a problem: the program kept utilizing the CPU during training and the GPU utilization is 0. And below is the submit script on the slurm system:
#!/bin/bash
#SBATCH -N 1
#SBATCH -n 5
#SBATCH -M swarm
#SBATCH -p gpu
#SBATCH --gres=gpu:1

source activate mdsim
python  main.py --mode train --config-yml configs/water/gemnet-T.yml --local_rank 4 --num-gpus 1 --num-nodes 1

I read the source code, including the ocp project, and found that there are many options related to training process, such as --distributed, -u -m torch.distributed.launch --nnproc_per_node=2 and so on. But I'm not sure how to set them up correctly to ensure that the training process here can utilize the GPU properly.
It's worth noting that the computation node on the cluster is networkable and wandb needs to be set to offline mode.

Hi,
I did not test the code on Windows or multi-gpu. Multi-gpu should work the same as documented int he OCP repo. For 0 utilization of GPUs, I think the most likely reason is a mismatched Nvidia driver or CUDA version. The standard outputs should contain helpful information.

Hi,
I did not test the code on Windows or multi-gpu. Multi-gpu should work the same as documented in the OCP repo. For 0 utilization of GPUs, I think the most likely reason is a mismatched Nvidia driver or CUDA version. The standard outputs should contain helpful information.

Thank you! I have completed this problem and it is indeed due to NVIDIA drivers.


Blink Cameras Arm/Disarm/Motion

Hello and thanks in advance for any help.  I have 2 Blink Modules and 4 Blink cameras (3 on one module and 1 on the other) that I want to connect to HomeKit via Homebridge on my Raspberry Pi 4.  I installed the bomebridge-blinkcameras plug in and see all the devices in the Accessories as well as in Home on my phone.  However, I'm unable to arm/disarm them.  I have the platform code under platforms in my config file, what else do I need?  Thanks.

Module does not yet support multiple base systems. See #2


Add model for _internal.health API

This API is an internal one so won't be generated by clients yet, however having a model for this API would be useful to teams building on the new Health API.

I believe this PR is now very out of date and it looks like the health API is being promoted to non-internal soon. Going to close this one in favor of modeling the public API.


Change Couchbase repo to main repo

Currently the link is pointing to Couchbase Lite.   I've changed it to point to our main repo for the core database.  Alternative, we could have this link point to https://github.com/couchbase, though I'm not sure if you need specific repos rather than orgs here.
Pre-submission checklist:
Please check each of these after submitting your pull request:

[x] Are you only including a repo_url if your project is 100% open source?
[ ] If it is open source, does your project have at least 250 GitHub stars?
[x] Have you picked the single best category for your project?
[x] Does it follow the other guidelines from the new entries section?

[x] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[x] Does your project/product name match the text on the logo?
[x] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[x] 2 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

Thanks for the fix.

Deploy preview for landscape ready!
Built with commit 1aebe80102e1728681d268beb75efe0856c9a167
https://deploy-preview-466--landscape.netlify.com

LGTM


Send research consent asked boolean to backend

Description
Description of the feature or fix
Include link to Figma designs if relevant
Include link to Notion ticket if relevant
On what platform have you tested the change?

[ ] Android - Emulator
[ ] Android - Physical device
[ ] iOS - Emulator
[ ] iOS - Physical device

Screenshots
Please attach screenshots showing the change if relevant
Checklist (for submission)

[ ] Analytics/tracking events have been added (if needed)

Checklist (for reviewers)

[ ] Checked against Figma designs (if relevant)
[ ] Checked that data has been successfully saved to the backend (if relevant)

Out of scope and potential follow-up
Are there any related changes that you plan to do in a follow-up PR or voluntarily excluded from the scope?

This one can be closed, right?


chore(specReporter): enable testing via mocha

Also, add ability to generate coverage report for tests.
Added basic unit test for starting point.
This is in reference to #36. @hdavidzhu,  please feel free to add any comments/concerns. This is my first Mocha setup I've ever done.

that was fast, thanks!

just one comment, good to merge afterwards. I just ran this locally and we are happy :smile:

I was able to remove the mocha dependency, but since I require('chai') in the test I need it to be in package.json.

:+1: merge when ready


examples\cors-header-proxy.md: remove multi-deref, remove on wire OWS

hi @bulk88 !
we just migrated our content over to a new repo: https://github.com/cloudflare/cloudflare-docs
sorry for the extra hassle — would you mind reopening this PR in the new repo linked above? would love to add this change with @jclee 's feedback addressed.


[Grid2] Bring back the Unstable_Grid2 export

Bring back this export for one more major. This allows Toolpad to be compatible with v5.

Probably not a good approach but would the following code work?
import StableGrid from '@mui/material/Grid'
import UnstableGrid from '@mui/material/Unstable_Grid2'

const Grid = UnstableGrid ?? StableGrid

<Grid />

Aside: One thing we could think about around introducing breaking changes in major versions is to maintain backwards compatibility for at least 2 (*) major versions. i.e.

Downstream libraries need to always be able to define a peer dependency of version X and X - 1.
Any breaking change must have a compatibility mode that works during at least one major version and must be marked as deprecated or unstable

This gives downstream libraries a full major release cycle to:

bring the compatibility mode to their side
update their peer dependency in a major version

This loosens the coupling of major versions at the cost of having to maintain backwards compatibility for longer periods of time
(*) 2, or 3?

Probably not a good approach but would the following code work?

(Some) bundlers and runtimes will fail because the export path doesn't exist.

@DiegoAndai correct me if I am wrong, but the API of this component is different in v5 vs v6, right? THe Toolpad team needs to be aware of this if this is the case, so they can use the version number to decide what API to use.

I verified again and I believe we're not using Grid2 anymore after all. This PR became obsolete from a Toolpad perspective.

I verified again and I believe we're not using Grid2 anymore after all. This PR became obsolete from a Toolpad perspective.

I would close the PR if that's the case

the API of this component is different in v5 vs v6, right?

Just for the record: yes, it is. https://next.mui.com/material-ui/migration/migrating-to-v6/#grid-v2-unstable-grid.


No BackwardWeights in RNNs

What is the reason for not incorporating/benchmarking BackwardWeights at least for NVIDIA? There is no use of cudnnRNNBackwardWeights.

This seems like a bug. We can work on fixing it. Thanks for pointing it out.

I've fixed the Nvidia RNN benchmarks and update the results file as well. @dagamayank , please close this issue once the AMD benchmarks have been fixed.


[pylint] C0303: Trailing whitespace

I don't know if its the extension job or not, but this behavior is annoying.
Environment data
VS Code version:  1.18
Python Extension version:  0.8.0
Python Version:   3.6.3
OS and version:    Windows 10
Actual behavior
Pylint always complain when I leave a blank line between two block of code for organization sake

Expected  behavior
It should not care about this blank lines, only trailling spaces.
Steps to reproduce:

Write two pieces of code separated by a blank line.

This is a Pylint setting, not an extension one. You can either turn off Pylint (and possibly use another linter like flake8), or set Pylint to simply not warn about trailing whitespace in a e.g. .pylintrc file.


/last or /previous or /latest

could u add one of these to give the last episode of mlp that aired?

:+1: For now you could get /newest and use some logic to get the last episode.

but newest only gives one episode, the next one to air, right?

for now i have a temporary bit of code set to just give season 5 episode 13 for last

Yes, but you could use logic (with the ep & season number) to go back and ep (the last aired one) and if needed go back a season.

# last_aired :: IO Episode
# TODO: Does not know how to wrap around seasons, fix this
def last_aired():
    new = newest()

    if new[u"air_date"] > int(time.time()):
        return get_episode(new[u"season"], (new[u"episode"]-1))
    return new

Also keep in mind that this API has no use limits, so making multiple API calls is fine.


Refined daos_set_paths to allow UNS on src and dst

daos_set_paths now properly allows a UNS path on the
source or destination when the other uses a prefix.
Details in #365.
Signed-off-by: Dalton Bohning<EMAIL_ADDRESS>

Looks good to me.  I'll wait for @dsikich to also sign off.


Globe anchoring

Add globe anchoring similar to Unreal and Unity. See https://cesium.com/learn/unity/unity-placing-objects/
We should use cesium-native's CesiumGlobeAnchor as a starting point. But first we need to update cesium-native: https://github.com/CesiumGS/cesium-omniverse/issues/234

@lilleyse Let me know if you want me to break this up into smaller chunks, but I'm getting very close to done here and I'm not sure there's much to break up at this point.


Add support for message threads

Add timestamp and thread timestamp to message events
Add optional thread timestamp to send message command
point is to allow a flow to start or continue a thread...

For ref - see https://api.slack.com/docs/message-threading

Recognize threaded messages by looking for a thread_ts attribute: any message with a thread_ts attribute is part of a thread!
Identify replies by noting when a threaded message's ts and thread_ts values differ. If they're equal, you're dealing with a parent.


Response misleading for token issues while querying API requests

Description
Hi @ all,
yesterday I was coding an application to query repositories out of an org in our Gitea environment . I was searching why I am getting back an empty list while querying repositories and the request is successful with http code 200. After searching for a while I came to the issue that the token is somehow broken.
ubuntu@dev ~/g/attention-list (main)> curl "https://our.url.com:443/api/v1/orgs/docs/repos?limit=50&page=1" \
    -H "accept: application/json" \
    -H "Authorization: token <TOKEN>"
[]

ubuntu@dev ~

Due to fact that there is no http code 401 response it took a while to find the issue. I would propose to have a proper "unauthorized" response.
Kind regards
tischrei
Gitea Version
1.17.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
In our own env as linux package from: https://dl.gitea.io/gitea/1.17.3
Database
MySQL

As additional hint: the org (org = 'docs') used in my example is private. For this purpose authentication is required.


Improve cross-rack replication checks (#138)

If --validate-only is set the number of racks needed is ignored.
If there are broker connections, use the actual number of racks in the
cluster.
Use /bin/bash for set_up_net_alias.sh.
[[ … ]] is a bashism and doesn’t work with all sh.

Sorry - wrong account...

The actual PR is https://github.com/segmentio/topicctl/pull/140, I accidentally filed it with one of our company's non-human accounts.


Autocomplete: Enable keepalive agent for Node

We found another small way to improve overall latencies: Making sure we keep the TCP connection alive and reducing the need for subsequent SSL/TLS handshakes.
In Node, reusing TCP connections is not the default behavior (like it is for example on our Go backends). To fix this, we have to make sure we create a custom network agent that is configured to keep connections allive.
Since this is Node only, we are using a mutable ref objects to not run any of those code paths on the web branches.
c.f. https://sourcegraph.slack.com/archives/C05497E9MDW/p1693387804620389
Test plan
Tested using the local completion CLI script
We found about a 5% latency improvement:

Out of curiosity, what is your "http.proxySupport" value in VS Code? I looked into this for a moment yesterday but noticed that VS Code patches over the agent for the default proxySupport value (override). Related issue: https://github.com/microsoft/vscode/issues/173861

@umpox Oh, interesting. Yeah I remember that I have had to deal with that before for the old SG VS Code extension. I have set it to "http.proxySupport": "off", right now and it did seem to try and use the agent (I validated that by returning {} and it throwed). Let me check what happens with the default values 🤔

@umpox yeah i think there's nothing we can do when the default option is set. So this change will only have an impact for users that either have "http.proxySupport": "off" set or are in our controlled environments like Agent.
Wow this is frustrating.

I found a way 😐


Unit tests fail on KNL with AVX512 vector back-end.

Steps to repeat:

Build and compile for KNL:

% mkdir b; cd b
% CC=icc CXX=icpc cmake -DNMC_VECTORIZE_TARGET=KNL -DNMC_WITH_CUDA=OFF -DNMC_THREADING_MODEL=cthread -DNMC_WITH_ASSERTIONS=OFF -DCMAKE_BUILD_TYPE=debug ..
…
% make -j test.exe
…

Run unit tests fvm_multi.init, probe.fvm_multicell, or mc_cell_group.test.

% ./tests/test.exe --gtest_filter=fvm_multi.init
…
[ RUN      ] fvm_multi.init
…/tests/unit/test_fvm_multi.cpp:89: Failure
Value of: test_nan(mat.u(1, J.size()))
  Actual: false
Expected: true
…/tests/unit/test_fvm_multi.cpp:90: Failure
Value of: test_nan(mat.d)
  Actual: false
Expected: true
…/tests/unit/test_fvm_multi.cpp:91: Failure
Value of: test_nan(J.solution())
  Actual: false
Expected: true
[  FAILED  ] fvm_multi.init (1 ms)
…

% ./tests/test.exe --gtest_filter=probe.fvm_multicell
…
[ RUN      ] probe.fvm_multicell
…/tests/unit/test_probe.cpp:80: Failure
Value of: lcell.probe(probes[0])
  Actual: -nan
Expected: lcell.voltage()[probes[0].second]
Which is: -nan
…/tests/unit/test_probe.cpp:81: Failure
Value of: lcell.probe(probes[1])
  Actual: -nan
Expected: lcell.voltage()[probes[1].second]
Which is: -nan
[  FAILED  ] probe.fvm_multicell (1 ms)
…

% /tests/test.exe --gtest_filter=mc_cell_group.test
…
[ RUN      ] mc_cell_group.test
warning: solution out of bounds for cell 0 at (max) t 0.01 ms
warning: solution out of bounds for cell 0 at (max) t 0.02 ms
warning: solution out of bounds for cell 0 at (max) t 0.03 ms
…
warning: solution out of bounds for cell 0 at (max) t 50 ms
warning: solution out of bounds for cell 0 at (max) t 50 ms
…/tests/unit/test_mc_cell_group.cpp:39: Failure
Value of: group.spikes().size()
  Actual: 0
Expected: 4u
Which is: 4
[  FAILED  ] mc_cell_group.test (308 ms)
…

Looks like a compiler bug.
$ icpc --version
icpc (ICC) 16.0.3 20160415
Copyright (C) 1985-2016 Intel Corporation.  All rights reserved.

Having trouble making a minimal test case, as it seems quite delicate. Something goes awry with the inlined version of partition_range::bounds(), where the second value in the pair is improperly computed (or whatever) as zero, in the middle of the div_component_sampler constructor.
This leads to it computing scale_ as zero, so that all the returned divided compartments returned by the div_component_integrator (which derives from div_component_sampler) object are full of zero values, the lengths in particular. This in turn makes all the face_conductance values computed in the fvm_multicell initialization NaNs.
Trying to print the computed values within the div_compartment_integrator or base class constructor, or even print one of the constructor arguments, is sufficient to dodge the bad code generation. Similarly, building with -inline-level=0 makes the problem go away.

Let's try it also with Intel 17 on Tave.

I could verify the bug with Intel 16 on Tave as well, but the code works fine with Intel 17.
module switch PrgEnv-cray PrgEnv-intel
module load gcc/6.3.0  # the trick to get a more recent libstdc++
cd build-knl/
CC=icc CXX=icpc cmake -DMODCC_BIN=../build-generic/modcc/modcc -DNMC_VECTORIZE_TARGET=KNL -DNMC_WITH_CUDA=OFF -DNMC_THREADING_MODEL=cthread -DNMC_WITH_ASSERTIONS=OFF -DCMAKE_BUILD_TYPE=debug ..
srun ./tests/test.exe

You need to compile separately modcc, since on Tave you're cross compiling for KNL.
icpc --version

icpc (ICC) 17.0.1 20161005
Copyright (C) 1985-2016 Intel Corporation.  All rights reserved.

I have a patch which seems to force the appropriate evaluation. In div_compartment_sampler ctor, added the #if-guarded line below:
        segs_ = make_partition(offsets_, lengths);
#if defined(__INTEL_COMPILER_BUILD_DATE) && (__INTEL_COMPILER_BUILD_DATE<=20160415)
        compat::sink(segs_.bounds());
#endif

With compat::sink defined in util/compat.hpp by:
template <typename X>
inline void sink(const X& x) {
    char buf[sizeof x];
    volatile char* bufptr = buf;
    const char* xptr = reinterpret_cast<const char*>(&x);

    for (std::size_t i = 0; i<sizeof buf; ++i) {
        *bufptr++ = *xptr++;
    }
}

The question is: do we actually incorporate this into the master branch? I guess it becomes a question of how reasonable it is to expect the systems in question to have the most recent icc version.

We could put it in a include with a clear name like: compiler issue bug fixes.
That makes clear the how and why, and keeps the code clean.
I'm always pro fixing stuff now, because of you get the question of the user in 2 years it might take you a day to remember that this was the problem. Put in clear source comments.
I know it is an issue outside of our control and external but a user does not see that, it just sees broken fragile code.

Yeah, we're currently using compat.hpp to hold our various per-compiler work-around support code.
Rather than have the #if-guards in compartment.hpp, we could do something like the existing compat::compiler_barrier_if_xlc_leq(unsigned version) function, e.g. in namespace compat:
    template <typename X>
    void sink_if_icc_leq(unsigned version, const X& x) {
#if defined(__INTEL_COMPILER_BUILD_DATE)
        if (__INTEL_COMPILER_BUILD_DATE<=ver) {
            compat::sink(x);
        }
#endif
    }

and then use this function instead in the div_compartment_sampler constructor:
        segs_ = make_partition(offsets_, lengths);
        compat::sink_if_icc_leq(20160415u, segs_.bounds());


Many gems not being recognized

I don't know why or for how long this has been the case but some gems are not being recognized as of 1.25.1
Fortunately I was able to add them to forum export using {UnknownItems}
Screenshot added. Some gems are recognized, many aren't and they have a transparent white background instead of dark green.

This issue seems to happen only on level 20 and 21 gems, level 19 and lower are recognized correctly

Also looks like they aren't showing the experience progress bar.

Yes , since those aren't supposed to, my guess is same issue with gems that reach max lvl at lvl 1 or 3 etc

Can you check with this version from my PR.
https://ci.appveyor.com/project/Stickymaddness/procurement/builds/22363798/artifacts
That should resolve it.

Appears to be fixed


Execute hooks in series as per pre-v10 releases

[x] I have read the contribution documentation for this project.
[x] I agree to follow the code of conduct that this project follows, as appropriate.
[x] The changes are appropriately documented (if applicable).
[ ] The changes have sufficient test coverage (if applicable).
[ ] The testsuite passes successfully on my local machine (if applicable).

Since v10, the functions provided to afterCopy, afterExtract and afterPrune no longer execute in series. In some cases, this behaviour is desirable since one hook may effect changes that another hook assumes have already happened. I couldn't see anything about this change in the release notes, so this PR restores that behaviour whilst still using Promises internally.
If this change is welcome, could someone please give me some pointers getting the unit tests passing? I'm having a hard time, either seeing intermittent failures on the sequential ordering assertions (presumably because the packagerTest builds two packages), or the following:
  platform=all test (one arch) (afterPrune hook)

  Rejected promise returned by test. Reason:

  Error {
    cmd: 'npm prune --production',
    code: 1,
    killed: false,
    signal: null,
    message: `Command failed: npm prune --production␊
    npm WARN @4.99.101 No description␊
    npm WARN @4.99.101 No repository field.␊
    npm WARN @4.99.101 No license field.␊
    ␊
    npm ERR! May not delete: /private/var/folders/nz/s1gw0mtj4jq8jqc7w2p090tr0000gn/T/75089d8c4e4d0acbb0bcbe90f07b7de5/electron-packager/linux-ia32/packagerTest-linux-ia32/resources/app/node_modules/.bin␊
    ␊
    npm ERR!      /Users/username/.npm/_logs/2018-03-16T16_58_32_665Z-debug.log␊
    `,
  }

I appreciate the effort you made in this PR, however, I'm unlikely to revert the feature change to the hooks. As a counterproposal, I've written #814, which I hope addresses your concerns.

Yeah that's great, thank you.


Why not create Library Project Instead of App Project?

Hi,
Thank you so much for creating such a nice project to demonstrate how to create Social Network using Firebase.
Why not create a Library Project instead of App Project and do further development etc because that way it can be included in other apps easily.
Locally we already converted it into Library Project by downloading it.
What do you recommend?

I like that idea! Would you like to share your Library Project? Thanks!

@Shajeel-Afzal


Reactivating the SYSTEM user when no User with USER ADMIN is Available

**Rancher versions:2.0.8
I deactivated default admin when i configured openldap ,but i forgot create a admin user.
Now i haven't  any admin privileges account.
How can i Reactivating the SYSTEM user, or create a admin rule user.
That's very urgent. Please help me !
Results:

If no way to enable a admin account and need rebuild the RKE, please honestly tell me.


The anvil service has a large number of network problems in the FIN_WAIT2 state

Component
Anvil
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0
What command(s) is the bug in?
anvil --fork-url xxxxxx --no-rate-limit --chain-id xxxxx --tracing --host <IP_ADDRESS> --state-interval 60 --dump-state state.json --load-state state.json --code-size-limit 100000
Operating System
Linux
Describe the bug

Shortly after anvil started the service, a large number of network connections in the FIN_WAIT2 state appeared, causing the port to fail to connect and the service to be unavailable

@woshihahaha I tried to reproduce this issue but wasn't able to, I fired anvil and then executed bunch of txes against, can see connections in TIME_WAIT that are cleaned after 60s as configured in /proc/sys/net/ipv4/tcp_fin_timeout
Please check fin timeout value and network setup (to make sure there's no packet loss, it looks like you're using docker?) and report back if this is still an issue. thank you!


Streamlit app continues even with Gmail accounts not on the test list

I have added only one gmail account to my test list in Google Web Apps, but I can login using any other gmail account (!) and the Streamlit app continues running after add_aut(required=True).

I assume it will sign you up automatically, but it won't bypass the subscription. Try another browser or incognito mode.

I can't reproduce this behavior at all (see video), can one of you give me a video / reproducible example for this?
https://github.com/tylerjrichards/st-paywall/assets/103017176/1dee3c40-974a-42d5-abc1-32811e2aff19

I can't reproduce this behavior at all (see video), can one of you give me a video / reproducible example for this?
CleanShot.2023-11-11.at.12.01.27.mp4

https://github.com/tylerjrichards/st-paywall/assets/85027659/ad403806-6da1-4535-b0b1-ae2151c49d1a

I don't think I fully understand what is going on here, so are you saying users should stay logged in cross browser? Or what is the actual issue?

When I click the sign in button on microsoft edge, google doesn't ask me which account I want to sign in with.

The mistake is on my side, google is automatically signing up one account, the only one signed in w google... I deleted the previous messages, I apologize for the mistake that occurred on my side and for the unnecessary delay of your time...

literally don't worry about it at all, i'm going to close this issue unless it can be reproduced! thanks for trying it out @jozkotrapko


Hello, please can you help with materials to learn SE from the scratch, I feel I'm failing in this and I don't want to fail

Hi, I would advise you to start with online courses to build your foundation in SE, few examples are ALX, Udacity, and Google  then from there you can decide on which part to specialize in.


Add MPI as a dependency

DREAM does not make use of MPI, but PETSc has it as a dependency. As a result, compilation can sometimes be problematic on some systems since the PETSc headers include mpi.h which is generally not available to DREAM. By adding MPI as a dependency we could work around this problem.
(perhaps we should make the dependency optional? I'm not sure, but maybe it's possible to configure and compile PETSc without MPI, in which case some users may not want to install it)

Fixed in 97f917bb0c46e0343fdc90ae2b1d199b0a892feb


Not working on namespaced files

There is my files tree.

I tryed many configs but nothing working, the plugin cannot find my files.
Can somebody help? What is the needed config?
Pretty sure I did nothing bad.
Thanks.

Set locales directory to locales directory in your screenshot.
Set file pattern to *.json

Set locales directory to locales directory in your screenshot.
Set file pattern to *.json

Thanks for you answer.
I tryed many things, nothing is working.

I don't know if it is related, but I found an error on WebStorm:
Could not process file en / pro with ModularizedJsonIOStrategy. Unwanted files can be ignored via Translation file wildcard matcher option.

java.lang.UnsupportedOperationException: JsonObject
	at com.google.gson.JsonElement.getAsString(JsonElement.java:179)
	at de.marhali.easyi18n.io.ArrayMapper.read(ArrayMapper.java:37)
	at de.marhali.easyi18n.io.json.JsonArrayMapper.read(JsonArrayMapper.java:13)
	at de.marhali.easyi18n.io.json.JsonMapper.read(JsonMapper.java:36)
	at de.marhali.easyi18n.io.json.JsonMapper.read(JsonMapper.java:31)
	at de.marhali.easyi18n.io.json.ModularizedJsonIOStrategy.lambda$read$0(ModularizedJsonIOStrategy.java:107)
	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:828)
	at de.marhali.easyi18n.io.json.ModularizedJsonIOStrategy.read(ModularizedJsonIOStrategy.java:77)
	at de.marhali.easyi18n.DataStore.loadFromPersistenceLayer(DataStore.java:74)
	at de.marhali.easyi18n.InstanceManager.lambda$new$1(InstanceManager.java:41)
	at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:214)
	at com.intellij.openapi.application.TransactionGuardImpl.access$200(TransactionGuardImpl.java:21)
	at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:196)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:794)
	at com.intellij.openapi.application.impl.ApplicationImpl.lambda$invokeLater$4(ApplicationImpl.java:350)
	at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:84)
	at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:133)
	at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:46)
	at com.intellij.openapi.application.impl.FlushQueue$FlushNow.run(FlushQueue.java:189)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:885)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:754)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:441)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:825)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:440)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:794)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:486)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

How does the en / pro.json file look like? Does it define at least an empty object {} ?

How does the en / pro.json file look like? Does it define at least an empty object {} ?

I just checked on for all my locales, each file define at least an empty object.

The error message indicates an array object. Can you provide an example?
Could you provide the content from file en / pro.json?

Oh, I understood. With i18next, you can provide an array translation.
I have this on my trad files:
{
  "features": [
        {
          "text": "List your salon on the app",
          "tooltip": "You can be listed freely on PlanniPets' groomers by simply registering. That way, everyone can book an appointment in your salon."
        },
        {
          "text": "Add your services",
          "tooltip": "Add all of your services on our platform, so that customers can find out what you have to offer."

        }
      ]
}

Ah okay, haven't seen this form before in translation files. Currently the plugin does not support such arrays.

Upcoming release will add basic support to parse this edge case

Super, thanks!


Can't login to seedbox

I have installed the app into iOS however I was not able to log in to Whatbox.
Is there any solution?

I have installed the app into iOS however I was not able to log in to Whatbox.
Is there any solution?

This is a question for whatbox. No way our team is going to do the job of seedbox providers :-) If it doesn't work with whatbox ask them to give it a try and send a pull request to fix it :-)
Only exception is Xirvik and just because that's we're using to develop and test (and still if a Xirvik customer comes asking for help we'd say the same thing - however we know it works well with those seedboxes).
Sorry.


Documentation of the ordering in oplog.values

The order of oplog.values is not explicitly defined.

would you mind linking to the source just so i can look at the current order rules

sorry i read the pr title wrong, this seems fine and doesnt have to go into ordering. :+1:

Thanks!


Result printability

Addresses #204 . Enables printing results in Chrome and Edge.
Fixing the printability for Chrome and Edge messed up the background a bunch. This PR proposes fixing that by switching our paradigm for background images. The status-quo is for elements to have a tan background by default, and certain elements overriding the default in favor of a cool green + thread background tiling. This PR proposes making the default background be green with thread-tiling, and making certain elements override it to use a tan background color. Is that ok?
Firefox still can't print due to known bugs about printing with tall inline-block elements:
https://bugzilla.mozilla.org/show_bug.cgi?id=534182
Related:
https://support.mozilla.org/en-US/questions/1198054
https://support.mozilla.org/en-US/questions/1139329
https://stackoverflow.com/questions/4609007/firefox-printing-only-1st-page
None of the proposed solutions have worked for me. 🤷♂
I'll create a ticket to address Firefox printing.
If you have any ideas let me know!

I was going to wait for review before merging, but it sounds like Lucas + Tyler are meeting today. Merging this before then should give them an opportunity to verify this works/find bugs, which might influence what they do in the meeting.


Turkish Translation For Better Chest

Heya
I just wanted To say I'm making a Turkish Translation for mod. so For this i opened a ticket for it.
After finish i will send translation

İ found some İssues like not translated areas... i gonna update translate tomorrow


Add sass variables for discovery and live phases

This PR adds a named SASS variable for the discovery and live phases of development, in the same format as the existing $alpha-colour and $beta-colour variables.
We don't often use these colours, but for consistency it would be good for them to be included.

Makes sense to me :+1:


Package pcmemtest

Project description
GPL2 licensed memory tester for x86 and x86-64 computers (rewrite of memtest86+) with support for both legacy boot and EFI.
Metadata

homepage URL: https://github.com/martinwhitaker/pcmemtest
source URL: https://github.com/martinwhitaker/pcmemtest
license: gpl2Only
platforms: all?

i've had a first go at this here
https://github.com/evils/nixpkgs/blob/pcmemtest/pkgs/tools/misc/pcmemtest/default.nix
the selecting of 32 or 64 bit could maybe be done by detecting the build target?
the ISO it makes seems to work
i'm not sure how to use the other outputs in NixOS yet
copying most of nixos/modules/system/boot/loader/grub/memtest.nix and parts of nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix may suffice, but i haven't looked into it further

Sorry, I sadly have no experience with hooking stuff into our bootloader.

the selecting of 32 or 64 bit could maybe be done by detecting the build target?

Looking at stdenv.hostPlatform.system could be helpful, if that decision is at all required.

do we produce install media for non-64-bit stuff?

I took it a step further and added a hacky nixos module: https://github.com/colemickens/nixpkgs/commit/a3c42b1bb04bcd9473698d19e5cfcf7d4732a12d

well, I don't know if I did something wrong but it fails to boot, while memtest86+ is able to boot.

There we go, it loads via "linux ..." rather than "chainload ...`.
This is working, running pcmemtest on my machine, via grub. It definitely needs some love (mostly copied back from memtest86+ again) before it's ready. Not sure if I'll do this right now if someone else wants to finish it off: (thanks @evils of course) https://github.com/colemickens/nixpkgs/commit/feccba6f65bd9289e499f02fbcdd6a0fd49dbce7

@evils do you have any interest in finishing this up and/or sending the PR for the package? Or I can leave your commit in there attributed to you at least?
This works well enough and I've been on the free-software koolaid again lately so I'd like to see this through if you don't have a burning desire to. :) thanks again for the derivation.

i didn't send a PR for the package as i'm not sure about the boot integration stuff, which may affect the package
feel free to reuse the commit / keep me listed as a maintainer for the package
i'm not planning on developing it any further
but wouldn't mind testing changes

note that @K900 opened draft PR #167680
for memtest86+ v6.0, which is an in-progress release of memtest86+ based on pcmemtest

6.0.0 final is out


Could x-flux run on RTX 3090?

I try to train x-flux with LoRA on RTX 3090 GPU. But it seems that out of memory.

I met this error on 3090 GPU.
NotImplementedError: Cannot copy out of meta tensor; no data! Please use torch.nn.Module.to_empty() instead of torch.nn.Module.to() when moving module from meta to a different device.

I met this error on 3090 GPU. NotImplementedError: Cannot copy out of meta tensor; no data! Please use torch.nn.Module.to_empty() instead of torch.nn.Module.to() when moving module from meta to a different device.

Yes, so do I when using the flux-dev-fp8.safetensors (11 GB). I also tried flux1-dev.safetensors (22 GB), resulting in a memory error.

I met this error on 3090 GPU. NotImplementedError: Cannot copy out of meta tensor; no data! Please use torch.nn.Module.to_empty() instead of torch.nn.Module.to() when moving module from meta to a different device.

Yes, so do I when using the flux-dev-fp8.safetensors (11 GB). I also tried flux1-dev.safetensors (22 GB), resulting in a memory error.

Have you tried sd_scripts for FLUX Lora training? https://github.com/kohya-ss/sd-scripts/tree/99744af53afcb750b9a64b7efafe51f3f0da8826 I see it works with 24GB VRAM GPUs.

I met this error on 3090 GPU. NotImplementedError: Cannot copy out of meta tensor; no data! Please use torch.nn.Module.to_empty() instead of torch.nn.Module.to() when moving module from meta to a different device.

Yes, so do I when using the flux-dev-fp8.safetensors (11 GB). I also tried flux1-dev.safetensors (22 GB), resulting in a memory error.

Have you tried sd_scripts for FLUX Lora training? https://github.com/kohya-ss/sd-scripts/tree/99744af53afcb750b9a64b7efafe51f3f0da8826 I see it works with 24GB VRAM GPUs.

Sorry, I didn't. But I have tried ai-toolkit for Flux LoRA training, and tested on web-ui successfully. https://github.com/ostris/ai-toolkit/ Now, I am testing 青龙圣者（Qinglongshengzhe）'s framework. If you are interested in it, don't hesitate to get in touch with me at QQ (593851428). https://www.bilibili.com/video/BV1RW421977P/?spm_id_from=333.788&vd_source=85be3ec5e95fd23384a835c58edf1296 We can do a great job together.

i did run it on 3090, try with fp8
here with lora and controlnet.
python3 x-flux/main.py \
 --prompt "$PROMPT" \
 --image ../imgs/ctrl1024.jpeg \
 --control_type canny \
 --repo_id XLabs-AI/flux-controlnet-canny-v3 \
 --name flux-canny-controlnet-v3.safetensors \
 --use_controlnet \
 **--offload --model_type flux-dev-fp8 \**
 --width 1024 --height 1024  --timestep_to_start_cfg 1 \
 --num_steps 30 --true_gs 4 --guidance 4 \
 --use_lora --lora_weight 1.1 \
 --lora_repo_id XLabs-AI/flux-lora-collection \
 --lora_name realism_lora.safetensors \
 --save_path "$output_path"


Is there a download to pre-trained model?

Hey there! Looks amazing!
Is there a download to the pre-trained model? Also, how many images did the model trained on?
Thank you so much!

I will upload a new weight file later.The number of training documents is set according to the paper.

upload weights done.


dt is not function version 2.1.0

Hi, i developing with composition api, in dev environment work correctly but when i build in production server
this.$refs.table?.dt()
i receive  next error
this.$refs.table.dt is not a function
i build it with vite

when i used in cons

ole.log(this.$refs.table?.dt)
it shown as function, also when i try to access datatable functionality it show for me it not function, next image describe what was done

when i try to  console.log(this.$refs.table?.dt) it shown as function, also when i try to access datatable functionalities it shown that it not function, next image describe what happen

actually iam work using optional api, i rewite my code using compositional api and i receive the same error
X.value.dt is not a function

when in dev mode (npm run dev) it worked, but when i build in production server (npm run build) not worked

in composition api, next worked for me
const table = ref();
let dt;
onMounted(function () {
dt = table.value.dt;
})
@AllanJard, thank you for your reply


Failed to render and update auto layout IBDesignable

・Xcode9.3.2
・Storyboard Error
Foo.storyboard: error: IB Designables: Failed to render and update auto layout status for BarViewController (MzK-QW-yU2): dlopen(EMSpinnerButton.framework, 1): no suitable image found.  Did find:
	EMSpinnerButton.framework: required code signature missing for 'EMSpinnerButton.framework'

+1

+1
Getting same error:
" Main.storyboard: error: IB Designables: Failed to render and update auto layout status for ViewController (vXZ-lx-hvc): dlopen(EMSpinnerButton.framework, 1): no suitable image found.  Did find: EMSpinnerButton.framework: required code signature missing for 'EMSpinnerButton.framework' "


Minor code cleanup and unit test fixes

Fix a couple asserts in tests that were either missing or misplaced. For example, one assert was outside the loop it was supposed to be in.
Remove custom tmpfile context manager, since pytest has a built-in one. I pegged pytest to ≥ 2.7.3 because it has a bugfix that's nice to have for temporary files.
Use set literal notation in a few places for cleaner code. Also avoids global lookups.
Add futures as a test requirement for Python 2. It was working by chance since it's an indirect dependency of another package.
Move test requirements to their own file so developers can easily install them locally with pip
Add a few things to .gitignore -  pytest's new cache directory and the virtualenv environment file for those of us who don't use conda. 🙂
Removed an extraneous read() in read_block().
Fix #133

Just fixed #133. Build seems to be stalled on Travis for some reason.

Thank you @dargueta


doc: confirm IQ version supported and tested

Fix for #84

:tada: This PR is included in version 2.12.1 :tada:
The release is available on:

Chrome Web Store
v2.12.1
GitHub release

Your semantic-release bot :package::rocket:


error: relation "table_name" does not exist

[frank@blackberry express-testing-mocha-knex]$ npx knex seed:run --env development
Using environment: development
error: relation "table_name" does not exist
at Connection.parseE (/home/frank/express-testing-mocha-knex/node_modules/pg/lib/connection.js:601:11)
at Connection.parseMessage (/home/frank/express-testing-mocha-knex/node_modules/pg/lib/connection.js:398:19)
at Socket. (/home/frank/express-testing-mocha-knex/node_modules/pg/lib/connection.js:120:22)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at Socket.Readable.push (_stream_readable.js:208:10)
at TCP.onread (net.js:597:20)

Solution is to edit the file
src/server/db/seeds/users.js as mentionned on the blog post in section "Database Seed"
https://mherman.org/blog/testing-node-and-express/


chore(dev/release): create source archive on GitHub Actions

Fixes #291.

Merged main into branch, will merge on green


Create sportschule-potsdam.txt

@Schmexs I am sorry, could you please provide us with an URL of a page on the official website where an IT-related long-term (>1 year) course is offered by the university?

@philipto Yes of course... It´s: https://www.sportschule-potsdam.de/informatik

@Schmexs Thank you for the clarification. Pull request merged.


decrease tolerance on serialization check for macos test builds

The nightly build is failing for macos platform due to tolerance checks in serialization backcompat test.
This PR decreases the tolerance in the check to fix the macos tests.

Codecov Report

Merging #496 (eff51d1) into master (589dbcd) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #496   +/-   ##
=======================================
  Coverage   86.62%   86.62%
=======================================
  Files          62       62
  Lines        4044     4044
=======================================
  Hits         3503     3503
  Misses        541      541

Flag
Coverage Δ

unittests
86.62% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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


wordpress: 4.7.4 -> 4.7.6

Motivation for this change
This is for 17.09.
Update to the most recent maintenance and security release in 4.7.x series:

https://codex.wordpress.org/Version_4.7.5
https://codex.wordpress.org/Version_4.7.6

Fixes broken test.
Not sure if such a version bump is appropriate for the stable release but submitting this on account of multiple security fixes included.
/cc @basvandijk
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Yes, definitely appreciated. Thank you.


Fix lambda/ECS IAM permissions for AOSS

Feature or Bugfix

Bugfix

Detail

Add "aoss:APIAccessAll" to lambda/ECS task IAM roles required since May 10th (see message below). Fixes 403 errors from APIs.

[Action required] Amazon OpenSearch Serverless requires mandatory IAM permission for access to resources
Starting May 10th, 2023, OpenSearch Serverless is mandating two new IAM permissions for collection resources. The two IAM permissions are "aoss:APIAccessAll" for Data Plane API access, and "aoss:DashboardsAccessAll" for Dashboards access from the browser.
You are required to add these two IAM permissions for your OpenSearch Serverless "aoss:APIAccessAll" for Data Plane API access, and "aoss:DashboardsAccessAll" for Dashboards access. You must complete this action by May 9th, 2023. Failure to add the two new IAM permissions will result in 403 errors starting on May 10th, 2023
For a sample data-plane policy [here](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/security-iam-serverless.html#security_iam_id-based-policy-examples-data-plane.html)
If you have any questions or concerns, please contact [AWS Support](https://aws.amazon.com/support)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@dlpzx this has been E2E tested on a fresh new deployment.


PVC scale test

PVC scale test:

creates pods
attaches pvc
collect timestamps for pods

Test log

@akrzos @jmencak removed documentation part , will add via new PR, other than that I tested this and it runs also in unprivileged mode, @akrzos if you can test it, it worked fine with these vars

documentation #46 @akrzos

@akrzos ptal/test , ty.

The workload runs both with and without tooling at this point, I believe it is a good time to merge and mark any outstanding items as an issue to be addressed later and/or by other team members.  Thanks Elko for the effort here!  I will detail some of the remaining issues/items in a separate issue to track that work going forward.


Update dependencies in env and recipe

Closes #469, Closes #470
Summary of Changes

Use Python 3.9 in conda envs (#470)
Pinned latest dependencies in env (#470)
Update output_viewer in conda recipe to >=1.3.3 (#469)

Temporarily ignore broken image checker in build workflow (#473)

Build is currently failing due to the image checker and image counter (#473).

Merging this PR. The build will be fixed in #474.


refactor(CSI-305): change mount Map logic for WEKAFS to align with NFS and support same fs name on SCMC

#383  👈
dev

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

Join @sergeyberezansky and the rest of your teammates on  Graphite


Import from directory when importing from index.ts

Currently when importing from a file named middleoutCompression/index.ts ts-importer specifies the './middleoutCompression/index' as the path.
I would be nicer if it instead simplified the path down to './middleoutCompression'.

+1


gd

we face some problem to find links in laptop and those links are easly found in the mobile app version

Please stop spamming the repo.


Component: Suggested Flavors

Overview
The user can add suggested flavors. The user can remove the flavor they just added.
Action Items

[ ] randomly populate 3 suggested flavors
[ ] on hover, display flavor name
[ ] on click, add the suggested flavor to cart

Resources/Instructions
Refer to the single product page wireframe

sorry it's a duplicate of #9


services/ is full of lazily-initialised singletons

It's a bit of a mess in services/. We should probably integrate it into the "bindings" model we use for the rest of the framework, with a single place that vends lazily-instantiated singletons, or some such.

This has mostly been cleaned up now.


HTML report is not generating with the CLI command

Describe the bug
HTML report is not generating with the CLI command
Expected behavior
HTML report should be generated
Actual behavior
HTML report is not generating with the CLI command
Steps to reproduce

Running this command using PowerShell -

Start-Process -Verb RunAs locust     -ArgumentList "--locustfile", $PATH,
"--master", "--web-port", "9000", "--config-name", "$env:config_name", "--users", "$env:users", "--spawn-rate", "$env:spawn_rate", "--run-time", "$env:run_time", "--autostart", "--html", "./perf_report/load_test_report.html"

Tests is running without any issue but the report is not generated

Environment

OS: Windows: Windows 10 Enterprise
Python version: 3.11.3
Locust version:
locust                          2.15.1
locust-plugins                  3.3.1
Locust command line that you ran: Mentioned above
Locust file contents (anonymized if necessary):

I'm not good with power shell, but it is very likely that is at least part of your problem. What if you run it in cmd without the fancy Start-Process stuff?

The report was generated after running with the --autoquit command.
Start-Process -Verb RunAs locust     -ArgumentList "--locustfile", $PATH,
"--master", "--web-port", "9000", "--config-name", "$env:config_name", "--users", "$env:users", "--spawn-rate", "$env:spawn_rate", "--run-time", "$env:run_time", "--autostart", "--html", "./perf_report/load_test_report.html", "--autoquit", "60"


Create an API to change the start-end and/or properties of an interval

Support changing the start, end, and properties of an interval. To avoid out-of-order toggling of start and end across clients, keep track of local change ops that are waiting for an ack from the server and don't accept remote start/end changes if pending changes for the given interval exist.

Superseded by https://github.com/microsoft/FluidFramework/pull/6800.


User/canli/fonts

Description

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

/azp run

/azp run

/azp run

Why the move away from Chevrons to Caret?  The FluentUI Icons include both.


Enable/Disable running tests (Nice to have)

Hi,
It could be nice to have the possibility to enable/disable the tests through the Meteor.settings (see http://docs.meteor.com/#/full/meteor_settings)
If you think it is a good idea, I could even implement it!

@francoiscabrol I realize I'm super late on this one, but I do think it's a good idea, and I'm definitely open to a pull request.

Definitely want this as well.

I would like to suggest to share the VELOCITY=0 environment variable for this purpose.
also see: https://github.com/meteor-velocity/velocity/issues/270

VELOCITY=0 stops tests from running now.


Dead link checker

Would it be possible to add a dead link checker? That is, a function to run through the links and output links that aren't 200 ok, with an option to delete, and perhaps replace with Wayback, etc? Or perhaps run on a schedule and send a report? Or both? :)
Apologies if this is a dupe request, I did search but wasn't sure about keywords.

Yeah, this is a duplicate of https://github.com/sissbruecker/linkding/issues/68. You can comment there if you like.


Error in install requirements.txt

I tried to install requirements, but there is an error.
ERROR: Could not find a version that satisfies the requirement tensorflow-gpu==1.12.0
ERROR: No matching distribution found for tensorflow-gpu==1.12.0

My environment is Python: 3.6.6

Hi hong, I have run into this kind of issue sometimes before.  I referred to it from https://stackoverflow.com/questions/55877398/how-to-install-tensorflow-version-1-12-0-with-pip


Add gbt token

为确保 Token Profile 的顺利通过，务必逐一确保以下检查项并补充项目资料：
.json 及 .png 文件检查项
logo 尺寸：120*120 px
logo 背景：透明
代币有至少一笔成功的转账记录
此项对于 ERC-20 项目方：合约地址有大小写（做 checksum）
.json 和 .png 文件名一致（包括大小写）
项目资料补充：
团队背景：
项目基本情况：Global Blockchain Economy Exchange，简称 GBEX 全球通证中心。注册于塞 舌尔共和国，国际中心设在新加坡，亚太中心设在菲律宾，国际网络中心设在中国 海南, 由美国区块链专家领导的国际顶尖技术团队创建。
媒体报道：无
收录的交易所：GBEX
转账所需 Gas Limit（对 ERC-20 项目方）：（默认为 60000）
Please check the following to ensure a successful verification of Token Profile
.json and .png document checklists
logo dimensions: 120*120 px
logo background: Transparent
At least one transaction on the token contract
For ERC-20 project teams: Upper and lower capitalized alphabets in token address (For checksum purposes)
Same document name for both .json and .png (Including capitalization)
Project background details:
Team background:Dr. Danton Timmy, CEO of the platform, is responsible for the research and development of the technology platform by Dr. Google Phil, Facebook King Haisheng Senior Algorithmic Engineer and Microsoft Michelle Senior Engineer. The Wells team of the new generation of digital currency exchange runs the project.
Current situation of the project:Global Blockchain Economy Exchange, referred to as GBEX Global Communications Center. Registered in the Republic of Seychelles, the International Center is located in Singapore, the Asia-Pacific Center is located in the Philippines, and the International Network Center is located in Hainan, China.
Media exposures:
Tradeable exchanges:
Recommended Gas Limit (For ERC-20 project teams) for transaction: (Default is 60,000)

问题已在标签中注明，请按教程检查修改

问题还在，参考教程，补充了 checksum 转换的工具。

同样的问题还在，参考教程，补充了 checksum 转换的工具。

When can we check and confirm?


fixed #1063 in jessesquires/JSQMessagesViewController

#1063

Thanks @BOOLRon ! :smile:
However, per discussion in #1063, this is not a safe/acceptable solution since it uses private APIs.


[SPARK-13102] There is a problem about clicking ”+detail" in SQLPage using IE 11

Run query using ThriftServer, and open web using IE11, i click ”+detail" in SQLPage, but not response. And I click "DAG Visualization " in StagesPage, but get nothing. So i change the javascript file to resolve this problem.

Test build #54041 has started for PR 11935 at commit 831a7c2.

The diff is not viewable in Github. Can you describe what you changed? this is a 3rd party library. Do we need to update it instead of tweak it separately?

Test build #54041 has finished for PR 11935 at commit 831a7c2.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

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/54041/
Test FAILed.


Unique class and improper aria-label for filter ul

For @adamsilverstein:
As I was working on styling this component in our plugin, I noticed in the generated HTML that the ul containing the filter has the charMap--category-menu class and an aria-label of Categories, whereas the actual ul for the list of categories gets the same class but does not get the aria-label. So two things:

The aria-label needs to be assigned to the correct element
The filter ul should get a different class to be correct and for targeting - perhaps charMap--filter

@helen thanks for catching that - I'll work on a PR to correct. I think these got duplicated when resolving conflicts between several previous PRs.

I noticed in the generated HTML that the ul containing the filter has the charMap--category-menu class and an aria-label of Categories

@helen - Looks like some of this is already improved here (my fork is out of date)
I added the suggested class in https://github.com/Dayjo/react-character-map/pull/14
I notice we have an aria-label on the input filter element, does that seem right (vs being on the ul)?

#14  has now been merged in. Feel free to add further suggestions for accessibility, I'm keen to make it as accessible as possible.

Feel free to add further suggestions for accessibility, I'm keen to make it as accessible as possible.

Excellent, hoping to get some help reviewing with a more experienced colleague

Great. I'll close this one for now as the specific example was covered in #14.


Roll Flutter Engine from b8ca6a5e0ecf to 194dc08de24b (3 revisions)

https://github.com/flutter/engine/compare/b8ca6a5e0ecf...194dc08de24b
2022-05-12<EMAIL_ADDRESS>Roll Skia from 866f74a1ef26 to 6080d9df9ef7 (1 revision) (flutter/engine#33288)
2022-05-12<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from Vl7w2nU1L... to oU0932u8-... (flutter/engine#33283)
2022-05-12<EMAIL_ADDRESS>Roll Skia from d4aa36a9b644 to 866f74a1ef26 (1 revision) (flutter/engine#33282)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from Vl7w2nU1LkXB to oU0932u8-sUy
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Tags not actually added

It seems that salt-1.20.1-1.2.3.jar does not reflect the addition of the tags suggested in #11.

Was fixed in 1.2.4.


Added a little result bar

maybe you can add a grey section in this for the skipped questions

maybe you can add a grey section in this for the skipped questions

Added 👍

LGTM so far but can you PR to the dev branch instead?

alright


Make sync version work on large messages, improve sync version using deasync

Extend sync version using deasync, spawn is error prone - once message gets large (~150k) it crashes due to command-line limitations. With this fix the same code is used for both sync / async versions.

@driverdan Any update on this? Any blockers that need to be addressed ?


Add attr_readonly to some Order attributes

@elias19r could you rebase please we will probably merge this in 2-3


Can not install on debian 12

Deployment Method

[X] Installer
[ ] Docker Development
[ ] Docker Production
[ ] Bare metal Development
[ ] Bare metal Production
[ ] Digital Ocean image
[ ] Other (please provide a link Steps to Reproduce

Describe the problem*
Installing InvenTree
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package inventree
sudo apt-get install inventree -y does not find any package.
Steps to Reproduce
Install on debian 12
Relevant log output
### Installer for InvenTree - source: inventree/stable
### Detected distribution: Debian GNU/Linux 12
### Installing required packages for download
### Getting and adding key
### Adding package source
### Updating package lists
Hit:1 http://deb.debian.org/debian bookworm InRelease
Get:2 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:3 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
Get:4 http://security.debian.org/debian-security bookworm-security/non-free-firmware Sources [796 B]
Get:5 http://security.debian.org/debian-security bookworm-security/main Sources [62.4 kB]
Get:6 http://security.debian.org/debian-security bookworm-security/main amd64 Packages [106 kB]
Get:7 http://security.debian.org/debian-security bookworm-security/main Translation-en [64.1 kB]
Get:8 http://security.debian.org/debian-security bookworm-security/non-free-firmware amd64 Packages [688 B]
Get:9 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing InRelease [12.5 kB]
Get:10 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing/main amd64 Packages [10.4 kB]
Get:11 https://dl.packager.io/srv/deb/inventree/InvenTree/stable/debian 12 InRelease [1,852 B]
Fetched 359 kB in 1s (240 kB/s)
Reading package lists... Done
### Setting installer args
### Installing InvenTree
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package inventree
root@astrid:/home/mike# wget -qO install.sh https://get.inventree.org && bash install.sh
### Installer for InvenTree - source: inventree/stable
### Detected distribution: Debian GNU/Linux 12
### Installing required packages for download
### Getting and adding key
### Adding package source
### Updating package lists
Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing InRelease
Get:5 https://dl.packager.io/srv/deb/inventree/InvenTree/stable/debian 12 InRelease [1,852 B]
Fetched 1,852 B in 2s (1,154 B/s)
Reading package lists... Done
### Setting installer args
### Installing InvenTree
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package inventree

@tnemrap thanks for reporting. It looks like the packager builds are broken specifically for debian-12. Not sure why we were not getting notifications for this. Will have to look into this.

Also we do not support debian-12 for "stable" release yet - that will be available in 0.13.x release

That is sadly a bit hard @SchrodingersGat ; the packaging mechanism relies on build packs that contain a lot of code themselves - it is hard to tell where the error appears.
In this case it seems like multiple things are broken at the same time (python install and SSL).
A quick fix might be to adjust the one-line installer to recommend the repo for Debian 11 when 12 is detected. I have run the current master branch package running on multiple CIS-hardened Debian 12 test machines without problems.

Is there a way to run the packager process locally for debug / development?

Not that I am aware off

Moving to the next minor release

Getting the same error for Debian 11
Operating System: Debian GNU/Linux 11 (bullseye)
Kernel: Linux 5.10.0-26-amd64
Architecture: x86-64
### Updating package lists
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://mirror.nl.leaseweb.net/debian bullseye InRelease
Hit:3 http://mirror.nl.leaseweb.net/debian bullseye-updates InRelease
Get:4 https://dl.packager.io/srv/deb/inventree/InvenTree/stable/debian 11 InRelease [1,857 B]
Err:4 https://dl.packager.io/srv/deb/inventree/InvenTree/stable/debian 11 InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B6D583CCBD33EEB8
Reading package lists... Done
W: GPG error: https://dl.packager.io/srv/deb/inventree/InvenTree/stable/debian 11 InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B6D583CCBD33EEB8
E: The repository 'https://dl.packager.io/srv/deb/inventree/InvenTree/stable/debian 11 InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Fixed by editing /etc/apt/sources.list.d/inventree.list
removing "[signed-by=/etc/apt/trusted.gpg.d/pkgr-inventree.gpg]"
#deb [signed-by=/etc/apt/trusted.gpg.d/pkgr-inventree.gpg] https://dl.packager.io/srv/deb/inventree/InvenTree/stable/debian 11 main

@SANCLA what do you mean by just removing the signed-by=...? I have the same problem, but neither editing the file itself and then re-running the installer, nor editing the script installer and removing the [signed-by=/etc/apt/trusted.gpg.d/pkgr-inventree.gpg] from deb [signed-by=/etc/apt/trusted.gpg.d/pkgr-inventree.gpg] https://dl.packager.io/srv/deb/inventree/InvenTree/stable/debian 11 main makes it look like this: deb https://dl.packager.io/srv/deb/inventree/InvenTree/stable/debian 11 main will fix the bug.

@SANCLA @SchrodingersGat
Just came here to say that manually installing gnupg with the code 'sudo apt-get install gnupg' prior to running the installer resolves this issue on a Debian 11 LXC on Proxmox 8.1

I still get this for debian 12

Try Part-DBOp 18 jul 2024 om 01:27 heeft Michael Parment @.***> het volgende geschreven:
I still get this for debian 12
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Try Part-DB

sudo apt install Part-DB.
E: Unable to locate package Part-DB.

@tnemrap are you running the current installer or just apt update?
Part-DB have their own issue tracker + Jan and team are pretty responsive so please try to find an answer there.

@tnemrap are you running the current installer or just apt update?
Part-DB have their own issue tracker + Jan and team are pretty responsive so please try to find an answer there.

Sorry thought @SANCLA mentioned another way of installing InvenTree, but he meant to use another product.
My problem is that i can not install InvenTree on debian 12 with recommended installer.

@tnemrap I think I have found the issue, fix incoming

Solution - you can add repository manualy before running install.sh
Code to insert:
wget -qO- https://dl.packager.io/srv/inventree/InvenTree/key | sudo apt-key add - sudo wget -O /etc/apt/sources.list.d/inventree.list \   https://dl.packager.io/srv/inventree/InvenTree/master/installer/debian/11.repo
After that
sudo apt-get update
and you should be okay.
source of solution: https://packager.io/gh/inventree/InvenTree/builds/2394/install/debian-11


Send custom information to the BOT from cpp-console.

This issue is for a: (mark with an x)
- [ ] bug report
- [X] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Expected/desired behavior
We would like to be able to send from the cpp-console to the Bot some information to take decisions based on the device status.
E.g.
Imagine that on the same device that runs the cpp-console there is a light, that can be turn on and off also locally.
The user tell "can you turn on the light", the Bot answer:

"Yes, here it is" if the light was off.
"The light is already on" if the light was on.

This is a semplification of the use case, but it means that when the audio streaming session begin, we need to send togheter a status information to tell the BOT if the light is on or off.
Alternatevely, we would need to send to the BOT at least a "token" when the connection happens.
This "token" is needed to be associated to the session and the BOT should be able to retreive it every time onMessageActivityAsync is called.
This "token" will allow the BOT to take the information from a third party service.
There is anything like this that is feasible with the current SDK?
OS and Version?
Linux, cpp-console.

@albanoandrea This is already supported. You can define an "Activity Template", which is a JSON activity that will be sent to the Bot together with the speech recognition result, next time there is a recognition result. You can call that API anytime during your connection with the bot.
https://docs.microsoft.com/en-us/cpp/cognitive-services/speech/dialog-dialogserviceconnector#setspeechactivitytemplate
Unfortunately, I see that we don't yet have a public sample for it.
Try it out and feel free to ask questions here.
Darren

@albanoandrea Just to add... so you can either use SendActivityAsync to send data up to the bot anytime, unrelated to speech recognition activity. Or you can use SetSpeechActivityTemplate, if you want to send data up to the bot, and have it arrive together with the next speech recognition result
https://docs.microsoft.com/en-us/cpp/cognitive-services/speech/dialog-dialogserviceconnector#sendactivityasync
https://docs.microsoft.com/en-us/cpp/cognitive-services/speech/dialog-dialogserviceconnector#setspeechactivitytemplate

@dargilco
Tank you for the hints.
We need data to arrive together with the speech recognition result, so we will use the setSpeechActivityTemplate.
There is any limitation on the string we can send to the bot? It need to be a Json string or can be any?
And, on the other side, where we would expect this info on the bot side?
When a message arrive we have this callback (from the echo example)
        protected override async Task OnMessageActivityAsync(ITurnContext<IMessageActivity> turnContext, CancellationToken cancellationToken)
        {
            var replyText = $"Echo: {turnContext.Activity.Text}";
            Activity my_activity = MessageFactory.Text(replyText, replyText);
            await turnContext.SendActivityAsync(my_activity, cancellationToken);
        }

Looking for documentation of turnContext we have found this:
https://docs.microsoft.com/en-us/dotnet/api/microsoft.bot.connector.imessageactivity?view=botbuilder-dotnet-3.0
But can't find any reference to an ActivityTemplate or so on.
Can you please help us in finding further documentation or help us in understanding this better?


Todo list

To Do list: list structure -@anshuman7negi
General requirements 💯

Make sure that there are no linter errors.
Make sure that you used the correct GitHub Flow.
Make sure that you documented your work in a professional way.

HTML/CSS requirements 💯

Follow our list of the best practices for HTML & CSS.
JavaScript requirements
Follow our list of best practices for JavaScript.

Project requirements 💯

Add a new JavaScript file and import it as a module:

it will contain methods related to the status updates (completed: true/false).

Add event listener to the checkbox (change).

Update items object's value for completed key upon user actions.

Implement a function for the "Clear all completed" button (use filter() method).

Store the updated array of items in local storage, so the user gets the correct list of values after the page reloads (which means that any changes made to the list should be preserved).

Congratulation on successfully implementing your project. Your project is complete! There is nothing else to say other than... it's time to merge it
Highlights
✔ ProfessionalReadme
✔ Good design Implementation
Cheers and Happy coding!👏👏👏

Thank you @mryeminthu  for reviewing my code. 👍


AttributeError: 'list' object has no attribute 'json'

Run sample code from readme.md
import asyncio
from postgrest_py import PostgrestClient

async def main():
    async with PostgrestClient("http://localhost:3000") as client:
        r = await client.from_("countries").select("*").execute()
        countries = r.json()

asyncio.run(main())

countries = r.json() raises below error
AttributeError: 'list' object has no attribute 'json'

Seems execute method already returns a json.

Hi, the execute method returns a list of dictionaries that represent each row from the query. If you are sure your query only returns 1 row, you can use single() method before execute, but take into account this method will return an error if there are no results or more than one results in the query. If you are not sure you are always going to get 1 row, I would use execute and then get the first index of that list.
To turn it into a json, you may use json.dumps(result_obtained_from_execute) having imported json before (it's in the python standard library).

should we update the documentation with your explanation?  The examples mentioned with .json() in the readme file doesn't work.

Hi! Closing this issue since it should be solved in the current version. Thanks for reporting :slightly_smiling_face: !