Add model tests of ResNet50v2 NHWC model.

Depends on https://github.com/webmachinelearning/test-data/pull/14.
I will update test-data to latest once above pr was merged, here's local test status:
  test resnet50v2 nhwc
    ✔ test_data_set_0 (7082ms)
    ✔ test_data_set_1 (7100ms)
    ✔ test_data_set_2 (7041ms)
    ✔ test_data_set_0 (fused ops) (5947ms)
    ✔ test_data_set_1 (fused ops) (5945ms)
    ✔ test_data_set_2 (fused ops) (5950ms)

  6 passing (1m)

@huningxin PTAL, thanks.

Updated test-data @ latest 385acbd .
@huningxin Please take another look, thanks.


[Question]How to get related vertex as nested document?

OrientDB Version:2.2.24
Java Version: 1.8
OS: centos
I hava a graph like this
a1 --[classmate]--> b1
a1 --[girlfriend]-- b1
a1 --[relation]--> b2
a1 --[relation]--> b2
I execute sql like this
SELECT *, out('classmate') as `classmate`, out('girlfriend') as `girlfriend`, out('relation') as `relation` from A fetchplan in_*:-2 out_*:-2 *:1

I expect get json like this
{
    "name": "a1",
    "classmate": [
        { "name": "b1" }
    ],
    "girlfriend": [
        { "name": "b1" }
    ]
}

But I get json like this
{
    "name": "a1",
    "classmate": [
        { "name": "b1" }
    ],
    "girlfriend": [
        "#11:22"
    ],
    "relation": [
        { "name" : "b2" },
        "#22:33"
    ]
}

Is there any way to  get the data struct I want?
Thank you.

Try to add the following to the fetchPlan
girlfriend:1 relation:1
Thanks
Luigi

Hi @luigidellaquila
my fetchPlan was in_*:-2 out_*:-2 *:1
And I add girlfriend:1 relation:1 to my fetchplan, It dosen't work

Hi @luigidellaquila
This is a very serious problem for me, could you give me any suggestion ?
Thanks

Hi @lightjiao
Maybe I got it wrong and the correct one is girlfriend:2 relation:2
Could you please try?
Thanks
Luigi

@luigidellaquila Sorry, it doesn't work for me.
My fetchplan was in_*:-2 out_*:-2 *:1 girlfriend:2 relation:2.
I have two situation:
1:  I only need some fields of the related data, I use out('relation').include('name')
2: I need full related data, I fill the rid with foreach in memory  to solve my problem
Any other good way to get full related data? like
select out('friend').include(all fields) as friend from v_Person


added another best practice to batch queries content

Fixes #358
@dgaubert , can you review and make sure it includes everything you were thinking of? Also, not sure where the .DS_Store file came from in this PR?

Be careful with .DS_Store file. It's a MacOS file and we can't push it to the repo.

Yes, makes sense.
Weird, I have no clue how that .DS_store file got here and can't seem to delete it?

I've just removed this file.
You need to configure git globally, for that, open a terminal and run:
echo .DS_Store >> ~/.gitignore_global

and finally:
git config --global core.excludesfile ~/.gitignore_global

👍


Error: Loading chunk 0 failed.

After a fresh install of the theme, I followed the instructions in the REAME but I encourted the Error: Loading chunk 0 failed. after running ng build --watch (see picture).
Any ideas to solve the issue?

@atefBB did you configured the htaccess as well? It looks exactly like a problem caused by it. Try to follow these instructions:

Edit your October's .htaccess file from your root project and change the line as indicated below.
From:
RewriteCond %{REQUEST_FILENAME} !/themes/.*/(assets|resources)/.*

To:
RewriteCond %{REQUEST_FILENAME} !/themes/.*/(assets|resources|app)/.*

Also, for security reasons, you'll need to add the following lines at the the Block all PHP files, except index section:
RewriteRule ^([0-9]+.chunk.js)$ /themes/rluders-angular2/app/$1 [R,L]
RewriteRule ^(themes/.*/app/index.html) - [F,L,NC]

It'll prevent the users to access the themes/(theme)/app/index.html and redirect the chunk files. Not that'll be a problem, but it's not nice.

I'll check it. thx.

This can be solved by changing the file angular/package.json
8: "build": "ng build --watch --deploy-url /<main folder>/themes/rluders-angular2/app/",
In my case the command looks like this:
ng build --watch --deploy-url /october-cms/themes/rluders-angular2/app/
Then start the application using the following command: npm run-script build

Thank you, @leonardosr .
Also, keep in mind that we are working to move the theme to Angular 8. I do not promise that I will be able to review all the pull request this week, 'cause I probably will not have time to do it. But till the end of September we will definitely have an updated version of this theme.

@rluders Good news !


Parsing keybindings

exposes keybindings to be used in engine q

Are you sure everything went fine with the merges? The final diff of the PR looks somewhat small? or is it just the final commit?

It's just the last commit. I don't know why this new branch added those commits. I need to fix my git


Shader examples

Hi thanks again for your great package, where can we find the shader examples?

Thanks in advance!

@gonuit please can you add this example? thanks!

Hi @gonuit , can you please check this? Thanks in advance!

Hi @RoyalCoder88,
I'm sorry for not getting back to you sooner. I will prepare an example in the coming days. I'm afraid I no longer have the code from the above-attached screenshot.

Hi @gonuit any news about my request, thanks in advance!

Hi @gonuit any news about my request, thanks in advance!


Adding protobuf annotations to v1alpha1 types

Adds annotations enabling generation of protobuf messages from go types defined in service catalog.

I think the CLA should be ok now.

I was able to generate .proto file using kubernetes's go-to-protobuf just with this file.
The annotations are hand-crafted, and I'm afraid there is no good documentation for the structure.
If you're not familiar with the format, best bet is to follow conventions used across kubernetes codebase and run them through go-to-protobuf to check if it doesn't generate errors.
The structure of the tag is fairly simple - you provide wiretype (usually bytes), field number (as governed by protobuf rules: no reuse withing a type, etc.), name for the field in generated proto, and casttype where it's required (usually for enum fields and imported types).
The main benefit of providing possibility to generate protobuffer from these structs is easier API consumption from other OO languages than golang (otherwise you have to access json objects).
Let me know if I can provide more context, or help in any other way.

where is go-to-protobuf? It sounds like that should be integrated into either the code-generation or verify step of the build.

I think this is a good PR as an exercise, but we are going to be eliminating the v1alpha1 version of this API soon.  Feel free to continue if you don't mind repeating work if that happens before this PR goes in, otherwise, feel free to wait until the API is bumped.

@mijajasinski I would merge this if it included the protobuf generation - are you up for adding that in?

Looks like we have moved to v1beta1 and v1alpha1 is gone. We still want protobuf gen?

@mijajasinski the PR hasn't been updated since August, closing. Feel free to reopen if you want to continue working on it.


HL-467: performance improvements for application listing

Description :sparkles:

Add to include/exclude fields in the application
Add separate endpoint to download a simplified application listing,
with only the fields normally needed for application list UIs
Optimize various SQL queries

Issues :bug: HL-467
Testing :alembic:
backend/benefit/applications/tests/test_applications_api.py:test_applications_simple_*
Screenshots :camera_flash:
Additional notes :spiral_notepad:

Codecov Report

Merging #950 (3a6cc4c) into develop (a77713c) will increase coverage by 26.59%.
The diff coverage is 88.00%.

@@             Coverage Diff              @@
##           develop     #950       +/-   ##
============================================
+ Coverage    68.82%   95.42%   +26.59%
============================================
  Files          705      182      -523
  Lines        20816     7866    -12950
  Branches      1786        0     -1786
============================================
- Hits         14327     7506     -6821
+ Misses        6195      360     -5835
+ Partials       294        0      -294

Impacted Files
Coverage Δ

backend/benefit/applications/models.py
92.37% <71.42%> (-2.25%)
:arrow_down:

backend/benefit/applications/api/v1/serializers.py
92.97% <80.00%> (-1.67%)
:arrow_down:

backend/benefit/applications/api/v1/views.py
95.23% <95.00%> (-0.07%)
:arrow_down:

...enefit/applications/tests/test_applications_api.py
99.32% <100.00%> (+0.01%)
:arrow_up:

backend/shared/shared/azure_adfs/views.py
40.00% <0.00%> (-44.00%)
:arrow_down:

backend/shared/shared/common/tests/__init__.py
66.66% <0.00%> (-33.34%)
:arrow_down:

backend/shared/shared/common/tests/conftest.py
86.95% <0.00%> (-13.05%)
:arrow_down:

backend/shared/shared/audit_log/audit_logging.py
87.23% <0.00%> (-12.77%)
:arrow_down:

backend/shared/shared/oidc/auth.py
81.48% <0.00%> (-5.56%)
:arrow_down:

... and 525 more

Continue to review full report at Codecov.

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


fix: /bin/sh doesnt exist on erpc base image

@ThallesP thanks for the PR 🚀
I tested the PR locally and I think one small issue left was related to apk add --no-cache curl. seems like in a fresh Alpine image, the package index might be empty. so we need to update the index before installing packages.
RUN apk add --update --no-cache curl && \
    curl -L https://github.com/hairyhenderson/gomplate/releases/download/v3.11.3/gomplate_linux-amd64 -o /usr/local/bin/gomplate && \
    chmod +x /usr/local/bin/gomplate


Input Textfield

Looking at the source it looks like there is a way to write text to screen but is there a built in input field?  Or is this currently listening to keystrokes and adding them yourself?

The latter. And that won't change, because text fields are out of scope for Kha.
There are however gui libs that run on top of Kha like zui and soon haxeui.


Maven@3 task now requires agent version -gt 2.181.2, breaking Azure DevOps Server 2020.1.1 default max of 2.181.2

Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: MavenV3
Environment

Server - Azure Pipelines or TFS on-premises?

If using TFS on-premises, provide the version: Azure DevOps Server 2020 Update 1.1

If using Azure Pipelines, provide the account name, team project name, build definition name/build number: N/A

Agent - Hosted or Private:

If using Hosted agent, provide agent queue name: N/A

If using private agent, provide the OS of the machine running the agent and the agent version: amazon-linux-2 (RHEL based) @ agent 2.181.2

Issue Description
Maven task now requires a minimum agent version greater than 2.181.2 unexpectedly, resulting in on-premises Azure DevOps Server pipelines breaking due to that version having a default maximum agent version of 2.181.2.
Forcing an upgrade to the latest agent version during agent host bootstrapping and blocking the downgrade is not a trivial option for us to pursue.
Task logs
N/A - Task fails to start due to not having an agent available with the required capabilities.
Troubleshooting
Attempted to update the agents in the pool using the native Update All Agents button in the interface, but agents are not able to be updated past 2.181.2.
Error logs
##[error]No agent found in pool linux which satisfies the specified demands: maven, Agent.Version -gtVersion 2.181.2

Worth noting that the Task.json for both MavenV2 and MavenV3 tasks still list the following: "minimumAgentVersion": "1.89.0",
https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/MavenV2/task.json#L27
https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/MavenV3/task.json#L27

@scrthq Agent seems fine, looks like a maven capabiliy issue.
Are you sure that this capability is present in the agent settings?

@scrthq Any update on the issue?

@scrthq I'll close the issue, for now, please feel free to reopen the ticket if something appears or ping me at<EMAIL_ADDRESS>


[SPARK-15879] [DOCS] [UI] Update logo in UI and docs to add "Apache"

What changes were proposed in this pull request?
Use new Spark logo including "Apache" (now, with crushed PNGs). Remove old unreferenced logo files.
How was this patch tested?
Manual check of generated HTML site and Spark UI. I searched for references to the deleted files to make sure they were not used.

Test build #60315 has started for PR 13609 at commit ea0f3a4.

Looks good to me.

Test build #60315 has finished for PR 13609 at commit ea0f3a4.

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

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

Merged build finished. Test FAILed.

The failure is unrelated, and a change to images really can't cause a test failure, so I'm ignoring it.

Merged to master/2.0


Completion results are not be sorted properly

Description
After upgrading jupyterlab-lsp to 5.1, the order of completion results are different from those of jupyterlab-lsp 4.3.
The results seem to be not sorted properly.
Reproduce
I built a container image with this Dockerfile and use it.

Type import numpy as np and run it.
Type np. and press TAB.
Type as.
The results are shown.

Expected behavior
The results of jupyterlab-lsp 4.3 (with this Dockerfile) are as follows:

Words begging with "as" rank higher.

The comparison function in sorting might be here.
https://github.com/jupyter-lsp/jupyterlab-lsp/blob/18d5c8c2e068f63141ddba6339c1cb4173c96341/packages/jupyterlab-lsp/src/features/completion/model.ts#L320-L324
I guess that the correct order is as follows:

The sources of candidates, such as LSP and kernel.
The matching scores.
The sortTexts.


Connection reset by peer using Postgresql driver

Your issue may already be reported! Please search on the issue track before creating one.
What version of Go are you using (go version)?
1.13
Which database and its version are you using?
Postgresql 11
I have the following connection settings.
// NewConnection ...
func NewConnection() (*gorm.DB, error) {
	config := getConfig()
        connStr := "host=xx.xx.xx port=5432 user=chavista-hatter dbname=my-db password=abc sslmode=verify-ca sslrootcert=/path/to/rcert sslcert=/path/to/cert sslkey=/path/to/key connect_timeout=0"
	db, err := gorm.Open("postgres", conn)
	if err != nil {
		return nil, err
	}

	db.DB().SetMaxOpenConns(25)
	db.DB().SetMaxIdleConns(25)
	db.DB().SetConnMaxLifetime(5 * time.Minute)

	db.SingularTable(true)

	if config.LogQueries {
		db = db.Debug()
	}

	return db, nil
}

I get a connection in the main class and inject that connection into a repository class that executes the queries through Gorm (ORM)
main.go
db, err := database.NewConnection()
    if err != nil {
        panic(fmt.Sprintf("failed to connect database --> %v", err))
    }
    fmt.Println("database connection established successfully")

defer db.Close()

customerRepo := customer.NewRepository(db)

repository.go
type repository struct {
    db *gorm.DB
}

//NewRepository
func NewRepository(db *gorm.DB) Repository {
    return &repository{
        db: db,
    }
}

func (r *repository) Register(customer *models.Customer) (string, error) {

    err := r.db.Create(&customer).Error
    if err != nil {
        return "", err
    }

    return customer.key, nil
}

Problem
I send over 500k request (INSERTS) to the db which have 512 connections available and after a few minutes the following error starts to come up repeatedly in postgresql's log:
unexpected EOF on client connection with an open transaction
could not receive data from client: Connection reset by peer

Any help?

@rafareyes7 did you ever resolve the issue? We are experiencing the same issue.

@rafareyes7 did you ever resolve the issue? We are experiencing the same issue.

Hi @rynslmns
We had a bottleneck on the cloud vendor Postgres instance, so we increase the instance storage and the problem got fixed.


fix(<Steps>): nesting renders wrong numbering

Description
When steps are nested the below, it messes up with the numbering of steps.

will be fixed in next v3 alpha


Download PDF

Original GitHub issue https://github.com/dotnet/docs/issues/6721 from @BelarminoVicenzo
You should do something with the formatting when downloaded to PDF.
When I download, all text comes normal, without the colors. Something that is very important.
It makes more difficult to read the code.
See for yourselves https://prnt.sc/kccpgm
So I had to manually copy-paste all docs, literally all them.

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

ID: fc2fe8f7-b023-5aa7-52c2-b9c1c5c13ded
Version Independent ID: 18c373d4-02f9-4cc6-656d-9cf4d11f6498
Content: C# Programming Guide
Content Source: docs/csharp/programming-guide/index.md
Product: dotnet-csharp
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

@dastaffo Can you follow up this issue?

We'll investigate this and add it to a future sprint

@BelarminoVicenzo this issue should be closed when the problem is fixed, so you should receive a notification from GitHub when that happens. We're aware that this applies to any PDF not just .NET, that's why I've moved it here.

Thanks 👍 :)

Adding @cillroy on this one.

Do we have an internal item tracking this?


Label translations support

Hi team!
It would be great to have out of the box functionality for generating label translations. (/{locale}.lproj/pass.strings)
I was debugging why ExampleStoreCard doesn't have labels under the values, looks like this is the reason.

upd:
labels visibility is not related to translations, but this feature is nice to have
Passkit::BasePass
    def background_color
      "rgb(255, 255, 255)"
    end

    def label_color
      "rgb(255, 255, 255)"
    end

This should be closed now


webview and preload do not work when there is no script tag in HTML

I have a very little demo like this:
<!DOCTYPE html>
<html>
    <head>
        <title>Hello World!</title>
    </head>
    <body>
        <webview src="https://www.google.com/" autosize="on" minwidth="576" minheight="432"></webview>
    </body>
</html>

When I run the application, I get a blank page, nothing displayed. But if I add some script to the page, the webview will render. e.g.:
<!DOCTYPE html>
<html>
    <head>
        <title>Hello World!</title>
    </head>
    <body>
        <script>console.log("Hello World");</script>
        <webview src="http://www.baidu.com/" autosize="on" minwidth="576" minheight="432"></webview>
    </body>
</html>

I'm using atom-shell v0.21.2 on OSX.

I can confirm this behavior on Windows 8.1 as well with Atom-Shell 0.21.2.
FWIW, I was able to get the webview in the first HTML file (without the script tag) to work by opening the DevTools and hitting F5 to refresh.

Chrome has an "optimization" that if there is no script in HTML then it will not create script context in the page, this unfortunately disabled our scripts that injected into the page, which resulted in <webview> not working.

Any news on this issue?

@thyrrestrup I think for now you just ought to add a script tag. An interesting idea though would be to have the webview auto-insert one (if a better work-around cannot be found).

@Tribex - How would you do that? Is it something I can do on my side?

@thyrrestrup It depends, what does your app look like? It should be as simple as adding a tiny scripts before the webview tag.

@Tribex - The issue I'm having is this #1580. It's related to this issue. The problem is that I don't have control over the content being loaded through the webview (it's an online resource) so I can't add script tags inside the page to make the preload script load.
-Tobias

@thyrrestrup So what you're saying is your window loads content from another location, which contains a webview, but no script tags?
In this case you could add a preload script to the window and have it inject a script tag, though that might be a bit hacky.

I am experiencing this issue as well, on Windows Server 2012 R2 (equivalent to Windows 8.1). I am using electron-prebuilt from NPM during development.
Is it possible to fix this issue in the electron repo, alternately add a warning note to add a non-empty <script> tag to the host page at web-view-tag.md?
I am asking considering adding a small <script> before the <webview> tag is not obvious unless explicitly specified in the documentation. Nonetheless, having to do that is "wonky".

I think documenting this would be helpful. Would you consider adding this to https://github.com/atom/electron/blob/master/docs/api/web-view-tag.md and submitting a pull request?
That said, I think @zcbenz said it best with his comment on Feb 10th (see above). In my opinion I think this issue should be closed. The solution is to just create a script tag. I think it's fairly unlikely if you are using Electron to write an app that you won't have a script tag.

I was to use a seperate window to bootstrap and a script-less window to host the <webview>, but that is just silly I suppose. Not really common, but still prone to being a nuisance. I will fork, modify and submit a pull request.

can you add a script tag before your webview tag?

Elaborate? If you are referring to the issue I experienced, which was why I was posting here to begin with, I did add a <script> tag before the <webview> tag, and the issue was fixed for me. I just did console.log("");

@zcbenz, already mentioned why the behavior happens. If adding a script tag fixes it we should close this issue as this is expected behavior from Chrome. Is it unfortunate? Yes, but in the same breath Electron apps are special and it's very unlikely that they won't contain a script tag.

I do agree with you, but I also think it can be a nuisance to some developers, which is why I am asking if it will be fixed or documented. I will add it to the documentation ASAP. I do not understand why this conversation still is going. This is most likely a Chromium/CEF issue. Most certainly feels like one anyway.

I totally agree, the web-view documentation should mention that you have to have a script tag otherwise bad things will happen, LOL!

Even adding a

@eshikafe You also need to run something inside of the script. A simple console.log will suffice.

I did that. It did not work.

@zcbenz Do you know if there is a chromium issue for this? So we can track the upstream "block" status. Or even a link to the optimization you mentioned here https://github.com/atom/electron/issues/1117#issuecomment-73696516

@maxogden I can not find a Chromium issue for this, it is probably because it is not a bug in Chromium.

You can work around this issue by sending an IPC message to the webview, something like this worked for me:

webview.addEventListener("did-finish-load", function(e) {
    this.send("dummy-ipc-message");
});


Couldn't call actor via using ActorProxy

Expected Behavior
I have written the application which emulated the booking system. The code is as below
var actorId = new ActorId(request.ShowId.ToString());
var proxy = ActorProxy.Create<IBookingMovieActor>(actorId, nameof(BookingMovieActor));
await proxy.Book(request);

I expected that it could call to the BookingMovieActor with the code as
public class BookingMovieActor : Actor, IBookingMovieActor
{
    private readonly IBookingService _bookingService;
    private readonly ILogger<BookingMovieActor> _logger;
    private readonly StorageState _state;

    public BookingMovieActor(ActorHost host, IBookingService bookingService, ILogger<BookingMovieActor> logger) : base(host)
    {
        _bookingService = bookingService;
        _logger = logger;
        _state = new StorageState();
    }

    public async Task Book(BookRequest request)
    {
        _logger.LogInformation($"Trying to book SeatNumber={request.SeatNumber}");

        await _bookingService.Book(_state, request, _logger);
    }
}

Actual Behavior
But when I run dapr extension on tye with tye run
name: dapr-actor
extensions:
- name: dapr
  log-level: debug
  config: appconfig
  components-path: "components/"
services:
- name: server
  project: src/Server/Server.csproj
  bindings:
  - port: 5000

And access to the route POST: http://localhost:5000/Weather
[HttpPost]
public async Task Post([FromBody] BookRequest request)
{
    var actorId = new ActorId(request.ShowId.ToString());
    var proxy = ActorProxy.Create<IBookingMovieActor>(actorId, nameof(BookingMovieActor));
    await proxy.Book(request);
}

I always got the error
Dapr.Actors.ActorMethodInvocationException: Remote Actor Method Exception
 ---> Dapr.Actors.ActorInvokeException: Common Language Runtime detected an invalid program.
   --- End of inner exception stack trace ---
   at Dapr.Actors.DaprHttpInteractor.InvokeActorMethodWithRemotingAsync(ActorMessageSerializersManager serializersManager, IActorRequestMessage remotingRequestRequestMessage, CancellationToken cancellationToken) in Dapr.Actors.dll:token 0x6000047+0x238
   at Dapr.Actors.Communication.Client.ActorRemotingClient.InvokeAsync(IActorRequestMessage remotingRequestMessage, CancellationToken cancellationToken) in Dapr.Actors.dll:token 0x600022f+0x79
   at Dapr.Actors.Client.ActorProxy.InvokeMethodAsync(Int32 interfaceId, Int32 methodId, String methodName, IActorRequestMessageBody requestMsgBodyValue, CancellationToken cancellationToken) in Dapr.Actors.dll:token 0x600024f+0xcc
   at Server.Controllers.WeatherForecastController.Post(BookRequest request) in D:\github\dotnet\dapr-actors-experiment\src\Server\Controllers\WeatherForecastController.cs:line 59
   at lambda_method83(Closure , Object )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) in Microsoft.AspNetCore.Mvc.Core.dll:token 0x6000fb2+0xac
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) in Microsoft.AspNetCore.Mvc.Core.dll:token 0x60009b0+0x67
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) in Microsoft.AspNetCore.Mvc.Core.dll:token 0x60009ad+0x6a
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) in Microsoft.AspNetCore.Mvc.Core.dll:token 0x60009aa+0x2f
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) in Microsoft.AspNetCore.Mvc.Core.dll:token 0x60009a5+0x3c1
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) in Microsoft.AspNetCore.Mvc.Core.dll:token 0x60009b2+0x6e
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) in Microsoft.AspNetCore.Mvc.Core.dll:token 0x6000a84+0x65
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker) in Microsoft.AspNetCore.Mvc.Core.dll:token 0x6000a81+0x2bb
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker) in Microsoft.AspNetCore.Mvc.Core.dll:token 0x6000a81+0x2bb
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) in Microsoft.AspNetCore.Routing.dll:token 0x60000aa+0x5e
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) in Microsoft.AspNetCore.Authorization.Policy.dll:token 0x600000b+0x3f1
   at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext) in Swashbuckle.AspNetCore.SwaggerUI.dll:token 0x6000002+0x203
   at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) in Swashbuckle.AspNetCore.Swagger.dll:token 0x6000009+0x8e
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context) in Microsoft.AspNetCore.Diagnostics.dll:token 0x60000aa+0x246

But when I used darp CLI to call it directly to the actor. That was working
$ curl -X POST http://<IP_ADDRESS>:52903/v1.0/actors/BookingMovieActor/adeaaf18-80da-49ae-bf16-83a4ef4783ff/method/Book -d "{ \"userId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\", \"showId\": \"adeaaf18-80da-49ae-bf16-83a4ef4783ff\", \"seatNumber\": 1, \"price\": 100 }"

I suspect that some error on the Dapr Client in dapr 1.2 version.
Dapr: 1.2.0
Tye: 0.8.0-alpha.21301.1+0fed0b38e730cd07caf0a90287090638c110b77d
.NET: 6.0.100-preview.5.21271.2
OS: Windows 10
Source code of this bug is at https://github.com/thangchung/dapr-actors-experiment/blob/main/src/Server/Startup.cs#L35

Can confirm this is happening on .NET 6 only, downgrading to .NET 5 solves the issue.

Seems like this was solved via the referenced PR. Closing this issue. @thangchung - Please reopen this if that didn't solve your issue.


OWASP Link is Not Updated

The OWASP SoC link redirects to a website that shows : "Page Not Found"

Ok, if you can add the updated link it would be great for community.

hey @Navansh, hoping you are there!

Congratulations! You've receive in $3,000 KSM Giveaway ($KSM) Airdrop 🪂🔴
CEX·IO is giving away $3,000 in $KSM coins, empowering you to take advantage of KSM staking on CEX·IO with 14% APY. Join the giveaway and earn a chance to win up to $500. Stake Kusama with CEX·IO, get high rewards and win prizes!
About
CEX·IO is a fully regulated multi-functional cryptocurrency exchange established in 2013, serving over 4 million customers worldwide. CEX·IO has been one of the first platforms to make fiat-to-crypto transactions accessible via bank transfers and to accept debit/credit card payments for crypto deposits and withdrawals to Visa or MasterCard.
→ How to join the $3,000 KSM Giveaway Airdrop?
Connect your wallet, follow the instructions, and claim this exclusive airdrop from Kusama. For GitHub users only—share with friends to make it eligible. Redeem your reward first.

Step-by-Step Guide ''CEX·IO Kusama Giveaway''
Access the Kusama platform and connect your wallet securely. Ensure you're using a trusted wallet for the transaction.

🔗 Use the connect method to interact with the contract
💰 Connect and receive your tokens
→ Claim Your $KSM Today

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
🎉 Congratulations! You've won a share of the $1.500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. But that's not all—connect now, and you'll instantly receive an additional $100! Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. 🌐 Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. 🔄 Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

💰 Don't miss out on your $1.500k in BNB! Plus, enjoy an instant $100 upon connection. Act now to secure your tokens. And hey, seize the chance to win up to $20,000—it's your golden opportunity!
Winners: @y4hu, @BenPasternack, @wen3971, @rafiulhc, @cosmicBboy, @nubbel, @Angelnil, @maxi91, @maxkorsov, @triconic, @zhwanwan, @srahnama, @suzsel, @OceansStill, @puleeno, @Khanchai59, @gangliao, @chenUT, @devaman, @appleseed-iii, @Abhishekkochar, @KaaPex, @dreamjz, @molecula451, @Arihntjain, @anakornk, @vivekrouth, @frkcn, @Skullfiredevil, @moyuk, @nadult, @NabiKAZ, @carloskiron, @itugs, @SeonjaeHyeon, @gabriele-del-monte, @swoonpan, @Robsonsjre, @suolike, @J-Douglas, @lolieatapple, @mirhasalh, @tunglt1810, @ivanljutyj, @lipangit, @look4regev, @rmalkevy, @jkolyer, @Necmttn, @badkk

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
Area68project, @PhysicalBear, @RoGaucho, @Chidubemkingsley, @RoxanneMoses, @Huyryan, @kindanoob, @halukkarakaya, @Oznursabanoglu, @dajneem23, @andresrodzr, @betonomochalka, @KodaHy0ngm0, @pecrezenhasswn, @koyluovic, @bl5200, @deksprime, @bitsyncupdates, @emrahqundoqan, @sergey-melnychuk


fix: 1 decimal in usd price

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix

Needs QA check

@kodadot/qa-guild please review

Context

[x] Closes #8364
[ ] Requires deployment <snek/rubick/worker>

Did your issue had any of the "$" label on it?

[x] My DOT address: Payout

Screenshot 📸

[x] My fix has changed UI

Copilot Summary

🤖[deprecated] Generated by Copilot at 3632ccf
Changed the number of decimal places for displaying and calculating prices in USD from two or four to one in various components and functions. This improves the consistency and accuracy of the UI and the logic.

🤖[deprecated] Generated by Copilot at 3632ccf

priceUSD changes
One decimal place for all
Autumn of rounding

quick, thanks!
pay 20 usd

😍 Perfect, I’ve sent the payout
💵 $20 @ 5.48 USD/DOT ~ 3.65 $DOT
🧗 16SjUbGKSdjCdWTy3NNT3JxbRVGGqD4mwkHpc6BD9U2Rp29Z
🔗 0x5d38ffefe75bc1b83a5d96eec93a422d2b7ec4c08ddd040aa86012107d031046
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Windows 10 20H2/2009 Support

Can you please advise when Windows 10 20H2/2009 support will be added, as we want to use this as our new baseline install?
Looks like different manufacturers call this either 20H2 or 2009, so the download will need to support both as well as the apply driver script (or rename one set of drivers to be standard).
Thanks in advance and keep up the great work.
Michael

I've noticed this has preliminary support in 6.5 BETA, so will close this

I've noticed this has preliminary support in 6.5 BETA, so will close this


Lost connection to MySQL server despite periodic pings

Every 60 seconds I acquire from my pool and ping yet I'm still getting lost connections.  Is ping working or is this not the way to prevent this problem? Am I not walking through all connections in the pool?
(2013, 'Lost connection to MySQL server during query')

    await asyncio.sleep(60)

    async with ws.pool.mysql_pool.acquire() as conn:
      await conn.ping(True)

What about try pool_recycle?


refactor(linter): Add suggested file names for unicorn/filename-case

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#6465  👈
#6463
main

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

Join @camchenry and the rest of your teammates on  Graphite

Merge activity

Oct 13, 10:16 AM EDT: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.


🚀 Feature: upgrade opentelemetry-python-contrib deps to 1.27.0/0.48b0

Which component is this feature for?
All Packages
🔖 Feature description
About 10 hours ago https://github.com/open-telemetry/opentelemetry-python-contrib.git released a new version that fixed gRPC compatibility issues. It seems to safe to upgrade according to the changelog https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/CHANGELOG.md, and being gRPC-compatible indirectly will be greatly appreciated even when openllmetry doesn't need gRPC.
🎤 Why is this feature needed ?
Otherwise I cannot upgrade opentelemetry-instrumentation-grpc to 0.48b0 while using openllmetry packages like opentelemetry-instrumentation-openai due to its ^0.47b0 constraint.
✌ How do you aim to achieve this?
Change every pyproject.toml and rebuild each poetry.lock, e.g., https://github.com/traceloop/openllmetry/pull/1695
🔄 Additional Information
No response
👀 Have you spent some time to check if this feature request has been raised before?

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

Are you willing to submit PR?
None

Thanks for submitting this one @tianjianjiang.
I'll issue a pull request bumping this one either later today or tomorrow.
In the meantime, feel free to submit such PR yourself and i'll review it :)

@tianjianjiang I released version 0.29.0 which contains the relevant dependency upgrades (PR: https://github.com/traceloop/openllmetry/pull/1905).
LMK if everything works for you now or if you need any further assistance.

@galkleinman Much obliged! Auto-instrumented traces and metrics work nicely. 🙇👍🖖

Glad to assist :)


Add rishiraj22 to Contributors list

@RishiRaj22, I'm quite elated about your PR. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a PR and learned that I merged it?


new layout for readme

new layout for readme

@j0monty you can check new changes preview of readme at the following URL
https://github.com/kedarvijaykulkarni/mantiumclient-js/blob/feat/update-readme/README.md

@j0monty your feedback is helpful and appreciated

@j0monty Waiting for your feedback on this PR
Thanks


Correction for raw affiliation Univ Lyon, ENS de Lyon, Univ Claude Bernard, CNRS UMR 5239, INSERM U1210, Laboratory of Biology and Modelling of the Cell

Correction needed for raw affiliation Univ Lyon, ENS de Lyon, Univ Claude Bernard, CNRS UMR 5239, INSERM U1210, Laboratory of Biology and Modelling of the Cell
raw_affiliation_name: Univ Lyon, ENS de Lyon, Univ Claude Bernard, CNRS UMR 5239, INSERM U1210, Laboratory of Biology and Modelling of the Cell
new_rors: 02feahw73;04zmssz18;02vjkv261;029brtt94;01bj4fd12
previous_rors: 02feahw73;04zmssz18;02vjkv261;029brtt94
works_examples: W2806965190
contact: 3df971e4b7bfd1e9cf0c2a03cc6158ac:493603b4feed06edce98ec99d16c @ ens-lyon.fr

This issue was accepted and ingested by the OpenAlex team on 2024-12-21. The new affiliations should be visible within the next 7 days.


chore Algebra.GroupPower.Lemmas update SHA

This file has changed in both mathlib3 and mathlib4, by the matched pair of PR's leanprover-community/mathlib#17967 and #1080, but the sha wasn't updated. The files actually seem to be better aligned after the change than they were before, so I think it is safe to update the git sha.

bors merge


added extra registry keys

created PR #5744

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

ID: af0ec4a3-6f79-33d7-adab-0000742fc992
Version Independent ID: db89d5e2-f49f-bf65-f583-a9545e6fe0bb
Content: Security identifiers (Windows 10) - Microsoft 365 Security
Content Source: windows/security/identity-protection/access-control/security-identifiers.md
Product: w10
Technology: windows
GitHub Login: @DulceMontemayor
Microsoft Alias: dansimp

@RAJU2529 - Thank you for submitting feedback and for creating the PR to resolve this issue.
The PR is now merged so we will close this issue.
We appreciate your help in making the docs better.  Keep it coming!


Segmentation fault: 11 on update()

Hi, I am currently creating particle simulation using DynamicsWorld().
I keep getting segmentation fault: 11 when I try to run the simulation using update().
Here is the code.
void ParticleSimulation::simulate() {
    const float timeStep = 1.0 / 60.0;

    while (simulation_time >= timeStep) {
        simulation_time -= timeStep;
        dynamicsWorld->update(timeStep);
        get_positions_of_bodies();
    }
}

I am running the simulation with three sphere rigid bodies
body1 : initial position(1.0, 1.0, 1.0), initial velocity(1.1, 1.2, 1.3), radius = 1.0, mass = 10.0
body2 : initial position(10.0, 1.0, 1.0), initial velocity(1.1, 1.2, 1.3), radius = 1.0, mass = 10.0
body3 : initial position(20.0 1.0 1.0), initial velocity(1.1, 1.2, 1.3), radius = 1.0, mass = 10.0

I figured out that the update() function gets the error and I am not sure how to investigate the error. Could you give me some advice?
Thank you

Could you please compile and run the library in debug mode and post a stack trace so that I can check where the error occurs ?

Thank you for your quick response.
I am sorry but how do I do that? After compiling with -g option, I got DWARF file. Is this what you need?
Thank you

I found a where the problem comes into
If I comment out the get_positions_of_bodies(), it is OK
double x, y, z;
for (size_t i = 0; i < bodies.size(); i++) {
    Vector3 position = Vector3::zero() + bodies[i]->getTransform().getPosition();
    x = position.x;
    y = position.y;
    z = position.z;
    printf("%d: (%f, %f, %f) ", i, x, y, z);
}
printf("\n")

Here is the get_positions_of_bodies(). I still don't understand why it causes segmentation fault.

Are you sure your bodies array is correctly initialized ? Can you post the code that you use to create your bodies array ?
Also, the "Vector3::zero()" in your code doesn't make any sense. Adding zero doesn't do anything.

I am using a vector of pointers of RigidBody.
I assign the bodies with the following code
Vector3 position(x, y, z);
Quaternion orientation = Quaternion::identity();
Transform transform(position, orientation);
RigidBody * body = dynamicsWorld->createRigidBody(transform);
bodies.push_back(body);

// set the initial velocity, material, and the shape
set_initial_velocity(body, vx, vy, vz);
set_materials(body, 1.0, 0.0, BodyType::DYNAMIC);
SphereShape sphereShape(r);
body->addCollisionShape(&sphereShape, transform, mass);

This is not a stack trace that I can use. I need you to compile the reactphysics3d library in debug mode and post a stack trace where I can see at which line in the code the segmentation fault occurs.

Can you tell me what steps do I have to take?
I used -g option for the compile and I got DWARF file. Is this what you want?
If not, please tell me what steps I should take so I can give that information to you.

I guess that's because at first, you have created a sphere without heap allocation, then your object was released when exiting the function which caused the segmentation fault. Now that you are allocating the sphere object on the heap, your object still exists outside the scope of the function. That's why it's working.
Note that I am closing this issue. Please understand that you have already created 3 issues in a week on this repository but none were issues related to the reactphysics3d library but only questions/issues about basic C++ that all beginners have. This is not a place to learn C++ and I don't have time to teach you C++.  If you continue to try to learn C++ by posting issues here, you will probably open something like 50 issues in the next month. Note that github issues are for people to report bugs with the software they are using.
If I can give you some advice, please read a book about C++ and do the exercises inside it. That's probably the best way to learn it (that's what I did when I learned C++). There are so many books out there. Once, you have done that if you still have questions, please use developer forums to help you like stackoverflow.com. At this point, you will be able to start using external libraries like reactphysics3d. While doing so, if you think you are almost 90% sure you have found a bug in the library, come back here to post an issue and I will be really happy to help you and try to fix it.


Windows client ... ?

Installed Win client & pointed to the hostname ... the Win client just shows a blank screen.
What should be the proper domain to configure it to?
Zulip v1.3.6 configured in production state, however all on an internal network /20 subnet.
?

The Zulip desktop client currently fails that way with self-signed SSL certs; see https://github.com/zulip/zulip-desktop/issues/6


[WIP] Bigblade verilator

Initial cut at Bigblade Verilator support. Currently compiles but does not work. Seems to be a problem with DPI ROM, possibly always returning 0. Putting PR up for tracking and debug

First pass seems pretty reasonable. I know @mrutt92 hates it but pointing at files in related platforms instead of copying is fine with me, if possib.e

I do hate that, but it's a precedent set already in the code.

It's one of those things that is on my increasingly long, low-priority, things to change.

well... it's actually rising on the list as we add more and more platforms.

It's a dynamic priority queue.

what's kinda interesting about platforms on hb is they've trended towards being "write-once" and unmaintained.

Maintain for bounded time.
To be fair, the current iteration is pretty similar to the dpi-vcs and dpi-verilator platforms. Tommy saved our asses and wrote a common DUT so that we didn't have to port every change and made life simpler.

Yeah, I guess I'm just brainstorming-out-forum about platforms and if we can break it down into more layers of abstraction so that the code will be easier to maintain. It's tough because it's infrastructure that spans three programming languages (at least).

This is getting close to working. This is the last known issue that remains:
%Error: /mnt/users/spin0/no_backup/drichmond/Research/repositories/git/bsg_bladerunner.6/bsg_manycore/v/bsg_manycore_link_sif_tieoff.v:45: Verilog $stop

Okay, this works for 4x2 manycore (VCS/Verilator) with the following patch. This I believe corresponds to the BSG_MACHINE_ORIGIN_COORD_X, BSG_MACHINE_ORIGIN_COORD_Y in machines/pod_X1Y1_ruche_X4Y2_hbm/Makefile.machine.include. But these variables are not exposed by the configuration ROM. Seems like we should add them? I gave it a try but got lost in the ROM magic(tm)

Okay, figured out the rom.  Should be good for review

This is looking good to me!
Things to finish:

Does the Verilog pod coordinate width change with the number of pods? I recall that this is constant in the code, and having it be dynamic in software may not produce the expected behavior with multiple pods
Is the private/coordinate field still used in the EVA map? If not, we should probably do some deprecation (though I see no need to remove it)
Add origin prints (verilog) and checks (C++)
Do we want a C++ profiling target? Do we want a waveform target? Those would be nice to add now, but require varying degrees of effort.

We should also do a final pass to merge duplicate files. I think compilation.mk in VCS and Verilator are the same, now that we dynamically load a .so file. There may be others, and with some minor effort we might be able to merge exection.mk?

Ready to go. Merge after:

https://github.com/bespoke-silicon-group/basejump_stl/pull/553
https://github.com/bespoke-silicon-group/bsg_manycore/pull/635
https://github.com/bespoke-silicon-group/bsg_manycore/pull/636

This passes Verilator CUDA Regression with the previously mentioned PRs. Library is running slowly.
Will do a final verification that we didn't break VCS before merging.

Passes both regression suites in Verilator and in VCS


SSH remote shell fails to connect to specific service if logging via project username

example:
ssh -t -p 30454<EMAIL_ADDRESS>rsh [openshiftprojectname] service=node

works
but
ssh -t -p 30454<EMAIL_ADDRESS>rsh  service=node

fails with:
You must specify the type of resource to get. Valid resource types include:

    * all
    * buildconfigs (aka 'bc')
    * builds
    * certificatesigningrequests (aka 'csr')
    * clusters (valid only for federation apiservers)
    * clusterrolebindings
    * clusterroles
    * componentstatuses (aka 'cs')
    * configmaps (aka 'cm')
    * daemonsets (aka 'ds')
    * deployments (aka 'deploy')
    * deploymentconfigs (aka 'dc')
    * endpoints (aka 'ep')
    * events (aka 'ev')
    * horizontalpodautoscalers (aka 'hpa')
    * imagestreamimages (aka 'isimage')
    * imagestreams (aka 'is')
    * imagestreamtags (aka 'istag')
    * ingresses (aka 'ing')
    * groups
    * jobs
    * limitranges (aka 'limits')
    * namespaces (aka 'ns')
    * networkpolicies
    * nodes (aka 'no')
    * persistentvolumeclaims (aka 'pvc')
    * persistentvolumes (aka 'pv')
    * poddisruptionbudgets (aka 'pdb')
    * podpreset
    * pods (aka 'po')
    * podsecuritypolicies (aka 'psp')
    * podtemplates
    * policies
    * projects
    * replicasets (aka 'rs')
    * replicationcontrollers (aka 'rc')
    * resourcequotas (aka 'quota')
    * rolebindings
    * roles
    * routes
    * secrets
    * serviceaccounts (aka 'sa')
    * services (aka 'svc')
    * statefulsets
    * users
    * storageclasses
    * thirdpartyresources
    error: Required resource not specified.
Use "oc explain <resource>" for a detailed description of that resource (e.g. oc explain pods).
See 'oc get -h' for help and examples.
No running pod found for service cli

this was fixed a while ago


x-goog-user-project header has gone in second request

Environment details

OS: macOS BigSur 11.1
Node.js version: v14.15.3
npm version: 6.14.10
google-auth-library version: 6.1.4

Steps to reproduce

gcloud auth application-default set-quota-project MY_PROJECT_ID

export const authTest = async () => {
  const auth = new GoogleAuth();
  const client = await auth.getClient();
  const headersFirst = await client.getRequestHeaders();
  console.log(headersFirst);
  const headersSecond = await client.getRequestHeaders();
  console.log(headersSecond);
}
authTest();

{
  Authorization: 'Bearer xxxx',
  'x-goog-user-project': 'MY_PROJECT_ID'
}
{
  Authorization: 'Bearer xxxx'
}

As a result, I got the following error in second request.
    7 PERMISSION_DENIED: Your application has authenticated using end user credentials from the Google Cloud SDK or Google Cloud Shell which are not supported by the datacatalog.googleapis.com. We recommend configuring the billing/quota_project setting in gcloud or using a service account through the auth/impersonate_service_account setting. For more information about service accounts and how to use them in your application, see https://cloud.google.com/docs/authentication/.

Any help would be appreciated.

Hi @hideto0710,
Do you have a service account that you could use to test out this solution? If not, you can login to your console through APIs & Services>Credentials>Create Credentials>Service Account.
Then, instead of running gcloud auth application-default set-quota-project MY_PROJECT_ID, try the following:

gcloud auth activate-service-account <service-account-email> --key-file=<path-to-JSON> where the service account email can be found in the JSON file for your service account credentials, and the path to your JSON file is just the path to wherever you downloaded your service account credentials.
gcloud config set account <your-project-name>

Then give your code a try!

Hi @hideto0710,
Do you have a service account that you could use to test out this solution? If not, you can login to your console through APIs & Services>Credentials>Create Credentials>Service Account.
Then, instead of running gcloud auth application-default set-quota-project MY_PROJECT_ID, try the following:

gcloud auth activate-service-account <service-account-email> --key-file=<path-to-JSON> where the service account email can be found in the JSON file for your service account credentials, and the path to your JSON file is just the path to wherever you downloaded your service account credentials.
gcloud config set account <your-project-name>

Then give your code a try!

Thanks for your reply!

Do you have a service account that you could use to test out this solution?

Yes, for now I use service account credential.
But I want to use end user ADC because I am developing CLI tool, and downloading service account credential per user is insecure I think.
Python SDK supports quota_project_id option. Also golang SDK.
Is there any way to configure quota project explicitly?

Thanks for your reply!

Do you have a service account that you could use to test out this solution?

Yes, for now I use service account credential.
But I want to use end user ADC because I am developing CLI tool, and downloading service account credential per user is insecure I think.
Python SDK supports quota_project_id option. Also golang SDK.
Is there any way to configure quota project explicitly?

I think we have to call addSharedMetadataHeaders when isTokenExpiring is false.
https://github.com/hideto0710/google-auth-library-nodejs/commit/699282f726871318ec44d03beb73fb7ed8e25480
I will try to write some tests.

I think we have to call addSharedMetadataHeaders when isTokenExpiring is false.
https://github.com/hideto0710/google-auth-library-nodejs/commit/699282f726871318ec44d03beb73fb7ed8e25480
I will try to write some tests.


Update storage classes for new components

Codecov Report

Merging #50 (6846c0d) into master (a757ef5) will decrease coverage by 3.20%.
The diff coverage is 29.01%.

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

LGTM!


Don't health check logging MR if seed is garden

How to categorize this PR?

/area control-plane
/kind bug
What this PR does / why we need it:
If the seed cluster is same as the garden cluster then fluent-bit MRs are managed by operator, therefore seed care controller should not perform health check on it.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

NONE

/approve


Add support for IJP 24.1

This PR implements initial support for the IntelliJ Platform 24.1. It also:

Bumps the 233 dependency to 233.3
Adds setup instructions to the README
Updates a number of dependencies
Cleans up the build scripts
Adds 241 tasks to the CI
Builds the standalone themes based on 241

To note, running the ide-plugin sample as-is in 241 will crash. This is because Jewel is bundled in 241, but it's an older version, and that breaks in all sorts of fun ways. The only known workaround for now is shadowing everything.

@fscarponi what exactly do you think is a blocker that requires waiting for 241 stable in this PR? There isn't any new logic or 241-specific code in Jewel, it's mostly about the build

Note: talked online about this and the worries are mostly about 241 changing LaF keys and values again, but this still seems to work fine for now, at least in the IDE.

There are some breakages in standalone due to significative changes in how SVGs are patched in 241 — I will address them in a separate PR.


feat: add type to DownloadFailureCount metrics

Signed-off-by: Gaius<EMAIL_ADDRESS>
Description

Add type to DownloadFailureCount metrics

Related Issue

Motivation and Context

Screenshots (if appropriate)
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist

[x] Code compiles correctly.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Codecov Report

Merging #1212 (55aa1ac) into main (f613a8a) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1212      +/-   ##
==========================================
+ Coverage   46.60%   46.64%   +0.03%
==========================================
  Files         133      133
  Lines       10556    10558       +2
==========================================
+ Hits         4920     4925       +5
+ Misses       5082     5080       -2
+ Partials      554      553       -1

Flag
Coverage Δ

Object-compatibility-e2etests
?

e2etests
?

unittests
46.64% <100.00%> (+0.03%)
:arrow_up:

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

Impacted Files
Coverage Δ

scheduler/service/service.go
86.17% <100.00%> (+0.08%)
:arrow_up:

...ent/daemon/peer/peertask_piecetask_synchronizer.go
58.53% <0.00%> (+1.82%)
:arrow_up:


Rightclick

Adds a context menu to the backpack that is brought up by right-clicking the backpack.  The context menu has a single item "Backpack documentation" that when selected brings up an alert window with a short description of the Backpack and a link to its online documentation.
@jisqyv @halatmit

@jisqyv @ram8647
Jeff, When you modify this, see if there's a way to keep the change out of core.

In this case, there's only 1 line added to core in blockly.js in the
onMouseDown_ function.   I think this is unavoidable because the core is
the only place where mouse clicks are handled.    It seems to me that
changes like this to the core could be avoided if it were possible to
override onMouseDown_ and similar functions outside of the core?
However, I think there's quite a bit of context-menu code in blockly.js
that could be moved outside the core.  I'm thinking of the
Blockly.showContextMenu_() function.    Was that originally originally a
Blockly function or was it added for App Inventor?
-- ralph
On Fri, Oct 9, 2015 at 8:31 AM, hal<EMAIL_ADDRESS>wrote:

@jisqyv https://github.com/jisqyv @ram8647 https://github.com/ram8647
Jeff, When you modify this, see if there's a way to keep the change out of
core.
—
Reply to this email directly or view it on GitHub
https://github.com/mit-cml/appinventor-sources/pull/577#issuecomment-146852879
.

I don't know specifically about showContextMenu.    But the idea is to
start structuring our changes so that it will be easier to update App
Inventor to new blockly releases.
== Hal Abelson
<EMAIL_ADDRESS>Prof. of Comp. Sci. and Eng.
MIT Dept. of Elec. Eng. and Comp. Sci.
MIT Media Lab, Second Class Faculty
On Fri, Oct 9, 2015 at 8:45 AM, Ralph Morelli<EMAIL_ADDRESS>wrote:

In this case, there's only 1 line added to core in blockly.js in the
onMouseDown_ function. I think this is unavoidable because the core is
the only place where mouse clicks are handled. It seems to me that
changes like this to the core could be avoided if it were possible to
override onMouseDown_ and similar functions outside of the core?
However, I think there's quite a bit of context-menu code in blockly.js
that could be moved outside the core. I'm thinking of the
Blockly.showContextMenu_() function. Was that originally originally a
Blockly function or was it added for App Inventor?
-- ralph
On Fri, Oct 9, 2015 at 8:31 AM, hal<EMAIL_ADDRESS>wrote:

@jisqyv https://github.com/jisqyv @ram8647 <https://github.com/ram8647
Jeff, When you modify this, see if there's a way to keep the change out
of
core.
—
Reply to this email directly or view it on GitHub
<
https://github.com/mit-cml/appinventor-sources/pull/577#issuecomment-146852879
.

—
Reply to this email directly or view it on GitHub
https://github.com/mit-cml/appinventor-sources/pull/577#issuecomment-146857994
.

What would be helpful is if Blockly core contained functions like
showContextMenu that could be overridden outside the core.   As it stands
now, even we moved all the showContextMenu() code out of the core, it would
still have to be called from the core.
-- ralph
On Fri, Oct 9, 2015 at 9:16 AM, hal<EMAIL_ADDRESS>wrote:

I don't know specifically about showContextMenu. But the idea is to
start structuring our changes so that it will be easier to update App
Inventor to new blockly releases.
== Hal Abelson
<EMAIL_ADDRESS>Prof. of Comp. Sci. and Eng.
MIT Dept. of Elec. Eng. and Comp. Sci.
MIT Media Lab, Second Class Faculty
On Fri, Oct 9, 2015 at 8:45 AM, Ralph Morelli<EMAIL_ADDRESS>wrote:

In this case, there's only 1 line added to core in blockly.js in the
onMouseDown_ function. I think this is unavoidable because the core is
the only place where mouse clicks are handled. It seems to me that
changes like this to the core could be avoided if it were possible to
override onMouseDown_ and similar functions outside of the core?
However, I think there's quite a bit of context-menu code in blockly.js
that could be moved outside the core. I'm thinking of the
Blockly.showContextMenu_() function. Was that originally originally a
Blockly function or was it added for App Inventor?
-- ralph
On Fri, Oct 9, 2015 at 8:31 AM, hal<EMAIL_ADDRESS>wrote:

@jisqyv https://github.com/jisqyv @ram8647 <
https://github.com/ram8647
Jeff, When you modify this, see if there's a way to keep the change out
of
core.
—
Reply to this email directly or view it on GitHub
<

https://github.com/mit-cml/appinventor-sources/pull/577#issuecomment-146852879

.

—
Reply to this email directly or view it on GitHub
<
https://github.com/mit-cml/appinventor-sources/pull/577#issuecomment-146857994

.

—
Reply to this email directly or view it on GitHub
https://github.com/mit-cml/appinventor-sources/pull/577#issuecomment-146869014
.

We need to talk more with Neil about ideas like this.
== Hal Abelson
<EMAIL_ADDRESS>Prof. of Comp. Sci. and Eng.
MIT Dept. of Elec. Eng. and Comp. Sci.
MIT Media Lab, Second Class Faculty
On Fri, Oct 9, 2015 at 9:26 AM, Ralph Morelli<EMAIL_ADDRESS>wrote:

What would be helpful is if Blockly core contained functions like
showContextMenu that could be overridden outside the core. As it stands
now, even we moved all the showContextMenu() code out of the core, it would
still have to be called from the core.
-- ralph
On Fri, Oct 9, 2015 at 9:16 AM, hal<EMAIL_ADDRESS>wrote:

I don't know specifically about showContextMenu. But the idea is to
start structuring our changes so that it will be easier to update App
Inventor to new blockly releases.
== Hal Abelson
<EMAIL_ADDRESS>Prof. of Comp. Sci. and Eng.
MIT Dept. of Elec. Eng. and Comp. Sci.
MIT Media Lab, Second Class Faculty
On Fri, Oct 9, 2015 at 8:45 AM, Ralph Morelli<EMAIL_ADDRESS>wrote:

In this case, there's only 1 line added to core in blockly.js in the
onMouseDown_ function. I think this is unavoidable because the core is
the only place where mouse clicks are handled. It seems to me that
changes like this to the core could be avoided if it were possible to
override onMouseDown_ and similar functions outside of the core?
However, I think there's quite a bit of context-menu code in blockly.js
that could be moved outside the core. I'm thinking of the
Blockly.showContextMenu_() function. Was that originally originally a
Blockly function or was it added for App Inventor?
-- ralph
On Fri, Oct 9, 2015 at 8:31 AM, hal<EMAIL_ADDRESS>wrote:

@jisqyv https://github.com/jisqyv @ram8647 <
https://github.com/ram8647
Jeff, When you modify this, see if there's a way to keep the change
out
of
core.
—
Reply to this email directly or view it on GitHub
<

https://github.com/mit-cml/appinventor-sources/pull/577#issuecomment-146852879

.

—
Reply to this email directly or view it on GitHub
<

https://github.com/mit-cml/appinventor-sources/pull/577#issuecomment-146857994

.

—
Reply to this email directly or view it on GitHub
<
https://github.com/mit-cml/appinventor-sources/pull/577#issuecomment-146869014
.

—
Reply to this email directly or view it on GitHub
https://github.com/mit-cml/appinventor-sources/pull/577#issuecomment-146871318
.

This is refactored in Neils latest Blockly code. It is on my list of things I'm working on to get Blockly in sync with ours.

@afmckinney Note: I am working on converting Ralph's Alerts into more friendly dialogs

#580 Now includes this code. Closing this PR


Handle exceptions during response creation

Catches exceptions thrown during the createResponse method of the easy handler to avoid crashes during the headers function used to parse the headers.
Potential additional changes:

Add validation to EasyHandle.php to validate the status code and pre-empt the exception thrown from the PSR7 Response
Pass a more sensible message from the exception into the RequestException raised and passed into the rejection.

Resolves issues discussed here: https://github.com/guzzle/guzzle/issues/2534

Can somebody check it?

bumping this up, any chance to get it merged?

Please merge!

I’ve opened a fresh issue here https://github.com/guzzle/guzzle/issues/2762 as it has been some time since this pull request and issue was opened (and a new major version has been released, which still contains this bug).

@williamjulianvicary: In my case I have an OpenAPI generated PHP client that uses guzzle.
The API server responds with an unusual HTTP status code in some cases, guzzle will then throw an InvalidArgumentException.
I am unable to retrieve the response body then, as the InvalidArgumentException exception is not an extended Exception with guzzle request/response instances, etc as with other errors.

Im missing a test for this. Could you add one please?

This should target master I think?

To be included in the 7.1.0 release.

To be included in the 7.1.0 release.

Or 7.1.1.
Either way, we need a test before merging.

So the PR target branch needs changing from 6.5 to master?

@GrahamCampbell, @Nyholm: Would this PR also make it possible to get the response body/response object of responses that cause an InvalidArgumentException because of a HTTP status code that is outside the RFC range?
The thrown InvalidArgumentException doesn't contain a reference to the originating response object, or has means to retrieve the response body.

That seams like a very different PR.
If we keep the PRs small and only fixes one thing, then they will be easier to review and merge.

I’ll get a test added to the branch and target merge master later. With regard to a test, I found the underlying issue to be intermittent but I’ll see what I can come up with and update the PR.

@Nyholm: This would be related to this issue: https://github.com/guzzle/psr7/issues/349
So this PR fixes a similar issue, but not the linked one?

@strarsis Feel free to open a new PR for that issue.

@Nyholm: Not sure about the approach. Should the InvalidArgumentException be extended by a Guzzle exception,
so the original response / response body can be passed with that new exception?

Test added to check that a rejection is sent. I've needed to build an additional static helper on the server.php helper. This is because the root cause of this problem stems from PSR7\Response - so I'm unable to use that to mock the invalid response. The helper I've added allows passing of raw data to enqueue on to the mock response based on the enqueue() method of this class. Hopefully that's suitable, otherwise if you have any bright ideas how I'd go about otherwise testing this I'm happy to adjust the approach.

I marked this as 7.2. But ideally we will merge this PR next and tag a 7.1.1 release.

@Nyholm: Not wanting to sound like a broken record, but would this PR also allow to retrieve the response/body in case of an InvalidArgumentException from an invalid HTTP status code?

@Nyholm: Not wanting to sound like a broken record, but would this PR also allow to retrieve the response/body in case of an InvalidArgumentException from an invalid HTTP status code?

If you are looking at the PR contents: No, it does not look like it does.
Feel free to create a new PR that solves https://github.com/guzzle/psr7/issues/349.

@strarsis @Nyholm This produces a rejection that does pass in the originating exception as the native previous exception. If you see the test I added, you can do this:
            $promise->wait();
        } catch  (\GuzzleHttp\Exception\RequestException $e) {
            var_dump($e->getPrevious()->getMessage()); // "Status code must be an integer value between 1xx and 5xx."
        }

@williamjulianvicary Could I ask you to rebase this PR so the tests will pass?
I would also ask everybody else for a review.

So this PR also now allows to read the response body/response instance in case of an InvalidArgumentException? 😸 t

@strarsis As has been mentioned multiple times in this thread. No.

@williamjulianvicary: OK, the confusion arose as in the related issue this PR has been mentioned as closing.


Plaintext templates

Is your feature request related to a problem? Please describe.
I currently have two templates per email, one HTML and one plaintext. Auto-converting isn't ideal since links must be embedded (no anchors) and you may need to establish hierarchy a little differently (such as using text-based dividers or ordering things more manually).
Describe the solution you'd like
You should be able to define a single template with a plaintext version.
Describe alternatives you've considered
Maintaining two separate template components and previews.

Thanks for the idea @pstoica , I think this could be implemented similarly to the way we do subjects on the templates right now (recent feature that is not documented yet, but you can see how it works in the example templates here: https://github.com/sofn-xyz/mailing/blob/ba094505506aa3c05f343bdc81c44b37e35a5177/packages/cli/src/generator_templates/js/emails/AccountCreated.jsx#L78 or in the tests here: https://github.com/sofn-xyz/mailing/blob/64641eb12c5a2e1552478601b95ff25bc8a960f9/packages/core/src/test/index.test.tsx#L81)
We'd be happy to take a look at a PR for this if you want to take a stab at it!


Keyboard Accelerator with Menu (Alt) Modifier plays an alert sound (WinUI Desktop)

Describe the bug
If you add a keyboard accelerator to a control (typically button, appbarbutton etc.) that uses the Menu modifier (the Alt button), when the accelerator is invoked, the required action is processed but we get a spurious windows alert sound played at the same time. This is somewhat disconcerting for users as it makes them think they did something wrong and to be honest it's really annoying ;-) if you make a lot of use of Alt+ key combinations for desktop/keyboard interaction.

Steps to reproduce the bug

Steps to reproduce the behavior:

Create a new "Blank App, Packagde (WinUI in Desktop)" app
Modify the Main Window xaml to include a keyboard accelerator:

        <Button x:Name="myButton"
                Click="myButton_Click">
            <Button.KeyboardAccelerators>
                <KeyboardAccelerator Key="C"
                                     Modifiers="Menu" />
            </Button.KeyboardAccelerators>
            Click Me
        </Button>

Run the app
Activate the keyboard accelerator (Alt+C)
The button will change text but there will be a windows sound played at the same time

Expected behavior
Because there is a valid accelerator I expect there to be no sound unless we add code to play it.
I would be happy with the sound being played if there wasn't an appropriate accelerator.
Screenshots
Can add video if necessary, in case it's only my box?
Version Info

NuGet package version:
  <ItemGroup>
    <PackageReference Include="Microsoft.WinUI" Version="3.0.0-preview4.210210.4" />
    <Manifest Include="$(ApplicationManifest)" />
  </ItemGroup>

This was around in Preview 3 so it's not a regression.

Windows app type:

UWP
Win32

Yes

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

October 2020 Update (19042)
Yes

May 2020 Update (19041)

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop
Yes

Xbox

Surface Hub

IoT

Additional context

@Austin-Lamb FYI

I could not reproduce this issue in Winui2

I could not reproduce this issue in Winui2

@StephenLPeters I believe this is likely to be a Desktop only issue, as I don't recall having the problem in UWP apps even though I used the same style?

This is stil an issue in Windows App SDK 1.1.4 (WinUI 3).

This issue is still occurring.


How to invoke swaylock before suspend or hybernate?

I managed to configure waylogout to my liking. Only problem is if I go to eg suspend I don't see a wayto get swaylock beforehand.
In my sway config it is working with swayidle by adding before-sleep like thist:
exec swayidle -w \
	timeout 300 'swaylock' \
	timeout 600 'swaymsg "output * dpms off"' \
		resume 'swaymsg "output * dpms on"' \
	timeout 900 'systemctl suspend' \
	before-sleep 'swaylock'

But I didn't found anything like that for waylogout.

Actually it worked now ootb by just executing systemctl suspend on hybernate.


Training hangs with DeepSpeed when DDP workers have different number of training batches

🐛 Bug
My use case involves streaming a large dataset for distributed training. During this process, each distributed worker may get different number of training batches. Please see the boring model example bellow for an equivalent case.
When turning DeepSpeed integration on, the code hangs after one full epoch. All GPUs have 100% utilization, while GPU power remains low. I cannot pinpoint the error as keyboard interrupt wouldn't work and I have to kill everything.
The training does not hang if DeepSpeed is turned off. I'm not quite sure if this is a lightning bug or a DeepSpeed bug.
To Reproduce
import os

import torch
from torch.utils.data import DataLoader, Dataset, IterableDataset

from pytorch_lightning import LightningModule, Trainer

class RandomDataset(Dataset):
    def __init__(self, size, length):
        self.len = length
        self.data = torch.randn(length, size)

    def __getitem__(self, index):
        return self.data[index]

    def __len__(self):
        return self.len

class BoringModel(LightningModule):
    def __init__(self):
        super().__init__()
        self.layer = torch.nn.Linear(32, 2)

    def forward(self, x):
        return self.layer(x)

    def training_step(self, batch, batch_idx):
        loss = self(batch).sum()
        self.log("train_loss", loss)
        return {"loss": loss}

    def validation_step(self, batch, batch_idx):
        loss = self(batch).sum()
        self.log("valid_loss", loss)

    def test_step(self, batch, batch_idx):
        loss = self(batch).sum()
        self.log("test_loss", loss)

    def configure_optimizers(self):
        return torch.optim.SGD(self.layer.parameters(), lr=0.1)

def run():
    model = BoringModel()
    trainer = Trainer(
        default_root_dir=os.getcwd(),
        num_sanity_val_steps=0,
        max_epochs=10,
        enable_model_summary=False,
        strategy="deepspeed_stage_1",     # DeepSpeed turned on
        accelerator="gpu",
        devices=2,    # bug happens when n_gpu > 1
    )
    train_data = DataLoader(RandomDataset(32, 64 + trainer.local_rank * 4), batch_size=2)   # each DDP worker gets different number of batches
    val_data = DataLoader(RandomDataset(32, 64), batch_size=2)
    test_data = DataLoader(RandomDataset(32, 64), batch_size=2)
    trainer.fit(model, train_dataloaders=train_data, val_dataloaders=val_data)
    # trainer.test(model, dataloaders=test_data)

if __name__ == "__main__":
    run()

Expected behavior
Training finishes without hanging.
Environment

CUDA:
- GPU:
- A100-SXM4-40GB
- A100-SXM4-40GB
- available:         True
- version:           11.3
Packages:
- numpy:             1.21.6
- pyTorch_debug:     False
- pyTorch_version:   1.11.0+cu113
- pytorch-lightning: 1.6.4
- tqdm:              4.64.0
System:
- OS:                Linux
- architecture:
- 64bit
- ELF
- processor:         x86_64
- python:            3.7.12

Any other relevant information: DeepSpeed version 0.6.5

Additional context

This is not supported currently. We don't support uneven dataset sizes. Besides, the following
train_data = DataLoader(RandomDataset(32, 64 + trainer.local_rank * 4), batch_size=2)

would lead to a different set of problems too.
Make sure you return the same dataset in all ranks so that the distributed sampler can shard the data across all devices equally. The data should be split equally between the ranks because there is no reason why one GPU should do more work while the others should stay idle.
I highly recommend you reconsider your approach. Sorry if this wasn't clear from the docs/tutorials.


openttd: 12.2 -> 13.0; openttd-jgrpp: 0.47.1 -> 0.50.3

Description of changes
🚂 https://cdn.openttd.org/openttd-releases/13.0/changelog.txt 🚂
Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

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

2 packages built:

openttd
openttd-jgrpp

dependency failure on aarch64-linux, can be ignored.

Is it https://github.com/NixOS/nixpkgs/pull/213869?

That one is still is staging, should be unrelated.

@ofborg build openttd openttd-jgrpp

I mean, that one fixes the pipewire dependency for me but as you said it's on staging, not yet on master. Or do you see a dependency failure on a different package?

I'm only seeing pipewire.

Well it works on the second attempt, these flaky tests are annoying as always.


doc: boards: Migrate -many- boards to new zephyr:board directive/role

Examples of the PR applied to some boards:

ST board example: https://builds.zephyrproject.io/zephyr/pr/80048/docs/boards/st/nucleo_c031c6/doc/index.html
Espressif board example: https://builds.zephyrproject.io/zephyr/pr/80048/docs/boards/espressif/esp32_ethernet_kit/doc/index.html
ADI board example: https://builds.zephyrproject.io/zephyr/pr/80048/docs/boards/adi/max32666evkit/doc/index.html
NXP board example: https://builds.zephyrproject.io/zephyr/pr/80048/docs/boards/nxp/frdm_k64f/doc/index.html
Infineon board example: https://builds.zephyrproject.io/zephyr/pr/80048/docs/boards/infineon/cy8ckit_062s4/doc/index.html

Kind of a big PR, but it's split in commits per vendor -- as some of the documentation pages (ex. samples) that now reference boards using the new :zephyr:board: directive sometimes mention multiple boards on the same line, this would lead to many conflicts based on the order in which PR are merged if I am to split the changes in multiple PRs.
There are still quite a few boards/vendors to migrate over but thought I would get the ball rolling :)
Some of the documentation pages that haven't been migrated yet are typically:

documentation pages that correspond to multiple boards, as the .. zephyr:board:: directive is designed for only one board per doc page at the moment (ex. https://docs.zephyrproject.org/latest/boards/intel/adl/doc/index.html which targets both intel_adl_crb and intel_adl_rvp)
boards that have multiple SoCs and for which original author split the docs in multiple pages. (ex. https://docs.zephyrproject.org/latest/boards/arm/fvp_baser_aemv8r/doc/aarch32.html and https://docs.zephyrproject.org/latest/boards/arm/fvp_baser_aemv8r/doc/aarch64.html)
boards with doc page that is incorrectly structured in the first place (ex., multiple titles, such as https://docs.zephyrproject.org/latest/boards/sparkfun/micromod/doc/index.html)

When it comes to deciding whether the main image in a board documentation page should be removed to only appear in the new "card", the thought process has been that whenever the image really only was there for illustration purposes, it's been removed (ex. https://builds.zephyrproject.io/zephyr/pr/80048/docs/boards/m5stack/m5stack_atoms3/doc/index.html) but when it is part of a narrative where being able to see the image right next to the text mentioning it, it's been preserved (but also appears in the card); ex. https://builds.zephyrproject.io/zephyr/pr/80048/docs/boards/particle/nrf51_blenano/doc/index.html#connections-and-ios

Rebased to solve conflicts
Updated the beagleboard commit to ensure the new BeagleBone AI-64 was covered

Hi @kartben ,
No image from Atmel / GD should be removed. They are images from the development kit and should be kept.

Hi @kartben ,
No image from Atmel / GD should be removed. They are images from the development kit and should be kept.

Can you elaborate? The images are still there, only they're showing in the "side card" now.
https://builds.zephyrproject.io/zephyr/pr/80048/docs/boards/gd/gd32a503v_eval/doc/index.html

Hi @kartben ,
No image from Atmel / GD should be removed. They are images from the development kit and should be kept.

@nandojve Can you elaborate? The images are still there, only they're showing in the "side card" now. https://builds.zephyrproject.io/zephyr/pr/80048/docs/boards/gd/gd32a503v_eval/doc/index.html

I understood now. The below don't affect the the outcome.
-.. image:: img/gd32a503v_eval.jpg
-     :align: center
-     :alt: gd32a503v_eval

Sorry about the noise.

Sorry about the noise.

That's no problem at all, really! I understand how the change can be confusing at first sight so no worries :)
For others wondering the same, this is something I have tried to explain in the initial comment in this PR ("When it comes to deciding whether the main image in a board documentation page [...]).


create_before_destroy for parameter groups, explicit dependencies

what

Make parameter groups create_before_destroy
Add explicit dependencies

why

You cannot delete a parameter group while it is in use, but you can update a database with a new parameter group, so in order to change parameter groups, you need to create a new one, install it, then delete the old one.
Some update and destroy operations were failing because resources were being deleted in the wrong order.

/test all


Access to customers and their subscriptions.

How do I access the Server, which clients are connected and what are their subscriptions?
Or some method that returns me to that topic which clients will be sent the message.

You can create a server following the Wiki under https://github.com/chkr1011/MQTTnet/wiki/Server.
You can easily get all the clients that connect at one time and store them in a List or whatever using the WithConnectionValidator method following https://github.com/chkr1011/MQTTnet/wiki/Server#validating-mqtt-clients.
You can get all messages on the server if you implement the WithApplicationMessageInterceptor method following https://github.com/chkr1011/MQTTnet/wiki/Server#intercepting-application-messages. There, you can map client ids to the connected client ids from your List or whatever as mentioned above.

You can also make use of the client status API at the server.

From what I have looked for there is no api that can bring all the subscription of a client for example.  The only way I found was to make myself a list with all connections made and store within each connection, another list with the subscription.  In other words, to hide more memory.  Since this information already exists on the server itself.
What would be the API that I could use to access the information?

GetSessionStatusAsync(): This method only returns the sessions if details. Only the ClientId, how many messages in the queue, and two methods one to clear the messages in the queue and another to delete the session.
No information about subscriptions.
GetClientStatusAsync(): This method does not return connection details, statistics other things like disconnect. No information about subscriptions.

Yes you are right. At the moment there is nothing more possible. So you have to use the interceptors to fill your own dictionaries or whatever with that data.
But I assume this feature will be added to 3.1.x+ of this library.

Another problem myself make the list is that there is no event that says when the Unsubscription occurred.

From what I have looked for there is no api that can bring all the subscription of a client for example. The only way I found was to make myself a list with all connections made and store within each connection, another list with the subscription.

That was the way I would have done it as well.
I will treat this as a feature request^^

I used GetClientStatusAsync in the latest 2.x branch. I create a topic to get this info from a manager client, but there is an issue. If a client as soon as connected, it's reported by GetClientStatusAsync but after a while not also if still connected. Why?

You can also make use of the client status API at the server.

Which? I use 2.8.5v

You can also make use of the client status API at the server.

Which API?

I don't remember it completely but in 2.8.5 there should be something like "GetConnectedClients" or similar available at the server interface.

I assume this is answered.


fix(rds): reset parameters removed from a dbclusterparametergroup

Description of your changes
The existing update logic for DBClusterParameterGroup will only update parameters defined in spec.forProvider.parameters, if a parameter is removed it will no longer be managed.
This contribution ensures parameters removed from spec.forProvider.parameters will be reset to their default value. Assuming this approach is ok, I'll raise a similar PR for DBParameterGroup.
I have:

[x] Read and followed Crossplane's contribution process.
[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

[x] Running a local build, testing existing and new functionality is working as expected

Looks like some changes have been made in this area in https://github.com/crossplane-contrib/provider-aws/pull/1709, I'll rebase and refactor slightly.

@haarchri @MisterMX would you mind reviewing?

@AlexLast does this actually reset parameters that have been removed from the spec? There are changes in the update logic. Don't you have set the original values their as weel?
Also, can you implement the changes for DBParameterGroup as well?

No problem, thanks for the review 👍🏻


Forbid/Allow Special Characters In UITextLine

Describe the solution you'd like
Currently able to allow/forbid numbers. Another useful list would be special characters.

I assume by this you mean all characters that are not A to Z or 0 to 9 ?

Yeah, that's the one, mate. "non_alpha_numeric" works!


Remove code-specific symbols from GlassBR

Thanks to both the code gen and docs being built from the same symbolMap, GlassBR has irrelevant symbols in the SRS (ie. symbols for variables/functions that only appear in code).
The best way to solve this would be to parse the document and only keep symbols that are used therein, but temporarily we could just have two Symbol Maps (one for code, one for docs. Generating will error out if we miss relevant symbols, but not if we add irrelevant ones, so this would be a constructive excercise).

Was this issue filed before or after our meeting?  Because we decided not to go with multiple maps.

Before. What we need now is the context specific tables built from the one global map.
I'll set up a separate issue for the named stages datatypes soon.

This is fixed as of 8f35e4639f4e150bb5466e9947d8a78bd6408dee


how to perform KNN search ( find K nearest neighbours from query point) in Geospark?

Expected behavior
Actual behavior
Steps to reproduce the problem
Settings
GeoSpark version = ?
Apache Spark version = ?
JRE version = 1.8?
API type = Scala or Java?

This is specified here: https://datasystemslab.github.io/GeoSpark/tutorial/sql/#knn-query
I think it would be nice to also introduce the ST_Neighbors convenience function that's mentioned in some of the GeoSpark papers and presentations, however.

Actually, I'm also unable to achieve this nicely with GeoSpark.
This works nicely for finding points within the specified distance by performing a DistanceJoin.
select *
from points1, points2
where ST_Distance(points1.coordinates, points2.coordinates) < 100

I could not find a better solution than to use the distance filter and then just rank the distances with a window function as usual in SQL. Could definitely use something like ST_Neighbors for better efficiency. Or am I missing something here?


Augment the IFixture interface with the Repeat function from the Fixture class

It would be good if the IFixture interface provided access to the repeat function from the fixture class..
I'm using JustBehave and they've recently changed there CreateFixture method to take an IFixture instead of a Fixture so now the repeat method from the Fixture class is unavailable. I'm happy to do the work and provide a pull request.
Any thoughts/objections to this?

I haven't heard about JustBehave, though there is a RepeatCount member on the IFixture interface...

Hi,
I am aware of RepeatCount, but I’m looking to add the IEnumerable<T Repeat(Func function) member to the IFixture interface.
Cheers
Sean.
From: Nikos Baxevanis<EMAIL_ADDRESS>Sent: 05 March 2016 22:41
To: AutoFixture/AutoFixture<EMAIL_ADDRESS>Cc: Sean Farrow<EMAIL_ADDRESS>Subject: Re: [AutoFixture] Augment the IFixture interface with the Repeat function from the Fixture class (#539)
I haven't heard about JustBehave, though there is a RepeatCount member https://github.com/AutoFixture/AutoFixture/blob/master/Src/AutoFixture/IFixture.cs#L35  on the IFixture interface...
—
Reply to this email directly or view it on GitHub https://github.com/AutoFixture/AutoFixture/issues/539#issuecomment-192754212 .  https://github.com/notifications/beacon/ABY1fhF0pGxkhx30dOwq2rHcaWJ2o7VZks5pqgaRgaJpZM4HqATo.gif

Isn't that already possible with Generator<T>? An example can be found here.

Thank you for writing, and for your interest in AutoFixture. It's always wonderful to hear that someone is using the library, even if we often learn about it when things work less than stellar :smile:
Unfortunately, changing an interface (including adding new members) is a breaking change, so we can't do that in AutoFixture 3. It'd be possible to do that in AutoFixture 4, but I'd be inclined to think that the change isn't warranted.
I've had my eye on the entire IFixture interface for years, because I find it crude, but I must admit that it seems to work. Still, I'd be reluctant to add more members to it.
If you consider the implementation of the particular Repeat method, however, it wouldn't have to be specific to the Fixture class:
public IEnumerable<T> Repeat<T>(Func<T> function)
{
    return from f in Enumerable.Repeat(function, this.RepeatCount)
            select f();
}

Would it be possible, instead, to move it to an extension method like the following?
public static IEnumerable<T> Repeat<T>(this IFixture fixture, Func<T> function)
{
    return from f in Enumerable.Repeat(function, fixture.RepeatCount)
            select f();
}

I haven't tried the above, so it's possible that there's a flaw in my reasoning.
All that said, though, I can't recall ever having used that function, so I wonder why it's even there... Why do you need it?

Hi Mark,
I understand it’s a breaking change.
What I’m using Repeat for is to create a number of interfaces (IPropertyDifferenceApplierStrategy in this case) and set properties on each of them.
Is there a better way to do this without repeat.
I waqs trying to avoid writing my own generator/customization!
If not, it certainly would be possible to convert Repeat to an extension method on IFixture, indeed, that’s the approach I came up with earlier this morning.
Cheers
Sean.
From: Mark Seemann<EMAIL_ADDRESS>Sent: 06 March 2016 11:39
To: AutoFixture/AutoFixture<EMAIL_ADDRESS>Cc: Sean Farrow<EMAIL_ADDRESS>Subject: Re: [AutoFixture] Augment the IFixture interface with the Repeat function from the Fixture class (#539)
Thank you for writing, and for your interest in AutoFixture. It's always wonderful to hear that someone is using the library, even if we often learn about it when things work less than stellar   https://assets-cdn.github.com/images/icons/emoji/unicode/1f604.png
Unfortunately, changing an interface (including adding new members) is a breaking change, so we can't do that in AutoFixture 3. It'd be possible to do that in AutoFixture 4 https://github.com/AutoFixture/AutoFixture/milestones/4.0 , but I'd be inclined to think that the change isn't warranted.
I've had my eye on the entire IFixture interface for years, because I find it crude, but I must admit that it seems to work. Still, I'd be reluctant to add more members to it.
If you consider the implementation of the particular Repeat method, however, it wouldn't have to be specific to the Fixture class:
public IEnumerable Repeat(Func function)
{
return from f in Enumerable.Repeat(function, this.RepeatCount)
select f();
}
Would it be possible, instead, to move it to an extension method like the following?
public static IEnumerable Repeat(this IFixture fixture, Func function)
{
return from f in Enumerable.Repeat(function, fixture.RepeatCount)
select f();
}
I haven't tried the above, so it's possible that there's a flaw in my reasoning.
All that said, though, I can't recall ever having used that function, so I wonder why it's even there... Why do you need it?
—
Reply to this email directly or view it on GitHub https://github.com/AutoFixture/AutoFixture/issues/539#issuecomment-192878431 .  https://github.com/notifications/beacon/ABY1fupguqBUjEznYMQaQ7at8fcV1-XTks5pqrzDgaJpZM4HqATo.gif

If we can move the method to an extension method, I don't think it'd be a breaking change, so I'd definitely consider that a viable option.

I’d be happy to do that and submit a pr.
Cheers
Sean.
From: Mark Seemann<EMAIL_ADDRESS>Sent: 06 March 2016 12:35
To: AutoFixture/AutoFixture<EMAIL_ADDRESS>Cc: Sean Farrow<EMAIL_ADDRESS>Subject: Re: [AutoFixture] Augment the IFixture interface with the Repeat function from the Fixture class (#539)
If we can move the method to an extension method, I don't think it'd be a breaking change, so I'd definitely consider that a viable option.
—
Reply to this email directly or view it on GitHub https://github.com/AutoFixture/AutoFixture/issues/539#issuecomment-192883998 .  https://github.com/notifications/beacon/ABY1fmalcvL-kdmlE_k_6X0nug7A8cD_ks5pqsn9gaJpZM4HqATo.gif

:+1:

With the release of AutoFixture 3.43.2, can we now close this issue?

Yes.
From: Mark Seemann<EMAIL_ADDRESS>Sent: 12 April 2016 21:32
To: AutoFixture/AutoFixture<EMAIL_ADDRESS>Cc: Sean Farrow<EMAIL_ADDRESS>Subject: Re: [AutoFixture/AutoFixture] Augment the IFixture interface with the Repeat function from the Fixture class (#539)
With the release of AutoFixture 3.43.2https://www.nuget.org/packages/AutoFixture/3.43.2, can we now close this issue?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com/AutoFixture/AutoFixture/issues/539#issuecomment-209090438


fix [IDP] : Added the system model under catalog category

Harness Developer Pull Request
Added the system model under catalog category
What Type of PR is This?

[ ] Issue
[ ] Feature
[x] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://656d708b9cf6c71390d9d5b3--harness-developer.netlify.app


double-beep: Watch confidentpreneur.com

double-beep requests the watch of the watch_keyword confidentpreneur\.com. See the MS search here and the Stack Exchange search here.

confidentpreneur\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Makyen in Charcoal HQ


Npc's physics wrongly update twice per frame.

After using g key to switch player, npc's ( currently localPlayer ) physics wrongly update twice per frame.
The two call stacks are:

This will cause problem such as npc's aesthetic jump speed doubled:
https://user-images.githubusercontent.com/10785634/183709487-ee17848e-4566-40c2-b478-b6b1fb1ec0fd.mp4

related: https://github.com/webaverse/app/issues/3565

This also seems related: https://github.com/webaverse/app/issues/3397

Close due to duplicated https://github.com/webaverse/app/issues/3397#issuecomment-1208686160


output normalized structure factors

Careless would be better if the output included normalized structure factors (E).

the problem is that unstack_anomalous doesn't work right with E values. as i recall, there's an issue with dtypes here. maybe there's no friedel E-value.