Fix schema

Fixes a number of issues that cause problems when using the schema with other tools, like generating typescript interfaces or validation.

Hi @ahmadnassri
Is anything blocking this? The invalid keywords prevent using strict mode with ajv. If you run with:
        var ajv = new Ajv({
            strict: "log"
        });

You'll see:
strict mode: unknown keyword: "optional"
strict mode: unknown keyword: "unique"
strict mode: unknown keyword: "unique"
strict mode: unknown keyword: "min"
strict mode: unknown keyword: "min"
strict mode: unknown keyword: "min"
strict mode: unknown keyword: "min"
strict mode: unknown keyword: "optional"
strict mode: unknown keyword: "min"
strict mode: unknown keyword: "min"
strict mode: unknown keyword: "optional"
strict mode: missing type "object" for keyword "required" at "request.jsonpostData.json#/properties/params" (strictTypes)
strict mode: missing type "object" for keyword "properties" at "request.jsonpostData.json#/properties/params" (strictTypes)
strict mode: missing type "object" for keyword "properties" at "cache.json#" (strictTypes)
strict mode: unknown keyword: "optional"
strict mode: unknown keyword: "optional"
strict mode: missing type "object" for keyword "required" at "entry.jsontimings.json#" (strictTypes)
strict mode: missing type "object" for keyword "properties" at "entry.jsontimings.json#" (strictTypes)
strict mode: unknown keyword: "min"
strict mode: unknown keyword: "min"
strict mode: unknown keyword: "min"
strict mode: unknown keyword: "min"
strict mode: unknown keyword: "min"
strict mode: unknown keyword: "min"
strict mode: unknown keyword: "min"
strict mode: unknown keyword: "min"
strict mode: unknown keyword: "min"
strict mode: unknown keyword: "min"
strict mode: unknown keyword: "min"
strict mode: unknown keyword: "min"
strict mode: unknown keyword: "min"
strict mode: unknown keyword: "min"

@ahmadnassri is there something preventing fixes like these to get merged? I am inclined to solve a problem in an upstream package that stems from here, but just wanted to confirm if changes are still being accepted.


Display a grid in a dialog

Hi,
I have a grid (called WorkstationView) with a custom SlickColumn (behaves like a button) and I have added the OnClick behaviour (everything is OK so far).
I need to display a dialog with a grid inside (called WorkstationHistory) when the SlickColumn button is clicked, but I can't find a way to display it.
Thanks and this tool is awesome.

What about new SomeDialog().dialogOpen()

Hi, what kind of Dialog can I use to host the Grid?

The usual Serenity dialog way... Just take a look from Serenity basic examples CustomLinkGrids and in this case, there is also a grid displayed in Roles... Edit permissions... Take a look at RoleDialog.ts and RolePermissionDialog.ts... Hope it helps.
Regards

Oh sorry. My mistake. It's not actually a grid per se... but you get the idea...

Thanks, Great 👍


what is the best way to deploy task scheduler with my .exe ?

I want to register a task in client system at the time of installation ...
I combined it with installer class .. but when running installer its give exception UserId: , Task:
I already run it as Admin
It is giving exception on line when register task.. i.e
ts.RootFolder.RegisterTaskDefinition("Test", td);
Please Help Me!
Thank you
Originally posted: 2014-10-19T03:01:37

Will you elaborate on the exception you are getting and the trigger and action you have added to the task?
Originally posted: 2014-10-19T10:04:54

public override void Install(IDictionary mySavedState)
    {
        try
        {
            using (TaskService ts = new TaskService())
            {
                // Create a new task definition and assign properties
                TaskDefinition td = ts.NewTask();
                td.RegistrationInfo.Description = "Hello";
                td.Settings.RestartCount = 50;

                td.Settings.RestartInterval = TimeSpan.FromMinutes(1);
               // td.Principal.UserId = string.Concat(Environment.UserDomainName, "\\", Environment.UserName);
                td.Principal.RunLevel = TaskRunLevel.Highest;
                td.Settings.DisallowStartIfOnBatteries = false;
                td.Settings.RunOnlyIfIdle = false;
                td.Settings.RunOnlyIfNetworkAvailable = false;
                td.Settings.StopIfGoingOnBatteries = false;
                td.Settings.StartWhenAvailable = true;
                td.Settings.WakeToRun = true;
                td.Settings.Enabled = true;
                td.Settings.AllowHardTerminate = false;
                td.Settings.IdleSettings.StopOnIdleEnd = false;
                td.Principal.LogonType = TaskLogonType.S4U;
                td.Triggers.Add((new DailyTrigger { DaysInterval = 10 }));

                td.Actions.Add(new ExecAction("notepad.exe", null, null));

                // Register the task in the root folder
                ts.RootFolder.RegisterTaskDefinition("Test", td);
            }
        }
        catch (Exception ex)
        {
            MessageBox.Show(ex.Message.ToString());
        }
    }

Originally posted: 2014-10-20T01:32:47

when i am running above code in installer class its giving error (18,8)UserId:
if i am going to provide UserId: in
ts.RootFolder.RegisterTaskDefinition("Test", td,TaskCreation.CreateOrUpdate,string.Concat(Environment.UserDomainName, "", Environment.UserName),null,TaskLogonType.S4U,null);
again error
(20,8)UserId:
Thanks
Originally posted: 2014-10-20T01:43:24

Check this response to see if it helps: https://taskscheduler.codeplex.com/discussions/370130
Originally posted: 2014-10-24T08:28:49


Generify the Node class with the FlowUnitType.

This is part 1/3 PRs that will improve the interface between the scheduler and the networking thread.
This PR makes the Node class generic and moves the list of FlowUnits stored per node into the Node class instead of them being in the subclasses(Metric, Symptom, and Rca). The changes also move some of the common methods that were abstract before, but did the same thing, into the Node class.
The Node specification now becomes as follows:
final Rca<FlowUnitType> node = new ConcreteRca();

This lets an RCA creator define their own FlowUnits only loosely conforming to our GenericFlowUnit once all parts of the improvement are in. Also in the dummy graph it is now explicit if a concrete class is an Rca or a Symptom which was not possible earlier.
Some anomalies temporarily induced by this PR:

The method generateFlowUnitsFromWire is now pushed down to the RCA/Symptom class specifying the FlowUnitType. This is because the deserialization of a FlowUnitMessage is done by the FlowUnitType class in a static way.

This will be removed once part 2/3 where the FlowUnitTypes are all first class protobuf message objects.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

final Rca<FlowUnitType> node = new ConcreteRca();

should that be ?
final Rca<FlowUnitType> node = new ConcreteRca<>();


Population of Auckland has inconsistent values

For certain years until 2010, the population drops to 0.5 million from 1.x million.

Tracked in internal bug


Quick fix light bulb disappears before it can be clicked

VSCode Version: 1.8.0
OS Version: Windows 10

Steps to Reproduce:

Open a file which triggers a quick fix light bulb
Hover the mouse over the light bulb
Before you click, the light bulb disappears and switches to a breakpoint icon

Filing this on behalf of @wsmelton who filed the issue originally here: https://github.com/PowerShell/vscode-powershell/issues/392
Sometimes the quick fix light bulb isn't clickable in the gutter:

It seems there may be some conflict between the hover handlers of the breakpoint gutter and the lightbulb that should be showing up.  Using Ctrl+. on the line invokes the quick fix menu correctly even though the lightbulb isn't clickable.

I could still reproduce on Linux

@isidorn We need to sync on this. We both want to use the gutter for additional commands/menus and we should invent something like a editor gutter menu

@jrieken I am open for suggestions

@sandy081 sits in the same boot and should also join the party...

These edit icons are shown only on settings files.. Not sure if we can add break points there

There is a setting that allows breakpoints everywhere, then hit F9 while the edit icon show and screen cheese. Long story short: There are 3 custom ways to get a context menu and primary command with an icon in the gutter (breakpoints, settings, quick fix) and we should have something real, like a gutter-menu

My proposal is to add a new menu ala editor/gutter/context to which we register commands. That menu will always show in the gutter of the active line and preview to first (most important) command in the gutter. Other command will be in the context menu, like break points do it today.

@jrieken your proposal makes sense to me. We can look into this tomorrow in the office, or some time next week when it suits you.

After understanding the whole richness and complexity of the debug glyph margin decoration we figured it's too much for the menu-story... Instead the light bulb uses the same implementation approach debug uses and therefore conflicts don't happen. Also, debug must check if a line has already a glyph margin decoration before adding one on mouse move, similar check before clicking...
My old code to check if the glyph margin has space. fyi @isidorn
private _hasSpaceInGlyphMargin(line: number): boolean {
	if (!this._editor.getRawConfiguration().glyphMargin) {
		return false;
	}
	const decorations = this._editor.getLineDecorations(line);
	if (decorations) {
		for (const {options} of decorations) {
			if (options.glyphMarginClassName) {
				return false;
			}
		}
	}
	return true;
}

@jrieken Do I need to do the same for Settings?

@sandy081 for now we can survive without that. Breakpoints will hide if there are any other decoarions on the line including yours

Breakpoints will hide if there are any other decoarions on the line including yours

Given @sandy081 uses a decoration to get wrench-icon into the glyph margin

@sandy081 ok so at least you should use an editor decoration with the glyp margin options to align with the rest of us

Ok. Will adopt. Reopening it.

Adopted to use decorations. Closing it.

Works nicely now. Nice job!


nft_info returns uri in the response with burned NFT.

NFT was created with uri during NFTokenMint and burned the NFT. While trying to retrieve nft_info, uri is still in the response.
Request:
{     "method": "nft_info",     "params": [       {           "nft_id": "0000000079D053DCD0E60E1947E707B3B179CB09A315667FA85638C70023432C"       }     ] }
Clio_response:
{     "result": {         "nft_id": "0000000079D053DCD0E60E1947E707B3B179CB09A315667FA85638C70023432C",         "ledger_index": 2310958,         "owner": "rUfaLhqEUXETmwZgS3tvEegxNhvtV2US5u",         "is_burned": true,         "flags": 0,         "transfer_fee": 0,         "issuer": "rUfaLhqEUXETmwZgS3tvEegxNhvtV2US5u",         "nft_taxon": 0,         "nft_serial": 2310956,         "validated": true,         "uri": "697066733A2F2F62616679626569676479727A74357366703775646D37687537367568377932366E6633656675796C71616266336F636C67747179353566627A6469",         "status": "success"     },     "warnings": [         {             "id": 2001,             "message": "This is a clio server. clio only serves validated data. If you want to talk to rippled, include 'ledger_index':'current' in your request"         }     ] }

There was a PR deliberately adding URI for burned NFT but forgot to update the document.  #634
Let us update the document.

Created issue for document change: https://github.com/XRPLF/xrpl-dev-portal/issues/2328


Last minute changes before the deadline

Add option to specifiy a namespace file
Add option for relevance judgement file
Improvements to the evaluation function

@leokraemer I feel really sorry, but it seems that the master branch was not the branch that was used for the evaluation.


command not found

I just installed this extension for VS Code and after closing and re-opening the program I tried selecting some CSS and running the "Sort CSS properties concentrically (undefined to bottom)" command from the command palette.
I got the following error:
command 'sortConcentrically.sortConcentrically' not found
Not sure if this is a bug, or if maybe I am missing some configuration?

Hi @saudes77, did you hit the Reload button after installing? Or do you mean you restarted VS Code itself? I’ve had a report of someone else having this same issue, though after a little while (perhaps another restart) it rights itself. Probably hadn’t finished installing the extension. Could you try again (maybe uninstalling and reinstalling, reloading, too) and let me know?

@setek Thanks for the quick response!
I meant that I restarted VS Code.
Tried your suggestion: I uninstalled the extension, then reinstalled it and hit "reload." That didn't work so I restarted VS Code again and still the same issue.

Hi @saudes77!
Hmm that’s not good. Could you give me some more information please?
What version of vs code, what OS, etc.?

MacOS High Sierra 10.13.6
VS Code 1.23.1

VS Code 1.25.1 is out; would you mind upgrading and trying again please?

Sorry for the delay.
I updated to 1.25.1 and I'm still getting the same error. I also tried disabling all other extensions (and reloading) and re-attempted to uninstall/re-install your extension and still the same results.

Hi, I have the exact same issue. I tried reinstalling and restarting VS Code in between, but that doesn't help sadly.
I am using VS Code 1.26.1 on Ubuntu 18.04.1 LTS.

Hi, sorry for the late reply, I am trying to debug this, just haven’t found where the problem is yet.

Same here
I'm using VS Code 1.28.2 on Windows 10.
(I'm not using node.js btw, if it helps in anything)

I also encountered this problem on the latest vscode:
Error:
The command 'sortConcentrically. SortConcentrically' not found
I really like this plugin and hope the author can solve this problem as soon as possible.

Getting this same issue when trying to use - Is there any update on this @setek ?

Hi all,
Sorry I’m still struggling with this issue. In debug/normal mode it still works fine on my vscode.
I am asking someone else who has the issue to help debug this.
Are you all on vscode nightlies, or stable? Could you please report versions and OS?

macOS Mojave 10.14.1
VSCode 1.29.1
Getting error "command 'sortConcentrically.sortConcentrically' not found" when running "Sort CSS properties concentrically (undefined to bottom)" in an scss file.

Maybe this have something to do with this issue? here

I have the same problem too

I’ve updated the extension, can whoever has the issue please try it now? I can’t test on my own machine because it has always worked for me.

I still have the problem. I cloned your code and I am also trying to see what is going on.
I added a test command that just print something to the console and even that command could not be found.

Can you try v 1.0.3 please?
On Fri, 22 Mar 2019 at 11:09, Julien Stébenne<EMAIL_ADDRESS>wrote:

I still have the problem. I cloned your code and I am also trying to see
what is going on.
I added a test command that just print something to the console and even
that command could not be found.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/setek/vscode-sort-selection-concentrically/issues/3#issuecomment-475478775,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE44l4lBM4O-ZoUqGwBzmM01pn6Wgs02ks5vZElQgaJpZM4Vc9cY
.

I was about to make a pull request with the same fix that you did :P It works now

Terribly sorry everyone for the slow update on this. Hope it works well for everyone now.

Confirmed working now, updated my review to reflect - Thanks for the extension!


quic: fix ASAN in QuicHttpIntegrationTest.QuicMultipleQuicConnectionsNoBPF

Commit Message: switch to use autonomous upstream in testMultipleQuicConnections(). The ASAN complains about the  multiple resets of fake_upstream_connection_ during the tests which races with the FakeUpstream's network connection's I/O events in the upstream thread. This test helper function doesn't need to use controlled test upstream, so using autonomous upstream should avoid the race.
This potentially fix #34353 which I wasn't able to reproduce locally under ASAN. This test has to run with --jobs=1 if we set --runs_under_test to be larger than 1. 1000 runs already took more than 1h to finish.
Risk Level: low, test onlhy
Testing: existing test passes under ASAN
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A
Fixes #34353

/assign @alyssawilk

/retest

/retest?
otherwise may need a main merge to kick whatever is stalled

yeah I think arm stalled out :-(

/retest

yeah the amd build is wedged - failed but report bounced so it's stuck running.  I don't know of a way to fix other than pushing a main merge


Add Omniva support

Draft

I did a small research, and found out, that omniva indeed has SOAP REST API. Maybe better using that as a more stable way to pull information?

I did a small research, and found out, that omniva indeed has SOAP REST API. Maybe better using that as a more stable way to pull information?

Missed this comment! feel free to implement. I added logos and usual stuff already.


Question about the learnable image tensor of in-context tuning in SegGPT

Hi there, thanks for your amazing work. After reading your paper of SegGPT. I'm little confused about the in-context tuning. In the paper, during the training stage, SegGPT treat a learnable image tensor as learnable prompt. But in the normal training stage, the input is a pair of in-context images with each mask, such as image1-mask1 and image2-mask2. So the learnable image tensor is a random image-mask? With image3-mask3 from the datasets, the whole input is image-mask(prompt) and image3-mask3? Due to the mask of random image-mask is random, so there is no label for loss calculation and gradient backward, how does it be trained? Please tell me more and help me solve this. Thanks!

This is my implementation based on my understanding.
I think that once you used the learnable prompt, you simply replace the image1-mask1 with the image tensor that you optimize


#982 Fix search bar

Description
As mentioned in issue #982  assigned to me under gssoc'24 , I optimised the search bar which earlier gave not so appropriate results making it more user friendly.
Related Issues
#982
Changes Proposed
Additionaly I added a drop which allows users to select whether they want to serach by name, location or skill and then it gives specific results as per requirement only unlike earlier random results.
Checklist

[x] I have read and followed the Contribution Guidelines.
[x] All new and existing tests passed.
[x] I have updated the documentation to reflect the changes I've made.
[x] My code follows the code style of this project.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers
Kindly review it asap and give me appropriate level as I also additionaly added dropdown bar and made it most optimized. Thank you

@shyamtawli kindly review it

@Priyal208, Could you look into this scenario ?
We have a search string

kolkata,india
kolkata, india
Just a difference of space is a giving us different result.

Issues with this is even if we have a match for the location, we won't be able to find if a comma or space is in different order.
P.S: This is one scenario for location, do check for other filters as well.

@shyamtawli now pls you can check i fixed that problem of space giving different result for all test cases
You can see search queries before space and after space

Hey @shyamtawli,
There is a scenario which doesn't work as of now:

If we would like to search multiple skills at once.
For example: Javascript, React

Do you need this to be handle in this PR, or we can create a new issue for that.

@shyamtawli can you pls review this

@shyamtawli i did improve the UI u can see i added appropriate spacing, kindly merge the PR now, also pls see that you are assigning appropriate level as I did improve search operation, also added dropdown, even improved the UI

@shyamtawli sure thanks


Low frame rate lead to higher duration of actions.

Issue details
Stage has a hard coded minimum frame rate leading to actions being performed slower than expected when the frame rate is below 30 FPS.
/** Calls {@link #act(float)} with {@link Graphics#getDeltaTime()}, limited to a minimum of 30fps. */
public void act () {
    act(Math.min(Gdx.graphics.getDeltaTime(), 1 / 30f));
}

Reproduction steps/code
Expected:
Should take 1 second for cube to move.
Actual:
Takes 3 seconds for cube to move.
Suggested solution:
Make Stage use the lower of 30 and current FPS instead of 30 or make it configurable.
import com.badlogic.gdx.*;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.Pixmap;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.scenes.scene2d.Stage;
import com.badlogic.gdx.scenes.scene2d.actions.Actions;
import com.badlogic.gdx.scenes.scene2d.ui.*;
import com.badlogic.gdx.utils.viewport.*;

public class BarebonesStage extends ApplicationAdapter {
    Stage stage;

    public void create () {
        stage = new Stage(new ScreenViewport());

        Gdx.input.setInputProcessor(stage);

        Pixmap pixmap = new Pixmap(1, 1, Pixmap.Format.RGBA8888);
        pixmap.setColor(Color.CYAN);
        pixmap.fill();
        pixmap.drawRectangle(0, 0, 1, 1);
        Texture texture = new Texture(pixmap);
        pixmap.dispose();
        Image image = new Image(texture);
        image.setSize(30, 30);

        stage.addActor(image);

        image.addAction(
                Actions.forever(
                        Actions.sequence(
                                Actions.moveTo(200, 200, 1f),
                                Actions.moveTo(0, 0, 1f)
                        )
                )
        );
    }

    public void render () {
        stage.act();
        Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
        stage.draw();
    }

    public void resize (int width, int height) {
        // Pass false to not modify the camera position.
        stage.getViewport().update(width, height, true);
    }

    public static void main (String[] args) throws Exception {
        LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
        config.foregroundFPS = 10;
        new LwjglApplication(new BarebonesStage(), config);
    }
}

Version of LibGDX and/or relevant dependencies
1.9.10
Please select the affected platforms

[X] Android
[X] iOS (robovm)
[X] iOS (MOE)
[X] HTML/GWT
[X] Windows
[X] Linux
[X] MacOS

This is by design to protect against the so called "spiral of death". If your fps drops from a certain amount it means the device is struggling to keep up and it may be that processing the next frame takes even longer due to the amount of processing needed for such a large delta (for example if you have a fixed time-step physics engine). This could lead to a situation where fps would keep dropping until a non recoverable point. To avoid this we clamp the delta and the consequence is the slowing down of the game (in real time) which is a better alternative to a crash/freeze.
There may be some very specific cases in which this is not desirable in which case you can easily override act().

Or, instead of overriding, just call it with an explicit delta time: act(Gdx.graphics.getDeltaTime());

Thanks! Fixed by calling directly.
One specific case is when you purposefully set your FPS to less than 30, we run at 10 and 15 in our applications since we need the CPU for other things than graphics updates.
I think it would make sense to use the lower of 30 and purposefully set lower FPS to not surprise the user.

Graphics doesn't know about a backend specific target FPS. The act() method javadoc says it's limited to 30fps, so I think it's OK as is.


feat(RHTAPREL-815): collect-data stores ReleaseServiceConfig

Depends on https://github.com/redhat-appstudio/infra-deployments/pull/3356

Maybe we can also add a new test for a missing releaseserviceconfig?

Sure thing, added

/test release-pipelines-e2e-suite

/test release-pipelines-e2e-suite

/test release-pipelines-e2e-suite

/test release-pipelines-e2e-suite

Depends on https://github.com/redhat-appstudio/release-service-catalog/pull/368 (didn't realize that at first) as the task is in the pipelines and can't have a parameter with no value passed

/test release-pipelines-e2e-suite

The CI issue here is https://github.com/redhat-appstudio/release-service/blob/main/controllers/release/adapter.go#L539 returns an empty RSC, but doesn't actually create it in the cluster, so the get-resource is failing. I will have to think about how to solve it

/test release-pipelines-e2e-suite

/retest

/retest

/test release-pipelines-e2e-suite

/retest

/test release-pipelines-e2e-suite


Fix Scroll to top and navbar overlapping

Fixes #1231
Before :

After 👍

@Its-Aman-Yadav Please check this PR and merge !
Thank You !


Do not update draft order addresses when user is changing

Do not update draft order addresses when the user is changing - the addresses should be provided in the input.
⚠
Should be merged together with dashboard changes.

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-1491 [Draft orders] Changing customer with only mail does not update addresses

Blocked by: https://app.clickup.com/t/2549495/SALEOR-2798


fix Check whether the in bitmap contains correlated subqueries

Currently in bitmap does not support correlated subquery, like: a.k1 in (select bitmap_col from b where a.k2 = b.k2).

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

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

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.65 seconds
load time: 630 seconds
storage size:<PHONE_NUMBER>0 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221219145636_clickbench_pr_65243.html


Scrollytelling map style update

I'm building Deck.gl maps that work with scrollama.js to achieve scrollytelling. As a user scrolls through the story, the map will change accordingly. I can currently update the view and fly to a new location on scroll.
Mapbox has recently released a template for accomplishing a lot of these features, and it appears theirs has the ability to toggle visible layers that are part of the map style (think layers in Mapbox Studio, not Deck.gl layers). Is this possible to accomplish within Deck.gl? As in as a scroll event triggers a change, could you change the map style to activate different layers within the map?
https://github.com/mapbox/storytelling
The code I am using to update the view is as follows, if that is of any use:
    script.
        var scroller = scrollama();

        function handleStepEnter(response) {
            if (response.direction === 'down') {
                console.log(response)

                currentIndex +=1;

                deckgl.setProps({
                    viewState: {
                        longitude: VIEWS[currentIndex].longitude,
                        latitude: VIEWS[currentIndex].latitude,
                        zoom: VIEWS[currentIndex].zoom,
                        pitch: 60,
                        transitionInterpolator: new FlyToInterpolator(),
                        transitionDuration: 4000
                    }
                })
            }

        }

        function handleStepExit(response) {
            if (response.direction === 'up') {
                currentIndex -=1;

                deckgl.setProps({
                    viewState: {
                        longitude: VIEWS[currentIndex].longitude,
                        latitude: VIEWS[currentIndex].latitude,
                        zoom: VIEWS[currentIndex].zoom,
                        pitch: 60,
                        transitionInterpolator: new FlyToInterpolator(),
                        transitionDuration: 4000
                    }
                })
            }
        }

        scroller
        .setup({
            step: '.transition',
            debug: false,
            offset: 0.4
        })
        .onStepEnter(handleStepEnter)
        .onStepExit(handleStepExit);

You can call deckgl.setProps({layers}) to update the layers:
const MY_LAYERS = [...]; // deck.gl layers

function handleStepEnter() {
  ...
  deckgl.setProps({
    viewState,
    layers: MY_LAYERS.filter(layer => isLayerInStep(layer, currentIndex))
  });
}

to my understanding that will update the deck.gl layers (heatmap, h3, etc). The layers I'm referring to are layers within a Mapbox map style (hillshading, buildings, etc). It appears those are modifiable with Mapbox's implementation, ideally that could be done through deck.gl if possible.

While deck.gl can work with mapbox, mapbox is not a dependency. You need to look into mapbox documentation if you want to change base map style and layers.

Right I have worked with changing Mapbox's base map layers, my question was more around whether that can be controlled through Deck.gl since Mapbox seems to have the ability to control base map layer visibility through scroll events.
After looking at the example here: https://github.com/mapbox/storytelling it seems it's controlling data layers, not necessarily base map layers (not sure if there's really a distinction). I think something similar could be done based on what you provided using a geoJSON deck layer. Thank you!

Could you write some sample code for the API you have in mind?

Closing for inactivity.


df[column].dtype in {int, float} does not evaluate correctly

Comparing dtypes of DataFrame columns works fine for a list of possible dtypes, but not for a set of possible dtypes. For example:
In [1]: sample_df = pd.DataFrame(
            [[1,2,3],[4,5,6],[7,8,9],[10,11,12]],
            columns=['a', 'b', 'c']
        )

In [2]: sample_df.dtypes
Out[2]:
a    int64
b    int64
c    int64
dtype: object

In [3]: [sample_df[c].dtype in [int] for c in sample_df.columns]
Out[3]: [True, True, True]

In [4]: [sample_df[c].dtype in {int} for c in sample_df.columns]
Out[4]: [False, False, False]

What is the cause of this behaviour? I would expect [sample_df[c].dtype in {int} for c in sample_df.columns] to evaluate to [True, True, True] as well.
I am using pandas version 0.15.0.
pd.show_versions()

INSTALLED VERSIONS
------------------
commit: None
python: 2.7.9.final.0
python-bits: 64
OS: Linux
OS-release: 3.13.0-43-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_CA.UTF-8

pandas: 0.15.0
nose: 1.3.4
Cython: 0.21
numpy: 1.9.1
scipy: 0.14.0
statsmodels: 0.5.0
IPython: 2.3.1
sphinx: 1.2.3
patsy: 0.3.0
dateutil: 1.5
pytz: 2014.9
bottleneck: None
tables: 3.1.1
numexpr: 2.3.1
matplotlib: 1.4.2
openpyxl: 1.8.5
xlrd: 0.9.3
xlwt: 0.7.5
xlsxwriter: 0.5.7
lxml: 3.4.0
bs4: 4.3.2
html5lib: None
httplib2: 0.9
apiclient: None
rpy2: 2.4.2
sqlalchemy: 0.8.2
pymysql: None
psycopg2: 2.5.3 (dt dec pq3 ext)

This is a numpy bug. np.dtype(int) == int, but they have different hash values -- which explains why this fails with the set:
In [1]: import numpy as np

In [2]: np.dtype(int) == int
Out[2]: True

In [3]: hash(np.dtype(int))
Out[3]:<PHONE_NUMBER>250913453

In [4]: hash(int)
Out[4]: 268532012

worse, there's some non-commutative equality with np.int64:
In [5]: np.dtype(int) == np.int64
Out[5]: True

In [6]: np.int64 == int
Out[6]: False

The work around here would be use to use the numpy dtype in the set, e.g., {np.dtype(int)}. But this really needs to be fixed upstream.


global: release checklist fixes

@reviewers: there are many changes, but the vast majority is just documentation.
There are 2 points that I am not sure or happy of:

if I don't add in the MANIFEST.in the line:
recursive-include invenio_records *.py
as described in the release checklist (it is written: Should NOT contain include *.py), then I get this error:

missing from sdist:
  invenio_records/alembic
  invenio_records/alembic/07fb52561c5c_alter_column_from_json_to_jsonb.py
  invenio_records/alembic/1095cdf9f350_create_records_branch.py
  invenio_records/alembic/862037093962_create_records_tables.py
suggested MANIFEST.in rules:
  recursive-include invenio_records *.py

if I add invenio_records.validators.py to Sphinx Doc api.rst, then I get this error:

('PartialDraft4Validator', True)

Warning, treated as error:
...../invenio-records/docs/api.rst:15:py:class reference target not found: Validator

Apparently, Sphinx is trying to resolve PartialDraft4Validator class, which is an alias of jsonschema.validators.Validator, but that class is not publicly accessible, and it fails... I was not able to found a workaround.
For the moment, I omitted the validators from the doc.

apparently the code coverage is around 93%, the most "untested code" are alembic recipes.
Do we normally deeply test them?

@ntarocco is it something we can do about coverage? :)


JS Function and Plan Passwords

Is there a way to pass secrets in non-visible way. What we have now
const HOST = 'host;
const USER = 'user';
const PASSWORD = 'visiablepassword:(';
const DATABASE = 'db_name';
const TABLE = 'table_name';

//console.log(`========== User: ${USER}, DATABASE: ${DATABASE} =====`);
// console.log("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^");
// console.log(process.env);  // output {} as process.env is not included
// console.log("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^");

I would like to be able to do something like
const HOST = process.env.DATABSE_HOST;
const USER = process.env.DATABSE_USER;
const PASSWORD = process.env.DATABSE_PASSWORD;
const DATABASE = process.env.ECO_HOTEL_DATABASE;
const TABLE = process.env.ECO_HOTEL_TABEL;

Is there a way to pass the envs?

we'll soon bring vars to custom JS function, stay tuned! https://docs.flowiseai.com/using-flowise/variables


Toggling off 'Record camera separately' doesn't have effect

Describe the bug
When recording in Google Chrome with camera view and toggeling "record camera separately" doesn't have effect. Instead of one file, still two are presented for download.
To Reproduce
Steps to reproduce the behavior:

Start the presentation in Google Chrome
Click on 'Show camera vieew'
Click on 'Recording'
Fill out a recording name
Toggle "Record camera sperately" (note there is a typo)
Click 'start'
Chrome Tab > Select the slidev tab
Click "share"
(Record)
Click on "Recording" (to stop)
Two files are downloaded instead of one

Desktop (please complete the following information):

OS:  macOS big sur 11.6 (latest)
Browser: Google Chrome Version 94.0.4606.61 (latest)
Slidev version:  0.25.8 (latest)

Great turnaround time! Thanks :)


Should I unroll the loop in implementation of vvadd?

The source code of vvadd is at https://github.com/plctlab/rvv-benchmark/blob/master/vvaddint32.s
I pasted it here:
    .text
    .balign 4
    .global vvaddint32
    # vector-vector add routine of 32-bit integers
    # void vvaddint32(size_t n, const int*x, const int*y, int*z)
    # { for (size_t i=0; i<n; i++) { z[i]=x[i]+y[i]; } }
    #
    # a0 = n, a1 = x, a2 = y, a3 = z
    # Non-vector instructions are indented
vvaddint32:
    vsetvli t0, a0, e32, m1, ta,ma  # Set vector length based on 32-bit vectors
    vle32.v v0, (a1)         # Get first vector
      sub a0, a0, t0         # Decrement number done
      slli t0, t0, 2         # Multiply number done by 4 bytes
      add a1, a1, t0         # Bump pointer
    vle32.v v1, (a2)         # Get second vector
      add a2, a2, t0         # Bump pointer
    vadd.vv v2, v0, v1       # Sum vectors
    vse32.v v2, (a3)         # Store result
      add a3, a3, t0         # Bump pointer
      bnez a0, vvaddint32    # Loop back
      ret                    # Finished

I have a question about the loop:
In an in-order superscalar cpu, the vadd.vv needs to wait for the vle32.v to return. So when the cpu is executing vadd.vv, the LSU isn't working and the memory bandwidth is not used.
Should I unroll the loop to make the cpu execute the third vle32.v when the first vadd.vv is being issued to fully utilize the memory bandwidth?
vle32.v v0
vle32.v v1
vle32.v v2
vle32.v v3
vadd.vv v0, v0, v1
vadd.vv v2, v2, v3
vse32.v v0
vse32.v v2

It's a good question, but it's not addressed by the ISA spec. Your question is more about optimizing code for a particular microarchitecture. I suggest filing your question with the designers of the processor you are targeting.
For what it's worth, SiFive's X280, an in-order superscalar processor, is able to effectively utilize memory bandwidth in this example without unrolling. So if you were targeting X280, I would say "don't bother".

Increasing LMUL should have similar effect, while keeping the stripmining bookkeeping much simpler.

In an in-order superscalar cpu, the vadd.vv needs to wait for the vle32.v to return. So when the cpu is executing vadd.vv, the LSU isn't working and the memory bandwidth is not used.

The LSU works with any non-trivial uArch with chaining support.

@nick-knight @aswaterman @sequencer Thank you for your help :)

It's a good question, but it's not addressed by the ISA spec. Your question is more about optimizing code for a particular microarchitecture. I suggest filing your question with the designers of the processor you are targeting.
For what it's worth, SiFive's X280, an in-order superscalar processor, is able to effectively utilize memory bandwidth in this example --- with higher LMUL --- without unrolling. So if you were targeting X280, I would say "don't bother unrolling; increase LMUL instead."

I'm using T-Head C908, maybe I should try SiFive :)

@sunnycase I've got a bunch of benchmarks that are meant to answer such questions at: https://camel-cdr.github.io/rvv-bench-results/canmv_k230/index.html
For the C908 I'd recommend using the maximal LMUL when possible, and you aren't using the permutation instructions.
The C920 had a problem when doing LMUL=8 load & stores with little in between, e.g memcpy, it would be slower than using LMUL=4. Presumably, because the core can issue one 512 bit load and one 512 bit store in parallel, but with LMUL=8 it can't (or rather doesn't) interleave the load stores. But this isn't a problem for the C908, and I don't expect it to be a problem in future cores.
@nick-knight Do you know how vcompress.vm scales with LMUL on the X280? The llvm-mca entries for it seem very bad (e8,m1: 8 cycles, e8,m8: 64 cycles, e8,m1: 64 cycles, e8,m8: 512 cycles), although that would also be understandable, given that the X280 was mostly design for AI/ML.

@nick-knight Do you know how vcompress.vm scales with LMUL on the X280? The llvm-mca entries for it seem very bad (e8,m1: 8 cycles, e8,m8: 64 cycles, e8,m1: 64 cycles, e8,m8: 512 cycles), although that would also be understandable, given that the X280 was mostly design for AI/ML.

On X280, vcompress.vm occupies the vector arithmetic sequencer for roughly vl cycles. Since VLEN = 512 on this core, you should expect (and I have measured) roughly 512 cycles for the e8,m8 case, for example. X280 has a special optimization in the case vl * SEW <= 256 (the datapath width): it only occupies the vector arithmetic sequencer for ~1 cycle. However, it is very tricky to leverage this optimization because vectorization at mf2 greatly reduces the benefits of the decoupled microarchitecture, and unrolling to expose ILP (the original topic of this thread) actually does become necessary.
IIRC, an earlier cost model we had upstreamed did not accurately capture the details of X280's vcompress.vm implementation. Perhaps that's what you're seeing. I believe it's been updated in our downstream dev toolchain, but I don't know the upstream status. I'll nudge the compiler team.

Thanks for the reply, that lined up with what I expected.
That definitely was a copy pasting error, I meant (e64,m1: 8 cycles, e64,m8: 64 cycles, e8,m1: 64 cycles, e8,m8: 512 cycles, see https://godbolt.org/z/Ybno1Eh7G)

X280 has a special optimization in the case vl * SEW <= 256 (the datapath width): it only occupies the vector arithmetic sequencer for ~1 cycle. However, it is very tricky to leverage this optimization because vectorization at mf2 greatly reduces the benefits of the decoupled microarchitecture, and unrolling to expose ILP (the original topic of this thread) often does become necessary. (So, good question :)

This could be quite beneficial if the same thing exists for vrgather.vv, as may uses are 16 and 32 byte lookup tables. Although it would certainly be easier to make use of, if dispatching happens based on vl instead of LMUL (you kinda implied it happens based on LMUL).

This could be quite beneficial if the same thing exists for vrgather.vv

Yes, a similar optimization exists for vrgather.vv. Again, in the general case, it has vl-cycle occupancy, but has a ~1-cycle occupancy when LMUL <= 1/2, and a ~3-cycle occupancy when vl * SEW <= 256 and all active indices are < 256/SEW. The extra cycles in the latter case are due to having to check the indices to ensure the optimization applies. (Note that the mf2 special case precludes SEW = 64.) We didn't implement a similar optimization for vrgatherei16.vv: that's always vl-cycle occupancy. Hopefully all of this is up-to-date in the upstream cost model.

@sunnycase I've got a bunch of benchmarks that are meant to help answer such questions at: https://camel-cdr.github.io/rvv-bench-results/canmv_k230/index.html
Specifically the utf8_count benchmark, has unrolling, manual tail handling, and pointer aligning with different LMULs. As you can see, even with LMUL=8 unrolling can sometimes still gain a bit performance on top just LMUL=8. This is probably mostly due to it being an in-order core, the ooo C920 didn't gain anything from it.
For the C908 I'd generally recommend using the maximal LMUL when possible, and you aren't using the permutation instructions.
The C920 had a problem when doing LMUL=8 load & stores with little in between, e.g memcpy, it would be slower than using LMUL=4. Presumably, because the core can issue one 512 bit load and one 512 bit store in parallel, but with LMUL=8 it can't (or rather doesn't) interleave the load stores. But this isn't a problem for the C908, and I don't expect it to be a problem in future cores.
@nick-knight Do you know how vcompress.vm scales with LMUL on the X280? The llvm-mca entries for it seem very bad (e8,m1: 8 cycles, e8,m8: 64 cycles, e8,m1: 64 cycles, e8,m8: 512 cycles), although that would also be understandable, given that the X280 was mostly design for AI/ML.

Thank you for the benchmarks, it's very useful.

@camel-cdr I have quickly viewed the source code. But it seems you didn't reorder the instructions to make loads be issued contiguously. Maybe the in-order superscalar cpu (C908) can not benefit from the unrolling without reordering.
https://github.com/camel-cdr/rvv-bench/blob/main/bench/utf8_count.S#L110

Ah, thats true. I'll try to fix this later today.

@sunnycase It looks like instruction reordering (rvv_4x_tail) actually slows it down compared to the simple unroll (rvv_4x): https://camel-cdr.github.io/rvv-bench-results/canmv_k230/utf8_count.html
I used codegen from gcc to schedule the instructions properly, I also tested clangs codegen, but that was slower.

Closing, as this issue isn't germane to the ISA spec.


Add help to compile; make it visible in CLI help

I'm going to leave the wizard hidden for the 0.3 release, but compile is one of the marquee features for this release.
To-do:

~Needs to link to the page in core docs that discusses default options and how to generate documentation for all installed options.~

EDIT: To clarify here, I have made the decision that the Wizard, while a lot of fun, isn't mature enough or well-designed enough to be something I want to commit to maintaining. It also isn't an approach that we should put much effort into expanding/maturing (there are better ways to be user friendly.) It was originally a bit of a response to people who kept saying that OPS was too hard to use because it required working in a Jupyter notebook. Frankly, I think there are better solutions to make that response.
However, I totally intend to leave it in as an easter egg for anyone who finds it, because I find it hilarious. Especially the error demon.

Changed my mind. We have a circular dependency here:

I want the help from compile to link to a spot in the OPS docs explaining the file format of compile. This requires making changes in the OPS docs.
The OPS docs explaining the file format of compile are build dynamically, based on the currently installed plugins registered by the compile CLI command. This requires releasing a version of CLI with compile merged in.

So I think the solution is:

Finish the release of CLI 0.3
Merge a docs update into OPS
Push a small change to docs here to link to the OPS docs on the CLI.

This is ready for review and comment. Without review, I will merge this after at least 18 hours, no sooner than Sun 05 May 23:00 GMT (18:00 my local).


Config Missmatch to unjs/unstorage with Custom Drivers

Environment
<EMAIL_ADDRESS>$ node --version
v16.17.0
Reproduction
Follow the example of unstorage https://github.com/unjs/unstorage#making-custom-drivers
I used the original memory driver as "custom driver"
import { defineDriver } from './utils'
import type { StorageValue } from '../types'

export default defineDriver(() => {
  const data = new Map<string, StorageValue>()

  return {
    hasItem (key) {
      return data.has(key)
    },
    getItem (key) {
      return data.get(key) || null
    },
    setItem(key, value) {
      data.set(key, value)
    },
    removeItem (key) {
      data.delete(key)
    },
    getKeys() {
      return Array.from(data.keys())
    },
    clear() {
      data.clear()
    },
    dispose() {
      data.clear()
    }
  }
})

Describe the bug
The current interface for storage options is:
interface StorageMounts {
    [path: string]: {
        driver: BuiltinDriverName | CustomDriverName;
        [option: string]: any;
    };
}

but unstorage allows the use of custom drivers and we are not using them.
Additional context
I found https://github.com/unjs/nitro/blob/main/src/rollup/plugins/storage.ts
on line 47
${driverImports.map(i => genImport(i, genSafeVariableName(i))).join('\n')}
I am not quite sure if that means we should do the following
storage:{
  db: {
    driver: "../../../../CosmoDriver.js",
    options: {
     // my driver options
    },
  },
}

This kind of complex and error prone
We  should allow the user to pass in the driver directly and just
driver:new Driver({})
Logs
No response

I'm having the same problem but bigger because I wrote my driver in typescript and can't even use the workaround because it only gets bundled into the server and is not importable

I had a look in the code and it is definitely more complicated than just adding the pure driver factory to the type definition because they use the string to generate the variable name and use dynamic imports

I am facing the same problem trying to use a Custom Driver. Any updates on that issue?

I have the same problem. Does nitro support Custom Driver?

You should use an absolute path for your custom driver location :
import { resolve, dirname } from "node:path";
import { fileURLToPath } from "node:url";

export default defineNitroConfig({
  storage: {
    "custom-db": {
      driver: resolve(
        dirname(fileURLToPath(import.meta.url)),
        "unstorage/custom-driver.ts"
      ),
    },
  },
});

You should use an absolute path for your custom driver location :
import { resolve, dirname } from "node:path";
import { fileURLToPath } from "node:url";

export default defineNitroConfig({
  storage: {
    "custom-db": {
      driver: resolve(
        dirname(fileURLToPath(import.meta.url)),
        "unstorage/custom-driver.ts"
      ),
    },
  },
});

It worked for me. But I think we should support using Driver/Storage imported from other ts/js files directly. Since this didn't support TypeScript files and is not very elegant.
I would like to help if we have a plan to support this.

It supports typescript files. You can replace dirname(fileURLToPath(import.meta.url)) with __dirname if you want something less verbose.


Add name filter to componentList View

Fixes
https://issues.redhat.com/browse/HAC-543
Description
Adds a name filter to componentListView
Type of change

[x] Feature
[ ] Bugfix
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

Screen shots / Gifs for design review

How to test or reproduce?

npm run verify

Browser conformance:

[x] Chrome
[x] Firefox
[ ] Safari
[ ] Edge

Added tests

the i18n key can be seen

the i18n key can be seen

Removed translation as i18n is not yet in place


[1.18.1] [Fabric] Crash after Startup

Hi, i downloaded the mod today & it crashes isntantly if i try to start minecraft.
Without the mod it works fine.
My log:
latest.log
Modloader: Fabric 0.13.2
villagernames-1.18.1-3.0.2

That's a very odd log. I will take a closer look soon but it is most likely a conflict with another mod that interferes with villagers.


CDK 2: Error: Package subpath './core' is not defined by "exports"

Hi,
I'm on CDK 2.2.0 and was using the following code with CDK 1.x.x:
        // Create an ECR repository for our image, so that it can be scanned automatically
        const ecr = new Repository(this, 'ecrRepository', {
            imageScanOnPush: true,
            repositoryName: this.stackName
        })

        // Topic to send reports from scans to
        const topic = new Topic(this, 'ecrPushTopic', {
            topicName: this.stackName + 'EcrScanResults'
        })

        // Make scans send to topic
        ecr.onImageScanCompleted('onScanComplete', {
            target: new SnsTopic(topic)
        })

        // Build the image. CDK puts all images into a shared ECR at first
        const image = new DockerImageAsset(this, 'CDKDockerImage', {
            directory: 'app/'
        })

        // Copy the image from the shared ECR to the dedicated one for your project
        new ECRDeployment(this, 'DeployDockerImage', {
            src: new DockerImageName(image.imageUri),
            dest: new DockerImageName(ecr.repositoryUri),
        })

After switching to CDK 2 I'm getting the following error.
Error: Package subpath './core' is not defined by "exports" in /workspace/io-applications/lp-toolbox/node_modules/aws-cdk-lib/package.json
    at new NodeError (node:internal/errors:371:5)
    at throwExportsNotFound (node:internal/modules/esm/resolve:429:9)
    at packageExportsResolve (node:internal/modules/esm/resolve:683:3)
    at resolveExports (node:internal/modules/cjs/loader:482:36)
    at Function.Module._findPath (node:internal/modules/cjs/loader:522:31)
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:999:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/workspace/io-applications/lp-toolbox/node_modules/cdk-ecr-deployment/src/index.ts:8:1)
Subprocess exited with error 1

my cdk-ecr-deployment version:
<EMAIL_ADDRESS>  version "2.0.2"
  resolved "https://registry.yarnpkg.com/cdk-ecr-deployment/-/cdk-ecr-deployment-2.0.2.tgz#7d1b7b37c9a2c656a8cb72f9eeb2d180375c10e9"
  integrity sha512-8A9miP8+8Zg2IqY8ylc+wS+s7D3cgjwBDdXXksXOxUIx+9hQKXDheTdvBX38imAKXPAE+YiobI+cIGAx3lkvnQ==
  dependencies:
    aws-cdk-lib "2.0.0"
    constructs "^10.0.5"
    got "^11.8.3"

That would be awesome!

@wchaws the issue still exists.
Error: Package subpath './core' is not defined by "exports" in /workspace/io-applications/lp-toolbox/node_modules/aws-cdk-lib/package.json

I was using cdk 2.2.0 before. What exactly should have changed now?

@konstantinj  Please try the latest v2.0.5


Question: How to render an overlay everywhere except a circular region

I've experimented with masks and was able to make a circular area brighter than the rest of the screen, but what I want to do is have the area in the circle render as normal, but have anywhere outside of the circle render much darker (maybe a half opacity black on top of it).  Is there a way to do this with pixijs?

Closing due to inactivity. If you found a way to achieve what you required then please let us know :)


Added RehydratePriority response header to GetBlobProperties and List…

/azp run automation - sdk

Can one of the admins verify this patch?


run/push: support "subargs" for forwarding to remote process. Fixes gh-732

Uses the "subarg" syntax:
t2 run index.js [foo bar baz -a 1 -b 2 --named --key=value]

Will result in process.argv on the deployed program:
[ '/usr/bin/node',
  '/tmp/remote-script/index.js',
  'foo',
  'bar',
  'baz',
  '-a',
  '1',
  '-b',
  '2',
  '--named',
  '--key=value' ]

Smoke Test
(pull this branch locally)

Create a new project:

mkdir t2-732 && cd t2-732 && t2 init;
npm install minimist --save

Open the index.js just now and replace the contents with:

var argv = require('minimist')(process.argv.slice(2));

console.log(argv);

Run t2 run index.js [foo bar baz -a 1 -b 2 --named --key=value]

Deployment should look something like this:
$ t2 run index.js [foo bar baz -a 1 -b 2 --named --key=value]
INFO Looking for your Tessel...
INFO Connected to ash.
INFO Building project.
INFO Writing project to RAM on ash (9.728 kB)...
INFO Deployed.
INFO Running index.js...
{ _: [ 'foo', 'bar', 'baz' ],
  a: 1,
  b: 2,
  named: true,
  key: 'value' }

Signed-off-by: Rick Waldron<EMAIL_ADDRESS>

@ebruchez wdyt?
@HipsterBrown review?

Code looks good to me. I can't do a smoke test tonight.
A few questions:

Would you suggest using subargs to pass through things like API tokens instead of environment variables?
Could we also pass through environment variables in a similar way?

Smoke test results:
Nicks-MacBook-Pro:tessel-test hipsterbrown$ mkdir t2-732 && cd t2-732 && t2 init; npm install minimist --save
INFO Initializing new Tessel project for JavaScript...
INFO Created package.json.
INFO Created .tesselinclude.
INFO Wrote "Hello World" to index.js
<EMAIL_ADDRESS>node_modules/minimist
Nicks-MacBook-Pro:t2-732 hipsterbrown$ vim index.js
Nicks-MacBook-Pro:t2-732 hipsterbrown$ t2 run index.js [foo bar baz -a 1 -b 2 --named --key=value]
INFO Looking for your Tessel...
INFO Which Tessel do want to use? 	LAN	tessel-router
INFO Connected to tessel-router.
INFO Building project.
INFO Writing project to RAM on tessel-router (9.728 kB)...
INFO Deployed.
INFO Running index.js...
{ _: [ 'foo', 'bar', 'baz' ],
  a: 1,
  b: 2,
  named: true,
  key: 'value' }
Nicks-MacBook-Pro:t2-732 hipsterbrown$

Looks like a successful test! :+1:

Could we also pass through environment variables in a similar way?

TBH, I'm not sure and this is an interesting question. I will do some tests and report back

Could we also pass through environment variables in a similar way?

I've spent some time with this question and have determined that this patch is not an appropriate mechanism to shoe-horn other features into. I'm going to stop at "just subargs" here.

@rwaldron Sounds good. I appreciate you taking the time to investigate that concept. LGTM :+1:


Training curves

I'm curious what the training curves looked like for you. Are they available by chance? How much did the refinement stage improve the lddt-CA?
Thanks!

We'll be releasing more details with our preprint, but the refinement stage didn't improve LDDT-Ca much. It did vastly reduce violations, though.

Ok, thanks! Looking forward to the preprint.


(Work In Progress) Updating backend fields to meet Score M definitions

#1180 updating backend variables to match Score M definitions. Work in progress!

(I made a git mistake and am going to open a clean pr instead!)


StaticInventoryDisplay definitions

This is likely because we technically have 2 inventories (one in FirstPerson3DController and another one in FP3C/Inventory Objects)
I think I'm just going to go back to working on the character controller and its inventory for now, and then merge the two inventories (systems) together later.
Liam
SCD-4

https://signal-k.slack.com/archives/C02GSLFB05N/p1660547840347799

Another issue is that I deleted/moved a lot of the scripts and other assets relating to the FirstPerson 3D Controller Scene, so I need to revert (temporarily) back to commit 08f2915ee26a3a4f617932f11d636f9ab8c4033d

Fixing/rebuilding the terrain for b686f3c


[WIP] Move documentation from Notion/GitHub Issues to codebase

Summary
Adds documentation and links it to relevant code files using https://marketplace.visualstudio.com/items?itemName=mintlify.linked
Test Plan
Does this provide value?
Notes

Blockers

A newly discovered dependency that hasn’t been addressed

Breaking Changes

Database schema change (anything that changes Firestore collection structure)
Other change that could cause problems (Detailed in notes)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Handover Challenges

Should be able to answer the following:

What information is being provided on a project handover? Level of detail?
How?
To whom?
Can handover be persisted and probably maintained?
Does handover includes Design decisions info? e.g. why feature A implemented that way, or why code refactor performed to deal with feature B etc

Note: Handover is the process of passing the knowledge of a project to another person upon the departure of the first one

Research Completed. Findings will be presented on Master Thesis Document.


Clean up the uploads created during the test run

Inspired by:
https://github.com/carrierwaveuploader/carrierwave/wiki/how-to:-cleanup-after-your-rspec-tests
But my take was a little less involved. 😉
Also: how weird is it that S3Uploader.root returns a Proc??
closes #174

I'm a little envious you squashed this one!


Remove OrderedLoader, sort responses by status code

Requiring Python >= 3.0 (3.6, since that's what the pdns repo requires) ensures that dictionaries will preserve insertion order, so the OrderedLoader is no longer required for that purpose. Removing it re-enables various features of the BaseLoader without having to duplicate them, specifically the support for 'merge' keys.
In addition, responses are now ordered by status code (even if they were not defined that way in the spec file), so that the 'success' codes will appear before the 'failure' codes.

Merging this will 'break' existing pdns build trees, since the order will not be preserved. Creating a new branch name might be an easy way to fix that (use-jsondomain-py3 would be logical).

It would be good to update to sphinx-contrib/openapi:master first to see if tings have already been fixed upstream as well?

I can't speculate on that; this fork existed long before I got involved with pdns :-) Is there any sort of documentation as to why this fork was created?

I can't speculate on that; this fork existed long before I got involved with pdns :-) Is there any sort of documentation as to why this fork was created?

no docs, just that I added some magic to allow showing the JSON objects that are available in the API separately from the endpoints:
https://github.com/pieterlexis/sphinxcontrib-openapi/commit/9fc07f8dce07543ed26212c51feea5d32d8c2138

The upstream repo doesn't have any references to 'jsondomain' that I can find, so it does not appear that this feature has been added there.

let's merge this as-is and do a re-implementation on top of master of the json 'stuff' and see if we can upstream it


Add krb5-workstation to java-base

Description
Please add a description here.
Definition of Done Checklist

Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
Please make sure all these things are done and tick the boxes

- [ ] Changes are OpenShift compatible
- [ ] All added packages (via microdnf or otherwise) have a comment on why they are added
- [ ] Things not downloaded from Red Hat repositories should be mirrored in the Stackable repository and downloaded from there
- [ ] All packages should have (if available) signatures/hashes verified
- [ ] Does your change affect an SBOM? Make sure to update all SBOMs

Waiting with the merge to give others time to comment


Issue with cross_field type for Match or MultiMatch query

It seems that PyES does not support "cross_field" queries (or any of the newer types) for Match or MultiMatch queries. For reference, here is a link to some docs. Is it just a matter of adding some values to the self._valid_types list?
@aparo Also, this project seems a bit inactive. I can fork and create a pull request, but I am no worried I am using a PyES in production while PyES is not being maintained. What is the general status of this project?
Example:
In [2]: pyes.MultiMatchQuery("title", "test", type="cross_fields")
...
----> 1 pyes.MultiMatchQuery("title", "test", type="cross_fields")
.../flask-env/local/lib/python2.7/site-packages/pyes/query.pyc in init(self, fields, text, type, slop, fuzziness, prefix_length, max_expansions, rewrite, operator, analyzer, use_dis_max, minimum_should_match, **kwargs)
1087
1088         if type not in self._valid_types:
-> 1089             raise QueryError("Invalid value '%s' for type: allowed values are %s" % (type, self._valid_types))
1090         if operator not in self._valid_operators:
1091             raise QueryError(
QueryError: Invalid value 'cross_fields' for type: allowed values are ['boolean', 'phrase', 'phrase_prefix']

Whoops, looks like I pulled the trigger too quickly on this one. Latest version of pyes does have support for this. Will close


BigQuery Storage Write API wrapper for Python SDK

Implementing a wrapper for Python SDK that uses Java's Storage API SchemaTransform to write to BigQuery
Fixes #21961
Also adding some support to more easily create cross language tests for a particular expansion service (ie GCP, kinesis, etc.)

R: @chamikaramj

Run Python_Xlang_Gcp_Dataflow PostCommit

Run Python_Xlang_Gcp_Direct PostCommit

Run Python_Xlang_Gcp_Dataflow PostCommit

Run Python_Transforms PreCommit

Run Java_Kafka_IO_Direct PreCommit

Run Python_Xlang_Gcp_Direct PostCommit

Run Python_Xlang_Gcp_Dataflow PostCommit

Run Python_PVR_Flink PreCommit

Run Python_Xlang_Gcp_Dataflow PostCommit

Run Python_Xlang_Gcp_Direct PostCommit

Run Python_Xlang_Gcp_Dataflow PostCommit

Run Python_Xlang_Gcp_Direct PostCommit

Run Python_Xlang_Gcp_Direct PostCommit

Run Python_Xlang_Gcp_Dataflow PostCommit

Run Python_Xlang_Gcp_Dataflow PostCommit

Run Python_Xlang_Gcp_Dataflow PostCommit

Run Python_Xlang_Gcp_Direct PostCommit

Run Python_Xlang_Gcp_Direct PostCommit

Run Python_Xlang_Gcp_Dataflow PostCommit

Run Python_Xlang_G
cp_Dataflow PostCommit

Run Python_Xlang_Gcp_Direct PostCommit

Seems like tests couldn't find the expansion service ?
https://ci-beam.apache.org/job/beam_PostCommit_Python_Xlang_Gcp_Dataflow_PR/21/testReport/junit/apache_beam.io.gcp.bigquery_write_it_test/BigQueryXlangStorageWriteIT/test_storage_write_beam_rows/

Seems like tests couldn't find the expansion service ?

Yeah it's only seeing the default value (see debug println) that I set here. The setup task overwrites that value and launches an expansion service as expected, but the python task doesn't read the updated value. I'm not sure how scoping works between these tasks.


Launch into AnyWorkflow

Is your feature request related to a problem? Please describe.
I am using the Type erased AnyWorkflow, but I am unable to launch that erased workflow.
Describe the solution you'd like
Following a similar pattern to a Type Specified Workflow, I want to be able to call launchInto(AnyWorkFlow)
Describe alternatives you've considered
N/A
Additional context
N/A

Thanks for the feature request! We'll work on this and get back to you.

Version 4.3.8 was just released and should have your enhancement in it!


Locate binary directory in project folder.

I am trying to use visual studio code for java to train beginners.
In java project, a binary directory is usually located in project folder.
It is useful for beginners to see binary folder to realize what is "compile".
So, can you change the "no build tool" template, or make it configurable?
I tried to  change ".classpath" file and it worked.
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
	<classpathentry kind="src" path="_/src"/>
	<classpathentry kind="output" path="_/bin"/>
</classpath>

A PR is raised at upstream side: https://github.com/eclipse/eclipse.jdt.ls/pull/1594
Please feel free to comment there is you have any questions.
Thanks

I'll close this issue since the upstream PR has been merged.
Please not that: The setting will only take effect when it's configured in the WORKSPACE scope!!


Revert "Set release 17 MERGEOK"

Reverts vespa-engine/sample-apps#984
Cannot build using 17 and deploy into the current vespa7-in-11 containers:
[2022-06-09 11:38:43.664] ERROR   : container        Container.com.yahoo.jdisc.core.StandaloneMain	JDisc exiting: Throwable caught: \nexception=\njava.lang.UnsupportedClassVersionError: com/yahoo/example/SubqueriesSearcher has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0 ...

fyi @bratseth

Thanks!


New Feature - Timelapses

Webcam feature was already requested. But what about a timelapse feature? So your timelapse starts, when the print start and ends with the print end. The finished files should be accessible through the webUI.
Would be a really nice feature.

Just had another idea for a timelapse feature. If there is an auto-timelapse mode implemented, which is making a video, every time a print starts, it would be nice to make a "minimum layer" option. Because you wouldnt see anything on a timelapse with a print that has only 100 layers.

I would like to extend on the idea: while below the minimum layer, it would be great to have an option to pause the print every n-th layer, drive the build plate up to a defined position, take a pic, lower it again and resume the print. That would slow down the print a bit but allow the user to see the early, critical layers forming.

I've seen people do this with a light sensor placed in the chassis,
connected to the trigger on a Canon DSLR. The moment the LEDs turn on seems
to be a great moment to capture an image. But this also means smaller items
(like the keycaps I'm printing now) are going to be worthless. I was
thinking if Mariner sent a periodic M25 and took the picture while paused,
you could get some good timelapses. It'd add some extra time to the print
though.
On Wed, May 26, 2021 at 4:30 PM bludin @.***> wrote:

I would like to extend on the idea: while below the minimum layer, it
would be great to have an option to pause the print every n-th layer, drive
the build plate up to a defined position, take a pic, lower it again and
resume the print. That would slow down the print a bit but allow the user
to see the early, critical layers forming.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/luizribeiro/mariner/issues/243#issuecomment-849133521,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABQPPLREUPV5RHDYJFKWX3TPVR77ANCNFSM4XEUBQDQ
.

It would indeed, but it would also allow you to abort the print early on when things go wrong, which will save you a lot of time


Add a layer to color unzoomed agents based on their current delay, to…

… help debug gridlock. Something like this used to exist as a first-class way to change unzoomed color schemes, but until we have more ideas about showing agent intent on the minimap, just implementing this as a separate layer.

@michaelkirk

Thanks for the explanations!


Add dcos-autoscaler package

Adding package dcos-autoscaler to universe.
This package provides service autoscaling based on cpu or memory. Every app autoscaling behavior is configurable using labels similar to how marathon load balancer works.

@jeorg84 can you please take a look at this?

@ryadav88


SkipLast refactoring

Fix #626

Add a test for SkipLast for ICollection input sequence
Add a custom implementation for SkipLast that avoid object creation for each item

Closing as this is no longer an issue (see 59818a3f0af9388029d5ffcb24c7171d5783184f in #759).


Refactor vppagent.Dataplane to in new SDK fashion #2

Signed-off-by: denis-tingajkin<EMAIL_ADDRESS>
Description

Motivation and Context
https://github.com/networkservicemesh/networkservicemesh/issues/1544
How Has This Been Tested?

[X] Covered by existing integration testing
[ ] Added integration testing to cover
[ ] Tested locally
[ ] Have not tested

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[X] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

TODO:

fix linter issues
fix failing integration tests
code cleanup, fix TODO in code

@nickolaev Good time to switch language to forwarder, yes.  As to why we need an SDK here... lots of folks are going to need to build NSM Forwarders... for custom NICs, customer protocols, etc.  This movement is to move to the simpler 'chained' approach to building them, thus the need for an SDK.

IMO the SDK is for NS Clients and Endpoints only. The forwarder code has nothing to do with this. Why not keep this under 'forwarder/sdk'? This will ease the split of the forwarders to their own repo once the time comes.

@rdimitrov Could you please check, only you are left. Thanks.


[Feature] Support authenticate with ranger with Kerberos

Why I'm doing:
Support authenticate with ranger with Kerberos
What I'm doing:
Support authenticate with ranger with Kerberos
Fixes #issue
What type of PR is this:

[ ] BugFix
[x] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

@Mergifyio backport branch-3.2


Add IL5 instance types, improve static validator, add tests

Which issue this PR addresses:

Fixes https://msazure.visualstudio.com/AzureRedHatOpenShift/_workitems/edit/14180703/
What this PR does / why we need it:

Adds IL5 instances that weren't already added (a few were already there)
Adds some improvements and unit testing to the static validator
Adds some more test cases to the dynamic validator

Test plan for issue:

Tested an all-IL5 instance install in our gratis dev subscription

Is there any documentation that needs to be updated for this PR?
Yes, we'll need to update our support policy with the new sizes

I've tested an install in our dev subscription using this PR, and opened another PR to add the instance types to our support policy when this merges: https://github.com/MicrosoftDocs/azure-docs-pr/pull/196323


docs: Adding a README documenting the current infrastructure in use.

I added to the README every infrastructure aspect I can remember which is in use for Pulumiverse.
Signed-off-by: Ringo De Smet<EMAIL_ADDRESS>

@cobraz good catch. Can you make an issue for that so we don't forget it once this PR is merged?

LGTM


How do I use this library to edit profile? (Azure B2C)

I'm submitting a...
[x] Documentation issue or request
Browser:

[x] Chrome version 74

Library version
Library version: 0.2.4

I am trying to use this library to update the users profile. I have created the user flow in B2C, and I can successfully open a popup, to change their profile details:
async editProfilePopup() {
    try {
        this.auth.authority = this.applicationConfig.authority["EDIT_PROFILE"];
        await this.auth.loginPopup(this.applicationConfig.b2cScopes);
        await this.auth.acquireTokenSilent(scope);
    } catch (ex) {
        debugger;
        return false;
    }
}

However, it always throws an exception. I have set a debugger in the catch, but ex is undefined.
The result is that I get logged out of the application because when I refresh, acquireTokenSilent fails.
I can't find any documentation on how to achieve what I'm trying to do (edit the profile). I've made sure the claims returned by the edit profile user flow are the same as the claims returned from the log in user flow, however, it still has this problem.
Am I going about this the wrong way? As I said, I couldn't find any documentation on this.
Thanks.

Hi @KevinMallinson is there any error string that you are getting? ATS may be failing with an interaction_required error, which may be why it isn't working as expected.
Since you are using 0.2.4, you won't have any exception being thrown. The errors come back in the reject of the promise as an error string.

Hi, since I am using the async syntax, the catch is actually equivalent to reject with the exception being the reject message.
In this case, the message is undefined.

@KevinMallinson  can you confirm that the catch that is happening is coming from acquireTokenSilent? You would think even if it was an uncaught error, there would be an err object
strange

pinging this thread @KevinMallinson

Hi Daryl, I will attempt to replicate within the next week and verify if the exception occurs via acquireTokenSilent.

closing due to inactivity, please reopen if this is still an issue


linker: arm: Fix and enhance Cortex-M TCM support

Fixes the Cortex-M DTCM linker section to work with relocation using scripts/gen_relocate_app.py
Adds support for the Cortex-M ITCM linker section.
This is in preparation for extending #31034 to support XIP.

@ioannisg will you please have another look?

@ioannisg will you please have another look?


[Bug] [Android] MissingMethodException: No constructor found for Xamarin.CommunityToolkit.Android.Effects.PlatformTouchEffect+AccessibilityListener::.ctor(System.IntPtr, Android.Runtime.JniHandleOwnership)

Description
This happens sometimes in production when the app was sent to background or resumes from background. I suppose that the system tries to restore an instance of AccessibilityListener using the specified constructor. This may be fixable by adding this constructor while doing the appropriate base call.
Stack Trace
System.NotSupportedException: Unable to activate instance of type Xamarin.CommunityToolkit.Android.Effects.PlatformTouchEffect+AccessibilityListener from native handle 0x7fc8d60df4 (key_handle 0xd8e584).
  at Java.Interop.TypeManager.CreateInstance (System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer, System.Type targetType) [0x0017e] in <0c41f4e7d26b446fb63d4ef4709d3b54>:0
  at Java.Lang.Object.GetObject (System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer, System.Type type) [0x00023] in <0c41f4e7d26b446fb63d4ef4709d3b54>:0
  at Java.Lang.Object._GetObject[T] (System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer) [0x00017] in <0c41f4e7d26b446fb63d4ef4709d3b54>:0
  at Java.Lang.Object.GetObject[T] (System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer) [0x00000] in <0c41f4e7d26b446fb63d4ef4709d3b54>:0
  at Java.Lang.Object.GetObject[T] (System.IntPtr jnienv, System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer) [0x00006] in <0c41f4e7d26b446fb63d4ef4709d3b54>:0
  at Android.Views.Accessibility.AccessibilityManager+IAccessibilityStateChangeListenerInvoker.n_OnAccessibilityStateChanged_Z (System.IntPtr jnienv, System.IntPtr native__this, System.Boolean enabled) [0x00000] in <0c41f4e7d26b446fb63d4ef4709d3b54>:0
  at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.103(intptr,intptr,bool)
--- End of inner exception stack trace ---
  System.MissingMethodException: No constructor found for Xamarin.CommunityToolkit.Android.Effects.PlatformTouchEffect+AccessibilityListener::.ctor(System.IntPtr, Android.Runtime.JniHandleOwnership)
    at Java.Interop.TypeManager.CreateProxy (System.Type type, System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer) [0x000b5] in <0c41f4e7d26b446fb63d4ef4709d3b54>:0
    at Java.Interop.TypeManager.CreateInstance (System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer, System.Type targetType) [0x00111] in <0c41f4e7d26b446fb63d4ef4709d3b54>:0
  --- End of inner exception stack trace ---
    Java.Interop.JavaLocationException: Exception of type 'Java.Interop.JavaLocationException' was thrown.
      at Java.Lang.Error: Exception of type 'Java.Lang.Error' was thrown.
      at java.lang.Error: Java callstack:
      at crc64515ee83f00766c60.PlatformTouchEffect_AccessibilityListener.n_onAccessibilityStateChanged(Native Method)
      at crc64515ee83f00766c60.PlatformTouchEffect_AccessibilityListener.onAccessibilityStateChanged(Unknown Source:0)
      at android.view.accessibility.AccessibilityManager.lambda$notifyAccessibilityStateChanged$0(AccessibilityManager.java:1305)
      at android.view.accessibility.-$$Lambda$AccessibilityManager$yzw5NYY7_MfAQ9gLy3mVllchaXo.run(Unknown Source:4)
      at android.os.Handler.handleCallback(Handler.java:883)
      at android.os.Handler.dispatchMessage(Handler.java:100)
      at android.os.Looper.loop(Looper.java:221)
      at android.app.ActivityThread.main(ActivityThread.java:7542)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)

Link to Reproduction Sample
Unfortunately not reproducible.
Steps to Reproduce
Unfortunately not reproducible.
Expected Behavior
No crash.
Actual Behavior
Crash.
Basic Information

Version with issue: 1.3.0
Last known good version: -
IDE: Jetbrains Rider
Platform Target Frameworks:

Android: 12.0

Affected Devices: Various Samsung and Redmi devices.

Workaround
None.
Reproduction imagery
Unfortunately not reproducible.

@thisisthekap can you please create a repro project and share the github's link with us?

@pictos Unfortunately, the issue is not reproducible.

But in the description, you mentioned when the issue happens, and how to reproduce it 🤔

As stated it happened in production. Our reporting gave us the data to figure out the user actions that were made.

@pictos Any suggestion on how to proceed with this issue and the related PR?

@thisisthekap I'll review your PR on my end ASAP, then it will be approved and merged

@pictos Awesome! Thank you very much!

Hi @pictos!
Are you able to provide a rough estimate when my PR is going to be reviewed?


Support Laravel Folio

This PR adds support for Laravel Folio for use with the Hybridly's route helper.  Most of this is copied from Ziggy pull #733.
Laravel Folio registers its routes very differently from how Laravel usually handles routes, so unfortunately this is a bit messy. We're more or less doing what Folio's ListCommand is doing, modified for our needs.
Notes:
We only deal with named Folio routes.

I'm not familiar with Folio, does it not register routes in the router?
I'm also curious how you use Folio along with Hybridly?

does it not register routes in the router?

Looking at the doc, it seems to register routes on the fly by looking through directories with blade.php in them
I also don't see well how you could integrate this with hybridly which uses controllers to return hybrid response
A blade.php file seems like it would completely bypass all that, as such the routes should be properly handled as external routes and do a full reload on navigation

does it not register routes in the router?

Looking at the doc, it seems to register routes on the fly by looking through directories with blade.php in them
I also don't see well how you could integrate this with hybridly which uses controllers to return hybrid response
A blade.php file seems like it would completely bypass all that, as such the routes should be properly handled as external routes and do a full reload on navigation

Folio is a page based router similar to vue router.  It looks through directories to build the routes and they are cachable.
I have a large app with many pages and it allows me to put the GET routing, middleware, controller and blade in the same file.  I originally started using it when I converted my app to Splade.  So I have a good amount of folio based routes already.
Here is a simple example of how I started using it with hybridly.  I return the hybridly response and don't have any blade content.
// view/pages/index.blade.php
<?php
use function Laravel\Folio\{middleware, name, render};

middleware(['auth']);
name('home');

render(function () {
    // ...
    return hybridly('index', []);
});

@innocenzi Yes that's correct.

I see, I could see this being a nice feature if you could put the blade file right next to the Vue file, so your code is not split across and hard to browse, but I also think this is something that would be best served by an extension of hybridly
I'm sure there are other routing strategies out there and just adding a configurator with hooks or some kind of similar solution, so another package can modify the routes returned by hybridly would be nice

@Tofandel Yes I'm currently using both.  I'm still working on refactoring my app, plus folio only supports GET routes.  I love the idea of being able to providing middleware, routing, controllers and vue in the same file just like single file components.

@jamesj2 I've been thinking about this, and I don't think we should implement Folio support directly, as this is too specific. We should allow the process to be overridden or hooked into, as suggested by @Tofandel

Can you try https://github.com/hybridly/hybridly/pull/190?


Trying to access array offset on value of type null

Laravel Version: 5.7.7
PHP Version: 7.4.0
Database Driver & Version:

Description:
Trying to access array offset on value of type null
Steps To Reproduce:
Perform any access or execute the 'php artisan' command

We'll need more information than this. Is this a fresh Laravel app. What's the stack trace?

Please provide some code

Please provide some code

The current situation is due to access to the default home page after the PHP version has been upgraded to version 7.4.

Having the same issue. I have a model with a jsonb field that is casted to an array, like this.
protected $casts = [
     'data' => 'array',
];

In PHP 7.3, when I dump the model, 'data' is an array (as expected). In PHP 7.4, 'data' is null.

Laravel Version: 5.7.7

It Laravel 5.7 supposed to work with PHP 7.4?

I didn't catch the version here. 5.7 indeed doesn't supports PHP 7.4 and isn't maintained anymore.
Please check out our support policy on which versions we are currently supporting.

@driesvints The issue is present on 6.5.1

I'm having the same issue when using laravel 6 with php 7.4
Step to reproduce
in your controller create new instance of any model and pass it to view something like
$banner = new Banner();

return view('back.banners.create', compact('banner'));

and in your view try to use old helper something like
old('title.en', $banner->title['en'])

Workaround to use the optional helper to ignore the error produced by php 7.4
old('title.ar', optional($banner->title)['en'])

in php 7.3 this was not an issue and the code worked fine I think the old helper need adjustment for php 7.4 to work like the old behaviour

According to PHP-Doc this is a Backwards Incompatible Change

Array-style access of non-arrays
Trying to use values of type null, bool, int, float or resource as an array (such as $null["key"]) will now generate a notice.

The library author already have a pull request pending for merging:
https://github.com/erusev/parsedown-extra/pull/135/
Hope he can fix it soon.

temporary fix
95:    protected function loadViewsFrom($path, $namespace) 96:    { 97:    --    if (is_array($this->app->config['view']['paths'])) { 97:   ++    if (isset($this->app->config['view']) && is_array($this->app->config['view']['paths'])) {

Maybe in some case you try composer update first.

this issue happened for me on laravel 5.8 on php 7.4. Downgrading the php to 7.3 fixed it.

@agharium 5.8 doesn't supports 7.4

@driesvints learned it the hard way.

same issue
Trying to access array offset on value of type null in F:\xampp\htdocs\mlmproject\admin\join.php on line 116

Hey everyone,
I'm locking this issue because it either has gone off-topic, become a dumping ground for things which shouldn't be in an issue tracker or is just too old. Please try to discuss things further on one of the below channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC


DO NOT MERGE Remove java.time

java.time will not be included in 0.6.6 and therefore
removed. Currently java.time has been extracted into
the project scala-js/scala-js-java-time as an external
library. It could be merged back in later on when its
implementation has matured.

Do not merge until https://github.com/scala-js/scala-js-java-time/pull/1 is merged.

Looks good to me. Waiting for the other one to be merged to write a real LGTM.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2805/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/3609/
Test PASSed.

https://github.com/scala-js/scala-js-java-time/pull/1 has been merged.

LGTM


IR array holder modification

The IR array holder needs to have 4 holes put in it (preferably slots).

See issue #263.


iOS build/archive issue

Hi,
I hope you are doing well,
I m facing an issue when building to iOS,
ERROR: "iphoneos/hyperpay_plugin/hyperpay_plugin.modulemap' not found"
do you happen to know what could be the root cause?
Br,

Hi MoeAi-Ani
Can you try again because I have not seen this problem before
and is code work well before archive

Hi,
it fixed, actually it was my bad with wrong xcode build config.
Sorry for the inconvenience.

it's ok bro , u are welcome


Google Ad Manager - Implementing voice ads functionality using IMA SDK causes problems with background playback in iOS apps

Steps to reproduce
I am currently using Google Ad Manager -  IMA SDK Ver. 3.22.1 to implement the audio ads feature in my radio app, but the iOS app is experiencing the following issues when playing ads in the background.

Play an episode in the foreground.
Then transition to background.
Tap “>>” from the Control Center.
Then, an advertisement is played.
After the ad ends, the next episode does not play.

Expected results
I would like to be able to play the next episode after the ad plays in the background.
Actual results
As described in step 5, the next episode does not play after the ad ends in the background.
Code sample
N/A
Screenshots or Video
https://github.com/user-attachments/assets/334d2dbe-f666-4e67-950c-d8c758d25c37
Logs
gera_ios_backgroundBugs.csv
Flutter Doctor output
N/A

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Hi @ayumic-c, are you using the https://pub.dev/packages/interactive_media_ads plugin? If so, it doesn't seem like background audio ads are supported yet, see the note section in the readme.
Can you also provide a complete minimal reproducible code sample so that we can properly investigate this?

Hi, @danagbemava-nc
No, we are not using that plugin.
And, unfortunately I can’t provide a complete minimal reproducible code sample because of our program is very complicated.
Do you have any solutions without the code?

Unfortunately, without a code sample we can't tell what's wrong and how to solve it. Also, if you're not using the plugin maintained by the flutter team but your own custom implementation, you may want to try with a native iOS sample to see if you get the same behavior, in which case you may want to report it to the library maintainers but if you're using another plugin, you may want to report this to the plugin maintainers.
Given that you're not using the plugin maintained by the flutter team, there's no further action for us to take here. Closing from here.
Thank you


Webview plug-in

we can use js to replace when some widget no support , first we need webview!!

There are 2 ways.
Zserge lib
Lorca lib.
Just Google for it on GitHub.
They have to open in a seperate window though.
It might be possible to get zserge working inline but I don't know

On the same way a texture api is required to implement camera/video plug-in.
There is a special Api to implement in the go-flutter source code to implement webview plug-in.
The first step towards supporting webview plug-in, is to adds support for FlutterCompositor.
The you'll need to find a way to get pixel from the browser and send it to the engine.
Here is my honest opinion, go-flutter-desktop is a project supported by passionate people, and such plug-in demands a lot of initial work + maintenence.
I really don't think we should add support for such featurewe aren't Google.

@pchampio thanks for the feedback. I was always wondering where compositing happens in Flutter !

Here is the golang lib that can open a Webview on all desktops.
https://github.com/zserge/webview/tree/webview-x
The webview-x branch is a refactor designed to also use the Edge Webview, rather than the old Windows browser engine.
Rather than the complex compositing, i was thinking of at least trying to have it open in a separate window to at least have something working.
@pchampio Any idea how we can open a window without opening a new app ? SO that we dont get a new Icon in the app bar, etc

@pchampio Any idea how we can open a window without opening a new app ? SO that we dont get a new Icon in the app bar, etc

No, I don't know much, but I strongly recommend https://github.com/go-flutter-desktop/plugins/tree/master/url_launcher for a similar behavior.

@pchampio thanks will try out the Url Launcher


Error messages when building mixed project (>80% C++) not verbose enough for troubleshooting

atom runs for a while (>20 mins) and creates app.atom file, and sometime usages.json. However the process comes back as "killed" with no further information.
Command used based on cdxgen documentation for a large project.
./atom -J-Xmx16g usages -o app.atom -v --slice-outfile usages.json -l c++ <PATH TO CLONED REPO>
Any way I can get further information out of atom?

@jonhall54 How big is the project? Currently we run all the frontends with the logging disabled, so running a profiler is the only option as of now.

Including dependencies in full it's approx 4GB - running over SSH so not sure if a graphical frontend is missing and throwing an error?

Can you try creating just the atom with -l h? Remove the word usages from your commands.

@prabhu I am attempting this, and thanks for the advice - how long would you expect atom to complete? Running overnight last night it didn't get killed, but seems to hang after an error Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "scala-execution-context-global-20" I will increase the memory in the command and see what happens

Time taken is based on memory available. Best to try with smaller projects to get a feel before trying with larger projects

@prabhu I've had some improved results making use of cmake CMAKE_EXPORT_COMPILE_COMMANDS based on: https://github.com/CycloneDX/cdxgen/issues/1115. I now get an app.atom and slices.json files which are not corrupted and work having run cmake.
However, the output does not include many of the 3rd party dependencies I know are present, and running cdxgen does not provide additional insight. Seems my best working method right now is to extract the dependencies into a conanfile.txt (not using conan for build) and then run cdxgen to get dependency info.

Could you share an example code snippet for a dependency that was not captured in the slices?


Provide API to trigger replays

Instead of relying on developers deleting the tracking tokens from the token store, TrackingEventProcessors should have a method to trigger a replay.
This trigger should not remove the token, but instead store a "ReplayToken". This token stores the original, as well as the current token (which is initially null). When the "current token" catches up with the original, the replay is finished and the TrackingProcessor is consuming events it hadn't seen before. From the on, only the current token is stored.
Handlers that don't indicate they support replays will not be invoked while the ReplayToken indicates a replay. Handlers can indicate they are ReplayAware by indicating so on the EventListener interface (new method), or by adding a class-level stereotype annotation.
Handlers supporting replay may also provide methods to invoke when a replay is triggered and when the replay is considered completed. The annotations (or method signature) should indicate whether this method is to be invoked only once, or for each segment separately.
When a replay is triggered, to ensure all tokens are cleared simultaneously, the thread owning token 0 is responsible for coordinating the replay. When the replay is triggered, the following happens:

if the processor does not own Segment 0

goes into "await replay" mode
it releases all claims on tokens currently owned
attempts to reclaim the token, but release it if the token is not a ReplayToken , for the maximum duration of 30 seconds, after which it will consider this a "failed replay attempt" and continue processing regularly. In that case, it clears the replay mode flag. If possible, the initiateReplay() method should indicate the replay attempt failed.

if the processor owns Segment 0

goes into "coordinate replay" mode
it claims all tokens, attempting to do so for 30 seconds. If it didn't succeed in claiming all tokens, the replay attempt is considered "failed" and regular processing will continue.  In that case, it clears the replay mode flag. If possible, the initiateReplay() method should indicate the replay attempt failed.
calls the "on prepare replay" handlers
replaces tokens with ReplayTokens, referencing the original token
releases claims on these tokens

all processors

switch to "replay mode"
process tokens as usual

the processors not owning Segment 0

will clear the "replay mode" flag as soon as all segments they process have reached the original token

the processor owning Segment 0, once its own tokens have finished the replay

peeks into tokens to see if all segments are still ReplayTokens (new method on tokenstore)
if all Segments are "regular" tokens, it invokes the "replay finished" handler.
removes the "replay mode" flag from the processor

Isn't the description where you're pairing 'processors' and 'segment' a bit off?
I thought the instances holding a 'segment' are the threads of a processors.
So if that's correct it's 'the processors thread owning Segment 0' for example.


Prefix in cache.route not being set

Our app needs the ability to set a dynamic cache prefix. However, whenever I call cache.route({prefix: 'blah'}) and check what prefix is being utilized, it's always 'erc:'. How can I get cache.route to correctly set a prefix?
Thanks!

I solved the issue by dynamically setting the name instead of a prefix. The fact that it doesn't seem possible to define the prefix from cache.route() appears to still be a bug, though.

I got this working using this code:
var http = require('http');
var express = require('express');
var cache = require('express-redis-cache');

var app = express();
var cache = cache({
  prefix: 'test-prefix'
});

app.get('/test', cache.route(), function (req, res) {
  console.log('inside the test route');
  return res.status(200).json({ result: 'done' });
});

http.createServer(app).listen(8080, 'localhost', function(err) {
  if (err) { throw err; }
  console.log('Web server listening at http://localhost:8080');
});

Loading http://localhost:8080/test results in the db entry:
<IP_ADDRESS>:6379> keys *
1) "test-prefix:/test"

Got the same bug :(
Going with the same workaround.