Need better samples

Sorry, but this document does not really help the user write their own JSON theme file.
All I want is a visualStyle section with a "card": {...} section and a "page": {...} section.
it should look like this:
{
"name": "CardTemplate",
"visualStyles":
{
	"card":
	{
		"*":
		{
			"border":
			[
				{
				"show": true,
				"color": { "solid": { "color": "#062b60"}}
				}
			]
		}
	}

    "page": {
        "*": {
            "background": [{
                "color": { "solid": { "color": "#062b60" } },
                "transparency": 50
            }],
            "outspace": [{
                "color": { "solid": { "color": "#062b60" } },
                "transparency": 50
            }]
        }
    }

}

}
But it bombs out. Why?

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

ID: 8d9a8511-6ff9-78c6-5a8c-3f5ac68224d0
Version Independent ID: f4fd28c7-71fa-a776-7154-e76eb9bd3649
Content: Use Report Themes in Power BI Desktop - Power BI
Content Source: powerbi-docs/desktop-report-themes.md
Service: powerbi
Sub-service: powerbi-desktop
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Thanks for your comment, @ToddChitt. I've assigned this issue to the doc author for review.

I just find that unless the text is all on a single line, it bombs out. I have to remove all carrage returns. In the end it's just easier to use this site https://powerbi.tips/tools/report-theme-generator-v3/

I found my mistake. There should be a comma after the last closing curly brace BEFORE "page" section starts. But lacking any samples that showed two sections in the same file together, it was hard to diagnose.
In the end, I have TWO json files. One is 'production' and is good and right. The other is a copy of that, plus ONE change at a time. If that change does what I expect it to do, then THAT file becomes PROD, another copy is made, and the process repeats. (It's brute force source control, heavy sigh).

Thanks for your comments. We're actively working on improving the documentation for themes (and themes themselves), and will update the article shortly.


⚠ SceneTime has degraded performance

In a849345, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1398 ms

Resolved: SceneTime performance has improved in b283e27 after 6 minutes.


Issue65 make legend translatable

Codecov Report

Merging #73 (1f042ef) into main (45d91a9) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff            @@
##              main       #73   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           74        74
  Lines         4082      4098   +16
=========================================
+ Hits          4082      4098   +16

Impacted Files
Coverage Δ

...gui_classes/gui_structure_classes/result_figure.py
100.00% <100.00%> (ø)

...test_gui_structure_elements/test_results_figure.py
100.00% <100.00%> (ø)


Load engine libquery_engine-rhel-openssl timeouts on Lambda

Bug description
Hi Prisma Team, hope you're all good.
I have an application running on AWS Lambda using libquery_engine-rhel-openssl and intermittently the engine takes more than 30 seconds (my lambda timeout) to load.
Logs - Failed

timestamp
message

1675173398264
START RequestId: 214c4313-de0b-48e2-a487-e92785e359cd Version: $LATEST

1675173398414
2023-01-31T13:56:38.414Z prisma:get-platform  Command "uname -m" successfully returned "x86_64

1675173398414
"

1675173398415
2023-01-31T13:56:38.415Z prisma:get-platform  Trying platform-specific paths for "rhel"

1675173398430
2023-01-31T13:56:38.430Z prisma:get-platform  Command "ls /lib64

1675173398430
libssl.so.1.0.2k

1675173398430
"

1675173398430
2023-01-31T13:56:38.430Z prisma:get-platform  Found libssl.so file using platform-specific paths: libssl.so.10

1675173398430
libssl.so.1.0.2k

1675173398431
2023-01-31T13:56:38.431Z prisma:get-platform  The parsed libssl version is: 1.0.x

1675173398435
2023-01-31T13:56:38.435Z prisma:get-platform  Command "uname -m" successfully returned "x86_64

1675173398435
"

1675173398436
2023-01-31T13:56:38.436Z prisma:get-platform  Trying platform-specific paths for "rhel"

1675173398449
2023-01-31T13:56:38.448Z prisma:get-platform  Command "ls /lib64

1675173398449
libssl.so.1.0.2k

1675173398449
"

1675173398449
2023-01-31T13:56:38.448Z prisma:get-platform  Found libssl.so file using platform-specific paths: libssl.so.10

1675173398449
libssl.so.1.0.2k

1675173398449
2023-01-31T13:56:38.448Z prisma:get-platform  The parsed libssl version is: 1.0.x

1675173398454
2023-01-31T13:56:38.454Z prisma:get-platform  Command "uname -m" successfully returned "x86_64

1675173398454
"

1675173398454
2023-01-31T13:56:38.454Z prisma:get-platform  Trying platform-specific paths for "rhel"

1675173398464
2023-01-31T13:56:38.464Z prisma:get-platform  Command "ls /lib64

1675173398464
libssl.so.1.0.2k

1675173398464
"

1675173398464
2023-01-31T13:56:38.464Z prisma:get-platform  Found libssl.so file using platform-specific paths: libssl.so.10

1675173398464
libssl.so.1.0.2k

1675173398464
2023-01-31T13:56:38.464Z prisma:get-platform  The parsed libssl version is: 1.0.x

1675173398465
2023-01-31T13:56:38.464Z prisma:client:libraryEngine:loader  Searching for Query Engine Library in /.prisma/client

1675173398465
2023-01-31T13:56:38.465Z prisma:client:libraryEngine:loader  Searching for Query Engine Library in /opt/atlassian/pipelines/agent/build/node_modules/@prisma/client

1675173398465
2023-01-31T13:56:38.465Z prisma:client:libraryEngine:loader  Searching for Query Engine Library in /var/task

1675173398465
2023-01-31T13:56:38.465Z prisma:client:libraryEngine:loader  Searching for Query Engine Library in /var/task/dist

1675173398465
2023-01-31T13:56:38.465Z prisma:client:libraryEngine:loader  loadEngine using /var/task/dist/libquery_engine-rhel-openssl-1.0.x.so.node

1675173428298
2023-01-31T13:57:08.298Z 214c4313-de0b-48e2-a487-e92785e359cd Task timed out after 30.03 seconds

1675173428298
END RequestId: 214c4313-de0b-48e2-a487-e92785e359cd

1675173428298
REPORT RequestId: 214c4313-de0b-48e2-a487-e92785e359cd Duration: 30034.11 ms Billed Duration: 30000 ms Memory Size: 2048 MB Max Memory Used: 121 MB Init Duration: 551.23 ms

Logs - Success

timestamp
message

1675173124592
"

1675173124593
2023-01-31T13:52:04.592Z prisma:get-platform  Trying platform-specific paths for "rhel"

1675173124612
2023-01-31T13:52:04.611Z prisma:get-platform  Command "ls /lib64

1675173124612
libssl.so.1.0.2k

1675173124612
"

1675173124612
2023-01-31T13:52:04.611Z prisma:get-platform  Found libssl.so file using platform-specific paths: libssl.so.10

1675173124612
libssl.so.1.0.2k

1675173124612
2023-01-31T13:52:04.612Z prisma:get-platform  The parsed libssl version is: 1.0.x

1675173124621
2023-01-31T13:52:04.621Z prisma:get-platform  Command "uname -m" successfully returned "x86_64

1675173124621
"

1675173124621
2023-01-31T13:52:04.621Z prisma:get-platform  Trying platform-specific paths for "rhel"

1675173124633
2023-01-31T13:52:04.633Z prisma:get-platform  Command "ls /lib64

1675173124633
libssl.so.1.0.2k

1675173124633
"

1675173124633
2023-01-31T13:52:04.633Z prisma:get-platform  Found libssl.so file using platform-specific paths: libssl.so.10

1675173124633
libssl.so.1.0.2k

1675173124634
2023-01-31T13:52:04.634Z prisma:get-platform  The parsed libssl version is: 1.0.x

1675173124650
2023-01-31T13:52:04.650Z prisma:get-platform  Command "uname -m" successfully returned "x86_64

1675173124650
"

1675173124650
2023-01-31T13:52:04.650Z prisma:get-platform  Trying platform-specific paths for "rhel"

1675173124658
2023-01-31T13:52:04.658Z prisma:get-platform  Command "ls /lib64

1675173124658
libssl.so.1.0.2k

1675173124658
"

1675173124658
2023-01-31T13:52:04.658Z prisma:get-platform  Found libssl.so file using platform-specific paths: libssl.so.10

1675173124658
libssl.so.1.0.2k

1675173124658
2023-01-31T13:52:04.658Z prisma:get-platform  The parsed libssl version is: 1.0.x

1675173124659
2023-01-31T13:52:04.659Z prisma:client:libraryEngine:loader  Searching for Query Engine Library in /.prisma/client

1675173124659
2023-01-31T13:52:04.659Z prisma:client:libraryEngine:loader  Searching for Query Engine Library in /opt/atlassian/pipelines/agent/build/node_modules/@prisma/client

1675173124659
2023-01-31T13:52:04.659Z prisma:client:libraryEngine:loader  Searching for Query Engine Library in /var/task

1675173124659
2023-01-31T13:52:04.659Z prisma:client:libraryEngine:loader  Searching for Query Engine Library in /var/task/dist

1675173124659
2023-01-31T13:52:04.659Z prisma:client:libraryEngine:loader  loadEngine using /var/task/dist/libquery_engine-rhel-openssl-1.0.x.so.node

1675173124754
2023-01-31T13:52:04.753Z prisma:client:libraryEngine  library starting

1675173124818
2023-01-31T13:52:04.818Z prisma:client:libraryEngine  library started

1675173124849
2023-01-31T13:52:04.849Z prisma:client  Prisma Client call:

1675173124851
2023-01-31T13:52:04.851Z prisma:client  prisma.companyData.findFirst({

1675173124851
where: {

1675173124851
companyId: 'XXXX'

1675173124851
}

1675173124851
})

1675173124851
2023-01-31T13:52:04.851Z prisma:client  Generated request:

1675173124851
2023-01-31T13:52:04.851Z prisma:client  query {

1675173124851
findFirstCompanyData(where: {

1675173124851
companyId: "XXXX"

1675173124851
}) {

1675173124851
id

1675173124851
companyId

1675173124851
availableCredits

1675173124851
availableCreditsCurrency

1675173124851
emailNotificationsConfig

1675173124851
createdAt

1675173124851
updatedAt

1675173124851
}

1675173124851
}

1675173124852
2023-01-31T13:52:04.851Z prisma:client:libraryEngine  sending request, this.libraryStarted: true

1675173124883
END RequestId: 7efdd896-d614-4f6f-815a-d35ab1c9a92b

1675173124883
REPORT RequestId: 7efdd896-d614-4f6f-815a-d35ab1c9a92b Duration: 427.76 ms Billed Duration: 428 ms Memory Size: 2048 MB Max Memory Used: 138 MB Init Duration: 551.10 ms

It's the same lambda function, nothing is changed between each trigger.
I've also tried to increase lambda's timeout to 5min and the memory to 2 GB, but the problem remains. It freezes at the very same line.
How to reproduce
I haven't found a way to reproduce this 100% of the time. It's intermittent. Sometimes making just one request is enough, but when making more like 10 parallel requests the error occurs more often.
Expected behavior
No response
Prisma information

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "rhel-openssl-1.0.x", "debian-openssl-1.1.x"]
}

datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

import { Injectable } from '@nestjs/common';
import { PrismaClient } from '@prisma/client';

const prismaService = new PrismaClient();

@Injectable()
export class PrismaService {
  repository: PrismaClient = prismaService;

  async connect() {
    await this.repository.$connect();
  }

  async disconnect() {
    await this.repository.$disconnect();
  }
}

Environment & setup

OS: Rhel (AWS Lambda)
Database: PostgreSQL
Node.js version: 14.x

Prisma Version
4.9.0

Quick question, are all the upvoters your friends or colleagues or is this a much more widespread issue?
This is the line behind that log and logic: https://github.com/prisma/prisma/blob/fe4442d6deaebc358c3b7d0ef463706d418af486/packages/engine-core/src/library/DefaultLibraryLoader.ts#L30-L56 There is unfortunately no log instantly after it was loaded, and also not in the code that comes afterwards so this might not be exactly the loading itself.

Hi @janpio, yes, they are my colleagues.
Do you know how I can investigate further?

@janpio @tomhoule This is still happening. Any idea on a startup point to investigate?

we are also seeing this issue fwiw

We've found the issue.
The problem was that one of our Lambda function Subnets was Public. So every time Lambda was instantiated in that Subnet, our application wouldn't have an Internet connection and so the DB connection timed out.

To access the internet from a public subnet you need a public IP or you need to route via a NAT that itself has a public IP. You also need an Internet Gateway (IGW). However, 1. Lambda function cannot have public IP addresses 2. The default route target in a VPC public subnet is the IGW, not a NAT

Therefore, as the Lambda function only has a private IP and its traffic is routed to the Internet Gateway rather than to a NAT, all packets to the internet from the Lambda function will be dropped at the Internet Gateway
@beefancohen please check if that's your case too.
I'll close the issue. Thank you guys

! i think we had the same issue, we were in the VPC but attached the wrong subnets (public instead of private).  maybe if possible if you can detect no network access, surfacing that error


This is rather a documentation fix

Apparently by default it looks for a 2.10 version. That makes me think that
scalaVersion := "2.10.x" won't work either. Anyway, feel free to reject it or whatever.
Closes #20

Thanks!
2016-10-09 22:42 GMT+02:00 Alfonso² Peterssen<EMAIL_ADDRESS>
Merged #21 https://github.com/mukel/telegrambot4s/pull/21.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mukel/telegrambot4s/pull/21#event-817455864, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAAB9DIyNifEZkXXZvctOoQdOet18b-9ks5qyVHQgaJpZM4KSDT9
.

--
JJ


Fastnlight: Watch loghomeshoppe.com

Fastnlight requests the watch of the watch_keyword loghomeshoppe\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

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


settings_users: Confirmation modal for "Reactivate" user.

The implementation closely follows handle_deactivation().
Using the same existing reactivate confirmation modal.
Also, this commit will also lead to open confirmation modal
to reactivate bots in settings > bots, and currently there is no
existing confirmation modal for deactivating bots.
This PR is a follow-up of #21436.

Testing plan: Manually tested and also written in puppeteer_tests/user-deactivation.ts
GIFs or screenshots:

Error test

@sahil839 Can you please review this, this is a follow-up PR of reactivate user from popover.

One more thing I noticed while playing with this, we currently keep the button disabled with text Working.. in case server returns error and request does not succeed. I think we should re-enable the button in such case after showing the error.

And what about text Working.., replace with Reactivate's icon?

Yeah of course we should replace text too.

This is how it would look.

Error only in top of table.

Yeah I think this is fine for now for consistency across different lists. And I think we can change errors for all cases to be in modals instead later.

You mean, show errors in modals instead of the top of the table, In another PR right?

You mean, show errors in modals instead of the top of the table, In another PR right?

Yes.

Playing with the PR, looks good to me!
It does look awkward in a narrow windows. The confirmation is glued to the top of the table when it doesn't fit on the line above, and it can cause the filter box to jump down. But this seems like a general issue, and not a blocker for merging this PR.

PR updated by changes of #21510.

Merged, thanks @yogesh-sirsat!
I think a good continuation of this project would be to do similar migrations for everything else using $status_field in these pages.

But because of this, we can't display the success message (e.g saved), for this to work we also could have to change the function which takes the modal status field for showing the error message to like settings_ui.do_settings_change manage to show a success message.

Hey, @ganpa3 did you make any progress already on the issue as mentioned by timabbott In the above comment?


Update illuminate/routing to allow compatible versions / Add auto discovery

Fix #35

I also added auto discovery for laravel 5.5 (backwards compatible)


EventFlux instance should have dispose() or close() method

For example, in the following line is a StreamSubscription that is never cancelled, this could cause memory leaks:
      ///Applying transforms and listening to it
      data.stream
          .transform(const Utf8Decoder())
          .transform(const LineSplitter())
          .listen(...)

Things like this and the other state should be cleaned up when dispose() is called.

Doesn't closing the client, automatically close this data stream as well? Also there's no close/disconnect method for StreamedResponse class

When calling .listen(...) on a stream, a StreamSubscription is created:
https://api.flutter.dev/flutter/dart-async/StreamSubscription-class.html
This subscription should be cancelled once it is not needed anymore.
For example, once the connection is lost and we have to reconnect, I think this code is called again, and a new subscription is created. (IIRC - please double check though 😄) But in general, its a good practice to keep track of stream subscriptions, and cancel them on dispose().

@jangruenwaldt Thanks for the resource, I found it useful.
I found what you were mentioning. I've fixed it. Should be available in the next release.

Keeping this issue open still the fix is released.

This is fixed on the latest version of EventFlux, v1.7.0.


pull request for e2e test at 02/05/2017 21:26:10

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add support for UWP on modern .NET

Completes https://task.ms/52148967
This PR adds support for UWP on modern .NET, by adding new UWP projects targeting .NET 8 and packaging them in a new TFM folder in the Microsoft.Xaml.Behaviors.Uwp.Managed NuGet package. Virtually no code changes are required (and we also get all the trim/AOT support for free from #255). The .csproj files could be simplified further, but keeping them the same as the ones for WinUI so that things are easier to maintain (fewer differences between the two flavors).

[!NOTE]
Can only build locally for now as it requires previews of Visual Studio, MSBuild, the XAML Compiler and the .NET SDK.

Need to work on the CI systems for this to properly build.


Update Set-MailboxServer.md

Added note to ManagedFolderAssistantSchedule param

Docs Build status updates of commit 4be21f6:
:clock10: Full build: the average full build time is 12 min(s) 19 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 4be21f6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/mailbox-databases-and-servers/Set-MailboxServer.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit e472737:
:clock10: Full build: the average full build time is 12 min(s) 20 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit e472737:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/mailbox-databases-and-servers/Set-MailboxServer.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit d296047:
:clock10: Full build: the average full build time is 12 min(s) 20 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit d296047:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/mailbox-databases-and-servers/Set-MailboxServer.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 411e449:
:clock10: Full build: the average full build time is 12 min(s) 20 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 411e449:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/mailbox-databases-and-servers/Set-MailboxServer.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 0e0b663:
:clock10: Full build: the average full build time is 12 min(s) 20 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 0e0b663:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/encryption-and-certificates/Set-IRMConfiguration.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/mailbox-databases-and-servers/Set-MailboxServer.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Update instructions to submit homework contribution in AMY

Update text for submitting "homework" checkout step.
Update this:
Submit link to your

Homework or Pull Request:

to

Submit link to your contribution.  Your contribution will be reviewed within 7-10 days. Please be sure your contribution is to a repo in one of these organisations:

The Carpentries
Data Carpentry
Library Carpentry
Software Carpentry
The Carpentries - Spanish Translations
Reproducible Science Curriculum
CarpentryCon
CarpentryConnect
carpentries-workshops
data-lessons
The Carpentries Lab
carpentries-incubator

Putting this in the community roles project because it should be done before or at the same time as re-doing this page for a single instructor badge.


PeerDependency bug

Reproduction
Use StackBlitz to reproduce your issue: https://stackblitz.com/fork/components-issue
Steps to reproduce:

ng update packageThatDependsOnMaterial8

Expected Behavior
What behavior were you expecting to see?
It updates packageThatDependsOnMaterial8, as well as updating Material/CDK to 8.
Actual Behavior
What behavior did you actually see?
                  Package "@keysight/alloy" has an incompatible peer dependency to "@angular/common" (requires "^8.1.1", would install "9.0.1")
                  Package "@keysight/alloy" has an incompatible peer dependency to "@angular/core" (requires "^8.1.1", would install "9.0.1")
                  Package "@keysight/alloy" has an incompatible peer dependency to "@angular/cdk" (requires "^8.2.3", would install "9.0.0")
                  Package "@keysight/alloy" has an incompatible peer dependency to "@angular/material" (requires "^8.2.3", would install "9.0.0")
                  Package "@keysight/alloy" has an incompatible peer dependency to "@angular/cdk" (requires "^8.2.3", would install "9.0.0").
                  Package "@keysight/alloy" has an incompatible peer dependency to "@angular/material" (requires "^8.2.3", would install "9.0.0").
                  Package "@angular-devkit/build-angular" has an incompatible peer dependency to "typescript" (requires ">=3.1 < 3.6", would install "3.7.5").

Incompatible peer dependencies found.
Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together.
You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later.

Environment

Angular: 8
CDK/Material: 8

Alloy peerDependencies:
    "peerDependencies": {
        "@angular/common": "^8.1.1",
        "@angular/core": "^8.1.1",
        "@angular/cdk": "^8.2.3",
        "@angular/material": "^8.2.3"
    },

This seems to be the culprit (Material peerDependencies):
  "peerDependencies": {
    "@angular/animations": "^8.0.0 || ^9.0.0-0",
    "@angular/cdk": "8.2.3",
    "@angular/core": "^8.0.0 || ^9.0.0-0",
    "@angular/common": "^8.0.0 || ^9.0.0-0",
    "@angular/forms": "^8.0.0 || ^9.0.0-0"
  }

Currently, we're instructing our consumers to remove Material, upgrade Alloy, then restore Material.

This seems to be something specific to the Angular CLI. Unless I misread this issue, it sounds like the issue is that the CLI should not try updating to version 9 of Angular, but rather just be satisfied with updating to version 8 of Angular. Right?

Yes, but why is Material upgrading beyond the version defined in the peerDependency and why is it the only library demonstrating this behavior?  As I mentioned I can remove Material and upgrade as expected.  Then manually handle the Material upgrade.  I suspect this is involved:
  "peerDependencies": {
    "@angular/animations": "^8.0.0 || ^9.0.0-0",
    "@angular/cdk": "8.2.3",
    "@angular/core": "^8.0.0 || ^9.0.0-0",
    "@angular/common": "^8.0.0 || ^9.0.0-0",
    "@angular/forms": "^8.0.0 || ^9.0.0-0"
  }

Why does material 8 have these loose version ranges, why is 9 acceptable (before it was even released)?
The following issue is not particularly helpful as it was closed without a true solution, but it's how I realized simply removing Material would allow me to ng update properly:
https://github.com/angular/angular-cli/issues/14980

The peer dependencies for 8.x are set to 9.x because it's totally possible to use a more recent major version of the Angular framework, while still using the older Angular Material/CDK version. This is part of the backwards compatibility that Angular guarantees.
I'd recommend creating another issue on the CLI repository for this. We won't be able to do anything about this from our side I guess. Happy to discuss more if you think differently.
In summary, my thinking is still that it's a bug in the CLI. It should be able to find a version of the CDK, Material that satisfies all peer dependencies. i.e. in this concrete example:

It looks for peer dependencies in alloy. Figures out that it needs @angular/* 8.x.
It fetches package metadata for @angular/*. Recursively looks in peer dependencies for these packages.
2.1. Finds peer dependencies in @angular/material.
2.2. Compares these peer dependency ranges against the "to-be-installed" packages. All good.
Applies update. All @angular/* packages will be updated to their latest 8.x release.

I see what you're saying.  Really frustrating that we have to describe such a quack work-around for consumers with CLI closing reports of these issues, but I'll whine over there again, lol.


Aqara Water Leak Sensor (SJCGQ11LM) status is different in Mijia APP and Home Assistant.

I have 3 gateways and 99 devices in my system.
Most of them work perfectly now (many thanks to this project).
However, in my system, there are five Aqara Water Leak Sensor (SJCGQ11LM) , 3 of them works well with no issue.
The other 2 devices work well in Mijia App but keep warning about the water leak all the time.
Even after I manually set the status to off in HA, it starts the warning in a few minutes.
Could you please help find out the cause?
Thank you.
Best regards,
Ken

Enable debug mode (readme) and check id (mac) of your problem sensors there.

Enable debug mode (readme) and check id (mac) of your problem sensors there.

Thanks!
log looks like this:
2020-10-18 21:01:26  DEBUG    gateway3      <IP_ADDRESS> | Setup device lumi.gateway.mgl03
2020-10-18 21:01:27  DEBUG    gateway3      <IP_ADDRESS> | Load 39 zigbee devices
2020-10-18 21:01:27  DEBUG    gateway3      <IP_ADDRESS> | lumi.158d000289c3d1 lumi.sensor_wleak.aq1 retain: {'CCA': 1, 'alarm': 0, 'alive': 1, 'battery': 70, 'battery_end_of_life': 0, 'chip_temperature': 25, 'cur_state': 3, 'fw_ver': 4, 'hw_ver': 2, 'lqi': 0, 'parent': 62268, 'power_tx': 10, 'pre_state': 1, 'pv_state': 0, 'reset_cnt': 14, 'send_all_cnt': 1, 'send_fail_cnt': 0, 'send_retry_cnt': 0, 'voltage': 3025}
2020-10-18 21:01:27  DEBUG    gateway3      <IP_ADDRESS> | lumi.158d00028a0b2e lumi.sensor_wleak.aq1 retain: {'CCA': 1, 'alarm': 1, 'alive': 1, 'battery': 64, 'battery_end_of_life': 0, 'chip_temperature': 30, 'cur_state': 3, 'fw_ver': 4, 'hw_ver': 2, 'lqi': 0, 'parent': 30090, 'power_tx': 10, 'pre_state': 1, 'pv_state': 0, 'reset_cnt': 25, 'send_all_cnt': 1, 'send_fail_cnt': 0, 'send_retry_cnt': 0, 'voltage': 2985}
2020-10-18 21:01:27  DEBUG    gateway3      <IP_ADDRESS> | lumi.158d00028a0b49 lumi.sensor_wleak.aq1 retain: {'CCA': 1, 'alarm': 1, 'alive': 1, 'battery': 67, 'battery_end_of_life': 0, 'chip_temperature': 24, 'cur_state': 3, 'fw_ver': 4, 'hw_ver': 2, 'lqi': 0, 'parent': 19150, 'power_tx': 10, 'pre_state': 1, 'pv_state': 0, 'reset_cnt': 23, 'send_all_cnt': 1, 'send_fail_cnt': 0, 'send_retry_cnt': 0, 'voltage': 3005}
The first one 158d000289c3d1 works well with no issue.
158d00028a0b2e and 158d00028a0b49 are the two devices that don't work correctly.
You can see from the log that the "alarm" of both devices is 1 while actually in Mijia App, the status is dry.

Try to remove them from Mi Home and add them again. Or wet and wait until dry.

Try to remove them from Mi Home and add them again. Or wet and wait until dry.

Already done that the first time I found that issue, with no luck.
Those two sensors are totally dry.
I even forced them to dry status in HA. It returns back to wet in a few mins.

Have you tried both tips? Wet the sensor and then dry.

Have you tried both tips? Wet the sensor and then dry.

It works! Thanks!


April 2023 LA Update

This PR prepares for the next GeoJSON updates for April 2023
This also brings specific updates to the staging branch in prep for review.

the change notes are good - however, it should be April 2023 release (release date 19 April 2023) not January 2023 release


Add kubeval to Containers

kubeval was missing from Containers, I'd like to see it there as well 👀

Thanks a lot @Hmerac. 🥳


where is the implementation of Factorized self-attention?

Hi,
Good job.
I am looking for the code about the implementation of factorized self-attention in the enwiki8 example, could you point me which lines of code was related(I did not found, looks it only mask out the blocks in future)?

That code is more of an engineering sample (but still pretty useful as a working starting point).  Look here for the attention patterns used in the paper:
https://github.com/openai/sparse_attention


Add HTTPS Proxy support

net-http version 0.5.0 finally introduced TLS proxy support: https://github.com/ruby/net-http/pull/55
https://github.com/ruby/net-http/releases/tag/v0.5.0
Since this change is breaking for older versions of net-http, I can also implement this in a backward compatible way.

@richardmarbach Cool feature! To support this, perhaps we can make this gem depend on net-http version 0.5.0+?

Hey @olleolleolle, thanks for checking so quickly! I've added the minimum runtime dependency for net-http


Rename init file for antigen support

It's nice to support antigen. I have to write the file name(path/to/zshrc.sh) directory for now. But no more putting the src, just need the path. We're happy :)

antigen looks for a *.plugin.zsh file in the plugin directory.
https://github.com/zsh-users/antigen

from
source path/to/zshrc.sh
# an example prompt
PROMPT='%B%m%~%b$(git_super_status) %# '

to
source $HOME/.zsh/antigen/antigen.zsh
antigen bundle mttrs/zsh-git-prompt
antigen apply
# an example prompt
PROMPT='%B%m%~%b$(git_super_status) %# '

:+1:


CI/CD Integration

As a product owner, I want the ability to deploy the application through Mission Control, because it gives me a central place to manage running instances of the application.

I want to be able to deploy the application from any branch or tag in the code.
I want to be able to instantly and easily rollback the current product instance or redeploy from another branch or tag.

I want to be able to have multiple instance running, each based on a different tag or branch of the application.

Would this look like the cloning of multiple master branches where the actual master branch becomes arbitrary?
Or do we want to take a fork/clone approach and have each team treat take the fork and move from there?
Eventually, we (as the org/owner of the product) want to be able to deploy everything that students do especially in the case of mission control right?


database_parents_path is blank in COLMAP?

This is a COLMAP issue but I couldnt find a solution anywhere. I am running this project on the demo data provided by the authors. It was getting stuck at geometric verification so I set skip_geometric_verification to True but now it is getting stuck at run_triangulation like so:

The paths i have are:
The database path is to the "database.db" file (I checked by printing the paths in the function)
Everything else is set to default.

I set up the whole environment and repo again and used "sudo apt install colmap" for the installation in my WSL2 Ubuntu machine. Everything worked


Don't bother setting redundant image names

When we pull down an image to use as a starting point, we no longer need to attach any additional names to it, as the image library can now find it correctly without requiring us to do so.

@rh-atomic-bot r+ 244b4de


scipy errors fixed

Fixed breaking tests due to SciPy 1.11.0 update
Issue: https://github.com/capitalone/DataProfiler/issues/905

misclicked


Inconsistent floor collision

This is probably related to #19956 and #20290.
Godot version:
3.0.6.
OS/device including version:
Windows, Linux (tested on both, as more than one developer involved).
Issue description:

We're working on a 2D Sonic platformer, Sonic Outbreak. The project does not use is_on_floor or the like due to its use of physics (angling collision bodies to slopes/ramps for one, its seeming requirement for movement in order to work etc).
Floor collision is unreliable and seems to show different levels of "collision" (if any) with random jumps.
 - this is how the project looks at the start of running it. Collision with the floor appears to be as expected.
Jumping with place usually produces this:
It usually alternates between what is expected/correct (the first picture) and this.
Sometimes, this happens instead:  - similar, but smaller "gap".
I note #19956 talked about potentially problematic tilesets. Recreating the tileset did not fix this issue.
Steps to reproduce:
Play the game, try jumping (jumping in place, jumping while moving etc).
Minimal reproduction project:

24050_demonstrator.zip
Zip contains Windows (64-bit) and Linux (64-bit) binaries.

I suspect this is due to the way you check collisions with the ground (and how it affects the player's velocity) though it's hard to tell without any code.

Might be related to #23675 if you're using stop_on_slope

Might be related to #23675 if you're using stop_on_slope
he's on 3.0.6 so it still uses the functional slope_stop_min_velocity

This is quite possible. The existing code doesn't use any of the features like is_on_floor, instead relying on the collision rays for detection. However, it doesn't quite explain the inconsistency?
The entire movement and collision code is going to be re-written anyway because of said issues (and other reasons).

 So sometimes you stop earlier, sometimes later.
You should perhaps make the character slide along the collision's normal instead. It would then be ejected out of the floor.

Can anyone still reproduce this bug in Godot 3.2.1 or any later release (e.g. 3.2.2-rc2)?
If yes, please ensure that an up-to-date Minimal Reproduction Project (MRP) is included in this report (a MRP is a zipped Godot project with the minimal elements necessary to reliably trigger the bug). You can upload ZIP files in an issue comment with a drag and drop.

The code in Sonic_Outbreak - when last looked at - replicated the issues I described back in 2018. It does not use is_on_floor. Godot_Sonic_Engine does. As "Sonic Outbreak" was the original project I referred to when submitting this issue, this was the one that failed.
I cannot, to the best of my abilities, replicate this issue using the Sonic Outbreak code. I cannot remember if I could with the other code (though it may not be relevant seeing as it uses is_on_floor).
https://www.dropbox.com/s/6hyj1h4tlga8akn/24050_Demonstrator_possible.7z?dl=0

Note that this isn't as entirely "fixed" as it may seem, though. With Sonic Outbreak, player_generic.gd, line 178 is move_and_slide ((-400) * ground_normal, floor_normal) - and without this, the inconsistent floor collision issue happens.


Flutter FAILURE: Build failed with an exception.

Running "flutter pub get" in sample...                              2.1s
Launching lib\main.dart on RMX1801 in debug mode...
FAILURE: Build failed with an exception.

What went wrong:
com/sun/xml/bind/v2/model/annotation/AnnotationReader

com.sun.xml.bind.v2.model.annotation.AnnotationReader

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 4s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done                         5.6s
Exception: Gradle task assembleDebug failed with exit code 1
Z:\SECOND PART\Flutter Project's\Cource 1\sample>flutter doctor -v
[√] Flutter (Channel master, v1.16.4-pre.69, on Microsoft Windows [Version 10.0.18363.592], locale en-IN)
• Flutter version 1.16.4-pre.69 at Z:\Running Data\Program Files\Flutter\flutter
• Framework revision 19e7db585d (53 minutes ago), 2020-04-01 11:16:01 -0700
• Engine revision c9506cb8e9
• Dart version 2.8.0 (build 2.8.0-dev.18.0 eea9717938)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at Z:\Running Data\Program Files\Android\Windows\SdkWindows
• Platform android-29, build-tools 29.0.3
• ANDROID_HOME = Z:\Running Data\Program Files\Android\Windows\SdkWindows
• Java binary at: Z:\Running Data\Program Files\Android\Windows\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
X Android license status unknown.
Try re-installing or updating your Android SDK Manager.
See https://developer.android.com/studio/#downloads or visit visit
https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions.
[√] Android Studio (version 3.6)
• Android Studio at Z:\Running Data\Program Files\Android\Windows\Android Studio
• Flutter plugin version 44.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
[√] VS Code (version 1.43.2)
• VS Code at C:\Users\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.8.1
[√] Connected device (1 available)
• RMX1801 • 57c28195 • android-arm64 • Android 9 (API 28)
! Doctor found issues in 1 category.

This crash is not related to flutter. I recommend re-running with --verbose to see what Android platform or gradle dependency is having an issue


fix: recognize background-image as correct (#42738)

The page mentioned in #42738 before would not accept background-image and background, now it should.
Checklist:

[X] I have read freeCodeCamp's contribution guidelines.
[X] My pull request has a descriptive title (not a vague title like Update index.md)
[X] My pull request targets the main branch of freeCodeCamp.
[X] I have tested these changes either locally on my machine, or GitPod.

Closes #42738

Please make sure to run the tests locally before submitting a PR that changes tests
Like shown in https://contribute.freecodecamp.org/#/how-to-work-on-coding-challenges?id=testing-challenges

Hey @ajl223
We would love to be able to merge your changes but it looks like there is an error with the CI build. ⚠
Once you resolve these issues, we will be able to review your PR and merge it. 😊

Feel free to reference the contributing guidelines for instructions on running the CI build locally. ✅

Yeah sure I will soon sorry for the late reply


Simple File Silo: Errors aren't submitted to message system

Initially reported by: @Heilemann as #TRAC453
It'd be nice if the error messages in the simple file silo were using the message system. For instance, trying to create a directory named '/' will create an error.

Author: @ddebernardy
errors seem to be reported fine, or am I missing something?

This is about the javascript message log, humane messages.

I wonder if @heilemann still uses Habari and can confirm this is fixed (because it is, as I see it).

Thank you for thinking of me, but no, I'm no longer using Habari.

Ok. As far as I can see there are no errors that get lost somewhere in the silo, also, we are going to redesign it and will run a lot of tests propably. So I close this and we can open a new one if someone comes across something.


drawing envelope

Check drawing envelope and make sure drawing mode is disabled when using other envelopes

fixed
Drawing blocked on all envelopes except "Draw"


Import External Wallet

Feature Description
A clear and concise description of the
*Requirements
-Designs
-Research
-Discussion with a Senior
Task Break Down
-TASK 1
-TASK 2

Irrelevant

``


Merge develop into release/10.0.0

Summary
Updates release/10.0.0 with latest fixes from develop
This is a release management task, as per our policy, we are self-approving it.

Superceded by https://github.com/dnnsoftware/Dnn.Platform/pull/5861


Add filter to box score so only show the set week. Update league test…

… for filtered box score

Codecov Report

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

@@            Coverage Diff            @@
##           master     #25      +/-   ##
=========================================
+ Coverage   95.58%   95.6%   +0.01%
=========================================
  Files          12      12
  Lines         453     455       +2
=========================================
+ Hits          433     435       +2
  Misses         20      20

Impacted Files
Coverage Δ

ff_espn_api/league.py
97.56% <100%> (+0.01%)
:arrow_up:

Continue to review full report at Codecov.

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


Fix reading request from connection in http

Namely, I removed the dst-end argument in pre-pop, as we want it to the end anyway. And I removed the pre-pop from read-body, as the buffer is already pre-poped.
Also, fix the default port and some typos.
This PR also makes some private functions public, as developers can use them in other libraries. If it is not desirable, please let me know, and I remove these changes.

Might be good to get investigate why large requests fail, but it otherwise this looks good.

From what I investigated, it is something in the net.c, but I got it on my to-do list. Thank you very much.


Metadata: How to handle key rotation by AD admin

Apologies for creating a duplicate issue. This issue is in continuation to issue - "Metadata: How to handle key rotation by AD admin #1338". Issue #1338 was closed around 25 days back so creating a new issue to solve a related problem.
Follow-up question:
I managed to resolve the CORS issue by modifying "Access-Control-Allow-Origin" on the token issuing server. IMO, that is not the correct way. @brockallen as mentioned by you earlier validating token signatures should be job of backend system and not the client. I was planning to modify the OIDC.JS library so that former does not verify signature of the token neither by requesting 'jwks_uri' endpoint nor by referring to metadata file. Henceforth, my SPA application will rely on OIDC.JS to request the token and forward the captured token AS-IS to the backend system.
Do you agree or see any challenge in above approach ?

IMO, that is not the correct way.

why not?

mentioned by you earlier validating token signatures should be job of backend system and not the client.

which would really be a different architecture different than the original design of oidc-client.

my SPA application will rely on OIDC.JS to request the token and forward the captured token AS-IS to the backend system.

IMO, then it should just use the BFF pattern and not use oidc-client-js.

why not?
Because, AD admin's do not like to fiddle with response headers as it can risk application security.
IMO, then it should just use the BFF pattern and not use oidc-client-js.
I will explore this approach and get back.

Because, AD admin's do not like to fiddle with response headers as it can risk application security.

Too bad it's not a first class feature of the product then :(
But yes, BFF is the preferred approach. There is a move away from tokens in the browser.


Add a kludge to index accounts by public key

Why do you need it? The Indexer does it and it already dumps the keys to the near_indexer_for_wallet_mainnet DB on Render. What is the point?

Why do you need it?

It appears the indexer is not getting keys added / deleted by other contracts e.g. account created and keys added from a linkdrop.
See #indexer (slack) for more context.

We cleared up the confusion offline. Explorer database is kept synced the old way, so you won't see anything new if you query Explorer WAMP RPC. Indexer for Wallet database is Postgres instance running on Render.com is configured specifically for Wallet needs has all the necessary keys and is up and running for on mainnet for about 2 weeks now with no downtimes and lags. @khorolets is setting up the Indexer for Wallet for testnet now (it may take a few days to sync up with the network...)
You can add the endpoint reading from the database to the helper or build another API server (whichever you find a better option, it is up to the Wallet team).
Indexer for Wallet records the NEAR native AddKey and RemoveKey actions from the receipts and does it reliably for all the finalized blocks in real-time.

You can add the endpoint reading from the database to the helper or build another API server (whichever you find a better option, it is up to the Wallet team).

we have this endpoint. We just didn't have indexer working for testnet specifically apparently. Will have this change gated by env var to make sure we can use either source of data depending on whether indexer is alive for specific network.


MudCheckBox

Bug type
Component
Component name
MudCheckBox
What happened?
check boxes are on separate line

Expected behavior
all checkboxes in line
In reproduction link is code from your own documentation, but result is different documentation and from previous version.
Reproduction link
https://try.mudblazor.com/snippet/i4_3TczM0ytKrMovkg_OyywoSC1RSMsvUkjOzy3Iz0vNK1FQd85ITc5Oyq9wSizOTHatSMwtyElVV8jLBykszUtRBAA
Reproduction steps

...
Relevant log output
No response
Version (bug)
6.1.2, 61.4
Version (working)
??? I'm not sure
What browsers are you seeing the problem on?
Microsoft Edge
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

wrap it in a class with d-flex.
<div class="d-flex ">
<MudCheckBox @bind-Checked="@Basic_CheckBox1"></MudCheckBox>
<MudCheckBox @bind-Checked="@Basic_CheckBox2" Color="Color.Primary"></MudCheckBox>
<MudCheckBox @bind-Checked="@Basic_CheckBox3" Color="Color.Secondary"></MudCheckBox>
<MudCheckBox @bind-Checked="@Basic_CheckBox4" Disabled="true"></MudCheckBox>
</div>


generate.regex() fails to generate regex-constrained text with madlad400-3b-mt T5 model

Describe the issue as clearly as possible:
I love the Outlines project, especially because it allows for various model configurations while maintaining constraint.
However, I have been unable to use Outlines with my desired model: https://huggingface.co/jbochi/madlad400-3b-mt
While text generation works just fine using this T5 Seq2Seq model, regex does not.
Steps/code to reproduce the bug:
from outlines import models, generate
from transformers import AutoModelForSeq2SeqLM

model = models.transformers("jbochi/madlad400-3b-mt", model_class=AutoModelForSeq2SeqLM, device="cpu")

print("Model loaded!")

# Initialize the generator
generator = generate.regex(model, regex_str=r"hello|goodbye")

# Generate a response
answer = generator("<2en> hola")

# Print the response
print(answer)

Expected result:
hello

Error message:
RuntimeError: Cannot convert token `X` (XXXXX) to bytes: X

Outlines/Python version information:
I am on the latest version of Outlines -- I installed it using the Repo's GitHub URL.
However, I tested this code with various versions of Outlines and none seemed to help.
I am on MacOS.
Context for the issue:
The main difference between Outlines and other popular libraries such as Microsoft's Guidance is its versatility, like its support for T5 models. However, this model is now completely unusable.


Remove monaco editor & let vscode render HTML & other mime types

Thanks for this extension, love it
Fixes https://github.com/AnWeber/httpbook/issues/27
Please test in VS Code Insiders, an issue  was identified in VS Code & fixed (fix will go out in next release of VS Code).
See here https://code.visualstudio.com/api/extension-guides/notebook#rich-output

I will merge the pull request, however I am not entirely happy with the result in the current state of vscode. Monaco Editor has solved a few small problems for me.

Missing search in output (microsoft/vscode#128665, microsoft/vscode#94239)
no pretty print of output (solvable in extension)
horizontal scrolling issue (microsoft/vscode#110825)
broken renderer issue with css

accessiblity issue with output end

broken height of output cells (microsoft/vscode#126863, microsoft/vscode#128391)

For this reason, I will temporarily put the Monaco Renderer into its own extension, so that you can continue to use it if needed.


Think about add_step name.

We leave it as it is, as the step is an important name in the case of art philosophy


Send "id" query parameter with all requests (SimpleWebSource)

First of all, thank you for an awesome framework! I have recently been doing a PoC of migrating a lot of internal tools away from ClickOnce and working with Velopack has been a pleasure!! Good docs, and very easy to get something working ❤
Is your feature request related to a problem? Please describe.
Not a problem I cannot work around, but more of a nuisance. When the UpdateManager checks for updates, it automatically includes the app id as the id query string parameter when requesting the releases.{channel}.json file. This is really convenient, and I would love to see the same query parameter included in the subsequent requests for downloading the release/delta package.
Describe the solution you'd like
I would like the id query parameter to be included in all requests coming from the UpdateManager.
Describe alternatives you've considered
The alternative approach that I am currently using, is to append an app query string parameter to the base URI fed into the UpdateManager. I then simply "hardcode" the app id into that custom query string paramter, which effectively gives me what I want; however I would like it to come "out of the box".
Additional context
I am building a small Web API (with a small UI front-end as well) in C#, which periodically fetches new builds/releases of various tools, bundles them into respective installers by using the vpk pack CLI tool behind the scenes. The Web API then exposes a single /app-update endpoint which is responsible for serving up required files for all the various installers that have been packed. The Web API also exposes a simple UI which lets users browse the available installers and download them directly (although this is somewhat unrelated to my request here).
Basically the respective installers are dumped in %INSTALLERS_ROOT%/<app id> so I have a folder structure looking something like this:
%INSTALLERS_ROOT%
├── AppId1
|   ├── AppId1-1.0.N-full.nupkg
|   ├── AppId1-1.0.N-delta.nupkg
|   ├── ...
|   ├── AppId1-1.0.0-full.nupkg
|   ├── releases.{channel}.json
├── AppId2
    ├── AppId2-1.0.N-full.nupkg
    ├── AppId2-1.0.N-delta.nupkg
    ├── ...
    ├── AppId2-1.0.0-full.nupkg
    ├── releases.{channel}.json

By leveraging the id query string parameter, I can easily find the releases.{channel}.json corresponding to the app which is trying to look for updates, but in the subsequent requests, the parameter is not present, and thus I need to infer it by other means (currently by appending my own query string parameter).
First request from UpdateManager

Subsequent requests fetching the desired package

As you can see in the latter screenshot, only the app query string parameter is present, which is the one I manually append to the base URI fed into the UpdateManager.
If I am just blind and have missed something, please point me in the right direction 😃

@caesay Ha, of course; simple! Thank you!
Just to be sure, when I override DownloadReleaseEntry(), the releaseEntry (non-nullable) parameter is guaranteed to have .PackageId properly set I assume, and thus I basically just need to add that to the query string the same way it is done here in GetReleaseFeed()?

@caesay I will however need to add my own SimpleWebSource-derived type to all the projects I intend to include in the solution above. If it was "in the box", I could avoid that extra type in all my projects (or referencing a shared project).
Would you be open to accepting a PR where I add that simple addition to the SimpleWebSource?

I would consider extending the Download function in SimpleWebSource. If you'd like to send a PR, feel free to!

After discussing with @caesay , my problem was solved by other means, and it is not an issue with Velopack, thus I am closing this.


Issue46 ui localisation

For for issue #46

@RogerMathisen Could you merge current iipc:master into this branch. That way the Travis build can run and the PR can then be automatically merged.

I have tried to do this both before and after I created the pull request, but GIT keeps telling me everything is up to date.
The command:

git merge issue46_UI_localisation upstream/master

Returns with: "Already up-to-date."

That seems like it is the wrong way around as I understand Git CLI.
What I do.
Make sure my master branch is up-to-date by fetching from origin (iipc)
Then:
git checkout feature_branch
git merge master


[Issue]: build fails due to missing package but it is falsely reporting error because it is installed

Problem Description
-- The C compiler identification is GNU 11.5.0
-- The CXX compiler identification is GNU 11.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found Python3: /bin/python3.12 (found version "3.12.6") found components: Interpreter
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'CppHeaderParser'
CMake Error at src/CMakeLists.txt:41 (message):
The "CppHeaderParser" Python3 package is not installed.  Please install it
using the following command: "pip3 install CppHeaderParser".
-- Configuring incomplete, errors occurred!
pip3 list | grep cpp -i
CppHeaderParser          2.7.4
rocm523, rhel9
Operating System
rhel9
CPU
epyc
GPU
mi210
ROCm Version
ROCm 6.2.3
ROCm Component
No response
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response

Hi @jdgh000, can you show the outputs of
which python3
which pip3

Thanks!

here are some of my findings in:
https://github.com/ROCm/clr/issues/107

Hi @jdgh000 thanks for the update. Do you consider this issue resolved then?

it is not! there is a bin/python3.12 is created in build folder, i dont know how it is being created and can not change that.

@jdgh000 Okay, have you checked to see if CppHeaderParser is in /bin/python3.12 -m pip list? Would you be able to
1. Delete build folder & recreate it
2. run `/bin/python3.12 -m pip install CppHeaderParser`
3. Build again

Thanks!

i did it already yesterday, but it created same 3.12 link. I just could not figure out where and how this is being created otherwise so I can try hack to change to 3.9 (pointed by python3)

it says no pip. I would not go this route again because as mentioned, using 3.12 1) breaks all other pip packages as unavailable 2) even if it works, it is just hacky and temp solution.
sudo /bin/python3.12 -m pip install CppHeaderParser
/bin/python3.12: No module named pip
I would rather continue using what is pointed by 3.9.

@jdgh000 Sorry that didn't work. cmake acts weird if you have multiple versions of Python installed; it will just choose a random one. The simple solution is uninstall all other versions except Python3.9. If that do not work, try replacing line 34 of src/CMakeLists.txt with (modify the path with the path to Python 3.9 interpreter.
set(Python3_ROOT_DIR "/path/topython3.9")
find_package(Python3 REQUIRED COMPONENTS Interpreter)
``
Let know if this works. Thanks!

Do not edit the CMake, just pass -DPython3_ROOT_DIR=… via the command line or explicitly pass -DPython3_EXECUTABLE=…. The search procedure is not random. Use environment variables like CMAKE_PREFIX_PATH to help guide to where to find things.

Hi @jrmadsen thanks for the guidance! @jdgh000 Please follow @jrmadsen's approach which is better.

ok that sounds reasonable, will try out.

-DPython3_EXECUTABLE= appears to work


pure rotation motion

hii,
I  run successfully the concept API (follow_path_example.py)  to the actual differential  robot scenario.
This API only considers the status of my planning position, and it seems that the rotation angle does not affect the control. (position and rotation from the nav_path)
I had some problems,  when the rotation angle is too large and my robot not allow reverse motion that  resulting in uncontrollable situations (robot cannot turn at the right Angle).
I want to use pure rotational motion to solve this problem
Is there any way to using command in the API to make the robot do pure rotation?
Thank you for your kind assistance.

Sorry for the delay, I totally missed this issue..
We don't provide an API for pure rotation.
However, as the stack relies uses cmd_vel to control the robot,  you can use this to perform a rotation yourself by sending a linear velocity of (0, 0, 0) and an angular velocity of (0,0, \omega) for any angular velocity \omega.


Weex JSPlaygrounds "http://dotwe.org/vue/" is open source?

I want to implement a Weex JSPlaygrounds inside the enterprise, like http://dotwe.org/vue/, is it open source？ or how should I implement it, can you suggest?

You can seek advice here


Black doesn't add newline when formatting

Issue Type: Bug
Whenever I format with black, it doesn't add a newline at the end of my file.
Steps to Reproduce:

Set black as Python formatting provider
Format file

If I switch to autopep8, it adds the newline at the end of the file as per the conventions of python formatting. Black used to add newlines but not anymore. I am also using a virtual environment.
Extension version: 2020.8.105045
VS Code version: Code 1.48.2 (a0479759d6e9ea56afa657e454193f72aef85bd0, 2020-08-25T10:09:08.021Z)
OS version: Darwin x64 19.6.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8257U CPU @ 1.40GHz (8 x 1400)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (0.08GB free)

Process Argv

Screen Reader
no

VM
0%

Hi @SyntaxErr0rr, thank you for reaching out.
Does black add a newline if you run it directly from the terminal using the same command as the Python extension (which you can see in the Python output channel)? If not this is an issue on Black itself, which you should report on their repo.
If it adds a newline when run directly in the terminal, which version of Black are you using?
Thanks!

Hi @SyntaxErr0rr, thank you for reaching out.
Does Black add a newline if you run it directly from the terminal using the same command as the Python extension (which you can see in the Python output channel)? If not this is an issue on Black itself, which you should report on their repo.
If it adds a newline when run directly in the terminal, which version of Black are you using?
Note: you can also use the files.insertFinalNewline setting as a workaround as well.
Thanks!

Thanks for your response! When I run Black from the command line, it adds the newline to my file. Currently I am using Black, version 20.8b1. An additional note if I didn't mention it when I opened this issue, I have format on save turned on (hope this is useful in solving the problem).

Thank you for the newline setting as well!

Could you copy here the output from running black --diff on one of your files? And does downgrading to 19.10 show the expected behaviour?

Could you copy here the output from running black --diff on one of your files? And does downgrading to 19.10 show the expected behaviour?

I believe downgrading to 19.10 shows the expected behavior. The output for black --diff on version 20.8b1 is as follows would reformat basics.py All done! ✨ 🍰 ✨ 1 file would be reformatted.
When I run black --diff on version 19.10b0, the output is different:

We use the --diff option in the extension to format files using Black, and it looks like 20.8b1 does not add a newline at the end of the file when using this option, while 19.10 does. This is an issue on Black itself, which I've reported here.
Closing since this is an issue caused by Black, and not the extension.


Version upgrade of module-deps

Recently<EMAIL_ADDRESS>was published with a new cache API. This PR updates the dependency and enables it for browserify 😍.
General side question:
Wouldn't it be better to change the dependency of module-deps and browser-pack to a >4.1.0 and >6.0.0 since we are respecting the semver and pass all configuration to the packages anyways:

All other options are forwarded along to module-deps and browser-pack directly.

This patch shouldn't be necessary:
-    "module-deps": "^4.0.8",
+    "module-deps": "^4.1.0",

The carat (^) for major versions greater than zero accepts minor version upgrades.


[Enter feedback here]$h = (Get-Date).AddHours(-1) $logs = dir 'C:' -Recurse '*.log' | Sort-Object CreationTime # Find the last 5 log files created in the past hour. $logs.Where({$_.CreationTime -gt $h}, 'Last', 5)   --- #### Document Details  ⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.  * ID: cbe6e195-f640-0f1b-dae0-1d5ed62da207 * Version Independent ID: fa3de13d-0fab-7a99-3346-1f7764686781 * Content: Exchange cmdlet syntax * Content Source: exchange/docs-conceptual/exchange-server/exchange-cmdlet-syntax.md * Service: exchange-online * GitHub Login: @chrisda * Microsoft Alias: chrisda

[Enter feedback here]$h = (Get-Date).AddHours(-1)
$logs = dir 'C:' -Recurse '*.log' | Sort-Object CreationTime
Find the last 5 log files created in the past hour.
$logs.Where({$_.CreationTime -gt $h}, 'Last', 5)

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

ID: cbe6e195-f640-0f1b-dae0-1d5ed62da207
Version Independent ID: fa3de13d-0fab-7a99-3346-1f7764686781
Content: Exchange cmdlet syntax
Content Source: exchange/docs-conceptual/exchange-server/exchange-cmdlet-syntax.md
Service: exchange-online
GitHub Login: @chrisda
Microsoft Alias: chrisda

@SOFIE96, by default, Exchange Server log files are stored in %EXCHANGEINSTALLPATH% (C:\Program Files\Microsoft\Exchange Server\V15); for example, the Logging folder, the TransportRoles\Logs folder, etc.
For your commands:
$h = (Get-Date).AddHours(-1)
$logs = dir 'C:' -Recurse '*.log' | Sort-Object CreationTime
$logs.Where({$_.CreationTime -gt $h}, 'Last', 5)

That middle line is key. As it's written, you need to be in the folder/path that you want to search. If you want to search the whole C: drive, run cd c:\ first or use the value 'C:' in the command. For example:
$logs = dir 'C:\' -Recurse '*.log' | Sort-Object CreationTime

If you want to search just the Exchange Server folder, you can use the %EXCHANGEINSTALLPATH% environment variable like this:
$logs = dir $env:ExchangeInstallPath -Recurse '*.log' | Sort-Object CreationTime

I tested using that last command, and it worked.


Where is MongoDB infrastructure?

Dear Edreyer,
Thank you for your project. It looks pretty good.
I could see that you chose to use MongoDB for production and h2 for testing.
I could not see any infrastructure (docker, docker-compose) to spin up your mongodb. Have you consider adding a directory called "docker" where you would have your docker-compose with your infrastructure (MongoDB)?
this why you could just call: docker compose -f docker/docker-compose.yml up -d
What do you think?
Regards,
Flavio Oliva

Good call. When I get some time I'll throw that in there

I have opened a Pull Request with that. Please have a look. :)
Em sex., 10 de nov. de 2023 às 16:25, Erik Dreyer @.***>
escreveu:

Good call. When I get some time I'll throw that in there
—
Reply to this email directly, view it on GitHub
https://github.com/edreyer/modulith/issues/25#issuecomment-1806039598,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF67VG4NPXRLRDCSFW5ZNELYDZIRHAVCNFSM6AAAAAA7FFS6BWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWGAZTSNJZHA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Changing Git Branch locally does not change on remote

Expected Behavior
when I change a branch locally, the branch should also change on the server
Actual Behavior
Changing a branch locally, changes files locally, however, those same files are not changed on the remote server
Steps to Reproduce the Problem
When working on local development, I change branches from "branch A" to "branch B", all my files locally change, but when I SFTP to the server, it still shows all the files from Branch A.
Requisites (important to diagnose the problem!)
This is the setup on sftp.json
{
"name": "PROJECT NAME",
"host": "SERVER IP ADDRESS",
"port": 22,
"username": "root",
"protocol": "sftp",
"agent": output of echo $SSH_AUTH_SOCK,
"privateKeyPath": "/Users/MY-KEY/.ssh/id_rsa",
"passphrase": null,
"passive": false,
"interactiveAuth": false,
"remotePath": "/mnt/PROJECT/var/www/html",
"uploadOnSave": true,
"syncMode": "update",
"watcher": {
"files": false,
"autoUpload": false,
"autoDelete": true
},
"ignore": [
"/.vscode/",
"/.git/",
"**/.DS_Store"
]
}
Extension Logs

Open User Settings.

On Windows/Linux - File > Preferences > Settings
On macOS - Code > Preferences > Settings

Set sftp.printDebugLog to true and reload vscode.

Reproduce the problem, get the logs from View > Output > sftp.

Specifications

Version: 1.3.10
Platform:

"uploadOnSave": false,
"watcher": {
"files": "**/*",
"autoUpload": true,
"autoDelete": true
},


Column width

I can get everything to work except column width.  If I edit your examples to change column with, it works.  When I try myself on my page, it does not.
Always get columns of the same width, which all have ample left/right padding.
I cannot figure this out.
The table_props structure is working, other props take effect.  But nothing shy of a syntax error impacts col_width...

alternate rows also fails to color alternate rows.


Fix spec to expand directories

Fix failing spec on master. Was introduced on #3651

This was already fixed on 1-10-stable.


AOAI ERROR

Hello,
I am debugging the application locally and the attached message is showing.
Even if I go to the Azure Open AI resource > Explore > Quotas, it hasn't exceeded the limit.
How to reset or where to adjust to stop giving messages?

Hello, I am debugging the application locally and the attached message is showing. Even if I go to the Azure Open AI resource > Explore > Quotas, it hasn't exceeded the limit. How to reset or where to adjust to stop giving messages?

You need to make sure you stay within the model token limit of 8K (GPT-4).  Try GPT35-Turbo 16K


Support distro-specific binaries

Presently, we classify any Linux (as reported by uname -s) as 'linux'. But some nodes, like jxcore, have distro-specific builds. So instead of only matching directly against uname -s, we can try to determine the distro using lsb_release (or uname -r in freebsd's case). So now we can report back:

normalized architecture (arm64, x64, x86)
os (sunos, darwin, linux)
distro (debian, ubuntu, gentoo, freebsd, etc)

Nodejs and iojs only care about 'linux', we first attempt to match to OS, but also try to match against distro. If either match, then we use the given binary.

:+1:


maxComputeWorkGroupCount[0]:    uint32_t                         =<PHONE_NUMBER>
                maxComputeWorkGroupCount[1]:    uint32_t                         = 65535
                maxComputeWorkGroupCount[2]:    uint32_t                         = 65535
            maxComputeWorkGroupInvocations: uint32_t                         = 1024
            maxComputeWorkGroupSize:        uint32_t[3]                      = 0x7ffdc87b192c
                maxComputeWorkGroupSize[0]:     uint32_t                         = 1024
                maxComputeWorkGroupSize[1]:     uint32_t                         = 1024
                maxComputeWorkGroupSize[2]:     uint32_t                         = 64
            subPixelPrecisionBits:          uint32_t                         = 8
            subTexelPrecisionBits:          uint32_t                         = 8
            mipmapPrecisionBits:            uint32_t                         = 8
            maxDrawIndexedIndexValue:       uint32_t                         =<PHONE_NUMBER>
            maxDrawIndirectCount:           uint32_t                         =<PHONE_NUMBER>
            maxSamplerLodBias:              float                            = 15
            maxSamplerAnisotropy:           float                            = 16
            maxViewports:                   uint32_t                         = 16
            maxViewportDimensions:          uint32_t[2]                      = 0x7ffdc87b1958
                maxViewportDimensions[0]:       uint32_t                         = 32768
                maxViewportDimensions[1]:       uint32_t                         = 32768
            viewportBoundsRange:            float[2]                         = 0x7ffdc87b1960
                viewportBoundsRange[0]:         float                            = -65536
                viewportBoundsRange[1]:         float                            = 65536
            viewportSubPixelBits:           uint32_t                         = 8
            minMemoryMapAlignment:          size_t                           = 64
            minTexelBufferOffsetAlignment:  VkDeviceSize                     = 16
            minUniformBufferOffsetAlignment: VkDeviceSize                     = 64
            minStorageBufferOffsetAlignment: VkDeviceSize                     = 16
            minTexelOffset:                 int32_t                          = -8
            maxTexelOffset:                 uint32_t                         = 7
            minTexelGatherOffset:           int32_t                          = -32
            maxTexelGatherOffset:           uint32_t                         = 31
            minInterpolationOffset:         float                            = -0.5
            maxInterpolationOffset:         float                            = 0.4375
            subPixelInterpolationOffsetBits: uint32_t                         = 4
            maxFramebufferWidth:            uint32_t                         = 32768
            maxFramebufferHeight:           uint32_t                         = 32768
            maxFramebufferLayers:           uint32_t                         = 2048
            framebufferColorSampleCounts:   VkSampleCountFlags               = 15 (VK_SAMPLE_COUNT_1_BIT | VK_SAMPLE_COUNT_2_BIT | VK_SAMPLE_COUNT_4_BIT | VK_SAMPLE_COUNT_8_BIT)
            framebufferDepthSampleCounts:   VkSampleCountFlags               = 15 (VK_SAMPLE_COUNT_1_BIT | VK_SAMPLE_COUNT_2_BIT | VK_SAMPLE_COUNT_4_BIT | VK_SAMPLE_COUNT_8_BIT)
            framebufferStencilSampleCounts: VkSampleCountFlags               = 31 (VK_SAMPLE_COUNT_1_BIT | VK_SAMPLE_COUNT_2_BIT | VK_SAMPLE_COUNT_4_BIT | VK_SAMPLE_COUNT_8_BIT | VK_SAMPLE_COUNT_16_BIT)
            framebufferNoAttachmentsSampleCounts: VkSampleCountFlags               = 31 (VK_SAMPLE_COUNT_1_BIT | VK_SAMPLE_COUNT_2_BIT | VK_SAMPLE_COUNT_4_BIT | VK_SAMPLE_COUNT_8_BIT | VK_SAMPLE_COUNT_16_BIT)
            maxColorAttachments:            uint32_t                         = 8
            sampledImageColorSampleCounts:  VkSampleCountFlags               = 15 (VK_SAMPLE_COUNT_1_BIT | VK_SAMPLE_COUNT_2_BIT | VK_SAMPLE_COUNT_4_BIT | VK_SAMPLE_COUNT_8_BIT)
            sampledImageIntegerSampleCounts: VkSampleCountFlags               = 15 (VK_SAMPLE_COUNT_1_BIT | VK_SAMPLE_COUNT_2_BIT | VK_SAMPLE_COUNT_4_BIT | VK_SAMPLE_COUNT_8_BIT)
            sampledImageDepthSampleCounts:  VkSampleCountFlags               = 15 (VK_SAMPLE_COUNT_1_BIT | VK_SAMPLE_COUNT_2_BIT | VK_SAMPLE_COUNT_4_BIT | VK_SAMPLE_COUNT_8_BIT)
            sampledImageStencilSampleCounts: VkSampleCountFlags               = 31 (VK_SAMPLE_COUNT_1_BIT | VK_SAMPLE_COUNT_2_BIT | VK_SAMPLE_COUNT_4_BIT | VK_SAMPLE_COUNT_8_BIT | VK_SAMPLE_COUNT_16_BIT)
            storageImageSampleCounts:       VkSampleCountFlags               = 15 (VK_SAMPLE_COUNT_1_BIT | VK_SAMPLE_COUNT_2_BIT | VK_SAMPLE_COUNT_4_BIT | VK_SAMPLE_COUNT_8_BIT)
            maxSampleMaskWords:             uint32_t                         = 1
            timestampComputeAndGraphics:    VkBool32                         = 1
            timestampPeriod:                float                            = 1
            maxClipDistances:               uint32_t                         = 8
            maxCullDistances:               uint32_t                         = 8
            maxCombinedClipAndCullDistances: uint32_t                         = 8
            discreteQueuePriorities:        uint32_t                         = 2
            pointSizeRange:                 float[2]                         = 0x7ffdc87b19fc
                pointSizeRange[0]:              float                            = 1
                pointSizeRange[1]:              float                            = 2047.94
            lineWidthRange:                 float[2]                         = 0x7ffdc87b1a04
                lineWidthRange[0]:              float                            = 1
                lineWidthRange[1]:              float                            = 64
            pointSizeGranularity:           float                            = 0.0625
            lineWidthGranularity:           float                            = 0.0625
            strictLines:                    VkBool32                         = 1
            standardSampleLocations:        VkBool32                         = 1
            optimalBufferCopyOffsetAlignment: VkDeviceSize                     = 1
            optimalBufferCopyRowPitchAlignment: VkDeviceSize                     = 1
            nonCoherentAtomSize:            VkDeviceSize                     = 64
        sparseProperties:               VkPhysicalDeviceSparseProperties = 0x7ffdc87b1a38:
            residencyStandard2DBlockShape:  VkBool32                         = 1
            residencyStandard2DMultisampleBlockShape: VkBool32                         = 1
            residencyStandard3DBlockShape:  VkBool32                         = 1
            residencyAlignedMipSize:        VkBool32                         = 0
            residencyNonResidentStrict:     VkBool32                         = 1

Thread 0, Frame 0:
vkGetPhysicalDeviceFeatures2KHR(physicalDevice, pFeatures) returns void:
    physicalDevice:                 VkPhysicalDevice                 = 0x55dec525f860
    pFeatures:                      VkPhysicalDeviceFeatures2*       = 0x7ffdc87ae630:
        sType:                          VkStructureType                  = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2<PHONE_NUMBER>)
        pNext:                          const void*                      = VkPhysicalDeviceShadingRateImageFeaturesNV
        features:                       VkPhysicalDeviceFeatures         = 0x7ffdc87ae640:
            robustBufferAccess:             VkBool32                         = 1
            fullDrawIndexUint32:            VkBool32                         = 1
            imageCubeArray:                 VkBool32                         = 1
            independentBlend:               VkBool32                         = 1
            geometryShader:                 VkBool32                         = 1
            tessellationShader:             VkBool32                         = 1
            samp

This api dump

@chen244 ok, the output of API Dump is obviously cut by your terminal. Better to collect it in the file and put to the gist if you want to share it with us. But as I mentioned above it would be easier if you try to debug it on your end. It might be frustrating at a first glance to work with the codebase you are not familiar with, but that's a good opportunity to practice! For example from the Rust call stack we can see that the error is toriginated on the line 777 in the vulkano/src/swapchain/swapchain.rs file. This is exactly a swapchain creation function. From that line I would start debugging passed parameters, and if they look fine, then I would track down from where they came from(maybe comparing with Vulkan's doc).

@chen244 ok, the output of API Dump is obviously cut by your terminal. Better to collect it in the file and put to the gist if you want to share it with us. But as I mentioned above it would be easier if you try to debug it on your end. It might be frustrating at a first glance to work with the codebase you are not familiar with, but that's a good opportunity to practice! For example from the Rust call stack we can see that the error is originated on the line 777 in the vulkano/src/swapchain/swapchain.rs file. This is exactly a swapchain creation function. From that line I would start debugging passed parameters, and if they look fine, then I would track down from where they came from(maybe comparing with Vulkan's doc).

Now I put it to gist. I will try to debug it tommorrow.. :)
https://gist.github.com/chen244/817a62a463a2a35a2fc3aa721cfe8044

@chen244 Thanks!
In the last part of the gist I see the swapchain creation failure:

vkCreateSwapchainKHR(device, pCreateInfo, pAllocator, pSwapchain) returns VkResult VK_ERROR_INITIALIZATION_FAILED (-3):

Passed parameters look good to me at a first glance, but can you please run vkcube with the API dump enabled too, and try to find the  vkCreateSwapchainKHR call there? Then we would compare passed parameters.

@chen244 Thanks!
In the last part of the gist I see the swapchain creation failure:

vkCreateSwapchainKHR(device, pCreateInfo, pAllocator, pSwapchain) returns VkResult VK_ERROR_INITIALIZATION_FAILED (-3):

Passed parameters look good to me at a first glance, but can you please run vkcube with the API dump enabled too, and try to find the vkCreateSwapchainKHR call there? Then we would compare passed parameters. That could give us an idea of what's going on there.

here
https://gist.github.com/chen244/93ef4be4eff209a18911bcd38032e80e
And vkCreateSwapchainKHR is
https://gist.github.com/chen244/93ef4be4eff209a18911bcd38032e80e#file-gistfile1-txt-L1327

Strange, in the "Vulkano's" output I actually didn't see a surface creation call. In contrast to "Vkcube" that has vkCreateXcbSurfaceKHR.

Strange, in the "Vulkano's" output I actually didn't see a surface creation call. In contrast to "Vkcube" that has vkCreateXcbSurfaceKHR.
@chen244 Can you re-run the trianlge example please and make sure vkCreateXcbSurfaceKHR call is actually missing there? Maybe it was just lost by the api dump tool.

Because the vkcube use xcb, but it is still run in wayland. I can compile one which do not have xcb..

@chen244 Let's do that.
Aside from this I also see that Vulkano calls vkGetPhysicalDeviceSurfaceSupportKHR twice with the same parameters.

@chen244 Let's do that.
Aside from this I also see that Vulkano calls vkGetPhysicalDeviceSurfaceSupportKHR twice with the same parameters.
I found when the xcube build without xcb, It cannot run.But when with xcb, it is still on wayland..Maybe because of my environment? I think you can close this issue. If I can figure what happened then open it..

Strange, in the "Vulkano's" output I actually didn't see a surface creation call. In contrast to "Vkcube" that has vkCreateXcbSurfaceKHR.

That's very strange indeed. The surface handle 0x559e0c41a520 just appears out of nowhere.

Strange, in the "Vulkano's" output I actually didn't see a surface creation call. In contrast to "Vkcube" that has vkCreateXcbSurfaceKHR.

That's very strange indeed. The surface handle 0x559e0c41a520 just appears out of nowhere. For Wayland, it should be using the vkCreateWaylandSurfaceKHR Vulkan function.

Ok, I think it is my problem.. Because my friend also use nvidia wayland, he is ok..

Is this still an issue for you?

Close it please, it seems the issue should belong to nvidia

Is this still an issue for you?

Close it please, it seems the issue should belong to nvidia


Set edge label to vis label by default

This is the fix for the issue #1

Also, modified getRandomColor(). Now it accepts strings (= edge labels) as seeds for color generation, and the saturation and lightness are fixed using HSL.

Thank you very much for your contribution! The generated color looks good 😍


Reduce custom error allocation

Zero allocation by using non-pointer error.
related #69
name               old time/op    new time/op    delta
ParseBadLength-16    15.4ns ± 0%     3.5ns ± 0%   ~     (p=1.000 n=1+1)

name               old alloc/op   new alloc/op   delta
ParseBadLength-16     8.00B ± 0%     0.00B        ~     (p=1.000 n=1+1)

name               old allocs/op  new allocs/op  delta
ParseBadLength-16      1.00 ± 0%      0.00        ~     (p=1.000 n=1+1)

Thanks, this is a good optimization.

Thanks, this is a good optimization.

why?

why?


Image displayed incorrectly

Hey Team,
Checkout the image on https://learn.microsoft.com/en-us/azure/active-directory/hybrid/whatis-hybrid-identity, seems like it renders in an unintended way.

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

ID: 17b3fb25-936b-0ef1-9423-608c0a2364c5
Version Independent ID: 42126028-d632-ed78-a8d3-c52758503ed2
Content: What is hybrid identity with Azure Active Directory? - Microsoft Entra
Content Source: articles/active-directory/hybrid/whatis-hybrid-identity.md
Service: active-directory
Sub-service: hybrid
GitHub Login: @billmath
Microsoft Alias: billmath

@nekdima
Thanks for your feedback! We will investigate and update as appropriate.

@nekdima
I'm going to assign this to the document author so they can take a look at it accordingly
@nekdima
Could you Please review this and update as appropriate.

Thank for submitting this. I have created a work item for it and will reviewing this in the coming weeks. I am not sure what the timeline will be, so I am going to close this for now. But once I have an update I will drop it in here and let you know.
Thank you!
Bill
#please-close


Dot values in keys?

var obj = {
  a: {
    b: "d",
    c: ["e", "f"],
    '\u1200': 'unicode key',
    'dot.dot': 'key'
  },
  "x.y":"doesn't work"
};

objectPath.get(obj, ["x.y"]);

"doesn't work"

objectPath.get(obj, "x.y"); // This one doesn't work, and I would think it should :(
objectPath.get(obj, "a.dot.dot"); // This one doesn't work, and I would think it should :(

Can't see any reason why it wouldn't fallback to finding a['dot.dot'] if a.dot.dot is not defined. Am I missing something?
:)

values passed using an array are used as-is, meaning they won't have their values converted from strings to number, or split using the dots. so basically ['a', '0'] isn't the same as ['a', 0] that isn't the same as ['a.0']

I think this feature or a bug however you name it should be addressed in readme — namely, use of dots in key names is not allowed. Additionally, dots in object key names is allowed in JSON and it's a problem with object-path, this issue is still relevant and should not be closed.
If we are thinking about implementing a bracket notation #96 , this could be the solution — pass key names in a bracket notation like OP and your intent to escape would be understood.


FIX Bastion subnet and NSG creation dependency

Enable optional Bastion Subnet and NSG creation based on parAzBastionEnabled parameter

Overview/Summary
This PR fixes the Bastion subnet and NSG creation dependent on parAzBastionEnabled parameter defining if Bastion should be deployed in the first place

resBastionSubnetRef only created if parAzBastionEnabled == true
resBastionNsg only created if parAzBastionEnabled == true

Breaking Changes
None
Testing Evidence
Small typo fix based on existing code structure.
As part of this Pull Request I have

[x] Read the Contribution Guide and ensured this PR is compliant with the guide
[x] Ensured the resource API versions in .bicep file/s I am adding/editing are using the latest API version possible
[x] Checked for duplicate Pull Requests
[x] Associated it with relevant GitHub Issues
[x] (ALZ Bicep Core Team Only) Associated it with relevant ADO Items
[x] Ensured my code/branch is up-to-date with the latest changes in the main branch
[x] Performed testing and provided evidence.
[x] Updated one or more of the following tests (if required)

Unit
Linting
E2E (End-To-End)
ValidateAzCloud (Base validation in Azure Cloud)
ValidateMcCloud (Base validation in Azure China Cloud)

[x] Updated relevant and associated documentation (e.g. Contribution Guide, Module READMEs, Wiki Docs etc.)
[x] If relevant, created or updated Code Tours here

Even with these changes the AzureBaationSubnet would still be deployed, as long as it is defined in the parameter parSubnets. Your code changes the ref to an existing subnet.

Thanks for the comment @picccard, I agree. Shall I restructure the code to only append the Bastion Subnet to the subnet definitions list depending on the parAzBastionEnabled param or just focus on the Nsg for now and remove the conditional from the resBastionSubnetRef?


Auto start python scripts on bootup

When orange pi boots up it should start python scripts which are related to new features
#4 including communication #9

done attaching
and here is the documentation #29


Clipping/Masking over gifs/videos

It would be nice if there was possibility to clip/mask videos so that instead of whole video recipient of link could have seen(?) only an unmasked part.
For example, the mask is a drawn cat with big anime-style transparent eyes, and only those eyes "presents" some content(movie or gif).
It could by done by some z-index or whatever method is proper these days.

Sounds quite elaborate, but let's entertain the idea and list some assumptions:

new global parameter &overlay=<url>  where <url> is URL to image
overlay  is displayed on top of #box / #player as divs with
width:100%;height:100%;background:url(<url>) no-repeat center center fixed;background-size:cover;
it should be universal enough to cover all player sizes
if the image is PNG/GIF alpha channel, then parts of underlying player are visible
the overlay is static and always visible -- common to all playlist items

Is this what you had in mind?

Yes, that would be exactly what I expected.

Triage Decision
Won't be implemented.
Rationale
Year later this idea seems like a book case of Rube-Goldberg machine.
Closing this due to the lack of interest and limited usefulness of such feature.


Will credhub be integrated into service brokers and build packs?

Is it a design goal of credhub to improve the security of credentials published and shared with application instances?

Hey Dr. Nic -
Yes, one of the use cases that we are exploring is an alternative delivery mechanism for service credentials. We had an initial design discussion with the community that involved a Diego cell metadata service, but decided to augment our approach based on feedback.
Our current approach will leverage the recently proposed Diego feature that provides application identities, described here, to allow apps to directly authenticate with CredHub. We plan to explore a sample implementation that could demonstrate this workflow after the Diego work is complete.


Use spotify maven docker plugin

https://github.com/spotify/docker-maven-plugin

Fixed on 49d70ed8eae2e8fb1ae39ad6f0e71e68bb94347b.
Use -DskipDocker to avoid creating the image.


make+build: Create globally-consistent, build-input identifier

Background

During the build process, there is a motivation to create a consistent identifier for what code and resources were used to create build artifacts/binaries.

This identifier should communicate

What notional code basis was used for the build
The presence of any modifications to that code

Factors affecting such an identifier:

Root cause of https://github.com/lightninglabs/lightning-terminal/issues/854 is

Inconsistent client-side git.config settings may result in globally inconsistent commit-hash abbreviation between different hosts
a git instance's core.abbrev configuration value dictates how many characters git describe will produce

The manifest file's in-situ build-artifacts identifier entries are produced here:
https://github.com/lightninglabs/lightning-terminal/blob/43ac9fac94cd158e1b7c560555f2a7b565c307f9/release.sh#L91
Assigned from here:
https://github.com/lightninglabs/lightning-terminal/blob/43ac9fac94cd158e1b7c560555f2a7b565c307f9/release.sh#L33
Called from here
https://github.com/lightninglabs/lightning-terminal/blob/43ac9fac94cd158e1b7c560555f2a7b565c307f9/Makefile#L164C30-L164C45
Defined here:
https://github.com/lightninglabs/lightning-terminal/blob/43ac9fac94cd158e1b7c560555f2a7b565c307f9/make/release_flags.mk#L1C23-L1C42
Proposed Solution

Modify VERSION_TAG to use enhanced identifier

git describe Documentation:
git describe --abbrev=40 --broken --tags --always

Design-choice interrogation

--always

Produce uniquely abbreviated commit object as fallback, regardless if tags precede checked-out commit
Forces git describe to produce the identifier, in the rare scenario, for commits which have no proceeding tags

--broken

When the working tree matches HEAD, the output is the same as "git describe HEAD".
If the working tree has local modification "-dirty" is appended to it.


Remove assets from git repo

Even though the assets/ directory is not very large (9mb) would you mind removing them from the git repo and uploading them as assets directly to github instead? It's not a huge hit, but they are 9mb vs the ~35kb of the rest of the files in the repo.
https://www.reddit.com/r/neovim/comments/wsg5yx/attention_to_all_plugin_authors_newcomers_careful/

thanks for the feedback!


How to use wavelet analysis and deep learning to classify signals using Matlab

Topic Suggestion
How to use wavelet analysis and deep learning to classify signals using Matlab
Writing sample(s):
https://www.section.io/engineering-education/linear-time-invariant-systems-analyzer-using-matlab/
How to use wavelet analysis and deep learning to classify signals
Introduction
Wavelet analysis is a mathematical technique used to represent data or functions. The wavelets used in the analysis are functions that possess certain mathematical properties and break the data down into different scales or resolutions. Deep learning is a machine learning technique that teaches computers to do what comes naturally to humans.
Using wavelet analysis and deep learning, we can classify time series data. So it is by using the wavelet features of the data and using these features for training and testing time-series data. A time series(signal) is a collection of observations of well-defined data items obtained through repeated measurements over time. This article will see how to classify these signals using wavelet analysis and deep learning using Matlab.
Key takeaways

Various continouos time series data base.
Understanding continouos time series.
How to create time-frequency representation.
Matlab code to train your data.
Matlab code to test your model.

Article quality
This article use the wavelet features of the data for classification. This means it also covers the wavelet feature extraction in Matlab.

Hi @florenceakinyi
After a google search of your topic suggestion, we found several articles that cover the same content as your proposed articles. Due to this, we cannot move forward with the article suggestion. You are more than welcome to explore other topic areas.


Add support for additional pages as HTML

users should also be able to have additional pages as HTML pages and we just copy them over

@ashleygwilliams @Gankra @sarahghp
Should we add this? We will have issues with styles since we will just be copying over whatever people add and it will not have our CSS files, how should we work around that?

i do not think we should add this beyond what i specified in #102 and maybe other types of extensions like that

Yeah good thinking, will close this


Graphical representation of aid station traffic

We currently have a Results > Traffic view showing the number of runners that came through a given aid station during specified intervals.
It would be good to have a graphical representation of this data available.

Easier than expected and looks good.


Implement dummy search database for improved DX

Please describe the feature
And then ensure to add it to terminals.json

Let's see if there is a good dummy Meilisearch server we can use to point to. In that case, we would not need to make edits to the terminals.json file since we don't need to spawn a local Meilisearch server


Invariant Violation: Unable to find node on an unmounted component

Thrown this error when run the test case if i am using component inside react-slick.
import React, { Component } from 'react';
import Slider from 'react-slick';
Class MyComponent extends Component {
    render() {
         return(
                  <Slider>

Test1

Test2

Test3

                  </Slider>
         )
    }
}

Test Case
 it('Example', () => {
      const renderedValue = renderer
        .create(<MyComponent/>)
        .toJSON();
      expect(renderedValue).toMatchSnapshot();
    });

If i run the test case it shown the following error,
Invariant Violation: Unable to find node on an unmounted component.
This issue will happen only when i add the div elements inside the slider alone. Can any one give some suggestion to resolve this?

I have the same issue

Seems to be an issue with 0.23.2, locking to 0.23.1 worked for me.

Hello community!
Have you found a fix for this? I have the same problem as well.
Thank you.

Same problem! Anyone get the solution?


Include a barback Transformer

This would make it easy to define all your app keys and etc. in one place, and not have to hard-code things into your client apps. This would go very far to help Angel be as isomorphic as it is intended to be.
Ideally, there could just be a config function exposed from a specific library, i.e. 'package:angel_configuration/browser.dart'.
Example
Config:
some_api:
  public: foo
  private: bar

Dart:
var client = new SomeApiClient(config("some_api.public"), config("some_api.private"));

Generated:
var client = new SomeApiClient("foo", "bar");

Implemented in commit 3317624c491e679712a9641264e61edb08f35a8b


html entities in doc blocks not being decoded

VSCode Version: 1.53.0-insider
OS Version: 10.14.6

Steps to Reproduce:

Create a new file
Paste in the following

 /**
   * Some docs
   *
   * @default /a/**/*.js
   */
const something = 1;

Hover over something

Expected

* => *
Screenshot from https://microsoft.github.io/monaco-editor/
Actual

* not decoded.

I think this matches the issue I was about to open as well - it's just the other way around:
I didn't know I was expected to HTML encode my TypeScript IntelliSense blocks -- and wrote something like this:

In the IntelliSense popup however it is displayed as such:

FWIW: I kinda dislike the idea to write my IntelliSense docs like this:


v0.2.0 AttributeError: 'ElastAlerter' object has no attribute 'current_es'

After upgrading from elastalert v0.2.0b2 to v0.2.0 all of my rules throw the error below.
ERROR:root:Uncaught exception running rule Test Rule: 'ElastAlerter' object has no attribute 'current_es' ERROR:root:Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/elastalert/elastalert.py", line 1259, in handle_rule_execution num_matches = self.run_rule(rule, endtime, rule.get('initial_starttime')) File "/usr/local/lib/python3.6/site-packages/elastalert/elastalert.py", line 900, in run_rule if not self.run_query(rule, rule['starttime'], endtime): File "/usr/local/lib/python3.6/site-packages/elastalert/elastalert.py", line 660, in run_query self.current_es.clear_scroll(scroll_id=scroll_id) AttributeError: 'ElastAlerter' object has no attribute 'current_es'
I am running on python3.6.8

When I downgrade back to v0.2.0b2 everything works again.

oops

Fixed and new version pushed