Rearrange package structure in preparation for new architecture

Builds off of:

https://github.com/OpenDevin/OpenDevin/pull/1479

This rearranges files in the opendevin/ directory in preparation for moving to a new architecture, as pictured below
All changes here are just to folder structure and imports, plus formatting changes enforced by the linter.
Here's the new folder structure, roughly
opendevin/
    __init__.py
    core/
        schema/
        logger.py
        exceptions.py
        config.py
        main.py
    server/
        mock/
    llm/
    controller/
        state/
    events/
        action/
        observation/
    runtime/
        sandbox/
        browser/
        utils/

Abandoned in favor of https://github.com/OpenDevin/OpenDevin/pull/1531


GoToDefinition opens new editor group

Even when navigating within a file, GoToDefinition opens a new editor group
My regular keybinding for "editor.action.goToDeclaration" or using >go to definition from the command pallet does not cause the behavior.

+1 this started happening for me after updating to June 2018 vscode.

FYI - I changed line 126 here by removing the optional '50' parameter and reloaded the extension and it goes to a new tab again - not a split editor:
~/.vscode/extensions/felipe.nasc-touchbar-1.11.0/extension.js
vscode.commands.executeCommand('vscode.executeDefinitionProvider',
            editor.document.uri,
            position
        ).then(result => {
            if (result[0]) {
                let found = result[0]
                var newPositionS = position.with(found.range._start.line, found.range._start.character);
                var newPositionE = position.with(found.range._end.line, found.range._end.character);
                var newSelection = new vscode.Selection(newPositionS, newPositionE);

                vscode.commands.executeCommand('vscode.open', found.uri, 50).then(result => {
                    var editor = vscode.window.activeTextEditor;
                    editor.selection = newSelection
                    vscode.commands.executeCommand('revealLine', {
                        lineNumber: newSelection.start.line,
                        at: 'center'
                    }).then(result => {
                    }, err => {
                    })
                }, err => {
                    console.log(err)
                })
            }
            return true
        })

@mattmiller85 - Would you consider putting up a PR for this extension? Hopefully the owner would take it and publish a new version

PR submitted - https://github.com/NascHQ/nasc-vscode-mac-touchbar/pull/19


Year drop-down should only show 2022 for block density

We don't have a time-series for block density.

I couldn't replicate, so let's close it for now.


[5.4] Stop using asset helper function inside mix helper function

Thanks

@themsaid Can I ask why this change was made? This is a breaking change, if you serve your app from a sub-folder. Will have to use {{ asset(mix(...)) }} now.

The breaking change was actually introduced in #19968, this reverts back to how it was working beforehand. You can see my comment in that thread about a use-case where assets aren't served from the same domain as the app. For most people serving assets from their root-level domain application it's not going to matter, but it gives people with slightly different requirements (yourself included) a little more flexibility.

Ah, I see. Thanks @dwightwatson


JUnit5 assertThrows EmailValidatorTest

Breaking out https://github.com/apache/commons-validator/pull/45 into separate pr's are it's hard to keep rebase these old changed.

@garydgregory Refactor to Java 8


Number of iframes

Since the number of tables in BIAD changes, we need a better way of including all the table iframes in BIADwiki/structure page.
Several possibilities:

Weekly R auto script to email the administrator if the number of iframes doesn't match the number of tables, so administrator can manually update the html
Combine all html outputs into a single html in a single iframe in BIADwiki/structure
auto update the BIADwiki/structure page with additional iframes accordingly.

I think 2. would be the easiest way. Combining all table as html in a broad html page wouldn't be to hard (don't know with gt but for sure with rmardkown/knitr that should be easy. And redirect to the page. I started looking at updating the wiki page  (so downloading, and uploading it through the REST API) but tbh that look more painfull...

Agreed! 1) A single combined.html. 2) Most of the content of tools can go in the .gitignore. BIADwiki.sh still needs to pull, but yes lets get rid of the push.


Change yearn api

ATM yearn's api is down because they have a dns issue with their main domain yearn.finance.
Once we check that their .fi is fine on staging, this is good to go to main

checked that it works fine on staging+local. Good to go. Just need to keep an eye on stability and whether we need to switch it out


Migrations

Add migration functionality including base class for migrations and migration manager that will apply registered migrations.
Add migration for transactions hashes

prnet cleaned-up successfully


Error: Not Found: The given solution unique name (Translations) is not valid

When i click save it throws that error "Error: Not Found: The given solution unique name (Translations) is not valid".
Browser:Chrome Version 85.0.4183.102 (Official Build) (64-bit)
Crm Version:  (DB <IP_ADDRESS>) on-premises
Picture:

The solution contains a config file oss_/XrmQuickEdit/config/XrmQuickEditConfig.js
Here is a solution defined which is used to add all components translated in the dashboard.

This solution needs to exist otherwise the logic cannot add the components to this solution.

Hi everyone,
@lar-mar: Thanks for catching up 👍
@fuattatar: I hope the fix described by @lar-mar helped you. In release v3.14.2 this default value is removed, should not be an issue on this version anymore.
I'll close this for now, please reopen if issues persist.
Kind Regards,
Florian


Added wkhtmltopdf to precip

As discussed in Reality this is going to need some work. It looks like Ubuntu's wkhtmltopdf package secretly depends on half the world including x server, which I really don't want to install. Instead, we should look at sorting out how to install a .deb by URL with Puppet, and pull the official 64bit statically-linked binary from wkhtmltopdf's official binary hosting at gna.org.

Closing in favor of #10.


compile

Are there any tutorials on how to compile this cheat map and use it? Or if you can explain.

Use VS2017 for usermode app and VS2015 for kernel driver.
If you cant link the libraries and/or can't set the include directories for the json and curl, you should go back to C++ basic tutorials.


It took me more than 30 seconds...

...because of my company poor connection 😬

:grinning: this is a very good one


Fixed a few instrumentation tests which were failing on the 5.0 genym…

…otion emulator

Looks good.


PCOV seems not installed on WINDOWS & PHP 8.0.1

https://github.com/paratestphp/paratest/pull/580/checks?check_run_id=1728163264#step:12:20
It seems to me a regression between 8.0.0 and 8.0.1 since it worked on 8.0.0:
https://github.com/paratestphp/paratest/runs/1638994212

Fixed in https://github.com/shivammathur/setup-php/commit/a83d4379b1200b3d0d19ad4fe0d7a440e00749c1

Fixed in https://github.com/shivammathur/setup-php/commit/a83d4379b1200b3d0d19ad4fe0d7a440e00749c1


Fix pod-to-pod test for IPv6 deployments

The original code constructed the curlCommand() argument as the concatenated string echo.Pod.Status.PodIP+":8080" (i.e. pod IP + port 8080).
This works for IPv4, but does not satisfy the IPv6 case in which curl requires that the host address is enclosed in square brackets (e.g. [2001:db8::abcd]:8080). In a v6-first-dual-stack or v6-only environment, this causes false-negative test results like the following (addresses have been replaced):
---------------------------------------------------------------------------------------------------------------------
🔌 [pod-to-pod] Testing cilium-test/client-58dfdc5f6-fkgxg -> cilium-test/echo-other-node-588bf78fbb-jfbbd...
---------------------------------------------------------------------------------------------------------------------
❌ curl connectivity check command failed: error in stream: command terminated with exit code 3
❌ [pod-to-pod] cilium-test/client-58dfdc5f6-fkgxg (2001:db8:0:0:3::1234) -> cilium-test/echo-other-node-588bf78fbb-jfbbd (2001:db8:0:0:4::abcd)

The exit code 3 (URL malformed) can be verified by exec'ing into the pod and running curl:
/ # curl 2001:db8:0:0:4::abcd:8080
curl: (3) URL using bad/illegal format or missing URL

I noticed that the pod-to-service test was not failing in a similar manner. This was because that test uses net.JoinHostPort() rather than string concatenation, and this does result in a properly bracketed IPv6 address.
This PR alters the pod-to-pod test to use the same approach as the pod-to-service test, fixing the IPv6 case.
Open questions: Should an IPv6 test be introduced into CI? It appears that this could be done with KIND so long as it is single-stack v6 (no dual-stack support in KIND at this time).

Given that the AKS/EKS/GKE failures all appear to be due to missing credentials, I don't believe this change would have influenced that - but if something in here is breaking those, I'll be happy to fix it.

Given that the AKS/EKS/GKE failures all appear to be due to missing credentials, I don't believe this change would have influenced that - but if something in here is breaking those, I'll be happy to fix it.

Accessing the cloud provider secrets currently required collaborator status so it's expected to fail for now.


Calling a value receiver method with a pointer type causes a panic when used through ExecuteActivity

Expected Behavior
The call to work like it does in usual go code. The inverse does work in temporal ie calling a pointer receiver with a value type does work.
Actual Behavior
Panic in the workflow
2023/02/13 08:16:28 ERROR Workflow panic Namespace default TaskQueue hello-world WorkerID<EMAIL_ADDRESS>WorkflowType Workflow WorkflowID hello_world_workflowID RunID 70d34349-a651-4924-b780-855af0c9ca6a Attempt 2 Error runtime error: invalid memory address or nil pointer dereference StackTrace coroutine root [panic]:
github.com/temporalio/samples-go/helloworld.Workflow({0x1038a6860?, 0x14000362a50?}, {0x140000b0050, 0x8})
        /Users/quinnklassen/Documents/Code/samples-go/helloworld/helloworld.go:23 +0xc4
reflect.Value.call({0x1037740a0?, 0x103896c28?, 0x104398108?}, {0x10357a176, 0x4}, {0x14000362a80, 0x2, 0x10?})
        /opt/homebrew/Cellar/go/1.19.3/libexec/src/reflect/value.go:584 +0x688
reflect.Value.Call({0x1037740a0?, 0x103896c28?, 0x1400016fd18?}, {0x14000362a80?, 0x140001fa1c0?, 0x20?})
        /opt/homebrew/Cellar/go/1.19.3/libexec/src/reflect/value.go:368 +0x90
go.temporal.io/sdk/internal.executeFunction({0x1037740a0, 0x103896c28}, {0x140001fa1c0, 0x2, 0x103e9faa0?})
        /Users/quinnklassen/go/pkg/mod/go.temporal.io/sdk@v1.21.1/internal/internal_worker.go:1729 +0x140
go.temporal.io/sdk/internal.(*workflowEnvironmentInterceptor).ExecuteWorkflow(0x140003a8320, {0x1038a66d8?, 0x14000374300}, 0x1400019c600)
        /Users/quinnklassen/go/pkg/mod/go.temporal.io/sdk@v1.21.1/internal/workflow.go:506 +0x14c
go.temporal.io/sdk/internal.(*workflowExecutor).Execute(0x1400029abc0, {0x1038a66d8, 0x14000374300}, 0x25?)
        /Users/quinnklassen/go/pkg/mod/go.temporal.io/sdk@v1.21.1/internal/internal_worker.go:780 +0x238
go.temporal.io/sdk/internal.(*syncWorkflowDefinition).Execute.func1({0x1038a6860, 0x140003628d0})
        /Users/quinnklassen/go/pkg/mod/go.temporal.io/sdk@v1.21.1/internal/internal_workflow.go:507 +0xd0

Steps to Reproduce the Problem
func Workflow(ctx workflow.Context, name string) (string, error) {
	ao := workflow.ActivityOptions{
		StartToCloseTimeout: 10 * time.Second,
	}
	ctx = workflow.WithActivityOptions(ctx, ao)

	var result string
	var a *ActivityStruct
	_ = workflow.ExecuteActivity(ctx, a.Activity, name).Get(ctx, &result)
	return result, nil
}

type ActivityStruct struct {
}

func (a ActivityStruct) Activity(ctx context.Context, name string) (string, error) {
	logger := activity.GetLogger(ctx)
	logger.Info("Activity", "name", name)
	return "Hello " + name + "!", nil
}

Specifications

Version: 1.21
Platform: M1 Mac

Yeah I agree we can't fix it, the best we can do is add a check to the workflow checker for this.

There is an alternative in that we may be able to support ActivityStruct.Activity

I actually like this approach because I see a lot users get confused about why they need to declare this empty struct when calling activities in a workflow. What are the other implications?

What are the other implications?

It is just a bit less clear to do with a pointer receiver. So we'll either have:

Use var a *ActivityStruct + a.Activity approach for pointer methods and ActivityStruct.Activity for non-pointer methods

or

Use (*ActivityStruct).Activity for pointer methods or ActivityStruct.Activity for non-pointer methods

But it's probably OK. Also, you'll have to have make some assumptions, because reflection won't be able to tell the difference between: func (ActivityStruct) Activity(context.Context) and func Activity(ActivityContext, context.Context) naively. You'll have to take the first param if it's not a context, check if there's a method of the same name, and maybe even use function pointer equality check to ensure it's a method and not a top-level function. But maybe you don't need to over-validate.


Add more Python examples for SenseVoice

The doc is available at
https://k2-fsa.github.io/sherpa/onnx/sense-voice/python-api.html#


Properties not properly serialized when serializing polymorphic types in a List

Given the following type structure:
public abstract class Setting
{
   public string Name { get; set; }
   public abstract string Kind { get; }
}

public class TextSetting : Setting
{
   public override string Kind => "text";
   public string Value { get; set; }
}

When putting these in a list:
settings = new List<Setting>()
{
    new TextSetting(){ Name = "Alpha", Value = "a" }
}

And serializing them to a output stream:
JsonSerializer.SerializeAsync(context.Response.Body, settings, resolver)

The output is:
[{"name":"Alpha","kind":"text"}]

But I expect it to be:
[{"name":"Alpha", "value": "a", "kind":"text"}]

When serializing one item:
JsonSerializer.SerializeAsync(context.Response.Body, new TextSetting(){ Name = "Alpha", Value = "a" }, resolver)

The output is correct:
{"name":"Alpha", "value": "a", "kind":"text"}

So there is definitely a issue within the serializer responsible for serializing iterable types and how it deals with its content.

maybe you use the
settings = new List<TextSetting>()
{
    new TextSetting(){ Name = "Alpha", Value = "a" }
}

it will get the correct value

I know, but we have several objects with several types derived from Setting in that list. :)
For now I solved this with a custom formatter, but life would become much more easier if Utf8Json could fetch all properties residing in the object hierarchy within its own formatter, especially for one-way scenarios (e.g. objects serialized to the HTTP response stream)

I had the same problem some days ago.
I was changing JSON.NET by UTF8JSON in a NopCommerce project, since I use Redis for cache, it was needed to refactor the RedisCacheManager class.
The problem appeared on CategoryService, that returns a IList<Category> with items of type CategoryForCaching, as you can notice, this class inherit from Category.
The Category class is used to transfer data between application and database using EntityFramework, to avoid save navigation properties on cache the CategoryForCaching class was created, since it will be a reference loop between objects.
After update the methods at RedisCacheManager, the exception throwed by CategoryForCaching navigation properties was being released and after tried to use the IgnoreDataMember attribute, the error was still happening, the problem took me some hours to be resolved.
The solution I found it was create a new IJsonFormatterResolver implementation to return a different resolver when the the implement the IEntityForCaching.
In JSON.NET when you have a collection, the serializer looks for all the visible properties in the class and you only need to do a custom resolver to deserialize the items, since it was not possible to know what the type it was used to generate the JSON.

I know, but we have several objects with several types derived from Setting in that list. :)
For now I solved this with a custom formatter, but life would become much more easier if Utf8Json could fetch all properties residing in the object hierarchy within its own formatter, especially for one-way scenarios (e.g. objects serialized to the HTTP response stream)

Hii @mindcrash ,
how did you implement a custom formatter to solve this issues.
I know this is an old thread, but I am learning about JSON serializers and I'd like to see you solution.
Thanks

I know, but we have several objects with several types derived from Setting in that list. :)
For now I solved this with a custom formatter, but life would become much more easier if Utf8Json could fetch all properties residing in the object hierarchy within its own formatter, especially for one-way scenarios (e.g. objects serialized to the HTTP response stream)

Hii @mindcrash , how did you implement a custom formatter to solve this issues.
I know this is an old thread, but I am learning about JSON serializers and I'd like to see you solution.
Thanks

Very simple thing:
public class PolymorphJsonFormatter<TBase> : IJsonFormatter<TBase>
    {
        public TBase Deserialize(ref JsonReader reader, IJsonFormatterResolver formatterResolver)
        {
            return formatterResolver.GetFormatter<TBase>().Deserialize(ref reader, formatterResolver);
        }

        public void Serialize(ref JsonWriter writer, TBase value, IJsonFormatterResolver formatterResolver)
        {
            JsonSerializer.NonGeneric.Serialize(value.GetType(), ref writer, value, formatterResolver);
        }
    }

Bzzzt.  None of these answers are correct for a polymorphic type.  If you have the following:
class Base
{
}

class Derived : Base
{
    int x;
}

If you try to serialize an object and it's acting as the base class at the point-of-call, the output is only Base.  If you serialize it as Derived, you get Derived properties.  Serialization depends on what type the object is at the point of call, which is wrong.
Derived msg = new Derived() { x= 3 };
string correct = Utf8Json.JsonSerializer.ToJsonString(msg);
string incorrect = Utf8Json.JsonSerializer.ToJsonString((Base)msg);

If you use the NonGeneric.ToJsonString(msg) version, it will work regardless of the type at point of call.  However, no matter how you serialize the properties, you never get any kind of TYPE information so the deserializer has no idea what type to create.  Unless the code just "knows" what type to create, all you can do is bring it in as some kind of dynamic object, then try to figure out what to cast it to.  I would say that polymorphism does not work with this package.
fastJSON does correctly handle polymorphism, but it's incredibly slow by comparison.  Spent a couple of days switching over, only to find out it doesn't work.  :-(


Update to enable admin edit links in extended gallery.

Fixes #4219
Wraps up adding the Admin edit links capability to the AJAX loaded in Reportbacks in the extended Prove It gallery when using the view more button.
@DoSomething/front-end
@angaither
CC: @mikefantini

:ship:


gnunet: 0.16.3 -> 0.17.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/gnunet/versions.
meta.description for gnunet is: "GNU's decentralized anonymous and censorship-resistant P2P framework"
meta.homepage for gnunet is: "https://gnunet.org/"
meta.changelog for gnunet is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.17.1 with grep in /nix/store/fk7zy7gksfrhbrhr8fjpygvlhzb1cwi6-gnunet-0.17.1
found 0.17.1 in filename of file in /nix/store/fk7zy7gksfrhbrhr8fjpygvlhzb1cwi6-gnunet-0.17.1

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

4 package rebuild(s)

4 x86_64-linux rebuild(s)
0 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
gnunet
gnunet-gtk
taler-exchange
taler-merchant

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/fk7zy7gksfrhbrhr8fjpygvlhzb1cwi6-gnunet-0.17.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A gnunet https://github.com/r-ryantm/nixpkgs/archive/ed7597f55eaeacab41357f1341e20c9282b5b2d3.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/fk7zy7gksfrhbrhr8fjpygvlhzb1cwi6-gnunet-0.17.1
ls -la /nix/store/fk7zy7gksfrhbrhr8fjpygvlhzb1cwi6-gnunet-0.17.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages failed to build:

taler-exchange
taler-merchant

2 packages built:

gnunet
gnunet-gtk

Maintainer pings
cc @pstn @vrthra for testing.

looks good. builds and runs without issues. no mentions of new dependency requirements in upstream changelog[0].
[0] https://git.gnunet.org/gnunet.git/tree/ChangeLog


Python type hints

Added type hints to functions and places which didn't have any

Fixed up the issue as I watched a tutorial


feat: support cloning over SSH via private key auth

Relates to https://github.com/coder/envbuilder/issues/31
Currently running into issues with testing end-to-end flow.
However, I've tested with a private git repo:
$ docker run -it --rm -e<EMAIL_ADDRESS>-e INIT_SCRIPT=bash -e GIT_SSH_PRIVATE_KEY_PATH=/.ssh/id_ed25519 -v /Users/cian/.ssh/id_ed25519:/.ssh/id_ed25519 envbuilder:latest
envbuilder - Build development environments from repositories in a container
ssh keyscan: github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=
#1: 📦 Cloning<EMAIL_ADDRESS>to /workspaces/test-private-devcontainer...
#1: Enumerating objects: 6, done.
#1: Counting objects:  16% (1/6)
#1: Counting objects:  33% (2/6)
#1: Counting objects:  50% (3/6)
#1: Counting objects:  66% (4/6)
#1: Counting obj
#1: ects:  83% (5/6)
#1: Counting objects: 100% (6/6)
#1: Counting objects: 100% (6/6), done.
#1: Compressing objects:  16% (1/6)
#1: Compressing objects:  33% (2/6)
#1: Compressing objects:  50% (3/6)
#1: Compressing objects:  66% (4/6)
#1: Compressing objects:  83% (5/6)
#1: Compressing objects: 100% (6/6)
#1: Compressing objects: 100% (6/6), done.
#1: Total 6 (delta 0), reused 6 (delta 0), pack-reused 0
#1: 📦 Cloned repository! [1.434724587s]

One potential issue for which I don't have a solution is that passing an SSH key in as a volume will result in the file being available in the resulting workspace. This may not be desirable; an alternative would be to pass in the SSH key as a base64-encoded file (similar to known_hosts) and clean it up after the build completes.
After this is merged, I'd like to do a follow-up PR to refactor some of the envbuilder setup code.

I've simplifed the logic by removing the need to parse the git URL at all and removing the known_hosts business; if folks need to validate host keys they can simply mount in a known_hosts file and set SSH_KNOWN_HOSTS.
I've also extracted the logic for setting up repo auth into a separate function and added dedicated tests for this.

Bonus points: SSH_AUTH_SOCK also works!
docker run -it --rm -e<EMAIL_ADDRESS>-e SSH_AUTH_SOCK=/tmp/ssh-Vsi58Zsh72/agent.1567 -v /tmp/ssh-Vsi58Zsh72/agent.1567:/tmp/ssh-Vsi58Zsh72/agent.1567 -e INIT_SCRIPT=bash envbuilder:latest
envbuilder - Build development environments from repositories in a container
#1: 📦 Cloning<EMAIL_ADDRESS>to /workspaces/test-private-devcontainer...
#1: 🔑 Using SSH authentication!
#1: 🔑 No SSH key found, falling back to agent!
#1: 🔓 SSH_KNOWN_HOSTS not set, accepting all host keys!
#1: 🔑 Got host key: github.com,<IP_ADDRESS> ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=


[ML][Pipelines] dsl.pipeline support pass non_pipeline_parameters

Description
Non-PipelineParameter is used for building pipelines dynamically. Parameter defined as Non-PipelineParameter must be a parameter of dsl.pipeline function, which controls how the pipeline is created, but will not exist as PipelineParameter in final submitted pipeline graph.
@dsl.pipeline(non_pipeline_parameters=["component_func"])
def pipeline_func(job_in_number, job_in_path, component_func):
    component_func1(component_in_number=job_in_number, component_in_path=job_in_path)
    component_func(component_in_number=job_in_number, component_in_path=job_in_path)

pipeline = pipeline_func(10, job_in_path, component_func)

All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-ai-ml


Cross platform

Let me know what you think. Any changes, fixes, or additions are welcome.
I chose to use C since it's more straight forward and the source didn't contain any pure C++ code (also, I don't have much experience with C++). This removes the C++ keywords from the equation when attempting to compile the code in pure C.
Theoretically, GCC can compile this as C or C++ even though I have not tested it. For windows, I used MinGW which is a tiny GCC tool kit for windows. MinGW is for Windows only and I figured it would be more practical than using a full on software suite for such a small and simple project. MinGW can be used to compile the source without any library dependencies.
I used only GCC to compile ALL the binaries on each system. The binaries should execute within their respective environments.

I am not familiar with os other than Windows. Is this folder /bin/cp-darwin13.4.0-x86_64.dSYM necessary for users and other developers? Or it is a temp directory?
Besides, there seems to be a long directory bin/cp-darwin13.4.0-x86_64.dSYM/cp-darwin13.4.0-x86_64.dSYM/cp-darwin13.4.0-x86_64.dSYM/cp-darwin13.4.0-x86_64.dSYM/cp-darwin13.4.0-x86_64.dSYM/cp-darwin13.4.0-x86_64.dSYM/Contents/.
Another problem I found is that, on my Windows platform, with the command = python {file} the package works fine, but there seems to be an error when I changed it to python -i {file}. (it won't occur in the current version)
I think we can deal with the new features and additions after we publish the cross-platform edition. There are many issues waiting for us.

bin/cp-darwin13.4.0-x86_64.dSYM/ is used for the debugging symbols on mac.
and i agree. im certain there are. i did my best to find the important ones first.

Besides, it's almost my exam week, and I might start working on a new version by mid July.

let me know. im working on a revised version on my down time. pretty much working from the ground up on this one. just as a FYI, not sure if the new version has gone out. i never changed the version tag. not sure if thats the problem. i do know that atom isnt recieving the update though.


Export Table Data (CSV => PostgreSQL) - Duplicate Create Table

I am not sure when, but I think this bug has been introduced with one of the last 2 versions of DBeaver.
Scenario:

I have a CSV file that I access via Flat/CSV Data Provider. Say it's called "Test.csv"
I select the CSV table and choose "Export Table Data" from the context menu.
I choose a PostgreSQL data base that already exists but with no table "Test"
When going through the expert until I can hit Finish, I choose to create a new table "Test".
When I now hit finish, DBeaver creates the table BUT just before the data is imported it seems to try to create the tale again and tells me that such a table "Test" already exists.

I am pretty sure that this went smoothly in former releases. But at least in 5.1.2 this bug appears.
Cheers from Germany

Sorry!
Apparently it was a maloperation on my part.
Everything works fine, so I close the issue!


Add data for onfullscreenchange event

This ought to already be covered by http://caniuse.com/#feat=fullscreen

Yup, already covered.


Update bootstrap

We are seeing bootstrap#10206 with the message download modal's message direction form field.

Ready for review.

:+1:

@hodgestar thanks, just noticed another broken thing, fixing.

Ready for re-review.
.list-group-item.active seemed to have stopped working for the 3.0 releases (or have been removed intentionally?). 3.3.5 (the most recent release in the ~3.0 range) seems to bring it back, and doesn't seem to break anything else, though it is likely that there are earlier versions that fix it.

Ok, actually ready for review now.

Left one question and restarted some Travis builds that failed for unrelated reasons. Otherwise looks good.

:+1:


[sc-63358] How to use Qiskit 1.0 with PennyLane

Title: How to use Qiskit 1.0 with PL
Shortcut: https://app.shortcut.com/xanaduai/story/63358/how-to-how-to-use-qiskit-1-0-with-pennylane

Nice work @isaacdevlugt! Just a general comment but I'd just like to highlight something that is distinctly neat about using PL over using Qiskit: You don't need to swap between Estimator and Sampler in order to get what you want.
E.g. in Qiskit if you had some circuit and you wanted both the expectation value and the counts (admittedly, this is a bit of a contrived example), you would need to initialize Estimator and Sampler, and then write a lot of repeated, syntactically complicated code (e.g. expval = estimator.run()[0].data.evs anyone?) to do so. In Pennylane? Easy as return qml.expval(obs), qml.counts(obs). Syntactic sugar like this is always nice IMO.

Okay this is interesting! I tried to get this to work, and you can actually extract more than just counts from Sampler:
from qiskit.primitives import StatevectorSampler

sampler = StatevectorSampler()

job_sampler = sampler.run([qc], shots=1024)
result_sampler = job_sampler.result()[0].data.meas.expectation_values(operators) # or call get_counts()

print(result_sampler)

[0.984375   0.96484375 0.96289062]

Okay this is interesting! I tried to get this to work, and you can actually extract more than just counts from Sampler:
from qiskit.primitives import StatevectorSampler

sampler = StatevectorSampler()

job_sampler = sampler.run([qc], shots=1024)
result_sampler = job_sampler.result()[0].data.meas.expectation_values(operators) # or call get_counts()

print(result_sampler)

[0.984375   0.96484375 0.96289062]

Previously you were working with SamplerV1, which didn't have this functionality. SamplerV2 has this functionality though so that's why you're seeing a difference.

We're nearly ready to :shipit:, just need to figure out that pesky figure alignment 🤔

Another question I have is about emoji in section titles.

I don't recall ever using this approach in PennyLane Demos. Am I missing something, @isaacdevlugt ?


Fill in Algorithms/Strings table

For problems without a solution, just Link the title, set difficulty, and set points.

Added titles for all problems, but they have no links


PUT returns an error and is required by MailChimp to (update or add unsubscribed user)

Hello I have talked to MailChimp guys and they told me we must use PUT call in order to subscribe ("returning") user, people that were once on the list but have unsubscribed.
The error I get when I make the PUT call is:
======================================
object(stdClass)#63 (5) {
["type"]=>
string(77) "http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/"
["title"]=>
string(18) "Method Not Allowed"
["status"]=>
int(405)
["detail"]=>
string(113) "The requested method and resource are not compatible. See the Allow header for this resource's available methods."
["instance"]=>
string(0) ""
}
======================================
I am trying to solve this on my own if I do I will post the answer here, but for now I could use some help thanks!

It's pretty hard to help with no clue of what you're trying to do, but I havn't had any issues using put, to a URL like lists/$list_id/members/$user_hash - it works as expected.

The one I am using and have downloaded from here does not Hash email and I think that is the problem.. I believe I have fixed it, I had to read trough the MailChimp docs

There's an example in the documentation showing how to create a subscriber hash. The documentation uses it for a patch request, but it's the same general idea.

yeah I just changed this and it works
$url = $this->api_endpoint.'/'.$method .'/' . md5($args['email_address']);
and that did it.. otherwise it failed every time.. I guess they changed the URL to require email to be included and hashed .. But you might want to look at your code as it didn't work for me with out that hash .. Thanks Jarlskov!


Stack Club Session, Friday December 7, 0900 PST

Hi @LSSTScienceCollaborations/stack-club
Hope you're having a good week! This Friday we'll be hacking on our projects as usual, but we can also do:

a bit of iteration on our holiday party plan (December 21, in two weeks time, will be the last Stack Club meeting of 2018, so we're looking to design a suitably celebratory session!)

some discussion of how we'd like to see the Stack Club develop in "Phase 3", winter/spring 2019.

We'll do 20 mins discussion of the above at the start, then a stand-up, then hack, then get back together to look at what we have made before we finish at 1100 PST.
See you Friday, on http://stanford.zoom.us/j/946390572 !
Phil, Greg & Alex
PS. @rmorgan10 I wasn't sure if you wanted to show your dataset inventory project progress this week or later on - let me know!

We will start in a few min.  --Greg, Phil, Alex


yarn didn't run any command

yarn run v1.12.3
node v10.14.2
npm 6.4.1
What is happening?
yarn didn't run any command and show this error
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

please open this issue with yarn


Visual Studio warnings (max_step_checker.hpp / sprintf)

  C:\devel\boost_1_64_0\boost/numeric/odeint/integrate/max_step_checker.hpp(72): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\devel\vinecopulib\build\vinecopulib.vcxproj]
  C:\devel\boost_1_64_0\boost/numeric/odeint/integrate/max_step_checker.hpp(104): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\devel\vinecopulib\build\vinecopulib.vcxproj]

HTH,
Sylwester

Do you still have the issue with the latest release version? If so, can you detail the steps for replication?

Hello,
I've not used VS for over a year and dont' have access to it right now,
but perhaps we could set up an Appveyor build to have a Windows CI and
expose such warnings?
Sylwester
On 15/04/2019 14:34, MagicTiger wrote:

Do you still have the issue with the latest release version? If so, can
you detail the steps for replication?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/boostorg/odeint/issues/20#issuecomment-483215681,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFeVeYvxV7sfNIhSiF5JmnXCwtipUVPks5vhGO4gaJpZM4NiInT.

https://github.com/boostorg/odeint/issues/37


Scaling issue in fedora Linux.

When I have installed application all things were good but after few days the UI of the application became very small automatically.
OS: Fedora 41
Default Scaling: 125%
Application Version: 1.4.2

@amir1376, This issue can be closed as completed.


[wip] enable addon manager

/assign @qiujian16

Thank you for working on this contribution to the backplane-operator! Given that this has an effect on the content of the MCE api the installer team may want to adjust how we handle the configuration. Is there a Jira epic associated with this work we can reference?

@JakobGray let me close this PR, we do not need a feature gate on backplane-operator so far. The related Jira is https://issues.redhat.com/browse/ACM-1717 FYI.


Error

getting a strange error when trying to unpack multiple files in a directory. Using single file names works fine though. Using the latest version of JRE 102 on windows 10. The source folder is on my desktop
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source)
at com.dexesttp.hkxpack.cli.commands.Command_unpack.extractFileName(Command_unpack.java:39)
at com.dexesttp.hkxpack.cli.commands.Command_IO.execute_single(Command_IO.java:70)
at com.dexesttp.hkxpack.cli.commands.Command_IO.execute(Command_IO.java:59)
at com.dexesttp.hkxpack.cli.ConsoleView.main(ConsoleView.java:17)

Although I don't know why the error happens exactly, it means that a file without an extension was trying to be converted.
As I said, it shouldn't happen - by that I mean a file without extension should never be matched for conversion in the first place.
If you could give me a list of every file you have in this directory, that would be a good start to debug it. I'll try to search for a possible cause on my side too. I'll also improve the error message to include the file name just in case.

I see. Oddly, I only had a single file on the folder. It was a vanilla .hkx file
The folder structure is set up like so
Desktop/HKXMainFolder/Havok/Idle.hkx
I also have an out folder in the main directory
Desktop/HKXMainFolder/Out/Havok
Finbaly, not sure if it helps,  but this same setup used to work perfectly on my windows 7 PC. My is crashed and I reinstalled Windows 10 instead. Then re-download the jar files and setup the fipenstructure exactly the same way, and now for some reason the batch convert doesn't work.

Apologies for the typos, responding from my phone

Oh and I should add that the exact same file converts fine when I use the single file conversion and just add the exact filename

Hmm... Weird. I think there's an hidden file somewhere that somehow passes the detection phase.
Could you try with the version I attached ? It has the latest error message and should allow you to see why the error happens.
hkxpack-cli.zip

Yes will do right now

hmm...now im not getting an error at all...BUT there is no file in he output folder

I tired adding the -V modifier and still got nothing, no error no report etc.
I also tried adding the -o modifier and specifying a specific output folder like so
java -jar hkxpack-cli.jar unpack C:\Users\Admins - Desktop\Desktop\hkx\Havok -o C:\Users\Admins - Desktop\Desktop\hkx\out\Havok

Wonder if it could be because my user profile is "Admins - Desktop"
Maybe it doesn't like the hyphen or the spaces?

Nothing is really weird though, you should at least get a message with the number of files detected.
Does the single-file command still works ?
Maybe that's the reason, i'll try some things to see if that's it.

yes the single file command does still work. The only difference is that the single file needs to be in the same folder as the jar file, where the multi file command in the past didn't need to be in the same directory. I can try to see if the putting the file in the main directory with the jar files and using the multi-file command helps.

unfortunately its the same result when placing the file in the main directory as well.
the file is is C:\Users\Admins - Desktop\Desktop\hkx
and I am using the following command
java -jar hkxpack-cli.jar unpack C:\Users\Admins - Desktop\Desktop\hkx\Havok
just as a sanity check
by the way, thank you so much for your help on this. I really appreciate you being so responsive you are awesome!

No problem :)
Hmm... You'll need some quotes around your path because it has spaces, so like java -jar hkxpack-cli.jar unpack "C:\Users\Admins - Desktop\Desktop\hkx\Havok".
I've managed to get some errors on my side with this kind of syntax, and I'm doing some tests.

AHH that did it!
Is that syntax common knowledge? I had no idea that was the case. Im sorry if it is...oh boy that is on me

It's not that common, but it's good to know :)
Well, if that solved the problem then I guess that's OK :) At least now the error messages should be a bit more explicit.

Well when i didnt have the quotes it didnt seem to give me any message at all.
With the quotes it displays [INFO] Detected 1 files to handle.
So its working perfectly now. I'm sad to say I regularly use command line in my day job, and I had no idea adding quotes to a path with spaces in it was necessary. I feel pretty dumb lol
Maybe you could add it to he instructions on the main page for dummies like me, although I prob should have known this.
thanks again for all of your help!

Nice to know it's working ! I'll add a note to the main page.
No problem, that was fun to do :)

Thanks again :)


Cannot evaluate dfx function

Description
The dfx expression did not work: \int_1^8\!5\,\mathrm{d}x
Steps to Reproduce

(Required) Provide steps that are specific and repeatable

Add expression: \int_1^8\!5\,\mathrm{d}x to a math field
Using CE to evaluate the value: const expr = expression.N()
Try to get the value as below:

const expr = expression.N();
console.log("expr.toString()", expr.toString());
if (expr.numericValue) {
    return `${expr.value}`;
} else {
    return "unknown-error";
}

Actual Behavior

(Required) What happened when you followed the steps above?

I got: Uncaught Error: Symbol cannot be defined: no scope available
Expected Behavior

(Required) What did you expect to happen instead? It may be obvious to you what should have happened, but if you don't state it explicitly it may not be obvious to others.

There should be no error and the result should be 35.
Environment
MathLive version : 0.9.6
Operating System _macOS, Android
Browser Chrome/Webview
P/s: The problem gone if I only use this one: \int_1^85

The actual expression is \int_1^8\!5\,\mathrm{d}x. Two backslashes character were missing.

@arnog well, even with your expression above, I still got exception: Uncaught Error: Symbol cannot be defined: no scope available (the expression was valid: expression.isValid true)


Renderers' render transform param should be a Matrix, not Transform

Fixes #5053, incorrect docs for render on CanvasRenderer and WebGLRenderer. The transform param should be a PIXI.Matrix, not PIXI.Transform.

good reaction


Error cloning Git repository: "Could not find origin/master"

Expected Behavior
Cloning a Git repository from AWS CodeCommit works.
Actual Behavior
We're using a privat Git repository on AWS CodeCommit, all right's granted for the developer account to the repository. When trying to clone an existing repository, the error occurs: "Could not find origin/master" and the master branch does clearly exist in the repository.
Also, when using "main" instead of "master" as default branch name, the error occurs: "Could not find origin/main".
Reproduction Steps

Create a fresh Design Document
Click on the button "Setup Git Sync"
Enter the HTTPS Git URI from AWS CodeCommit and the AWS CodeCommit credentials
Wait … after a few seconds the error message "Could not find origin/master" pops up

Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
We tried using an existing AWS CodeCommit Git repository, which works well outside of Insomnia. We double checked the access rights of the developer account and the access to the CodeCommit Git repository but could not get it working with Insomnia.
We tried using a brand new, empty Git repository on AWS CodeCommit which worked fine first! We could commit, push and see the Insomnia data of the Design Document in the repository. When removing the Git repository and re-adding it to the Design Document the error reoccured: "Could not find origin/main". So, it seems that it only works with an empty, untouched Git repository on AWS CodeCommit.
The stack trace from the Dev Tools:
13:00:58.109 › [git-event] Auth Success: https://git-codecommit.**-****-*.amazonaws.com/v1/repos/****************
13:01:01.860 › [git-event]
13:01:01.861 › [git-event] Counting objects: 0
13:01:01.862 › [git-event] Counting objects: 2
13:01:01.863 › [git-event] Counting objects: 2
13:01:01.863 › [git-event] Counting objects: 2, done.
 13:01:01.870 › [ErrorModal] NotFoundError: Could not find origin/main.
    at Function.resolve (/Applications/Insomnia.app/Contents/Resources/app.asar/node_modules/isomorphic-git/index.cjs:1840:11)
    at async _checkout (/Applications/Insomnia.app/Contents/Resources/app.asar/node_modules/isomorphic-git/index.cjs:5631:11)
    at async _clone (/Applications/Insomnia.app/Contents/Resources/app.asar/node_modules/isomorphic-git/index.cjs:7723:5)
    at async Object.clone (/Applications/Insomnia.app/Contents/Resources/app.asar/node_modules/isomorphic-git/index.cjs:7821:12)
    at async shallowClone (bundle.js:421829:3)
    at async GitRepositorySettingsModal.onSubmitEdits [as _onSubmitEdits] (bundle.js:422122:13)

Insomnia Version
2022.2.1
What operating system are you using?
macOS
Operating System Version
macOS Monterey 12.3
Installation method
Download from website
Last Known Working Insomnia version
No response

Hi @akamola, thank you for reporting this!
Indeed I was also able to reproduce this, there seems to be some problem on Insomnia when cloning an AWS CodeCommit git repository that already has commits made to it.

Logs:
12:10:41.448 › [git-event] Using basic auth credentials
12:10:41.793 › [git-event] Auth Success: https://git-codecommit.eu-west-1.amazonaws.com/v1/repos/example-insomnia
12:10:45.483 › [git-event]
12:10:45.484 › [git-event] Counting objects: 0
212:10:45.484 › [git-event] Counting objects: 38
12:10:45.485 › [git-event] Counting objects: 38, done.

12:10:45.702 › [git-event] Using basic auth credentials
12:10:46.046 › [git-event] Auth Success: https://git-codecommit.eu-west-1.amazonaws.com/v1/repos/example-insomnia.git
12:10:48.681 › [git-event]
212:10:48.683 › [git-event] Counting objects: 38
12:10:48.683 › [git-event] Counting objects: 38, done.

This might need some more investigation, but I suspect it might be something to do how CodeCommit handles pulling remote branches and git remotes, as like you mention, when using the repository in regular ways directly with git I'm able to pull and push just fine:
Enumerating objects: 1, done.
Counting objects: 100% (1/1), done.
Writing objects: 100% (1/1), 188 bytes | 188.00 KiB/s, done.
Total 1 (delta 0), reused 0 (delta 0), pack-reused 0
To https://git-codecommit.eu-west-1.amazonaws.com/v1/repos/example-insomnia
   b2e29c4..872738e  master -> master


Max lenght of the movies limited to 16 seconds/220 frames?

I love your program a lot but i wonder, if there is a hard limit of 220 frames in total? i cant seem to get more to generate....

as you can see the config should include up to over 1000 frames....

Can you explain the -L parameter?  For example if I have these prompts
"0":  "red paint splashing",
"50":  "orange paint splashing",
"100":  "yellow paint splashing",
"150":  "green paint splashing",
"200":  "blue paint splashing",
"250":  "indigo paint splashing",
"300":  "violet paint splashing"

and I set the length to 350.  Then when I start running it shows 750 total frames being calculated.  In that case I want the last prompt to last another 50 frames.  What settings do we need to use for that?

Are you talking about the numbers in the progress display?
That number is a value that has nothing to do with the number of frames. It is a unit of internal processing.

Are you talking about the numbers in the progress display? That number is a value that has nothing to do with the number of frames. It is a unit of internal processing.

Yes, thanks, I worked that out after I posted.  Output movies total frames match the -L length parameter.


DXVK 2.0 crash with 20XX game (Epic)

Using DXVK 2.0 with 20XX game makes it crash. If I use wine d3d implementation game boots normally (although I have missing textures).
Game needs d3dcompiler_47 to run
Software information
Game: 20XX
default settings
System information

GPU: NVIDIA GTX 1070
Driver: 525.60.11
Wine version: tried with Staging 7.22 and 7.20
DXVK version: 2.0 (as used by Heroic games launcher 2.5)

Log files
20XX_d3d9.log

Looking at ff xiv bug, using d3d9.textureMemory = 0 make the game work.

Try with latest master. There have been a fix to a potential crash with d3d9.textureMemory after the release of 2.0
You can grab a build here https://github.com/doitsujin/dxvk/actions/runs/3564902601

No dice. Same crash.

Try to make a apitrace of the game. https://github.com/doitsujin/dxvk/wiki/Using-Apitrace
Either without dxvk or if with dxvk then together with d3d9.textureMemory = 0

current dxvk (crash)
20XX.trace.tar.gz

Trace with textureMemory=0
https://drive.google.com/file/d/1euWIgWSShp8uptzSih4QIlGoU4uPdRNY/view?usp=share_link

Thank you. The issue reproduces in the trace :+1:


In Votigram, if vote options has url but hasn't summary, didn't display 'Show details' button

Description
In Votigram, if vote options has url but hasn't summary, didn't display 'Show details' button
Steps To Reproduce

Enter Votigram page
Check options

Current Behavior

These options have url, but didn't display 'Show details' button

Expected Behavior

If vote options has url but hasn't summary, should display 'Show details' button. Click 'Show details' button, display 'open' button

Environment

Platform: PC
Node: v18.18.0
Browser: Chrome 126.0.6478.56

fixed confirm


Batch Solving in cupy.linalg.eigh

The interface to numpy's hermitian eigenvalue solver numpy.linalg.eigh may accept an (n, m, m) array for batch calculations.  CuSOLVER has the corresponding functions cusolverDnSsyevjBatched, cusolverDnDsyevjBatched, cusolverDnCheevjBatched, and cusolverDnZheevjBatched.  It seems like it would be a good idea to generalize cupy's interface to match what numpy has.  I have never contributed to cupy, but have made similar changes to a julia GPU library.  Is this a good feature to add and would this be a good first time PR for me to make?  I have a need for a function like this and so I have some motivation to get it done.

I would find it useful.
The cuSOLVER functions could be added to the existing ones in cupy/cuda/cusolver.*. There is some precedence for other batched functions there.
It actually looks like we don't currently have the non-batched syevj versions either and are using the syevd solver instead. I had to look up in the NVIDIA docs to remember the difference between syevd and syevj:

"syevj has the same functionality as syevd. The difference is that syevd uses QR algorithm and syevj uses Jacobi method. The parallelism of Jacobi method gives GPU better performance on small and medium size matrices. Moreover the user can configure syevj to perform approximation up to certain accuracy. "

We welcome contribution for this feature.
Steps:

add implementation in cupy.cuda.cusolver
add implementation in cupy.cusolver
use cupy.cusolver in eigh

See https://github.com/cupy/cupy/pull/3247 which would be an example for 1 and 2.
For record: cusolverDnSsyevjBatched, cusolverDnDsyevjBatched, cusolverDnCheevjBatched, and cusolverDnZheevjBatched are first available in CUDA 9.0

Thanks!  I will take a look at it over the weekend.

@electronsandstuff FYI, @dmargala just contributed cusolverDn<t>syevjBatched implementation in #3488.

That should make this addition easy.  I changed the cupy.linalg.eigh unit test to check for batched eignsolving, but I suppose that I will wait until #3488 is merged before moving on.

Hi! I already have a personal code that extends CuPy to calculate eigh with syevjBatched.
@electronsandstuff If you like, I will make a PR to merge my code after #3488 is merged.

Sweet!  If you have some code already written, then it's all yours.

This can be closed.


BUG: Adding Hover Effect in the Rate Us page buttons.

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
@anuragverma108 For Adding the Hover Effect in the ( submit rating) button & Home button at the leftmost corner of the page. Kindly assign me the task. Thank You
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Message me on Discord - anuragverma_108
I want to discuss something to change UI of this Rate Us Page.

I would like to work on this project. I'm GSSOC 24 Contributor. Please assign it to me.

i want to work on this issue
please assign me

@Lakshmi060 @souravgope
Issues are assigned on a first-come, first-served basis. If a contributor doesn't contribute within 1 week, it will be reassigned to the next person who requested it. You can wait or find another bug/feature to contribute to. Thank you!

I am interested to do this task , please assign me


Update package.json to allow webpack bundling

We released a new version of the NS webpack plugin NS webpack plugin recently.  That change is necessary for all NativeScript plugins to be compatible with it. The .js extension of the main property in the package.json should be removed. That way, webpack will be able to correctly reference the android or ios main file.
Check out the Webpack article in the NativeScript  documentation.

Closed with 700063605a7652aaa4f379177783c035f4e91c62. Thanks!


formatMathCalloutType not working

I've polluted the master branch with a serious bug...

and now it works just fine... what is this??
I'll reopen if this happens again


Camera2D offset issues

Operating system or device - Godot version:
Windows 10 - Godot c798ff1
Issue description (what happened, and what was expected):
All specific offset methods do nothing.
set_offset(Vector2(10, 10)) # changes offset to Vector2(10, 10) - Ok
set_v_offset(5) # does nothing
set_h_offset(5) # does nothing
get_v_offset() # returns 0
get_h_offset() # returns 0
get_offset() # returns Vector2(10, 10) - Ok

The specific offset functions actually do something different than set/get_offset. The latter offset the displayed region relative to the camera2D's origin. The former ones however seem to relatively shift the screen around the origin of the offset camera view (which is the position of the camera2D node + the normal offset), considering screen size. They only work if the camera is in ANCHOR_MODE_DRAG_CENTER mode. So these function can move the "center" of the camera view to another point of your game window, if I read the source correctly (didn't test it, just looked at it).
It seems like that is more a problem of badly named methods and lack of documentation than a an actual bug.

First of all thank you for your report and sorry for the delay.
We released Godot 3.0 in January 2018 after 18 months of work, fixing many old issues either directly, or by obsoleting/replacing the features they were referring to.
We still have hundreds of issues whose relevance/reproducibility needs to be checked against the current stable version, and that's where you can help us.
Could you check if the issue that you described initially is still relevant/reproducible in Godot 3.0 or any newer version, and comment about it here?
For bug reports, please also make sure that the issue contains detailed steps to reproduce the bug and, if possible, a zipped project that can be used to reproduce it right away. This greatly speeds up debugging and bugfixing tasks for our contributors.
Our Bugsquad will review this issue more in-depth in 15 days, and potentially close it if its relevance could not be confirmed.
Thanks in advance.
Note: This message is being copy-pasted to many "stale" issues (90+ days without activity). It might happen that it is not meaningful for this specific issue or appears oblivious of the issue's context, if so please comment to notify the Bugsquad about it.

Yeah these properties are just very poorly named. I already recorded these in #16863

Closing as superseded by #16863.


Synthesis failed for Google.Cloud.Kms.V1

Hello! Autosynth couldn't regenerate Google.Cloud.Kms.V1. :broken_heart:
Here's the output from running synth.py:
Cloning into 'working_repo'...
Switched to a new branch 'autosynth-Google.Cloud.Kms.V1'
Cloning into '/tmpfs/tmp/tmp8hxlt96p/googleapis'...
Note: checking out '88316b63a486002727e14032d104690541179fc9'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 88316b63a Generated synth.py files with multiple commits enabled
Note: checking out '7be2811ad17013a5ea24cd75dfd9e399dd6e18fe'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 7be2811a fix: Update gapic-generator version to pickup discogapic fixes
Switched to a new branch 'autosynth-Google.Cloud.Kms.V1-2'
Running synthtool
['/tmpfs/src/git/autosynth/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-03-30 07:24:50,068 synthtool > Executing /tmpfs/src/git/autosynth/working_repo/apis/Google.Cloud.Kms.V1/synth.py.
Contents of preconfig file:
{"preclonedRepos": {"https://github.com/googleapis/google-cloud-dotnet.git": "/tmpfs/src/git/autosynth/working_repo", "https://github.com/googleapis/googleapis.git": "/tmpfs/tmp/tmp8hxlt96p/googleapis"}}Extracted repo location: /tmpfs/tmp/tmp8hxlt96p/googleapis
generateapis.sh: line 40: declare: GOOGLEAPIS: readonly variable
2020-03-30 07:24:50,116 synthtool > Failed executing /bin/bash generateapis.sh --check_compatibility Google.Cloud.Kms.V1:

None
2020-03-30 07:24:50,118 synthtool > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/tmpfs/src/git/autosynth/working_repo/apis/Google.Cloud.Kms.V1/synth.py", line 22, in <module>
    hide_output = False)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('/bin/bash', 'generateapis.sh', '--check_compatibility', 'Google.Cloud.Kms.V1')' returned non-zero exit status 1.
Synthesis failed
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/git/autosynth/autosynth/synth.py", line 482, in <module>
    main()
  File "/tmpfs/src/git/autosynth/autosynth/synth.py", line 334, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/git/autosynth/autosynth/synth.py", line 429, in _inner_main
    branch,
  File "/tmpfs/src/git/autosynth/autosynth/synth.py", line 135, in synthesize_loop
    metadata_path, extra_args, deprecated_execution, environ, synthesize_py_path,
  File "/tmpfs/src/git/autosynth/autosynth/synth.py", line 278, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/git/autosynth/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:


[Java] Remove flight-core extra shaded jars

Describe the bug, including details regarding any error messages, version, and platform.
Following discussion at https://github.com/apache/arrow/pull/43139#discussion_r1664949913, removing extra shaded jars generated by flight-core module as they are not JPMS compatible
Component(s)
Java

Issue resolved by pull request 43224
https://github.com/apache/arrow/pull/43224


[BUILD]Install Dependencies: TBB, boost

Environment
Operating System: (e.g. Windows 2019, macOS-10.15, Linux CentOS 7.4)
Version / Commit SHA: (e.g VDB 7.2, SHA: 1a2b3c4d5e...)
CMake Version: (e.g. 3.18)
Compiler: (e.g. gcc 10, msvc 2019)
Describe the problem
(A clear and concise description of the encountered issue.)
To Reproduce
Steps to reproduce the behavior:

Checkout repo '...'
Run CMake '....'
Build with '....'
See error

Additional context
(Add any other context about the problem here.)
Install the newest TBB:
git clone https://github.com/wjakob/tbb.git && cd tbb && cd build && cmake .. && make && sudo make install
Install boost>=1.70

I'm not sure what this issue is describing. Can you explain the problem?

Sorry that it was the wrong operation to open this issue. I will close it, thanks.


Collapse cells

This might be useful for hiding away some of the implementation, especially those not directly related with the training/model creation. Maybe having the option of collapsing selected cells by default would be useful too?

At first I am a :-1: on collapsing cells, however I will be glad to discuss this. Does anyone have examples of where it would be really beneficial to have some cells collapsed?

I agree with @josevalim. The use case I can think of is when the cell result value is huge and the inspect takes much space, but in that case you can simply have :ok in the last line to suppress the output. This way it's nicely reproducible when sharing and will be quite important once we start exporting notebook with outputs.

I might be using the term "cells" wrong but here is what I noticed when I was working with livebook earlier. I have this code that preprocesses the training dataset:

It takes more space than the screen height, and it might be an inconvenience to those who I share it to. Although it's not a huge problem. Would the ability to collapse the code section help with this, or maybe there's a better way?

In that case personally I suggest to limit visible LOC to 20-30 in livebook and make it scrollable. Here I choose max number of 20-30, because we should avoid writing longer functions. Since it's intended to typically write a code snippets then I guess that the typical max function length is best for us. For those who need or want to write a whole module scroollable content should be fine.

@imsekun thanks for the example, it really helps move the discussion forward. :heart: FWIW, I think you were using the term cells correctly.
I have checked Google Colab and they do not collapse the text editor in any way, so I am thinking we shouldn't either. If we are looking at it like a book/notebook, then all of the code should be shown contiguously too. If you print or access the underlying livemd file, there is no collapsing either.

I personally think folding sections is reasonable - atleast for editing reasons. However, the overview section to the left, is essentially all sections folded, so even folding sections is not really needed. However, folding cells is a big NO.

Does anyone have examples of where it would be really beneficial to have some cells collapsed?

Just to chime in late with a use case, I am using livebook to scope out APIs and it's working marvellously. Some of the responses are large amounts of XML which I provide snippets of in the livebook, collapsing these sections would be a lot neater - allowing the reader to look at the snippets only if they need to.

I am having a similar issue where I want to embed a test file with some constants and current I inline it in the code. But maybe the solution is to allow some sort of embeddings. I could read it from the file system inside the code cells but then the notebook wouldn't be reproducible.

Monaco allows for collapsing source code based on indentation, like this:

Naturally this state is not persisted, but just pointing out for the record.

I want fold away markdown cells, I have a few that contains a lot of text and causes me to scroll a lot when I'm jumping around my code cells.

Let's break it down:

I am ok with collapsing markdown cells, as long as the information is not persisted nor replicated over the wire

I don't think code cells should be collapsed for the reasons above and there is already features inside the editor to collapse certain delimiters. If certain delimiters are missing, then we can add them.

The output already has a maximum vertical limit, so we should be good.

TL;DR - we can collapse markdown cells. @jonatanklosko, do you think this is doable? If so we can open up a separate issue.

Sure, we can do that, it's mostly a matter of figuring out the UI. Though generally I think collapsing sections may be more intuitive and useful when working on a large notebook. FTR here's how Collab does it:

The persist the foldings as well.

One thing to note is that colab can afford to collapse code because it is running on the cloud anyway. The issue with hiding code for shared notebooks running locally is the blind execution of code aspect. :)

Yeah, but either collapsing we do we can keep local to the user anyway.

I would expect collapsing to be local to "my session". That is if I fold one cell/section/block it will not fold for my colleague that is working in the same notebook.
I think it would also be fine if the folding is lost if I close my browser tab.

Right! Code folding is also local and we can already fold code, so it may make sense to fold markdown cells. Folding sections I am not so sure because we have the section navigation?

Thinking about it it's also worth pointing out that you can collapse markdown:

     Open me

😺

By doing this:
<details>
  <summary>
     Open me
  </summary>

  😺
</details>

Hi, I'm sorry to bring up a closes issue that is a year old.  I've been trying to force myself to integrate Livebook into my workflow recently, and I've been doing so by trying to complete this year's Advent of Code programming challenges within Livebook.
I absolutely see the value in giving the user the option to collapse a Cell.  And I wouldn't even be upset if that collapse did not persist through page reloads.  I've had one input text that was 2000 lines long, but most are just generally large like 100+ lines.  But I like to copy of the text of the problem as markdown, format it nicely and then I've been finding that I want to refer back to the problem statement and I have to scroll this massive input that I mostly don't care about.
I realize I could write the input to a separate file, but then the Livebook is no longer self-contained.  And I've wanted to share my Livebook with my friends/coworkers so it's nice to take advantage of how Livebook is just a single file.
Anyways, I'm still loving Livebook.  Thank you for all of the work that you've put into this🙏

There is a Zen mode which I found by accident. One of the buttons on the bottom right where the save button is. It hides all markdown :)

You can use Kino.Input.textarea("Your input") to render an input field which you can resize. This way you don't have to put the input on the code and it works as a nice prompt if you want to share notebooks.

You can use Kino.Input.textarea("Your input")

But then my inputs aren't saved with the file, right?  I can still see use cases where I want to include datasets for processing in the Livebook that may be large-ish like JSON objects, YAML files or just maps/structs with a lot of data.

I'm trying to use Livebook as BI tool in my company.
Then elixir codes above the graph(result of BI tool) give us bad experience because my teammates don't want to see long codes.
Like setup cell, just hiding long code can be very useful.

We are going to work on a sharing mode, which is perfect for use cases like yours @nallwhy. This way they won't have access to the code, even if they wanted. :)

We are going to work on a sharing mode, which is perfect for use cases like yours @nallwhy. This way they won't have access to the code, even if they wanted. :)

Sharing mode sounds awesome!  But that doesn't address our use case where the elements in the cells are important to be shared but as a viewer of the Livebook I just want to temporary hide it from view to focus on other things.
You had suggested using Kino.input, and funnily enough I just came across your livebook repo (🙏Thank you for sharing these) that includes AoC solutions from last year.  I think this demonstrates my problem with this suggestion, though.  Unless I watch your stream, pause it and try to transcribe your particular input I'm kind of SOL.
Here's an example of the Livebooks I've been creating, where I include the inputs for posterity: https://gist.github.com/iautom8things/f427f473ce6be725ba5fadc4033e9762
I realize this is just a simple example of sharing solutions for a yearly code challenge.  But I'm trying to see where Livebook can fit in at work, and we work a lot with large YAML files that are important to read/edit at times.  I see this need to collapse cells would remain.

There are still no plans to collapse code cells for now. Regarding using the notebooks without the inputs, one option is to use the "demo" input given by AoC as the default of Kino.Input. Something like this:
Kino.Input.textarea("Input", default: """
...
""")

This way the notebook is usable for people trying it out without encoding large inputs.
Something else you could do is this:
input =
  if :collapsable do
    """
    ...
    """
  end

I.e. you wrap it in a do-block then you can collapse the block. I will make it so input = followed by new line is enough to collapse heredocs too.


Add a new templet to this project

I want to add a new templet (Fitness theme templet) to this project under GSSOC.

@ayushim13 Add ss or Video in your issue!


RethrowPolicy is not logging exceptions, unlike ErrorPolicy

The following error is not logged to the log file, but only shows in stdout (probably because of GHC top level error handler):
cardano-node: ExceptionInLinkedThread "ThreadId 47" (ApiMisuse (ClosedDBError (Just (FsError {fsErrorType = FsDeviceFull, fsErrorPath = /mnt/HC_Volume_17016868/cardano-node/blocks/volatile/blocks-7685.dat, fsErrorString = "No space left on device", fsErrorNo = Just (Errno 28), fsErrorStack = CallStack (from HasCallStack):
  prettyCallStack, called at src/Ouroboros/Consensus/Storage/FS/API/Types.hs:297:23 in ouroboros-consensus-<IP_ADDRESS>-3e0c35ca6cdc55ae943ecbdd5636e68d9b1f1e912253d8a7ff6d1af1a76dd0d5:Ouroboros.Consensus.Storage.FS.API.Types
  ioToFsError, called at src/Ouroboros/Consensus/Storage/FS/IO.hs:88:41 in ouroboros-consensus-<IP_ADDRESS>-3e0c35ca6cdc55ae943ecbdd5636e68d9b1f1e912253d8a7ff6d1af1a76dd0d5:Ouroboros.Consensus.Storage.FS.IO
  handleError, called at src/Ouroboros/Consensus/Storage/FS/IO.hs:84:23 in ouroboros-consensus-<IP_ADDRESS>-3e0c35ca6cdc55ae943ecbdd5636e68d9b1f1e912253d8a7ff6d1af1a76dd0d5:Ouroboros.Consensus.Storage.FS.IO
  rethrowFsError, called at src/Ouroboros/Consensus/Storage/FS/IO.hs:54:39 in ouroboros-consensus-<IP_ADDRESS>-3e0c35ca6cdc55ae943ecbdd5636e68d9b1f1e912253d8a7ff6d1af1a76dd0d5:Ouroboros.Consensus.Storage.FS.IO
  hPutSome, called at src/Ouroboros/Consensus/Storage/FS/API.hs:103:5 in ouroboros-consensus-<IP_ADDRESS>-3e0c35ca6cdc55ae943ecbdd5636e68d9b1f1e912253d8a7ff6d1af1a76dd0d5:Ouroboros.Consensus.Storage.FS.API
  hPutAllStrict, called at src/Ouroboros/Consensus/Storage/FS/API.hs:280:19 in ouroboros-consensus-<IP_ADDRESS>-3e0c35ca6cdc55ae943ecbdd5636e68d9b1f1e912253d8a7ff6d1af1a76dd0d5:Ouroboros.Consensus.Storage.FS.API
  hPutAll, called at src/Ouroboros/Consensus/Storage/VolatileDB/Impl.hs:366:39 in ouroboros-consensus-<IP_ADDRESS>-3e0c35ca6cdc55ae943ecbdd5636e68d9b1f1e912253d8a7ff6d1af1a76dd0d5:Ouroboros.Consensus.Storage.VolatileDB.Impl, fsLimitation = False}))))

The node is configured with EnabledP2P: true.
RethrowPolicy are different in that matter to ErrorPolicies.  The former don't log exceptions, while the latter do.
We can either:

declare that RethrowPolicy should not log exceptions as this will duplicate error messages in many cases. For example exceptions thrown by any mini-protocol are logged by ConnectionHandlerTracer (which is part of ConnectionManagerTracer).  Thanks to that runRethrowPolicy is a pure function.
make runRethrowPolicy an effectuful function, which log exceptions.

The advantage of the latter approach is that:

we don't miss errors like the above (which is thrown not from a connection thread), but somewhere from consensus code which is using RethrowPolicy (this is also easy to fix on the consensus side)
we have one tracer which logs all important errors. This can be turned on by default (or not even configurable!).

I looked more closely into this, it seems for me that the consensus needs to install a handler which logs exceptions thrown by this code.
On the networking side we can wrap the exceptions we rethrow in a wrapper, so they are not cached again by the consensus (e.g. some of the exception we handle come from consensus).  This would make it much easier to reuse consensusRethrowPolicy.


Add jest-axe

Summary 💭
Following this conversation, we thought to verify a11y violations in tests is a good idea.
This PR adds jest-axe and it demonstrates how it could be used within the project.
It extends Jest with a custom matcher:
expect(results).toHaveNoViolations()

And suggests to add new util to reakit-test-utils → verify() given we need to anyway configure axe when testing components in isolation.
If we're happy with the approach, then I can:

Open a new PR bumping reakit-test-utils with verify()
Update on this PR all the existing test suites with verify() checks

TODOs

[ ] Bump reakit-test-utils with new axe utility → #654
[ ] Add axe a11y checks on existing unit tests on this PR

@diegohaz I was trying to add some axe tests but I encountered the following issues 🤔

Some cleanup issues on <Dialog /> tests ( they pass fine withut the axe test )

Depends where I position the axe test one the component test file it'll corrupt other spapshot ( probably related to some test cleanup problem? )

I don't have time today to dig deeper on this ⏰ ,  I'll have a look tomorrow.
Posting in case you already know what might be the cause 👍🏻

Their docs say that the cleanup method should be called. I don't know.
Anyway, I think we should only check the examples tests.

Yup I tried with cleanup() as well and only in Button/__examples__ but still seeing:
NotFoundError: The node to be removed is not a child of this node.

Tried to upgrade to @testing-library/react@latest with no better results though 😕 🤔

@diegohaz I was having a fresh look at this, and it seems it is related to <Portal />.
Passing
<Tooltip unstable_portal={false} />

on <ButtonWithTooltip /> makes the jest-axe test pass 🤔 . I'll open an issue on jest-axe asking whether the library is compatible with ReactDOM.createPortal 👍🏻

@kennygrubb mentioned to use baseElement instead of container here: https://github.com/nickcolley/jest-axe/issues/105#issuecomment-649647708
And this actually makes total sense. container is only the div that RTL creates inside body. The portal element is actually added outside of it.

@diegohaz @kennygrubb coolios 💯  let me update this

Apologies @diegohaz 🙏🏽 , I finally got myself together to update this 👨🏽💻 , could you have a look?
As suggested this was the ✨ formula that worked:
await axe(baseElement)

I added the axe checks only on the examples tests as per your suggestion.
I'm also happy to re-pick my work on the __examples__ story 👍🏽

Apologies @diegohaz 🙏🏽 , I finally got myself together to update this 👨🏽💻

@lluia No worries! Don't ever feel bad for not contributing to open source. ❤


Change selected item style ?

Can I change the selected item style ? I mean get it bold and underlined (I just found selectedItemColor )

You can pass a render function to the prop renderBase

@CharlotteRdn you need to set fontWeight: '500' to itemTextStyle

You can change selected item's style by using the "propsExtractor" key.
Check package flow for "propsExtractor" set at items "Button" in the dropdown list;

react-native-material-dropdown >> src/component/ >> dropdown >> index.js
react-native-material-dropdown >> src/component/ >> item >> index.js

For example the style key in next code will change selected item to red.
propsExtractor={(item, index) => { return { style: { backgroundColor: item.value === "Week" ? "red" : "transparent" } } } }


runIde Just Spinning on Raku Project Open

IntelliJ IDEA 2024.2.1 (Ultimate Edition)
macos 14.6.1 sonoma aarch64 (M1)

build plugin - success
restart IntelliJ
install comma2.0-zip from disk
assign raku SDK 2024.08
new project > raku ...ok
close / open project ... ok (change .t to .rakutest)
open existing small comma project (with old .idea files)
... updating indexes ... fail ... force quit
rm -rf .idea
rm *.iml
same
open cleaned small comma project (with no .idea files)
... updating indexes ... fail ... force quit

build plugin - success
runIde - some warnings, but vm instance is running
10:42:03: Executing 'runIde'...
Starting Gradle Daemon...
Gradle Daemon started in 552 ms

Task :initializeIntellijPlatformPlugin
Task :patchPluginXml UP-TO-DATE
Task :generateManifest UP-TO-DATE
Task :checkKotlinGradlePluginConfigurationErrors SKIPPED
Task :compileKotlin UP-TO-DATE
Task :verifyPluginProjectConfiguration UP-TO-DATE
Task :compileJava UP-TO-DATE
Task :processResources UP-TO-DATE
Task :classes UP-TO-DATE
Task :instrumentCode UP-TO-DATE
Task :jar UP-TO-DATE
Task :instrumentedJar UP-TO-DATE
Task :composedJar UP-TO-DATE
Task :prepareSandbox UP-TO-DATE

Task :runIde
WARN: include is supported only on a root level ([row,col,system-id]: [40,5,"/Users/stephenroe/Library/CloudStorage/Dropbox/GitWorld/comma-plugin/build/idea-sandbox/IC-2024.2/plugins/comma/lib/comma-2.0.jar"])
WARN: include is supported only on a root level ([row,col,system-id]: [40,5,"/Users/stephenroe/Library/CloudStorage/Dropbox/GitWorld/comma-plugin/build/idea-sandbox/IC-2024.2/plugins/comma/lib/comma-2.0.jar"])
2024-09-16 10:42:11,435 [    697]   WARN - #c.i.o.a.Application - No URL bundle (CFBundleURLTypes) is defined in the main bundle.
To be able to open external links, specify protocols in the app layout section of the build file.
Example: args.urlSchemes = ["your-protocol"] will handle following links: your-protocol://open?file=file&line=line
2024-09-16 10:42:11,542 [    804]   WARN - c.i.o.u.r.overrides - Conflicting registry key definition for key kotlin.mpp.tests.force.gradle: it was defined by plugin org.jetbrains.kotlin but redefined by plugin org.jetbrains.kotlin. Consider adding overrides="true" for one of the plugins, see the documentation for com.intellij.openapi.util.registry.RegistryKeyBean.overrides for more details.
2024-09-16 10:42:11,781 [   1043]   WARN - #c.i.i.s.p.i.BundledSharedIndexProvider - Bundled shared index is not found at: /Users/stephenroe/.gradle/caches/transforms-3/435c17ab808b478c5db4cfe34595852c/transformed/ideaIC-2024.2-aarch64/jdk-shared-indexes
2024-09-16 10:42:11,784 [   1046]   WARN - #c.i.u.n.s.ConfirmingTrustManager - Received an empty list of custom trusted root certificates from the system. Check log above for possible errors, enable debug logging in category 'org.jetbrains.nativecerts' for more information

open same clean small raku project in vm
more warnings in master window...
2024-09-16 10:43:43,450 [  92712]   WARN - #c.i.s.ComponentManagerImpl - preload=NOT_HEADLESS must be used only for core services (service=org.jetbrains.kotlin.idea.search.refIndex.KotlinCompilerReferenceIndexService, plugin=org.jetbrains.kotlin)
2024-09-16 10:43:43,450 [  92712]   WARN - #c.i.s.ComponentManagerImpl - preload=TRUE must be used only for core services (service=org.jetbrains.idea.maven.project.MavenProjectsManagerEx, plugin=org.jetbrains.idea.maven)
2024-09-16 10:43:43,450 [  92712]   WARN - #c.i.s.ComponentManagerImpl - preload=TRUE must be used only for core services (service=org.jetbrains.idea.maven.navigator.MavenProjectsNavigator, plugin=org.jetbrains.idea.maven)
2024-09-16 10:43:43,450 [  92712]   WARN - #c.i.s.ComponentManagerImpl - preload=TRUE must be used only for core services (service=org.jetbrains.idea.maven.tasks.MavenShortcutsManager, plugin=org.jetbrains.idea.maven)
2024-09-16 10:43:43,450 [  92712]   WARN - #c.i.s.ComponentManagerImpl - preload=NOT_HEADLESS must be used only for core services (service=com.jetbrains.rdserver.toolWindow.BackendServerToolWindowManager, plugin=com.jetbrains.codeWithMe)
2024-09-16 10:43:43,450 [  92712]   WARN - #c.i.s.ComponentManagerImpl - preload=TRUE must be used only for core services (service=com.intellij.cwm.plugin.users.BackendUserManager, plugin=com.jetbrains.codeWithMe)
2024-09-16 10:43:43,451 [  92713]   WARN - #c.i.s.ComponentManagerImpl - preload=TRUE must be used only for core services (service=com.intellij.cwm.plugin.ports.CwmPortForwardingToolWindowManager, plugin=com.jetbrains.codeWithMe)
2024-09-16 10:43:43,451 [  92713]   WARN - #c.i.s.ComponentManagerImpl - preload=TRUE must be used only for core services (service=com.intellij.cwm.plugin.users.BackendCWMUserFocusHost, plugin=com.jetbrains.codeWithMe)
2024-09-16 10:43:43,451 [  92713]   WARN - #c.i.s.ComponentManagerImpl - preload=TRUE must be used only for core services (service=com.intellij.cwm.plugin.following.FollowMeManagerService, plugin=com.jetbrains.codeWithMe)
2024-09-16 10:43:43,451 [  92713]   WARN - #c.i.s.ComponentManagerImpl - preload=TRUE must be used only for core services (service=com.intellij.cwm.plugin.following.BackendProjectViewSync, plugin=com.jetbrains.codeWithMe)
2024-09-16 10:43:43,451 [  92713]   WARN - #c.i.s.ComponentManagerImpl - preload=TRUE must be used only for core services (service=com.intellij.cwm.plugin.following.BackendFollowMeEditorsHost, plugin=com.jetbrains.codeWithMe)
2024-09-16 10:43:43,451 [  92713]   WARN - #c.i.s.ComponentManagerImpl - preload=TRUE must be used only for core services (service=com.intellij.cwm.plugin.following.BackendFollowMeDebuggerHost, plugin=com.jetbrains.codeWithMe)
2024-09-16 10:43:43,451 [  92713]   WARN - #c.i.s.ComponentManagerImpl - preload=TRUE must be used only for core services (service=com.intellij.cwm.plugin.following.FollowMeLookupSynchronizer, plugin=com.jetbrains.codeWithMe)
2024-09-16 10:43:48,962 [  98224]   WARN - #c.i.d.MemorySizeConfigurator - The IDE is not configured for using custom VM options (jb.vmOptionsFile=null)
java.io.IOException: The IDE is not configured for using custom VM options (jb.vmOptionsFile=null)
at com.intellij.diagnostic.VMOptions.setOptions(VMOptions.java:202)
at com.intellij.diagnostic.VMOptions.setOption(VMOptions.java:193)
at com.intellij.diagnostic.VMOptions.setOption(VMOptions.java:175)
at com.intellij.diagnostic.MemorySizeConfigurator.execute(MemorySizeConfigurator.kt:54)
at com.intellij.ide.startup.impl.StartupManagerImplKt$launchActivity$1.invokeSuspend(StartupManagerImpl.kt:496)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)

Unfortunately the only solution I've found for this so far is to use New Project from Existing Sources... instead of Open.
I've edited README.md to inform the user about this.
Still, it blows my mind a bit that rm -rf .idea doesn't work, but nuking .idea via the New Project from Existing Sources... action doesn't work.
I have a feeling it's related to the 100% deprecated, unsupported use of OpenProjectTask in RakuProjectOpenProcessor.

This should be fixed as of #6c73c88258f7479ff6f223602f8bd2636526e198
It essentially does the same thing as New Project from Existing Sources... (eg, nuking the old .idea directory as well as the now-useless-anyway $project.iml file) -- but automatically and in the background.

confirm this is fixed


Reintroduce scroll bars on Desktop

Curretntly scroll bars don't appear - users have requested them back at least for desktop.

always show the scrollbar thumb

not done yet


Horizontal and Vertical Content Alignment is not works for TextBox

Describe the bug
We have use the TextBox in our application, set the HorizaontalContentAlignment and VerticalContentAlignment as Center. But the text is aligned at Top, left of the control.
Steps to reproduce the bug

Run the sample.
Note the "Hi" text in TextBox, its in Top, left corner

Expected behavior
Text should be in center of the control
Screenshots

Version Info

NuGet package version:
[Microsoft.WinUI 3.0.0-preview4.210210.4]

Windows app type:

UWP
Win32

Yes
Yes

Sample Link : App9.zip

I beleive this is a duplicate of https://github.com/microsoft/microsoft-ui-xaml/issues/5163  which was originally fixed by https://github.com/microsoft/microsoft-ui-xaml/pull/3383 but reverted because we didn't have the right default values... We should add this back in.
@beervoley FYI


First tab shows ALL Tabs

Using tabs to display a graph, I have 2 manufacturing plants and am trying to show a chart for each plant, The first tab shows All data, the second and third are plant specific. By all data I mean a chart that has cumulative data not show 3 charts.
On page load the default tab shows all three charts. If I click on another tab it shows only the specific chart(the correct way)
Correct sshot

Problem SShot

Remove active from class

to

in other tabs

Thanks @KrunalSM your a gentleman and a scholar, However this did fix my issue but brought another to light in regards to chart.js and having different charts on different tabs. Only the first tab charts render.
Link to solution: https://stackoverflow.com/questions/29861670/bootstrap-3-tabs-chart-js-charts-not-loading-on-tabs/46571601#46571601


Fix csproj for Facebook Adapter

The .csproj file for the FB adapter is wrong. It’s missing just about everything, especially the version tags to allow us to drive the version from our build pipeline.
A good one to copy is the Twilio or WebEx one.

@cleemullins will pick up first thing.


Abnormal joint variations when using robotiq_2f85 menagerie model

Hi!
I create a gymnasium env and attach the robotiq_2f85 gripper to the end of the manipulator to grasp objects.
I control each joint of the manipulator and the gripper tendon actuator to step to desired positions via         data.ctrl[:] = action and the tendon action is clipped in the ctrlrange ([0, 255]).
The n_substeps of mujoco.mj_step(self.model, self.data, nstep=self.n_substeps) is 50.
However, when I observe each step process, I notice the abnormal variation in gripper joints, as shown in the following figure.

Any advice and help would be appreciated! Thanks!

Could you post a minimal reproducible example?

Hi @STAY-Melody I will have time to look at this soon.
If you can post your model (zip file with XML and assets), that would be helpful.

Hi @STAY-Melody, just want to update you that I loaded your model and I can see the instabilities but haven't been able to debug why. I'll keep you posted.

Hi @STAY-Melody. At long last, we are now looking carefully at this model to understand what's wrong.
Unfortunately, the link to your reproducing code is now dead. Could you please re-post the link?
Apologies again for the extreme delay.

Hi @STAY-Melody, okay, finally, I've been able to reproduce!
So, contrary to my comment, there is some remaining issue with the Robotiq.
Leaving this issue open.

Okay, I have a temporary fix, but I need you to test it.
In the Robotiq joint defaults, add armature="0.001" to all the joints that don't have armature (follower, link, coupler). Does that fix your issue?
A related temporary fix which has a similar effect is, in the equality constraint section, change solimp[0] from 0.9 to 0.0.
I would write more about what is actually happening here and why the above changes fix the issue, but I am currently digging deeper to better understand the true source, there might be a design bug in how equality constraints compute the effective inertia of the coupling mechanism, but that will take a bit more time to resolve.
Will update here, in the meantime one or both of the above changes should hopefully resolve your issue.

This change is now at head I believe (has been for a while). Closing.


fix: use execWf when setting PodMetadata

Checklist:

[ ] My organization is added to USERS.md.

Fixes https://github.com/argoproj/argo-workflows/issues/5942
Tips:

Your PR needs to pass the required checks before it can be approved. If the check is not required (e.g. E2E tests) it does not need to pass
Sign-off your commits to pass the DCO check: git commit --signoff.
Run make pre-commit -B to fix codegen or lint problems.
Say how how you tested your changes. If you changed the UI, attach screenshots.

pushed fix for failing lint


Added content-type header details to spec, fixed examples and broken index links

Changes

:broom: Fixed broken index links on spec
🎁 Added content-type behavior to spec

/lgtm

Apart from the charset mention above, this looks good to me.
/lgtm


Named slot value in child component is undefined when one of child component's reactive props is changed by its parent component

Version
2.6.11
Reproduction link
https://codepen.io/yuchaosydney/pen/bGegLjM
Steps to reproduce

Open the codepen link and open console

Click "Child Button" (each click increases "child-component" internal "count" prop by one, and in watch function, it prints !!this.$slots.header as true, which is expected)

Click "Parent Button" (each click increases "count" prop by one in "Parent Component", this prop binds to "parentCount" prop in "child-component", and its watch function prints out the same reference this.$slots.header )

What is expected?

Named "header" slot in "child-component" is rendered on the page (working)
Clicking "Child Button" prints out !!this.$slots.header as true (working)
Click "Parent Button" prints out the actual value of same reference this.$slots.header (not working)

What is actually happening?
Regarding point 3, outcome is:
"--parentCount-change---" undefined

In Vue 2, there are a few differences between scoped slots and regular slots. When using v-slot, you are using the scoped slots, so you should access them with $scopedSlots.
In Vue 3, both concepts are merged together, so only slots exist and this is not a problem

In Vue 2, there are a few differences between scoped slots and regular slots. When using v-slot, you are using the scoped slots, so you should access them with $scopedSlots.
In Vue 3, both concepts are merged together, so only slots exist and this is not a problem

@posva Thank you!


[build-script-impl] Require --install-llvm to be passed in to install llvm.

Before this patch, we assumed that if LLVM_INSTALL_COMPONENTS was non-empty that
we wanted to install llvm. This is different than /every other/ product in
build-script-impl where INSTALL_$PRODUCT controls if an install is attempted. If
a components sort of thing is required, we force it to only be a configuration
of an option that is a no-op if INSTALL_$PRODUCT is set to true.
I went through build-presets and looked at every place we had an install
statement and added install-llvm when appropriate. This was generally when we
did an install-swift. The one special case is with the tsan_libdsipatch
test. That being said, if I was too aggressive with where I put these
install-llvm, no harm will result since in those cases LLVM_INSTALL_COMPONENTS
had to be empty previously anyways (since otherwise we would have attempted an
install).

@swift-ci test

Build failed
Swift Test Linux Platform
Git Sha - 452b6dd08f8da7c766cc12fd5da003e10db9d2fa

@swift-ci smoke test linux platform

@swift-ci test linux platform


View db in android or ios

Problem
I am trying kotlin multiplatform realm sdk. Everything was going smooth untill i have to install realm studio, export my db files and view it which is very tidious task for me since i am using objectbox and there is a concept of admin web browsing where i can view my database file directly on my android while debugging.
So, isn't there any facilities or library integration so that i can view,edit my database file directly on android itself.Or is there any plugin available to do this on android studio?
Solution
No response
Alternatives
No response
How important is this improvement for you?
Dealbreaker
Feature would mainly be used with
Local Database only

Hi @prabinshrestha. Unfortunately we don't have such a tool/plugin at the moment.


tweak(AgeRequirement): Make the requiredAge more sensible

Why
If you set the required age to 20, that should be the required age... Not 21.

good catch! thanks

That was a fast merge :o


Web UI Long Autocomplete: Jumps as you click dropdown item

Bug Report
What did you do?
Open Prometheus Web UI (non-react). Monitoring a a node exporter (or any server with a long autocomplete list).
Type in a few characters (e.g. "node_"). Scroll down a full page, so the graph is off the screen.
Hold mousedown on one of the items in the autocomplete dropdown. Observe that the screen has jumped back to the top of the screen, and your mouse is now over a different element.
Release the mouse. Observe that you selected the different element, not the original one you mousedown'd over.
Looking in the dev tools, inspect element'ing a dropdown item, I see a mousedown/mouseup jQuery event handler and many other click event handlers. I'm guessing they're conflicting.pr
Environment

System information:
Linux 4.19.75-v7l+ armv7l

Prometheus version:
Built today from master with go get -u github.com/prometheus/prometheus/cmd/...

@mhansen Thanks for the report, I can reproduce it. Definitely buggy!
The old UI will probably not be around much longer and the new UI already exists, so I wonder if this is still worth fixing. It probably depends on whether someone finds an easy fix. My guess is that the bug is somewhere in the typeahead plugin we use. The mousedown / mouseup / click handlers are defined in there (http://demo.robustperception.io:9090/static/vendor/bootstrap3-typeahead/bootstrap3-typeahead.min.js?v=43acd0e2e93f9f70c49b2267efa0124f1e759e86).

Thanks! Yeah, I agree this may not be worth fixing if the new UI is
imminent.
On Sat, Nov 30, 2019 at 7:49 PM Julius Volz<EMAIL_ADDRESS>wrote:

@mhansen https://github.com/mhansen Thanks for the report, I can
reproduce it. Definitely buggy!
The old UI will probably not be around much longer and the new UI already
exists, so I wonder if this is still worth fixing. It probably depends on
whether someone finds an easy fix. My guess is that the bug is somewhere in
the typeahead plugin we use. The mousedown / mouseup / click handlers are
defined in there (
http://demo.robustperception.io:9090/static/vendor/bootstrap3-typeahead/bootstrap3-typeahead.min.js?v=43acd0e2e93f9f70c49b2267efa0124f1e759e86
).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/prometheus/prometheus/issues/6396?email_source=notifications&email_token=AAAZYOKTRFV46BHLI3WTB5LQWISJXA5CNFSM4JTERHZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFP5NFQ#issuecomment-559928982,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAZYOPJV6UF64CN4NASGH3QWISJXANCNFSM4JTERHZA
.

Closing this for now, because we don't expect the old UI to be around for long.