Support a special intake catalog in data_stubs that is used when small data is needed.

Goal
Since we are now moving towards using intake rather than the custom datasets.yml, we'd like to have a set way of defining small data for intake.
First Attempt
The first example of this is in EarthML where we wrote a data/.data_stubs/catalog.yml with a subset of the sources defined in the regular catalog, but referring to smaller versions of the data. In EarthML there is a python script  that reads in the regular catalog from examples and the small one from data_stubs and writes the union of the two to a new catalog which then replaces the real catalog: https://github.com/pyviz-topics/EarthML/blob/master/dodo.py#L7-L12.
This is not a great solution for a couple reasons:

It relies on there being only one catalog.yml which is a local file.
It doesn't clean up after itself. So when running the tests locally you will have a catalog.yml that should not get checked in.

Proposal
I'd prefer to have the path to the small catalog as an argument to nbsmoke and  nbsite so that on each call to open_catalog we instead open the catalog and the small catalog like cat = intake.open_catalog(['./catalog.yml', './data/.data_stubs/catalog.yml']), but I am not sure how that would be implemented other than a text replace when running the notebook which seems brittle.

I agree that it would be better not to leave a messed up catalog.yml, but I can't think of a good solution of the top of my head (and have to run right now).


Add KSM namespace selector flag support

Closes #105
Draft as tests are missing.

Still dependent on #163, but tests are now passing. I wonder if we need something extra.

I also see that we got rid of FindPodByName and FindPodsByHostname. Wheren't those being used anywhere?

Yup, not used anywhere.

Btw, would it be possible to base this PR on main rather than on the SDK v3 branch? I'd prefer to make a release with the new features and then another one with the sdk change, so we dont stack two major changes in the same release.

Btw, would it be possible to base this PR on main rather than on the SDK v3 branch? I'd prefer to make a release with the new features and then another one with the sdk change, so we dont stack two major changes in the same release.

Sure, but since I touch the CLI code, it will need to be carried over to SDK PR as well.

Added e2e tests for this feature. Now the refactoring part :unamused:

I'll still re-do the commits and add some extra unit tests.


Fixed SinkFunction Typo

Addition to your PR #6594 for FLINK-9311, should be squashed.

@sceee Nice catch, thanks!


Added support to colored stat nicknames

Added support for colored stat nicknames.
IRC:

DISCORD:

BTW, the name of the branch does not correspond to the feature implemented :laughing:  My bad

we don't need the old def get_statsname(self, id) anymore, also is the command_testcolors still needed?

No, I'm sorry. Removing these methods.


doom install fails on Windows 10 when user profile contains Baltic letters

When user profile (C:\Users\{User}) on Windows contains Baltic characters (š, č, į, etc), doom install fails.
What did you expect to happen?
To successfully install doomemacs
What actually happened?
doom install failed with error
Additional details:

https://pastebin.com/4uFrpU3x

Steps to reproduce:

Have a user profile on Windows with Baltic language letters (ą, č, ę, ė, į, š, ų, ū)
Clone doomemacs
Install pre-requisites (fd, ripgrep, git, emacs)
Navigate to .emacs.d/bin
Type ./doom install

Temporary workaround is to create a symbolic link to the user profile without Baltic letters, then doom install works.

Please include the contents of ~/.emacs.d/.local/doom.error.log (which should be produced after seeing the error). This appears to be a git error rather than a Doom issue.

@hlissner,
The contents of ~/.emacs.d/.local/doom.error.log are: https://pastebin.com/jYVuYKUZ.


Improve RSS feed

The current RSS feed lacks a few things:

[ ] Group new games into batches (instead of having an item for each game)

[ ] A better title for new games

[ ] An image for new games
[ ] A description for new games and news

The RSS feed is gone for now.

The RSS feed is gone for now.


Can't find "Create Azure Authentication Events Trigger Project" command from Quick Start for Visual Studio Code

Hi,
I'm trying to check the usage of Authentication Events triggered functions for providing additional claims for access tokens. However, when trying to set up Azure Function from Quickstart I can't find the command "Create Azure Authentication Events Trigger Project" available from the command palette.
I have the Azure Functions and C# extension installed
Please let me know if I'm missing some step.
Thanks,
Adam

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

ID: 6926ae0b-e5e2-ca64-4c09-e298431716d8
Version Independent ID: cbf77984-6ad5-d1c0-40fb-5436caf5277a
Content: Authentication events trigger for Azure Functions client library for .NET - Azure for .NET Developers
Content Source: api/overview/azure/preview/microsoft.azure.webjobs.extensions.authenticationevents-readme.md
Service: entra
GitHub Login: @azure-sdk
Microsoft Alias: azsdkdocs

//fyi:  @HarmanDhunna, @hakimms

Hi @adamsosinski,
Appreciate you checking out our Authentication Events Trigger NuGet!
At the moment we do not have a full support for QuickStart for Authentication Events Trigger. This is definitely something on our radar for the future, but not for our current goal of GA release.
Since we are still in beta and support for the QuickStart is a little far out, I am more than happy to help you set up the NuGet for your custom extension in the interim.
~harman

Hi @HarmanDhunna,
Great hearing that you can help me with setting it all up. What I have figured out for now is that I need to probably, register  AuthenticationEventWebJobsStartup on my Azure Function like this:
var host = new HostBuilder()
    .ConfigureFunctionsWorkerDefaults()
    .ConfigureServices(services => {
        services.AddApplicationInsightsTelemetryWorkerService();
        services.ConfigureFunctionsApplicationInsights();
    })
    .ConfigureWebJobs(configure =>
    {
        configure.UseWebJobsStartup<AuthenticationEventWebJobsStartup>();
    })
    .Build();

host.Run();

But right now, I'm not sure how I can register a code that will be called when the Authentication Event happens. To give you an overview, I would like to add additional claims to the returned token.
My thinking is that I would need to derive from TokenIssuenceAction or use ProvideClaimsForToken class somehow.
I would appreciate any advises or step-by-step guide on what needs to be added to the code, so that I would be able to achieve my goal.
Thanks,
Adam

Hi,
Can I expect any update on that one?
Thanks,
Adam

Sorry for the delayed response. Most of us were out of the office due to Thanksgiving holidays.
Which Azure Function Trigger are you trying to set up? Currently we are only supporting HTTP Trigger.
Below is some sample code for setting up azure function app running .NET v6.0

using System;
using System.Collections.Generic;
using System.Threading.Tasks;

using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.AuthenticationEvents;
using Microsoft.Azure.WebJobs.Extensions.AuthenticationEvents.Framework;
using Microsoft.Azure.WebJobs.Extensions.AuthenticationEvents.TokenIssuanceStart;
using Microsoft.Azure.WebJobs.Extensions.AuthenticationEvents.TokenIssuanceStart.Actions;
using Microsoft.Extensions.Logging;

namespace CustomExtensions.AuthenticationEvents.onTokenIssuanceStart
{
    public static class OnTokenIssuanceStartv2
    {
        /// <summary>The entry point for the Azure Function</summary>
        /// <param name="request">Strongly Typed request data for a token issuance start request</param>
        /// <param name="log">Logger</param>
        /// <returns>The augmented token response or error.</returns>
        [FunctionName("onTokenIssuanceStartv2")]
        public async static Task<AuthenticationEventResponse> Run([AuthenticationEventsTrigger] TokenIssuanceStartRequest request, ILogger log)
        {
            try
            {
                //Is the request successful and did the token validation pass.
                if (request.RequestStatus == RequestStatusType.Successful)
                {
                    var content = new Dictionary<string, string>()
                    {
                        {"SomeInfo", "SomeValue" }
                    };

                    List<ProvideClaimsForToken> claims = new();
                    foreach (KeyValuePair<string, string> kv in content)
                    {
                        claims.Add(new ProvideClaimsForToken(new TokenClaim(kv.Key, kv.Value)));
                        log.LogInformation($"Added claim {kv.Key} with value {kv.Value}");
                    }

                    request.Response.Actions.AddRange(claims);
                }
                else
                {
                    //If the request failed for any reason, i.e. Token validation, output the failed request status
                    log.LogInformation(request.StatusMessage);
                }
                return await request.Completed();
            }
            catch (Exception ex)
            {
                return await request.Failed(ex);
            }
        }
    }
}

Hopefully you would not need to derive TokenIssuenceAction or ProvideClaimsForToken. You should be able to utilize them directly.
If you want, you can have a wrapper around them to make it easy to update your code as our library grows, but we'll be pretty bound to the current SDK library contract.

Hi,
Thanks for the response, the setup looks promising, as we want to depend on HTTP triggers. Will let you know if I managed to set this up or if would need some additional help.
Thanks

@adamsosinski let me know if you need anymore help, happy to reopen the item.


pm: remove unnecessary depends on OSINIT_OS_READY

Summary
pm: remove unnecessary depends on OSINIT_OS_READY
Impact
pm
Testing
VELA

@pkarashchenko
The pm_lock just a global value:
#define pm_lock() nxsem_wait(&g_pmglobals.regsem);
I hasn't meet error when do pm_register, but the code can be more easier, so comes this patch.
And I guess someone who add the the judgement with OSINIT_OSREADY, maybe caused by:
722   /* The OS is fully initialized and we are beginning multi-tasking */
723
724   g_nx_initstate = OSINIT_OSREADY;
But, I don't think we need this judgement, so remove it.

@GUIDINGLI have you tested with CONFIG_PRIORITY_INHERITANCE enabled?

@GUIDINGLI have you tested with CONFIG_PRIORITY_INHERITANCE enabled?

Don't need, because lots of people take sem before the OSINIT_OSREADY,
like mm_sem_take
like group_setupidlefiles nx_open sem_take
like ...
And before the OSINIT_IDLELOOP state, we allow user call sem_wait.
72 int nxsem_wait(FAR sem_t *sem)
73 {
74   FAR struct tcb_s rtcb = this_task();
75   irqstate_t flags;
76   int ret = -EINVAL;
77
78   / This API should not be called from interrupt handlers & idleloop */
79
80   DEBUGASSERT(sem != NULL && up_interrupt_context() == false);
81   DEBUGASSERT(!OSINIT_IDLELOOP() || !sched_idletask());
82


New warning about tesselinclude is annoying

I'm over here testing different versions of a program, generating a bunch of files in a directory and every time I run code, this warning comes up. I don't know what we should do.

@rwaldron  we could add a --silence flag. Or as I suggested here we could change things into a debugging mode but blame in a single line with the hint to use debugging mode for more information.

an alternative solution would be to add a debug mode and only warn once like this:

WARN Problems detected while shrinking files.
INFO Please run the command with `DEBUG=deploy` to get more information.

The debug mode would do what this PR is doing.
Maybe this feels much cleaner ?

@rwaldron sorry - mixed up things.

The text should be part of --help and the the WARN should be like this

WARN Ignored folders due to missing .tesselinclude (see: t2 run --help)

instead of

WARN The following items were found in your project directory, but not deployed.

      .tesselinclude
auth.js
login.html
public

    If you need to deploy them to your Tessel 2, you must have a .tesselinclude
    file that lists the file and directory assets for your application. This can be
    created manually or by typing 't2 init'.

    For more information, visit: https://tessel.io/docs/cli#starting-projects

I was going to address this, but due to #649 I couldn't make heads or tails of what I was doing.


Fix: allow arbitrary exprs in VALUES clause

Which issue does this PR close?
Closes https://github.com/apache/arrow-datafusion/issues/5802
Rationale for this change
I want to be able to INTERVAL constants in VALUES clauses
What changes are included in this PR?
Avoid special casing VALUES in sql planner  (I think the existing special case is a function of DataFusion limitations when it was first implemented)
So I fixed a limitation by deleting code :bowtie:
Are these changes tested?
Yes, new tests are added
Are there any user-facing changes?
fewer errors

@Jefffrey  or @comphead  I wonder if you might have time to review this PR?

Thank you for the review @Jefffrey


Is it possible to use CRC in CircleCI builds ?

Hi folks,
General information
We are looking for a way to spin up a circleci VM in which to start CRC - so that we can run some tests against a short-lived openshift cluster. We previously used to do this with oc cluster up in ocp 3.11 but not sure what is the best way to do that with CRC, given nested virtualization problems.
Since the CRC project itself is using CircleCI, I was wondering if perhaps there is some example somewhere of spinning up CRC inside circleci?

We previously used to do this with oc cluster up in ocp 3.11 but not sure what is the best way to do that with CRC, given nested virtualization problems.

in ocp 3.11 oc cluster up was using docker to deploy the ocp components as containers, for CRC we need a VM, as circleci doesn't have nested virtualization, you won't be able to launch CRC there.

Since the CRC project itself is using CircleCI, I was wondering if perhaps there is some example somewhere of spinning up CRC inside circleci?

We only run go unit tests there, our e2e integration tests runs on centos ci and the openshift ci which uses GCP.

the other restriction would be resource usage. most public CI services would not provide 12G of memory.
best wwould be to use your own CI environment or base one of GitLab runners

@anjannath ok, thanks for confirming, yes, this is what we were afraid of  : /
@gbraad circleci (at least) does currently provide executors that go up to 16G: https://circleci.com/docs/2.0/configuration-reference/#machine-executor-linux

In that case, nested virtualization is the only thing holding this back.


[SP-2833] Backport of PDI-12590 - Write to Log Job Entry Ignores Log …

[SP-2833] Backport of PDI-12590 - Write to Log Job Entry Ignores Log Level Setting (5.4 Suite)

backport of #2774

@mbatchelor, @matthewtckr, @pamval , @mchen-len-son please review

@mbatchelor, @matthewtckr, @pamval , @mchen-len-son please review


Trigger rebuild to address vulnerabilities

Signed-off-by: Yu Cao<EMAIL_ADDRESS>https://github.com/open-cluster-management/backlog/issues/16369

/lgtm


Initialize string in generate_cc_embed_data_main.

MSAN isn't happy with this line.

why not? std::string has a default initializer and this should not be needed.

(see (1) http://www.cplusplus.com/reference/string/string/string/)

Link logs?

Had to scroll back suuuper far in my terminal to find the logs again: https://gist.github.com/ScottTodd/ccdbe13513723d93466a112e3d94ad61
This is hard to repro since I'm seeing issues across several libraries (flatbuffers, LLVM, etc.)..

Given what's in that log I strongly suspect anything related to this std::string line is a red herring - these are all random flags junk?

Yeah, likely. I think changing this line made the errors move elsewhere. It's pretty hard to start sanitizing a project and all its dependencies all at once.


Update dataset and configuration file format

Significantly updated HyPER.data.GraphDataset, allowing users to build their datasets easily. This update also merges the dataset configuration file db.yaml with the network configuration file.
The new dataset has the following structure:
|-- INPUTS
   |-- -- JET
   |-- -- ELECTRON
   |-- -- MUON
   |-- -- GLOBAL
|-- LABELS
   |-- -- ID
   |-- -- NEUTRINO
|-- METADATA
   |-- -- EventNumber
   |-- -- FullyMatched
   |-- -- ...

The fill value for padding has changed from 0 or -9 to NaN.

This cannot be merged until the following are completed:

[ ] Testing with CUDA.
[ ] Update README.md.
[ ] Update documentation.


xDescription Refactor

Started working on this in branch description_refactor
Proposition to refactor the description classes:

The 3 items marked in grey: AgentStateDescription, AgentFunctionInput, AgentFunctionOutput should all be removed, they are redundant as they only hold a single item (state name, message name)
The SimulationLayer hierarchy, should be part of the model description, it's not clear why it's instead part of Simulation. This also creates additional complexity in testing (have to define agents/agent fns before you can create simulation object). There should be a clear separation of 'design' and 'execution', this layer thing sits in the middle adding additional (unnecessary) complexity.
ModelDescription is the only class that the modeller should be able to create directly, all other description classes should be created and owned by their parent (protected constructor/destructor, public r-value assignment operator), returning the modeller a reference on request. This stops them passing a reference to an item which can later go out of scope.
Proper copy constructors; as users cannot create these classes themselves, it needs to be possible for them to 'import' a reference from a different ModelDescription hierarchy, (which clones as much as feasible?).
a. These would also come in use when creating the Simulation, so we can hold a copy internally?
Once the Simulation/CUDAAgentModel has been created from the ModelDescription, any attempt to change the description (or it's children) should throw an exception unless the modeller explicitly acknowledges that it isn't linked to the created object. This would make it clear when changes will have no impact on the simulation.
Standardisation of naming, if only 1 exists/can be added, it should be treated as though it always exists (only has a get method), if multiple can be added there should be a create/new method, and a get method.
Move all typedefs inside the class definitions, they shouldn't be at global scope if they're only used by the class.
I 'm undecided as to whether using std::reference_wrapper to put references in a collection is a hack (based on 'references should not be reseated'), I suppose it depends on whether we can ensure the parent containing the message/agent function will not be deleted when the function is referenced elsewhere.

Original Op:
Because defining a model is likely to involve lots of code, people are liable to break it up into functions, or scope blocks to improve readability. The current way that references are used, makes it very easy to accidentally deallocate an object which the model holds a reference to.
Current:
ModelDescription flame_model("host_functions_example");
{  // Initialise my agent!
    AgentDescription agent("agent");
    // Further initialisation
    // e.g. agent.addAgentVariable<float>("x");
    flame_model.addAgent(agent);
}
// flame_model now contains an invalid reference to 'agent', which has left scope
// this cannot be easily detected
Simulation simulation(flame_model);

Proposed:
ModelDescription flame_model("host_functions_example");
{  // Initialise my agent!
    AgentDescription &agent = flame_model.newAgent("agent");
    // Further initialisation
    // e.g. agent.addAgentVariable<float>("x");
    // e.g. flame_model.agent("agent").addAgentVariable<float>("x");
}
// flame_model now holds the object, so it never goes out of scope whilst flame_model is alive
Simulation simulation(flame_model);

Note: To prevent copies of references via AgentDescription agent = flame_model.newAgent("agent");, it would be necessary to make the copy constructor/assignment operator of AgentDescription protected.

References are not supposed to be 'reseated', so it makes no sense to be storing references internally, so optional items is a misuse of references (this is why the only std container that contain a references it the value of a map). https://isocpp.org/wiki/faq/references#reseating-refs

Might address #140 during this, would make sense.


Fuhrmanator/issue91

Since this change suppresses the support for <img > and users have quizzes in their profiles with this, we need to test the deprecation.

It seems that the code already detects a problem, and won't let you start a quiz that has invalid data (the button is grayed out). Here's how you fix such a case:


fix: Add ssm:DescribeParameters permission to external-secrets IAM role for service account (IRSA)

ssm:DescribeParameters is required to sync secrets from ParameterStore
Description
Error from the external-secrets log:
aws-role is not authorized to perform: ssm:DescribeParameters on resource: * because no identity-based policy allows the ssm:DescribeParameters action\n\tstatus code: 400, request id: ff","stacktrace":"github.com/external-secrets/external-secrets/pkg/controllers/e │
Motivation and Context
When using AWS System Manager Parameters with external-secrets(ESO) the secrets can not be synced unless the AWS Role that is mapped to the EKS Service Account has the ssm:DescribeParameters action.
Breaking Changes

How Has This Been Tested?

Using the module: "terraform-aws-modules/iam/aws//modules/iam-role-for-service-accounts-eks"
provider: aws
ESO SecretStore with

spec:
  provider:
    aws:
      service: ParameterStore
      region: us-east-1
      auth:
        jwt:
          serviceAccountRef:
            name: <sa_name>

Other values passed to the module

attach_external_secrets_policy = true
allow_self_assume_role = true

[x] I have executed pre-commit run -a on my pull request

pre-commit run -a
[INFO] Initializing environment for https://github.com/antonbabenko/pre-commit-terraform.
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
Terraform fmt............................................................Passed
Terraform validate.......................................................Passed
Terraform docs...........................................................Passed
Terraform validate with tflint...........................................Passed
check for merge conflicts................................................Passed
fix end of files.........................................................Passed

@antonbabenko - Am I missing anything else to get this PR approved?

are you sure this will work or does it need to be a wildcard? https://github.com/aws-ia/terraform-aws-eks-blueprints/pull/1504

This PR is included in version 5.14.2 :tada:


Promote F-Droid version on minetest.net/downloads/

Hi,
related to https://github.com/minetest/minetest/issues/1786 it would be great to promote the F-Droid version on https://www.minetest.net/downloads/ (at least as well).
The note

We advise not to use unofficial builds commonly found on the Play Store. They may contain excessive advertisements or spyware, or be distributed under proprietary terms.

is great but offering just an APK download as alterantive and providing a logo for what you call "unofficial builds" is a little bit strange in this context.
It would be better if you would just promote the F-Droid version with a logo and just link the GooglePlay version in your nice warning, maybe like this:

Note: We advise not to use unofficial builds commonly found on the Play Store. They may contain excessive advertisements or spyware, or be distributed under proprietary terms. As much more secure and freedom respecting alternative you might want to use f-droid instead.

Alternatively, download the APK.

This would make the mintest downlaod section a great "best practice" reference for similar projects!
However: Thank you for mintest!

The Play Store app linked is official. There are other apps that aren't official
F-Droid is currently outdated due to a build issue, so shouldn't be promoted

F-Droid is currently outdated due to a build issue, so shouldn't be promoted

I understand. What a pity.

The Play Store app linked is official. There are other apps that aren't official

Ah, got it. My fault. For some reason I thought the warning is about the PlayStore in general. Sorry.

F-Droid is currently outdated due to a build issue, so shouldn't be promoted

Anywhere to read up on this? I found nothing.
The F-Droid version still fails to launch on Android 10+ and the app downloaded manually doesn't update itself.

F-Droid has strict requirements on the buildsystem – you can't bring your own binaries, everything must be built from source on their servers. Unfortunately, this makes building complex applications like Minetest difficult, so providing an APK is much easier.
Minetest doesn't get new releases that often and compatibility is rarely broken, so I think the APK is a fine way to play it if you don't want to use Google Play.

The issue for this is https://gitlab.com/fdroid/fdroiddata/-/issues/2116

Thanks for the quick answers. Alright.

F-Droid is up to date again now (and also contains 5.6 unlike Play), this should be added in addition to the current Google Play button and direct download link.


typo in DLTDv3 Relationship

It is written here https://github.com/Azure/opendigitaltwins-dtdl/blob/c3d5f1e7759d23cfe22b34521d9b17c261d76187/DTDL/v3/DTDL.v3.md?plain=1#L358
that the property minMultiplicity must be equal to 0, instead of >= 0

Not a typo, just a possibly unexpected constraint.  Per the DTDL metamodel, zero is both the minimum and maximum value allowed for minMultiplicity.
If DTDL permitted a minMultiplicity greater than zero, this would require any service that supports Relationships to provide a mechanism to simultaneously instantiate an Interface and at least one Relationship sourced from the Interface; otherwise, the Interface would fail to be valid at the moment it is instantiated.

make sense. thank you


unmap keys when plugin is loaded

I load the vimwiki plugin by yaml file like:
- repo: vimwiki/vimwiki
  on_cmd: [Vimwiki, VimwikiTabIndex]

When I load it, I would like to unmap the keys  and remap the underlying command. Can I let Dein do that when vimwiki is loaded?

:help dein-options-hook_source


[fix-12054][server] fix bug that date parameters replaced failed

Purpose of the pull request
version 3.1.2
i try to fix #12054

sql task which uses param like $[yyyy-MM-dd] will be failed, because it has no params map.
so this pr replaces variable time at first.

Brief change log
replaces variable time at first.

Verify this pull request

This pull request is code cleanup without any test coverage.

it seems we design to skip parameter replace when without local and global parameter? Am I right? @SbloodyS @zhuangchong
https://github.com/apache/dolphinscheduler/blob/70ccffeee25d3836604367961830c292fbba8659/dolphinscheduler-task-plugin/dolphinscheduler-task-sql/src/main/java/org/apache/dolphinscheduler/plugin/task/sql/SqlTask.java#L481-L488

Codecov Report

Merging #13296 (58eaa5d) into dev (08052af) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev   #13296      +/-   ##
============================================
- Coverage     39.53%   39.51%   -0.03%
+ Complexity     4293     4288       -5
============================================
  Files          1072     1072
  Lines         40551    40521      -30
  Branches       4664     4648      -16
============================================
- Hits          16033    16010      -23
+ Misses        22734    22732       -2
+ Partials       1784     1779       -5

Impacted Files
Coverage Δ

...r/plugin/registry/zookeeper/ZookeeperRegistry.java
43.54% <0.00%> (-6.46%)
:arrow_down:

...org/apache/dolphinscheduler/remote/utils/Host.java
42.55% <0.00%> (-2.13%)
:arrow_down:

...hinscheduler/plugin/alert/script/ScriptSender.java
70.58% <0.00%> (-1.64%)
:arrow_down:

...e/dolphinscheduler/remote/NettyRemotingClient.java
51.38% <0.00%> (-1.39%)
:arrow_down:

...cheduler/plugin/alert/dingtalk/DingTalkSender.java
34.13% <0.00%> (-0.78%)
:arrow_down:

...rver/master/runner/task/BlockingTaskProcessor.java
75.86% <0.00%> (-0.55%)
:arrow_down:

...inscheduler/plugin/registry/etcd/EtcdRegistry.java
50.69% <0.00%> (-0.35%)
:arrow_down:

.../dolphinscheduler/plugin/task/datax/DataxTask.java
36.62% <0.00%> (-0.26%)
:arrow_down:

.../dolphinscheduler/plugin/task/spark/SparkTask.java
72.56% <0.00%> (-0.25%)
:arrow_down:

...eduler/api/dto/workflow/WorkflowCreateRequest.java
100.00% <0.00%> (ø)

... and 15 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

it seems we design to skip parameter replace when without local and global parameter? Am I right? @SbloodyS @zhuangchong
https://github.com/apache/dolphinscheduler/blob/70ccffeee25d3836604367961830c292fbba8659/dolphinscheduler-task-plugin/dolphinscheduler-task-sql/src/main/java/org/apache/dolphinscheduler/plugin/task/sql/SqlTask.java#L481-L488

if it must need local or global parameter, its better to add some note for document.
but i check the replaceScheduleTime, its ok for calling replaceScheduleTime at first ,because  it only replace some date parameters, its friendly for user which use date parameters without other parameters.

This problem has not been solved in 3.1.4 and seriously affects the use

This problem has not been solved in 3.1.4

This problem has become unstable, and may succeed or fail


how to install a package by specify the version

I'm getting an error with bluez 5.63, and my bluetooth broken with my homeassistant.
i found this issue https://github.com/bluez/bluez/issues/286 the error output is the same as my case, so i think my error could fix by install bluez 5.61

i think it was fixed in 5.64
https://github.com/bluez/bluez/blob/41f8c466f3d558b7188470991dc61134f5ebd30d/src/adapter.c#L6895
so the best way to fix this error is build a new version of bluez

yes
i will build the
new version of bluez to fix this issue


Add download progress management or optimizing logs

Feature request / 功能建议
Add download progress management, which is useful for pulling large models from hubs.
Motivation / 动机
The status of the models that are being downloaded cannot be observed.
Your contribution / 您的贡献
TBD

This is reasonable, actually, we introduce progress API(#2395 ) already, but it's for image generation only for now, we can support progress for launching, and use some way to illustrate it on the web.
Any feedback is welcomed.


Fix #344

Fixes #344
adds allow_undefined_stereo kwargs to Molecule.from_smiles and Molecule.from_object
refactors test_molecule test_to_from_openeye and test_to_from_rdkit to be more explicit and test a wider range of behavior.
refactors test_toolkits test_smiles_missing_stereochemistry to test a wider range of behavior.

Looks like the pip install is now installing the 2019.4.2. toolkit that was released 30 Apr 2019, so it doesn't appear to be due to a recent toolkit update.

Very interesting. When I only run that test by itself, it passes. My guess is that some test that runs before must be modifying the cached test molecules. Looking into this.

Ahh, fascinating. #308 had us start caching SMILES to speed up hashing, but a molecule's SMILES is dependent on the toolkit used to make it. So, in our test suite, the RDKit tests run first, creating RDKit SMILES for all molecules. Then the OE tests run, but they recover the cached SMILES from RDKit and skip generating OE-format SMILES.
I think this is actually a bug that could arise from use of the pubic API. We do publicly expose the toolkit_registry kwarg in many functions, so I would say that returning an RDKit SMILES after the user requested an OE SMILES is pretty squarely a bug on our side.
This issues highlights the fact that, moving forward, we will need to be stricter about defining what exactly a "cached property" is. We originally intended it to mean "dependent on the molecular graph", so cache invalidations would occur in a pretty strict set of circumstances (that is, graph changes). However, an OFFMol's SMILES is not uniquely a function of (atoms, bonds, stereochemistry) -- it is also dependent on (toolkit).
I could see two ways forward here:

Don't cache SMILES, which will increase system creation time by 50-100% according to some quick tests.
Have Molecule._cached_smiles be a dict of the form {ToolkitRegistry._toolkit_name: SMILES}

I think that toolkit runtime is pretty important, so I'm partial to the latter option. I'll add this for review momentarily.

Some possible solutions:

Refactor the code and tests to make it OK if two different toolkits are used---caching a SMILES representation should only help speed things up, after all. If we end up caching both RDKit and OpenEye SMILES, that's fine---we do 2x the effort, but still see a speedup.
Switch from using SMILES (which is toolkit-dependent) for caching to something easily available but more universal, like InChI: RDKit InChI
Use something else for caching, like Hill formulas

Refactor the code and tests to make it OK if two different toolkits are used---caching a SMILES representation should only help speed things up, after all. If we end up caching both RDKit and OpenEye SMILES, that's fine---we do 2x the effort, but still see a speedup.

This is the safest option, and what I've implemented.

Switch from using SMILES (which is toolkit-dependent) for caching to something easily available but more universal, like InChI: RDKit InChI

I think InChI is still "toolkit dependent", in cases where OE and RDK interpret the stereochemistry or aromaticity of the same molecule differently. This would be a pretty good option, but I think the first option is better.

Use something else for caching, like Hill formulas

I'd thought about caching Hill formulas, but the toolkit internally uses SMILES to generate molecule hashes, so that would lead to some problematic key collisions  (isopropanol vs. propanol)

I think InChI is still "toolkit dependent", in cases where OE and RDK interpret the stereochemistry or aromaticity of the same molecule differently. This would be a pretty good option, but I think the first option is better.

Our assumption is that both toolkits implement the same variant MDL aromaticity model, right?

Our assumption is that both toolkits implement the same variant MDL aromaticity model, right?

@jchodera That is our assumption, but I'm not 100% convinced (though I don't have hard data immediately available to back up any discrepancy). I'd prefer to assume "unsafe" in this case.

Codecov Report

Merging #351 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #351      +/-   ##
==========================================
+ Coverage   75.93%   75.95%   +0.01%
==========================================
  Files          17       17
  Lines        5428     5431       +3
==========================================
+ Hits         4122     4125       +3
  Misses       1306     1306

Impacted Files
Coverage Δ

openforcefield/utils/toolkits.py
87.08% <100%> (+0.01%)
:arrow_up:

openforcefield/topology/molecule.py
86.18% <100%> (+0.03%)
:arrow_up:

Continue to review full report at Codecov.

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

For the record:

Our assumption is that both toolkits implement the same variant MDL aromaticity model, right?

@jchodera That is our assumption, but I'm not 100% convinced (though I don't have hard data immediately available to back up any discrepancy). I'd prefer to assume "unsafe" in this case.

I am quite confident there will be edge cases where they do not have exactly the same aromaticity model still. A lot of the back and forth about the definition of aromaticity models -- once the fundamentals are documented in place -- amounts to questions like, "Does it also consider X aromatic?" "What about Y?" We've basically gone through the alphabet once and all the "common" cases agree but may still disagree about edge cases. We will need to document any which come up and work with developers to get them corrected.


Sawhite/f/serial

Changes to how we serialize needs full validation run. starting it tonight

Almost done here. Need to remove as many Load/Unload functions that take in CDM types and create a Factory function in BiogearsPhysiolgoyEngine to return a new PatientAction which has a Logger as the base type PatientAction is a Loggable but the m_Logger is always null currently.

Will start working on a new release then I'll get rid of the CDM in all headers and we can finally be start testing this


asscalar is no longer available in NumPy

numpy.asscalar was removed in NumPy 1.2.3

@blue-j Thank you for the PR. It turns out this fix was already implemented on a branch just merged into master.


Cisco ASA/FTD via AMA doesn't forward FTD logs via eNcore eSteamer

Describe the bug
Syslog forwarder is configured to receive syslog messages from multiple devices and forward to Sentinel via AMA using syslog-ng.
DCR is configured for Cisco ASA/FTD via AMA connector to parse all messages from local2 facility.
FTDs logs are being parsed by eNcore eStreamer and forwarded to syslog server. The logs are forwarded on the correct facility via eNcore eStreamer adapter configuration change.
However when parsed via syslog connector logs available in syslog table, hence the issue has to be ASA/FTD via AMA connector.
To Reproduce
Configure eNcore eSteamer to forward logs on local2 facility
Configure DCR to accepts ASA/FTD cef logs from syslog server on local2 facility.
Expected behavior
FTD logs parsed and available in CommonSecurityLog table
Screenshots
TCP dump

Syslog table with FTD message when parsed via syslog connector.

Desktop (please complete the following information):

OS: Syslog server Ubuntu
Browser N/A
Syslog version 3.27

Smartphone (please complete the following information):
N/A
Additional context
Logs are parsed and in the right table if forwarded via eNcore eSteamer via legacy MMA.

Hi @cyberpope, Thanks for flagging this issue, we will investigate this issue and get back to you with some updates. Thanks!

Hi @v-sudkharat we have confirmed the configuration for syslog data directly from FMC and it behaves the as when forwarded via eNcore eStreamer.

Hi @cyberpope,
Could you please help us with the details of the DCR that you're using for this, thanks!

Hello @v-rusraut,
It's a simple DCR created via Sentinel's Data Connectors page.

All the data goes via syslog forwarder and it's collected from it.

Hi @cyberpope,
Please check what is the value of stream in data collection rule.
Please refer below steps

On marketplace search data collection rule

Search your Data collection Rule

Click on json view

Check the value of stream

@v-rusraut Ah my apologies
The data stream is Microsoft-CIscoAsa

Hi @cyberpope,
Please provide few sample logs to below email id, we will try to reproduce this issue.
Email ID<EMAIL_ADDRESS>Thanks

Hi @cyberpope, Gentle Reminder: We are waiting for your response on this issue. If you still need to keep this issue active, please respond to it in the next 2 days. If we don't receive a response by 11-09-2024 date, we will be closing this issue.
Thanks!

Hello @v-rusraut sorry I was on annual leave, I'll provide you with the logs today.

Hello @v-rusraut, Apologies I won't be able to submit the data today as there is a priority matter in my workplace to take care off, please give me a couple more days to work on it.

Im having similar issues.
@cyberpope - It appears you are trying to bring in CEF-formatted estreamer logs.  I believe the Cisco ASA/FTD via AMA data connector is used to bring in SYSLOG messages from these devices (logs staring with "%ASA-" or "%FTD-"), and format them for ingestion into the CommonSecurityLog table.  This is similar to how ingestion worked with the Legacy agent, except ASA/FTD was handled with a string eval in a configuration file for the OMS agent.
https://learn.microsoft.com/en-us/azure/sentinel/unified-connector-cef-device
The above link identifies that FirePower (FTD) devices should be configured using the CEF via AMA data connector.  This has the following data stream defined:
"streams": [
"Microsoft-CommonSecurityLog"
],
Now, obviously your DCR (or another generic Syslog DCR?) is still picking up these Firepower estreamer logs.  This is the issue I'm having - I'm getting these Firepower estreamer logs in both my Syslog and CommonSecurityLog tables.  This is due to me having 2 DCRs applied to the EnCore server - one for Syslog via AMA to capture the actual system logs from the EnCore server, and one for CEF via AMA data connector to get the estreamer logs.  The issue is I have need for the "user" facility logs from the Syslog messages (primarily for tracking user-caused system changes), but the Firepower estreamer logs also come in with the "user" facility.  I can't just drop the facility from my Syslog via AMA DCR, so I get logs in both tables.
I'd also like to change the facility of the logs coming from estreamer/encore (preferably to local7).  Can you explain how you were able to do that on EnCore?  Did you simply modify the estreamer.conf (and if so, how), or was this configured elsewhere?
We are going to be putting in a support ticket with Cisco for this as well, but thought I would share my experience.  If I make any progress, I'll try to come back here to share.

@Oraclese-cyber
I just confirmed on both of the scenarios.
When forwarding logs directly from firewalls via FMC config the logs still do not show in CommonEventLog table.
When forwarding logs via eNcore they indeed show in CommonEventLog when forwarded to CEF DCR, this is already a big improvement as now we can get rid of legacy MMA syslogers.
Thank you.

@cyberpope - did this have any impact on how the facility ingested into sentinel?  Is your re-write to local2 now being picked up by the DCR?

@Oraclese-cyber yes, the rewrite using syslog-ng happens prior to logs being shipped to AMA so the re-write works as intended and AMA picks the logs with correct facility.

Hi @cyberpope, after rewrite using syslog-ng, did it resolve your issue or still logs not coming?

Hello @v-rusraut, we were already re-writing the log messages prior to me submitting this GitHub issue.
However now we are only struggling with FTDs forwarding the logs to AMA directly rather than via eNcore.
We are able to push FTD logs via eNcore using CEF data connector, but still not directly.
The logs which I sent you are direct logs rather than via eNcore.

Hi @cyberpope,
We are working with respective team, we will update you.
Thanks

Hi @cyberpope,
We reached out to respective team for this issue, and as a team mentioned that you need to raise a support case for this issue, as support team have the backend access to find the root cause of this issue. and if required the support team can forward the ticket to respective teams. So, we are closing this issue from GitHub. If you still need support for this issue, feel free to re-open it any time. Thank you for your co-operation.

Update:  Changed the facility of logs in estreamer.conf to local7 (code 23) on the EnCore server - no credit to Cisco (we ended up just closing the ticket).  Estreamer logs are being properly captured by our CEF via AMA DCR, which only captures local7.  This is going into the CommonSecurityLog table.
We removed Local7 from our generic Syslog via AMA DCR, and estreamer logs do not come into the Syslog table.  We removed our 'just in case' transform to drop all Syslog with ProcessName == "CEF", and the logs still don't show up in the Syslog table (as expected/desired).
Only long-term planning we need now is avoiding using Facilities designated internally for CEF in other types of Syslog.  Worst case, we would have to separate our collector servers further.


memory leak or must need so many memory?

./goaccess --version
GoAccess - 1.1.
just upgrade from goaccess-0.9.8 then appear this.
CMD was
zcat ./*/access.log-$DATE.gz | goaccess --no-query-string > ./report/report.$DATE.html
file size： 5.8G	access.log-20161124.gz
has 7~10 files.

Did you run the same command in v0.9.8 to see how much it consumes there?
My guess is that you have 7-10 5.8G compressed files (~40.6G), so if you uncompress them, the amount would be a lot. So probably you need the on-disk storage. BTW, how many records are you parsing? e.g.,  zcat ./*/access.log-$DATE.gz | wc -l
If you still would like to try the in-memory storage, please take a look here.
There are some obvious optimizations that I want to do to the default hash tables which I'm sure will help in this type of cases. Hoping to get to this soon!

Also, did you run it with -a? If you did, avoid using this flag since it will record all user agents per host.

no -a , -q only.

zcat ./*/access.log-$DATE.gz | wc -l
1034567817

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
35435 root      20   0 31.1g  28g 1028 R 100.0 45.9  81:51.90 /usr/local/bin/goaccess-0.9.8 --no-query-string

呆~。 the same as verison 0.9.8,  it is running, not finish yet, also used so many memory.


Error while creating private service connection

Describe what happened
Try to create with pulumi gcp a vpc with private service connection. Getting the below error. Also added a sample program. Anyway to get that fixed or is there something I am doing wrong?
Sample program
def create_private_service_connection(network_id, stack_name):
"""
Creates a private service connection to allow VPC access to Google services (e.g., Cloud SQL).
Args:
    name (str): The name of the private service connection.
    network_id (str): The ID of the VPC network.
    stack_name (str): The current stack name for resource naming.

Returns:
    tuple: The allocated IP range and private service connection.
"""
ip_range = compute.GlobalAddress(
    f'{stack_name}-vpc-private-service-ip-range',
    name=f'{stack_name}-vpc-private-service-ip-range',
    purpose='VPC_PEERING',
    address_type='INTERNAL',
    prefix_length=16,
    network=network_id,
)

private_service_connection = servicenetworking.Connection(
    f'{stack_name}-vpc-psc',
    network=network_id,
    service='servicenetworking.googleapis.com',
    reserved_peering_ranges=[ip_range.name],
    opts=pulumi.ResourceOptions(ignore_changes=["reserved_peering_ranges"])
)

return ip_range, private_service_connection

Log output

Error waiting for Create Service Networking Connection: Error code 9, message: Cannot modify allocated ranges in CreateConnection. Please use UpdateConnection.

Affected Resource(s)
No response
Output of pulumi about
CLI
Version      3.118.0
Go Version   go1.22.3
Go Compiler  gc
Plugins
KIND      NAME                     VERSION
resource  cloudflare               5.35.1
resource  gcp                      7.38.0
resource  google-native            0.32.0
resource  kubernetes               4.15.0
resource  kubernetes-cert-manager  0.0.6
language  python                   unknown
resource  random                   4.16.3
Host
OS       darwin
Version  14.5
Arch     arm64
This project is written in python: executable='blabla/python3' version='3.12.2'
Backend
Name           blabla
URL            gs://blabla
User           blabla
Organizations
Token type     personal
Dependencies:
NAME                            VERSION
google-cloud-functions          1.16.3
google-cloud-iam                2.15.0
google-cloud-logging            3.10.0
google-cloud-pubsub             2.21.5
google-cloud-storage            2.17.0
google-cloud-video-transcoder   1.12.3
pip                             24.1.2
pulumi_cloudflare               5.35.1
pulumi_gcp                      7.38.0
pulumi-google-native            0.32.0
pulumi_kubernetes_cert_manager  0.0.6
pulumi_random                   4.16.3
setuptools                      69.5.1
wheel                           0.43.0
Additional context
My pulumi gcp version is 7.38.0
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Found the fix:
In the newer version of the pulumi gcp plugin you can use following flag:
update_on_creation_fail=True,
WIth that it will create it without aborting.
Also add following other flag if you get an error during pulumi destroy:
deletion_policy="ABANDON"
My code is now:
`def create_private_service_connection(network_id, stack_name):
"""
Creates a private service connection to allow VPC access to Google services (e.g., Cloud SQL).
Args:
    name (str): The name of the private service connection.
    network_id (str): The ID of the VPC network.
    stack_name (str): The current stack name for resource naming.

Returns:
    tuple: The allocated IP range and private service connection.
"""
ip_range = compute.GlobalAddress(
    f'{stack_name}-vpc-private-service-ip-range',
    name=f'{stack_name}-vpc-private-service-ip-range',
    purpose='VPC_PEERING',
    address_type='INTERNAL',
    prefix_length=16,
    network=network_id,
)

private_service_connection = servicenetworking.Connection(
    f'{stack_name}-vpc-psc',
    network=network_id,
    service='servicenetworking.googleapis.com',
    reserved_peering_ranges=[ip_range.name],
    update_on_creation_fail=True,
    deletion_policy="ABANDON",
    opts=pulumi.ResourceOptions(ignore_changes=["reserved_peering_ranges"])
)

return ip_range, private_service_connection`

Glad you figured it out @vizero1! Thanks for also posting your solution here for the next person to find!


XChart in Eclipse

Hello Tim,
I am a very beginner in Java and would like to use XChart for a data plotting project.
Could you give me some quick hints, how to get XChart running in Eclipse.
Is it required to use Maven?
So far I referenced the xchart-3.8.1.jar in my Java project and created the Example0 class.
But this bings up the error message attached. For example2 I get error after run.
Regards,
Michael

Sorry, looks like something in your configuration is incorrect.


Fix recursive function checks for Metal

Fixes #5684 .
Move recursive function checks do be done earlier during linkAndOptimizeIR. The current implementation hangs on Metal because recursive checks are handled towards the end of this function inside checkUnsupportedInst. This is after Metal's IR legalization pass, where specializeAddressSpace is called and cause an infinite worklist run.

source/slang/slang-ir-check-recursive-type.cpp is renamed to source/slang/slang-ir-check-recursion.cpp and the function recursive checks are moved from source/slang/slang-ir-check-unsupported-inst.cpp to this renamed file. Github does not consider this a rename because the rename detection is too high and too much new code is added to the file.


Telemetry enabled by default in cockroach demo

Fixes #5380.

Added note to cockroach demo page about telemetry.
Fixed "Flags" section headings.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/dd2e03fe6bfcf181f1b867ce92b884e5ab5ca08c/
Edited pages:

v19.2/cockroach-demo.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/c7802e2a0b94fd5ee76e2c68f53327f9894c0ba7/
Edited pages:

v19.2/cockroach-demo.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/5a74cd4020cfdb8309824934f6439e6b10860cea/
Edited pages:

v19.2/cockroach-demo.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/c50e7fe60cfacf601e78c415189337a2a82b21e0/
Edited pages:

v19.2/cockroach-demo.md


[FR] Helm repository

Is your feature request related to a problem? Please describe.
There is a helm template located in this repository. My deployment is done via ArgoCD that requires a helm repository.
Describe the solution you'd like
Have this repository also contain the helm repository, should be possible with github raw.
Describe alternatives you've considered
None
Additional context
Add any other context or screenshots about the feature request here.

Yo! I'm kinda working on that. Just rather slow going.
See: https://github.com/kubealex/k8s-mediaserver-operator/issues/87
I had similar thoughts.
You can point to the chart directory for now and it works with ArgoCD just fine, but is a little clunky.

Closing this issue, let's follow the progress via #87


better error handling

Codecov Report

Merging #5 into master will decrease coverage by 1.25%.
The diff coverage is 84.54%.

@@            Coverage Diff             @@
##           master       #5      +/-   ##
==========================================
- Coverage   90.28%   89.02%   -1.26%
==========================================
  Files           5        5
  Lines         319      410      +91
==========================================
+ Hits          288      365      +77
- Misses         31       45      +14

Impacted Files
Coverage Δ

src/zpool/topology.rs
83.48% <ø> (ø)
:arrow_up:

src/zpool/open3.rs
81.48% <60%> (-4.52%)
:arrow_down:

src/zpool/mod.rs
84.37% <84.37%> (+84.37%)
:arrow_up:

tests/test_zpool.rs
88.88% <88.23%> (-4.87%)
:arrow_down:

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 f45d8a3...eaba265. Read the comment docs.


Processing of key/values on refresh

Could someone suggest where to chip in to invoke custom logic on refresh.
Let me give you the reason for such a need.
App service allow this path structure with ":" separation.  We use it to have a more general config values that can be set to be more specific. Lets say we want to have a global values:
Global:CorporateColour ==xxxx
But lets say for some of branches we override this with following notion:
Stacks:CorporateColour == yyyy
In non dynamic setup we combine this using dictionary so for those useages where more specific value is needed Global will be overwritten with more specific values by adding CorporateColour ==xxxx and then overwriting it with more specific CorporateColour == yyyy.
Where could be place to hijack refresh when it happens to know what now the whole list of settings will be retrieved so we could update and get values we want?

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

ID: 80b8d3d6-4125-638f-746a-4bbdf0378625
Version Independent ID: d917d876-79b4-b935-08f0-09ef86038dd7
Content: Tutorial: Use App Configuration dynamic configuration in ASP.NET Core - Azure App Configuration
Content Source: articles/azure-app-configuration/enable-dynamic-configuration-aspnet-core.md
Service: azure-app-configuration
GitHub Login: @AlexandraKemperMS
Microsoft Alias: alkemper

@boris-tarasov-maersk -
Thanks for brining this to our attention. We will investigate it further and update you shortly.

@boris-tarasov-maersk - Thanks for reaching out. I have reached out to Product team and will get back to you as soon as we have an update from them.

@boris-tarasov-maersk -

Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can update the document accordingly.

@boris-tarasov-maersk -

Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can update the document accordingly.

hi Monika
Thanks. Waiting to see so updates on documentation.

hi Monika
Thanks. Waiting to see so updates on documentation.

maybe you have some updates on this?

Hi @boris-tarasov-maersk, sorry for the delay. As I understand, you are looking to have a "default" value for a key and then in specific situations you would like to override this with a different value.
I think this can be solved by using labels rather than prefixes. These let you define different values for one key, so you would have the key CorporateColour with value xxxx and no label, as well as value yyyy with label "Stacks". In your application, you can then specify which label to prefer and that, for example, the "no label" should be the default. This can be done by appending the CreateHostBuilder() function in Program.cs and following the steps in this tutorial on labels per environment.

hi @AlexandraKemperMS
Thank your for your reply but it is not the exact case you have described.
We already using labels to differentiate environments.
Let me give you a more detailed example that hopefully you can relate:
We have many, many microservices and we are using Cosmos DB as one of backends.
one of our default entries, lets say for dev env is:
Key: "Global:CosmosDb:Database" Value: "data" label: "dev"
We also have a few where default (global value) is overwritten to match name of a microservice
Key: "Infrastructure:CosmosDb:Database" Value: "infrastructure" label "dev"
what we do now, (sadly without relying on Microsoft library for automatic refresh) when a specific microservice starts:
we say: give us all key-values for global
and give all key-values for specific microserivce
lets imagine we got only those to records in 2 dictionaries:
dict 1. CosmosDb:Database = data
dict 2. CosmosDb:Database = infrastructure
we then merge them so more microservice specific value wins
and in the end we get (CosmosDb:Database = infrastructure) in our infrastructure service. If more specific value is not there default is used.
"We do several of those merges where not only prefix is used but also label is used (imagine you have some config values that are commong to all environments then NO LABLE is perfect to match all environments) but let's start somewhere :)"
What I wish to know how we can plug into stage when all key-values are requested by the framework to apply the same logic (e.g. bacically filter out those less specific values according to our logic and context (microservice name)
I really like the way flags are build where I can write my own special filter (we use it to filter FF based on own criteria)

Hi @jimmyca15
Thank you for your suggestion.
I was not aware of such smart way of making it happen and this is interesting to try.

Hi, I see that this issue has been resolved. I will proceed to closing this issue now. If this issue needs further attention, do open a new issue so we can have another look at it. Thank you. #please-close


doc: add install-snapshot.sh usage in snapshot documentation

Describe what this PR does
Improve snapshot docs
Signed-off-by: Prasanna Kumar Kalever<EMAIL_ADDRESS>

let's get https://github.com/ceph/ceph-csi/pull/1546 in first

/test all


chore: project addition by nc1z #2000

Related Issue
Closes issue https://github.com/priyankarpal/ProjectsHut/issues/2000
Add a new project to the list
Adding an open source React PWA Starter template, built with Create-React-App, MUI and Firebase
Record

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I agree to follow this project's Code of Conduct
[X] I want to work on this issue

@priyankarpal do I create a new issue or I'm good to use the PR ticket number? Thanks

@priyankarpal do I create a new issue or I'm good to use the PR ticket number? Thanks

create a new issue for project addition & add the issue number to the PR description. & add reactjs to the tech stacks

this branch has a conflicts error. Please resolve it

There's quite a bit of formatting errors from previous project additions that have been merged to main. I've just re-added mine instead of editing others. Should be ahead of main now.

try to create separate branch in future.

Makes sense, apologies relatively new to forking & open source contributing 😄

@nc1z  For secure collaboration, remember to check out GitHub's commit signature verification feature. It helps ensure the authenticity of commits and prevents tampering.
Learn how it works: GitHub Docs
Happy coding! 😄


Trouble getting hello world module to appear

REPRO:

Compiled and run clean repo. I got an exception because bin\Debug\Modules directory didn't exist

I created that manually, then got another exception. I then realized that compiling IoX.ModuleExamples.HelloWorld might be necessary - it's not mentioned in the README.md and not in the main solution.  So I added IoX.ModuleExamples.HelloWorld  to the main solution

However compiling that project failed in the "copy" command.  A file bin\Debug\Modules\hw was created, I think by the robocopy, but I think this is meant to be a directory.  So I deleted the file, and added a mkdir to created binaDebug\Modules\hw

After that the build completed, but only one file (the DLL) appeared under bin\Debug\Modules\hw.  I'm wondering if more should appear (e.g. FSharp.Core.dll and the dll.config)

In all cases, when I ran the website, the "Modules" and "Manage modules" entries were empty - Hello World was not listed.

Copying the iox.conf file from IoX.ModuleExamples.HelloWorld\static into bin\Debug\Modules\hw seems to do the trick.

Yup, I've just pushed the fix. In the final refactor I removed a path in the postbuild action that does the robocopy in the Modules dir. Now it works. For the future a cross platform friendly process for this part should be used.


connectionPlugin doesn't resolve cursorFromNode

Below is our code.
import { connectionPlugin, makeSchema } from '@nexus/schema';

import { nexusSchemaPrisma } from 'nexus-plugin-prisma/schema';

export const schema = makeSchema({
  types,
  plugins: [
    nexusSchemaPrisma(),
    connectionPlugin({
      cursorFromNode(node) {
        return node.id;
      },
    }),
  ],
...

And usage
export const channels = queryField((t) => {
  t.connectionField('channels', {
    type: 'Channel',

    additionalArgs: {
      withMessage: booleanArg(),
    },

    async nodes(_, args, ctx) {
      const { after, before, first, last } = args;

      return ctx.prisma.channel.findMany({
        ...relayToPrismaPagination({
          after, before, first, last,
        }),

        orderBy: { id: 'desc' },
      });
    },
  });
});

Above doesn't change the cursor to id of the node as shown below.

Even tried cursorFromNode in queryField.  WIP code is here.
Having hard time invalidating caches in connection 😩 .

Hey @hyochan, could you elaborate a bit more on the problem here, I'm unfortunately not sure to understand, thanks 🙏

@Weakky I think he expected the cursor = the node id

The cursor probably shouldn't be the same as node.id, but if you really want it to be then you need to set:
encodeCursor: value => value,
decodeCursor: value => value

as part of your config


PCA Dimensionality Reduction

Hello, I would like to ask if reducing the dimensionality to 32 instead of a higher or lower dimension was determined through experimentation?

It's not sensitive to this hyper-parameter.


NP-1440: Assign DOI from Datacite handler

WIP.

Will be using some existing XML mappers, closing this.


WIP freecad: 0.16.6712 -> 0.17

Disabling FEM because dependencies are not packaged for Nix yet.
FreeCAD 0.17 now needs vtk, (open-)mpi, hdf5 and MEDFile (maybe more) for the FEM feature.
MEDFile (from http://salome-platform.org/downloads/current-version) is not packaged yet though.
I also haven't checked if dependencies have been dropped or whether the PYTHONPATH patch/hack is still needed.
With FEM disabled it compiles and runs on my system.
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)
[ ] 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/)
[ ] Fits CONTRIBUTING.md.

@viric can you have a look?

I have packaged the MED file lib. I'm not certain though if the category is correct, esp. as there are some user space utils installed with it.

@grhamcofborg build medfile freecad

@GrahamcOfBorg build medfile freecad

@grahamcofborg build medfile freecad

@GrahamcOfBorg hamcofborg build medfile freecad

oops, that was another typo  :smile:
@GrahamcOfBorg build medfile freecad

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: medfile, freecad
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: medfile, freecad
Partial log (click to expand)
shrinking /nix/store/slxnnrh0lvy22knrza0spi0pik4fzwv0-freecad-0.17/lib/FreeCAD.so
shrinking /nix/store/slxnnrh0lvy22knrza0spi0pik4fzwv0-freecad-0.17/lib/ImageGui.so
shrinking /nix/store/slxnnrh0lvy22knrza0spi0pik4fzwv0-freecad-0.17/lib/PointsGui.so
shrinking /nix/store/slxnnrh0lvy22knrza0spi0pik4fzwv0-freecad-0.17/lib/libSMESHDS.so
shrinking /nix/store/slxnnrh0lvy22knrza0spi0pik4fzwv0-freecad-0.17/lib/FreeCADGui.so
shrinking /nix/store/slxnnrh0lvy22knrza0spi0pik4fzwv0-freecad-0.17/lib/libFreeCADGui.so
strip is /nix/store/92d2ifxcni4n3zx9s8wnkcjlvnx5ajlc-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/slxnnrh0lvy22knrza0spi0pik4fzwv0-freecad-0.17/lib  /nix/store/slxnnrh0lvy22knrza0spi0pik4fzwv0-freecad-0.17/bin
patching script interpreter paths in /nix/store/slxnnrh0lvy22knrza0spi0pik4fzwv0-freecad-0.17
checking for references to /build in /nix/store/slxnnrh0lvy22knrza0spi0pik4fzwv0-freecad-0.17...

Failure on aarch64-linux (full log)
Attempted: medfile, freecad
Partial log (click to expand)
cannot build derivation '/nix/store/942ri0w34cs6v74w12hv7dzcykvphv84-opencascade-oce-0.17.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/w4sfqp00fzwl1xxc8raqwn912dp86rny-pyside-apiextractor-0.10.10.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/ss2sllgbs2kvdfg9mh45cpx9gmznnw9j-soqt-1.5.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/89jhlbivzbi946y4qks8nz4k5d4lmsq9-pyside-generatorrunner-0.6.16.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/v0iy3mndxsfhd57blw42zpnqgzhwizg3-python2.7-pivy-20101207.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/4f8r0ad7n5r9wdixvqgq70g73hvd68rp-python2.7-pyside-shiboken-1.2.4.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/83csjs3675wc0y8q3x4lwgcwjglnbpih-python2.7-pyside-1.2.4.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/823pg57vwdg9kaqj62ri5bdhj91d5j69-python2.7-pyside-tools-0.2.15.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/v7g4bdjrvk379kn8fb2ixfc0z58v4fwm-freecad-0.17.drv': 7 dependencies couldn't be built
error: build of '/nix/store/v7g4bdjrvk379kn8fb2ixfc0z58v4fwm-freecad-0.17.drv' failed


Unable to view months in heatmap

Trying to display Heatmap with Months as it shows in the Readme, but I can only see Team.

You need to add "MonthCompleted" to pivotUI
as in:
cols: ["Team", "MonthCompleted"]


Wallet UI needs SOCKS5 proxy support

Presently, other than transparently proxying the wallet (for power users/sysadmins only), there is no support to proxy the connection to the api server from the wallet.
Please consider adding proxy support, to better protect the privacy of bitshares users, thank you.

This issue was moved to bitshares/bitshares-ui#58


Android's CookieJar (JavaNetCookieJar) makes it impossible to use cookies during development

Description
During development, quite often, the API server is running on a local IP like <IP_ADDRESS>. This means that any cookies (for authentication or otherwise) being sent to the react native app would also have a cookie domain like <IP_ADDRESS>. While it's common to prefix cookie domains with a ., these "development" friendly domains cannot have a prefix of . in front of them (.<IP_ADDRESS> doesn't make any sense - the cookies won't get sent).
Android's NetworkingModule uses JavaNetCookieJar to store cookies:
  @Override
  public void initialize() {
    mCookieJarContainer.setCookieJar(new JavaNetCookieJar(mCookieHandler));
  }

JavaNetCookieJar class, in the saveFromResponse function, always adds a . to all cookie domains, making using cookies in development impossible.
React Native version:
System:
    OS: macOS 10.15.3
    CPU: (4) x64 Intel(R) Core(TM) i7-4578U CPU @ 3.00GHz
    Memory: 228.93 MB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 13.11.0 - /usr/local/bin/node
    Yarn: 1.13.0 - /usr/local/bin/yarn
    npm: 6.13.7 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
    Android SDK: Not Found
  IDEs:
    Android Studio: 3.6 AI-192.7<IP_ADDRESS>41897
    Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
  Languages:
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0
    react-native: 0.62.0 => 0.62.0
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce

Start any API process on <IP_ADDRESS>:8080
This process should have a /login API that sets cookies for the domain <IP_ADDRESS> (your local IP address) and an /info API that uses the incoming cookies to return some logged in specific info.
Send a request to the login API from an android app
After successful login, send a request to the /info API and see that no cookies are sent.

Expected Results
We expect standard cookie management behaviour. If we do not add the leading . in the cookie domain, everything works fine. This can be achieved by:

Not using JavaNetCookieJar and building our own CookieJar.
Raising an issue in the OkHttp repo and waiting for them to fix it.
Implementing the hack shown below

Temporary fix:
Basically, we use Java reflection (not at all ideal, but seemed to have no other choice here) to reimplement the  saveFromResponse function in our custom cookie jar that uses JavaNetCookieJar.
MainApplication.java
public class MainApplication extends Application implements ReactApplication {

@Override
  public void onCreate() {
    super.onCreate();

      // FUNCTION CALL USED TO FIX THE ISSUE OF DOMAIN NAME DURING DEVELOPMENT.
    fixCookieDomainIssue();

    // ...
  }

private void fixCookieDomainIssue() {
      // we modify the OkHttpClient that React Native will use.
      OkHttpClientProvider.setOkHttpClientFactory(() -> {
          OkHttpClient.Builder builder = OkHttpClientProvider.createClientBuilder(
                  mReactNativeHost.getReactInstanceManager().getCurrentReactContext());
          builder.cookieJar(new ReactCookieJarContainer() {

              @Override
              public void setCookieJar(CookieJar cookieJar) {
                  if (cookieJar instanceof JavaNetCookieJar) {
                      super.setCookieJar(new CustomJavaNetCookieJar((JavaNetCookieJar) cookieJar));
                  } else {
                      // user has probably set their own CookieJar.
                      super.setCookieJar(cookieJar);
                  }
              }
          });
          return builder.build();
      });
  }

  private class CustomJavaNetCookieJar implements CookieJar {

      private final JavaNetCookieJar existing;

      public CustomJavaNetCookieJar(JavaNetCookieJar cookieJar) {
          existing = cookieJar;
      }

      @Override
      public void saveFromResponse(HttpUrl url, List<Cookie> cookies) {
          // some of the variables and functions that we need to use are private. So we use Java reflections to access them.
          try {
              List<String> cookieStrings = new ArrayList<>();
              for (Cookie cookie : cookies) {
                  Method toStr = Cookie.class.getDeclaredMethod("toString"); // calling toString with no arguments does not add a leading dot.
                  toStr.setAccessible(true);
                  cookieStrings.add((String) toStr.invoke(cookie));
              }
              Map<String, List<String>> multimap = Collections.singletonMap("Set-Cookie", cookieStrings);

              Field field = existing.getClass().getDeclaredField("cookieHandler");
              field.setAccessible(true);
              CookieHandler cookieHandler = (CookieHandler) field.get(existing);
              cookieHandler.put(url.uri(), multimap);
              return;
          } catch (NoSuchMethodException e) {
          } catch (IllegalAccessException e) {
          } catch (InvocationTargetException e) {
          } catch (IllegalArgumentException e) {
          } catch (SecurityException e) {
          } catch (IOException e) {
          } catch (NoSuchFieldException e) {
          } catch (Throwable e) {}

          existing.saveFromResponse(url, cookies);
      }

      @Override
      public List<Cookie> loadForRequest(HttpUrl url) {
          return existing.loadForRequest(url);
      }
  }
}

Hi @rishabhpoddar we have a community module that allows you to manually manage your cookies here: https://github.com/react-native-community/cookies
Would this solve your use case?

Technically, I think react-native-community/cookies would help. However, it is really annoying to manage cookies manually, especially given that the OS is capable of taking care of this for you.
So I do not consider using that as a solution to this issue.

Bump! this needs to be addressed

Technically, I think react-native-community/cookies would help. However, it is really annoying to manage cookies manually, especially given that the OS is capable of taking care of this for you.
So I do not consider using that as a solution to this issue.

Hi @rishabhpoddar we have a community module that allows you to manually manage your cookies here: https://github.com/react-native-community/cookies
Would this solve your use case?

I think @rishabhpoddar  is correct in labelling this an issue, this should in itself be handled and work naturally for Android in react-native.

Technically, I think react-native-community/cookies would help. However, it is really annoying to manage cookies manually, especially given that the OS is capable of taking care of this for you.
So I do not consider using that as a solution to this issue.

Is this a criticism of how the existing module works? Because if so that could be potentially be fixed by the module or implemented by a different one. The reality is that React Native core is intentionally light and that apps are expected to pull in non-essential functionality through community modules. Most things are moving out of core, not in. So there'd need to be strong justification to solve this in core when there's already a solution (and options for other competing solutions if that doesn't meet your needs).
Am I understanding correctly in that the ask here is to move that type of functionality into core? Apologies if I'm misreading this.

@chrisglein the existing module to handle cookies on android has a bug where it appends a "." to the cookie domain, even if the domain is localhost or an IP address like <IP_ADDRESS>. So either we fix that, or remove that module entirely and replace it with a community provided cookie module that doesn't have that bug!

@rishabhpoddar theres an open PR for that bug. Comment on it.
Discussion on this issue should be about if React Native core will have better cookie support.

Description
During development, quite often, the API server is running on a local IP like <IP_ADDRESS>. This means that any cookies (for authentication or otherwise) being sent to the react native app would also have a cookie domain like <IP_ADDRESS>. While it's common to prefix cookie domains with a ., these "development" friendly domains cannot have a prefix of . in front of them (.<IP_ADDRESS> doesn't make any sense - the cookies won't get sent).
Android's NetworkingModule uses JavaNetCookieJar to store cookies:
  @Override
  public void initialize() {
    mCookieJarContainer.setCookieJar(new JavaNetCookieJar(mCookieHandler));
  }

JavaNetCookieJar class, in the saveFromResponse function, always adds a . to all cookie domains, making using cookies in development impossible.
React Native version:
System:
    OS: macOS 10.15.3
    CPU: (4) x64 Intel(R) Core(TM) i7-4578U CPU @ 3.00GHz
    Memory: 228.93 MB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 13.11.0 - /usr/local/bin/node
    Yarn: 1.13.0 - /usr/local/bin/yarn
    npm: 6.13.7 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
    Android SDK: Not Found
  IDEs:
    Android Studio: 3.6 AI-192.7<IP_ADDRESS>41897
    Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
  Languages:
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0
    react-native: 0.62.0 => 0.62.0
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce

Start any API process on <IP_ADDRESS>:8080
This process should have a /login API that sets cookies for the domain <IP_ADDRESS> (your local IP address) and an /info API that uses the incoming cookies to return some logged in specific info.
Send a request to the login API from an android app
After successful login, send a request to the /info API and see that no cookies are sent.

Expected Results
We expect standard cookie management behaviour. If we do not add the leading . in the cookie domain, everything works fine. This can be achieved by:

Not using JavaNetCookieJar and building our own CookieJar.
Raising an issue in the OkHttp repo and waiting for them to fix it.
Implementing the hack shown below

Temporary fix:
Basically, we use Java reflection (not at all ideal, but seemed to have no other choice here) to reimplement the saveFromResponse function in our custom cookie jar that uses JavaNetCookieJar.
MainApplication.java
public class MainApplication extends Application implements ReactApplication {

@Override
  public void onCreate() {
    super.onCreate();

      // FUNCTION CALL USED TO FIX THE ISSUE OF DOMAIN NAME DURING DEVELOPMENT.
    fixCookieDomainIssue();

    // ...
  }

private void fixCookieDomainIssue() {
      // we modify the OkHttpClient that React Native will use.
      OkHttpClientProvider.setOkHttpClientFactory(() -> {
          OkHttpClient.Builder builder = OkHttpClientProvider.createClientBuilder(
                  mReactNativeHost.getReactInstanceManager().getCurrentReactContext());
          builder.cookieJar(new ReactCookieJarContainer() {

              @Override
              public void setCookieJar(CookieJar cookieJar) {
                  if (cookieJar instanceof JavaNetCookieJar) {
                      super.setCookieJar(new CustomJavaNetCookieJar((JavaNetCookieJar) cookieJar));
                  } else {
                      // user has probably set their own CookieJar.
                      super.setCookieJar(cookieJar);
                  }
              }
          });
          return builder.build();
      });
  }

  private class CustomJavaNetCookieJar implements CookieJar {

      private final JavaNetCookieJar existing;

      public CustomJavaNetCookieJar(JavaNetCookieJar cookieJar) {
          existing = cookieJar;
      }

      @Override
      public void saveFromResponse(HttpUrl url, List<Cookie> cookies) {
          // some of the variables and functions that we need to use are private. So we use Java reflections to access them.
          try {
              List<String> cookieStrings = new ArrayList<>();
              for (Cookie cookie : cookies) {
                  Method toStr = Cookie.class.getDeclaredMethod("toString"); // calling toString with no arguments does not add a leading dot.
                  toStr.setAccessible(true);
                  cookieStrings.add((String) toStr.invoke(cookie));
              }
              Map<String, List<String>> multimap = Collections.singletonMap("Set-Cookie", cookieStrings);

              Field field = existing.getClass().getDeclaredField("cookieHandler");
              field.setAccessible(true);
              CookieHandler cookieHandler = (CookieHandler) field.get(existing);
              cookieHandler.put(url.uri(), multimap);
              return;
          } catch (NoSuchMethodException e) {
          } catch (IllegalAccessException e) {
          } catch (InvocationTargetException e) {
          } catch (IllegalArgumentException e) {
          } catch (SecurityException e) {
          } catch (IOException e) {
          } catch (NoSuchFieldException e) {
          } catch (Throwable e) {}

          existing.saveFromResponse(url, cookies);
      }

      @Override
      public List<Cookie> loadForRequest(HttpUrl url) {
          return existing.loadForRequest(url);
      }
  }
}

i did it,but useless,can u tell me what should i do, i need take cookies when fetch api


Create logitech-g502-spectrum.device

Adding support for my mouse

Please add it to meson.build too.

g502 proteus spectrum is here: https://github.com/libratbag/libratbag/blob/master/data/devices/logitech-g502-proteus-spectrum.device
Yours has a Holtek vendor id. What is it?

Hum, what? A knockoff?

I think it may be a keyboard:
https://antoinealb.net/2014/12/05/archlinux-install.html

To do this, first use lsusb to find the device ID. For example for my WASD keyboard the relevant line is :

Bus 001 Device 006: ID 04d9:0169 Holtek Semiconductor, Inc.

and the device ID here is 04d9:0169.

Yeah, takes makes more sense. @matt24smith you probably got the wrong id. Are you sure the latest release doesn't work?

Yes you're right actually. The library wasn't working for me until after I created the file so I mistakenly thought I had fixed the issue with it. It appears to be working correctly now without the file I created. My mistake.
Thanks for the quick response!


Don't fail until the end

It'd be great to have an option to not immediately throw an error when the snapshot is different.

I agree this would really benefit the development cycle.
My first thought is that it might be difficult to throw an error only after all snapshots have been run, but I need to read through the Cypress docs more to see if they expose any functionality to do so.
Another option might be to expose something like --diff-only that won't fail any snapshot tests and only generate diffs.  That way you could run the tests once to see all the diffs, fix them, and run the tests again.

Closing this for now as I'm not aware of a method to cause a test to fail from the reporting step.


The error has been fixed in the key parameter of the ExtendedMarker tag in the ClusterGroup.tsx file.

Description
discord username: tutkun#9580
The error has been fixed in the key parameter of the ExtendedMarker tag in the ClusterGroup.tsx file. And some refactoring has been done.
closes #issue
Please describe your changes. Also describe your aim and content. Do not forget to list the dependencies required caused by those changes.
## Things to check before creating a PR

[x] I have inspected my topic, checked.
[ ] If it is a core feature, executed detailed tests.

Creating PR rules

[ ] PR must be created for an issue with approved tag. Otherwise PR will be rejected.
[ ] Relevant issue number: The issue number related to PR must be attached to head of PR header, after prefix after prefix # must be attached in parenthesis. A header like this could be used "prefix(#issue_number): PR header" .
[ ] A descriptive and understandable title: The PR title should clearly describe the nature and purpose of the changes. The PR title should be the first thing displayed when the PR is opened. And it should follow the semantic commit rules. For example, a title like "docs(#issueId): Add README.md" can be used.
[ ] Related file selection: Only relevant files should be touched and no other files should be affected.
[ ] Format and Lint Suitability : The code should be made in accordance with a certain format standard and examined according to the lint rules.
[ ] Clean commit history: The commits where the changes are made should be clear and organized.
[ ] Opening PR when job is completed: PR should be opened when job is completed and sent for review by other team members.

Changes

[ ] A new feature (a change that adds a new feature, not a breaking change)
[x] A new refactor (a change that is not a breaking change, that improves the readability or performance of the code)
[x] A breaking change
[x] Documentation change

How were these changes tested?
Please describe the tests you did to test the changes you made. Please also specify your test configuration.
Test Configuration:

Firmware version:
Hardware:
Toolchain:
SDK:

Unfortunately there's no reference issue, please follow the PR rules so I can re-open.

I guess reference wasn't the right word. But I don't know how to define it. The change in ClusterGroup.tsx file fixes the following console error. Because I think the key attribute should take a unique value.


Web based app for creating sample apps.

Estimote have a cool web app for creating boilerplate apps with custom details such as beacon id, app name etc. Once configured you download the source project.. -> neat!
https://cloud.estimote.com/#/apps/add
I wonder is there any value in this for WPW... would be awesome for getting devs up and running! A nice show piece.

Heya, is that link correct, I just get a login page?

Ahh ok. Yes it is correct but probably need to login first.

FWIW - This is a harebrained idea and should be at the bottom of our priorities list. Still a cool feature though :)
Going to close for now...


⚠ Science Web Services - QState has degraded performance

In 0f94604, Science Web Services - QState (https://sws.labbricks.com/qstate/) experienced degraded performance:

HTTP code: 523
Response time: 3312 ms

Resolved: Science Web Services - QState performance has improved in fdab049 after 2 hours, 2 minutes.


Cloudflare not updated in last release

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

Description
just updated zu the latest dockermimage but it’s not including the last Cloudflare version. In logs at startup:
WRN Your version 2023.2.2 is outdated. We recommend upgrading it to 2023.3.1
is printing out.
👟 Reproduction steps
docker pull louislam/uptime-kuma:1
docker stop uptime-kuma
docker rm uptime-kuma
docker run -d --restart=always -p 3001:3001 -v /var/run/docker.sock:/var/run/docker.sock -v /volume1/docker/uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1
👀 Expected behavior
Latest version of Cloudflare tunnel is used.
😓 Actual Behavior
Old version of Cloudflare tunnel
🐻 Uptime-Kuma Version
1.21.0
💻 Operating System and Arch
Docker
🌐 Browser
Safari on iOS 16
🐋 Docker Version
20.10.3
🟩 NodeJS Version
No response
📝 Relevant log output
WRN Your version 2023.2.2 is outdated. We recommend upgrading it to 2023.3.1

It is not guaranteed to be updated, as it is included in the base image.
If you care about this, you should use cloudflared image separately instead of builtin cloudflared.
https://hub.docker.com/r/cloudflare/cloudflared


Missing example circuit in description of the TranspileLayout class API reference doc

Environment

Qiskit SDK v1.1.1

What is happening?
In the third paragraph of the TranspileLayout class API reference doc, the sentence seems to be pointing to an example input circuit. This circuit is either missing or not visible. The next paragraph references an example qubit reordering, which is also not present.
How can we reproduce the issue?
Going to https://docs.quantum.ibm.com/api/qiskit/qiskit.transpiler.TranspileLayout should show the missing examples
What should happen?
Either pictures or ASCII-art of the example circuit as well as information about the example qubit mapping reordering.
Any suggestions?
No response

The details are there in the source: https://github.com/Qiskit/qiskit/blob/main/qiskit/transpiler/layout.py#L695-L710 so I expect this is an issue in the rendering from Qiskit/documentation. I'll transfer this issue over there so they can track it.


mdns: Failed to register IPv6 receiver

 Issue by colinramsay
Thursday Jul 13, 2017 at 13:30 GMT
Originally opened as https://github.com/plietar/librespot/issues/217

This setup worked until recently. I run this on a Raspberry Pi powered by OSMC, so it could be related to their most recent update, but it's hard to debug where the problem lies.
> /home/osmc/spotify/librespot --name pi --cache /tmp

INFO:librespot: librespot aa86ebf (2017-07-09). Built on 2017-07-13.
WARN:mdns: Failed to register IPv6 receiver: Error { repr: Os { code: 19, message: "No such device" } }

After that there's no more output and it doesn't show as a device to connect to. Previously this worked like a charm. Any pointers? Thanks!

@sashahilton00 I get the code: 49 version on MacOS 10.13.2 at the moment, fresh build from master.

Reporting the same issue here: Mar 04 12:05:08 osmc librespot[12769]: WARN:mdns: Failed to register IPv6 receiver: Error { repr: Os { code: 19, message: "No such device" } }

Any workaround so far?

I've had succes on a macbook by using a different mdns crate, i.e. using the  with-dns-sd feature

This fixed it for me:
osmc@osmc:~$ connmanctl
connmanctl> services
*AO Wired                ethernet_xxxxxxxxxxxxx_cable
connmanctl> config ethernet_xxxxxxxxxxxxx_cable --ipv6 auto
connmanctl> quit

Apparently ipv6 was disabled for some reason.

Confirmed that this is fixed when switching to dns-sd.

On MacOS, I built it using this command:
cargo build --release --features with-dns-sd
then ran librespot and it worked! Problem solved!
Used this as a reference: https://github.com/librespot-org/librespot/wiki/Compiling#addition-features


Metadata Attribute research: Targets attributes

The targets class is implemented as a combination of two classes - TargetFile and Delegations plus the common signed attributes.
All Signed attributes are validated in various prs:

https://github.com/theupdateframework/tuf/pull/1430
https://github.com/theupdateframework/tuf/issues/1418
https://github.com/theupdateframework/tuf/issues/1420

We already have validation for TargetFile attributes added thanks to @sechkova in https://github.com/theupdateframework/tuf/pull/1451.
For Delegations class. we have keys which are mappings of a string to a Key instance and we have already added validation for the Key instances here: https://github.com/theupdateframework/tuf/pull/1449.
Actually, the only piece class left for validation is the one responsible for roles in Delegations or DelegatedRole.
From the DelegatedRole attributes we are already validating threshold and keyids inside the parent class Role which we added here https://github.com/theupdateframework/tuf/pull/1450 and validation for keyid is added with the Key class validation  https://github.com/theupdateframework/tuf/pull/1449.
So, we have to decide how we are going to validate name, paths and path_hash_prefixes attributes from DelegatedRole.

We shouldn't foget to add tests for invalid attributes the way we did for the rest of the attributes here: #1460.

DelegatedRole name is discussed separately in #1558.

We had a good discussion with @jku about paths and path_hash_prefixes.
The conclusions from our conversation are:

Even though adding a "" in path_hash_prefix in a delegated role may be a bit of a hack it feels quite straightforward.
This seems to be  like currently the only way to delegate absolutely everything.
I tried adding a "" in paths and it didn't work as DelegatedRole._is_target_in_pathpattern doesn't allow using "" as a path.

So, to conclude we decided we want to validate only paths and path_hash_prefixes types.


Select text inside node: chrome bug for transformed elements

Describe the Bug
I detected a bad behaviour when you select text inside a text input inside a node. The text deselects when the mouse exit the node's body and reselects when you drag near top left of the canvas.
I search for and I found that it's a chrome bug when selecting text of input with css tranform:

Stackoverflow: https://stackoverflow.com/questions/38143005/transform-translatex-breaks-text-selection-in-inputs-in-chrome
Chrome bug: https://issues.chromium.org/issues/41439320

Examples:

https://jsfiddle.net/k42g91h1/1/
https://codepen.io/siruppypancakes/pen/ZwJXax
Video using React-Flow attatched below

There is a workaround using css top and left properties instead of using transform. I have created this issue to notify you of this problem so that you are aware and to see if some workaround could work well.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Using a node with a text input:

Write some text inside input
Move the node at the center of the canvas
Select the text from right to left dragging with the mouse and exit the node
Move the mouse (keep dragging) to top left the canvas (imagining that there is a ghost node placed there)

Like the attatched video, you can select exactly the text you want from outside the node.
Expected behavior
Chrome should follow the cursor taking into account the previous transformations and select taking into account the x position of the cursor.
Screenshots or Videos
2024-04-15 11-16-21.webm
Platform

OS: Windows, Linux
Browser: Chrome
Version: 123

Additional context
No response

Using top, left coordinates has unmanageable implications for performance. This seems to be a browser problem we cannot mitigate on library side.
You can prevent this behavior by adding add a piece of css to the node while dragging the text selection (probably onpointerdown of the input node).
In you codepen this would be something like this:
#tanDiv::before {
  content: ' ';
  position: absolute;
  width: 5000px;
  height: 5000px;
  top: -2500px;
  left: -2500px;
}

This extends the node invisibly so the pointer never leaves the transformed div during selection.

That's a good idea. I have implemented your idea using only css and it looks like it could work.
https://codepen.io/pronink/pen/ZEZjZvB

I implemented your idea in my proyect and it works :smiley:  ¡¡thank you!!
// '&' being the node body root
'&:has(input:active)::after, &:has(textarea:active)::after': {
    content: '""',
    position: 'absolute',
    width: '10000px',
    height: '10000px',
    top: '-5000px',
    left: '-5000px',
    cursor: 'text',
}

But it is still a workaround for a chrome bug.

Happy to have helped!


Wrapped Punks

Name/Description
Wrapped Punks
Type
New addition
Compatible Networks

Mainnet

Code for review
IPFS hash/App URL
https://www.wrappedpunks.com/
Desired date
as soon as possible, thanks.

the app doesn't show my  wrappedpunks from my safe on rinkeby https://gnosis-safe.io/app/rin:0x00115945f6E35E168B24409964EeDA46AEeB5008/apps?appUrl=https://www.wrappedpunks.com/

Also checked by adding https://dev.wrappedpunks.com/ as a custom app instead and we are shown

looks like network is not fetched correctly
just fyi :)

Still no luck on Rinkeby when adding both https://www.wrappedpunks.com/ & https://dev.wrappedpunks.com/ as custom apps I'm afraid.
Prod build is stuck loading and the dev one just throws a white screen and a status 404 on console.
https://safe-team.dev.gnosisdev.com/app/rin:0x00115945f6E35E168B24409964EeDA46AEeB5008/apps?appUrl=https://dev.wrappedpunks.com/

Also, connecting the dev dapp via Wallet Connect app fails to fetch the wrapped punks available on the safe

the app is now live, excited to have you on the list! :)


Re-Implement new Vector tests using javaslang-test

See https://github.com/javaslang/javaslang/pull/1449/files/a16729b38937a33dda4798faf04f8bea145c8c9b#r71668086
I think it is not possible to have javaslang-test as Maven test-dependency within javaslang (core) because it will lead to a cyclic dependency. Moving javaslang-test into javaslang is also no option. Maybe we can create a separate Maven module that contains only tests - we will see...

Not possible to create that dependency. Adding additional modules is no option - it increases the complexity because of fragmentation.


UI Clean up Step 2

Context:
Currently Web3ModalFlutter relies heavily on WalletConnectModalFlutter package. We want to change that and completely decouple them both.
Since Web3ModalFlutter is going to be restyled with v3 designs this is a first step towards that direction.
Changes:

UI Clean up

Note: The PR points to an intermediate branch called feat/v3restyle as I will be adding breaking changes and we don’t want to break anything for devs that may be using the package. Once everything is done we will merge the intermediate branch with master
Final goal:

To have a completely independent Web3Modal package with it's own v3 design style

You are totally right @0xAsimetriq, no need for 1x anymore (old habits die hard 😅 ).

@quetool wdyt of adding the WalletConnect logo as SVG? in the future you'll probably need to change it's color if the user changes the theme color, maybe it's easier if you use an SVG

@ignaciosantise yes, totally, but in order to do that I first need to modify properly the QR Code library, which is a thirty party repository that I already forked.


disable layer3_underlay_builds

disable the build of layer3 underlays because this is a envrionment/usert specific thing
added some documentation which describes how to use layer3 / bgp-to-the-host node images
improved the documentation of the general installtion procedure

It seems there is an infrastructure problem on the Zuul nodes because the builds of node images work fine for me on my personal system but fail on Zuul for both currently open PRs.
Do we have a chance to test the build manually on the Zuul node or is there any idea why the following command cannot work?
subprocess.CalledProcessError: Command 'docker run --rm --net=host -v /home/zuul/src/github.com/osism/node-image:/work docker.io/library/osism-node-image-builder:latest-main bash -c "/work/contrib/image-create.sh -r -a -k -u /work/build/user-data-1.yaml -n jammy --destination ubuntu-autoinstall-1.iso  && chown -vR 1000:1000 *.iso"' returned non-zero exit status 32.